/* Gera būti — event ratings: stars, average and the consensus bar. Filled in by rate.js from /api/rate. */

/* small line on event cards (only shown once an event has votes) */
.rt{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;line-height:1;color:#6f695e}
.rt .s{color:#d4502a;font-size:14px}
.t .rt b,.big .rt b,.rt b{display:inline;margin:0;font:600 13.5px 'Inter Tight','Helvetica Neue',Arial,sans-serif;letter-spacing:0;color:#1c1a17}
.big .rt{margin-top:12px}
.cb{flex:0 0 48px;display:flex;height:5px;margin-left:4px;border-radius:9px;overflow:hidden;background:#e2d9c8}
.cb i,.cbar i{display:block;height:100%}
.cb .p,.cbar .p{background:#4f7a5a}
.cb .m,.cbar .m{background:#d8ccb4}
.cb .n,.cbar .n{background:#d4502a}

/* the rating block on an event page */
.rate{display:grid;grid-template-columns:1fr 1.1fr;gap:26px 60px;align-items:center;margin-top:70px;padding:40px 46px 26px;background:#fbf8f1;border:1px solid rgba(28,26,23,.08);border-radius:28px}
.rate h2{font-size:46px;line-height:1.02;letter-spacing:-.015em;margin-top:8px}
.stars{display:flex;gap:4px;margin:22px 0 0 -4px}
.stars button{width:54px;height:54px;padding:4px;border:0;background:none;cursor:pointer;color:#dcd2bf;transition:color .12s,transform .12s}
.stars button svg{display:block;width:100%;height:100%;fill:currentColor}
.stars button:hover{transform:scale(1.1)}
.stars button.on{color:#d4502a}
.stars.hov button.on{color:#dcd2bf}
.stars.hov button.h{color:#d4502a}
.stars.busy{opacity:.5;pointer-events:none}
.rate-msg{min-height:21px;margin-top:14px;font-size:14.5px;line-height:1.4;color:#6f695e}
.rate-msg.ok{color:#3f6b4a}
.rate-msg.err{color:#c2401c}
.rate-avg{display:flex;align-items:baseline;gap:14px}
.rate-avg b{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:78px;line-height:.85;letter-spacing:-.02em}
.rate-avg span{font-size:15px;color:#6f695e}
.cbar{display:flex;height:14px;margin-top:22px;border-radius:99px;overflow:hidden;background:#e2d9c8}
.cbar i{transition:width .45s ease}
.cleg{display:flex;justify-content:space-between;gap:12px;margin-top:11px;font-size:13.5px;color:#6f695e}
.cleg span::before{content:'';display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%;background:#4f7a5a}
.cleg .m::before{background:#d8ccb4}
.cleg .n::before{background:#d4502a}
.cleg b{font-weight:600;color:#1c1a17}
.cons{margin-top:18px;font-size:15px;line-height:1.4;color:#6f695e}
.cons b{font-weight:600;color:#1c1a17}
.rate-note{grid-column:1/-1;padding-top:16px;border-top:1px solid rgba(28,26,23,.1);font-size:12.5px;line-height:1.45;color:#8a8376}
@media(max-width:1100px){.rate{grid-template-columns:1fr;gap:30px}}
@media(max-width:700px){
 .rate{margin-top:44px;padding:26px 20px 20px;border-radius:22px}
 .rate h2{font-size:34px}
 .stars button{width:48px;height:48px}
 .rate-avg b{font-size:62px}
 .cleg{font-size:12.5px;flex-wrap:wrap}
}

/* comments next to the stars, and the block before the event starts (since 2026-11-29) */
.rate.closed .stars button{cursor:default;opacity:.35}
.rate-cf{margin-top:14px;display:flex;flex-direction:column;gap:8px;max-width:520px}
.rate-cf textarea{font:inherit;font-size:15px;line-height:1.4;padding:12px 14px;border-radius:14px;border:1px solid rgba(28,26,23,.18);background:#fff;resize:vertical;min-height:62px;color:#1c1a17}
.rate-cf textarea:focus{outline:2px solid #d4502a;outline-offset:1px;border-color:transparent}
.rate-cr{display:flex;justify-content:space-between;align-items:center;gap:12px}
.rate-left{font-size:12px;color:#a39c90}
.rate-cb{font:inherit;font-size:14px;font-weight:600;padding:9px 16px;border-radius:99px;border:0;background:#1c1a17;color:#f3eee4;cursor:pointer}
.rate-cb[disabled]{opacity:.5}
.rate-comments{grid-column:1/-1;border-top:1px solid rgba(28,26,23,.1);padding-top:18px;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.rate-comments h3{grid-column:1/-1;font:400 28px/1 'Instrument Serif',Georgia,serif}
.rc{background:#fff;border:1px solid rgba(28,26,23,.08);border-radius:16px;padding:14px 16px}
.rc-s{color:#e0a23b;letter-spacing:2px;font-size:14px}
.rc p{font-size:15px;line-height:1.45;margin:6px 0}
.rc small{font-size:12px;color:#a39c90}

/* the block sits right under the hero photos (since 2026-11-29) */
.e-arches+.rate{margin-top:44px}
@media(max-width:700px){.e-arches+.rate{margin-top:26px}}
