/* Gera būti — styles for the pages made by site/pages.py (map, forms, privacy) and the front page's
   search / city / date filters, top-rated row and weekly-letter box (site/build.py). Hand-written, since 2026-11-29. */
.gb-head{text-align:center;margin:54px auto 0;max-width:820px}
.gb-head h1{white-space:normal;font-size:min(9vw,84px);margin-top:8px}
.gb-head p{font-size:18px;line-height:1.45;color:#5f594f;margin-top:14px}

/* forms */
.gb-form-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;margin-top:46px;align-items:start}
.gb-form{background:#fbf8f1;border:1px solid rgba(28,26,23,.09);border-radius:28px;padding:30px 32px}
.gb-form fieldset{border:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid rgba(28,26,23,.09)}
.gb-form legend{font:400 26px/1 'Instrument Serif',Georgia,serif;margin-bottom:14px;padding:0}
.gb-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#5f594f}
.gb-form .w2{grid-column:1/-1}
.gb-form input,.gb-form select,.gb-form textarea{font:inherit;font-size:16px;font-weight:400;color:#1c1a17;background:#fff;border:1px solid rgba(28,26,23,.18);border-radius:14px;padding:12px 14px;width:100%}
.gb-form textarea{resize:vertical;min-height:110px}
.gb-form input:focus,.gb-form select:focus,.gb-form textarea:focus{outline:2px solid #d4502a;outline-offset:1px;border-color:transparent}
.gb-form .bad{border-color:#d4502a;background:#fff6f2}
.gb-dates{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.gb-add{justify-self:start;align-self:end;background:none;border:1px dashed rgba(28,26,23,.3);border-radius:99px;padding:9px 16px;font:inherit;font-size:14px;cursor:pointer;color:#5f594f}
.gb-file span{font-weight:400;color:#8a8275}
.gb-file img{width:160px;height:110px;border-radius:12px;margin-top:8px}
.gb-hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.gb-note{font-size:13.5px;color:#7b7468;line-height:1.5}
.gb-note a,.gb-text a,.gb-side a{display:inline;text-decoration:underline;text-underline-offset:2px}
.gb-actions{display:flex;align-items:center;gap:18px;margin-top:18px;flex-wrap:wrap}
.gb-form .btn,.gb-sub .btn,.gb-msg .btn{display:inline-flex}
.gb-out{font-size:15px;font-weight:500}
.gb-out.ok{color:#3f6b4a}.gb-out.err{color:#c4432a}
.gb-form.done fieldset,.gb-form.done .gb-note,.gb-form.done .btn{display:none}
.gb-form.done .gb-out{font:400 28px/1.2 'Instrument Serif',Georgia,serif;color:#1c1a17}
.gb-side{background:#2f4a3a;color:#efe9dc;border-radius:28px;padding:28px}
.gb-side h3{font:400 26px/1.1 'Instrument Serif',Georgia,serif;margin:0 0 10px}
.gb-side h3+p,.gb-side ol+p{margin-bottom:18px}
.gb-side ol{padding-left:20px;line-height:1.55;margin-bottom:18px}.gb-side li{margin-bottom:6px}
.gb-side p{line-height:1.5}

/* privacy and other text pages */
.gb-text{max-width:760px;margin:40px auto 0;font-size:17px;line-height:1.6;color:#3a362f}
.gb-text h2{font-size:32px;margin:34px 0 8px;color:#1c1a17}
.gb-text p{margin-bottom:12px}
.gb-text code{font-size:14px;background:#ebe3d3;border-radius:6px;padding:1px 6px}
.gb-msg{max-width:640px;margin:70px auto;text-align:center}
.gb-msg h1{white-space:normal;font-size:min(9vw,60px)}
.gb-msg p{font-size:18px;line-height:1.5;color:#5f594f;margin:16px 0 26px}

/* footer columns */
.gb-foot{flex-direction:column}
.gb-fcols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%}
.gb-fcols b{display:block;color:#1c1a17;font-weight:600;margin-bottom:6px}
.gb-fcols a{display:inline-block;margin:0 14px 4px 0}
.gb-fcols a:hover{color:#d4502a}

/* map page */
.gb-mapwrap{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:28px;margin-top:40px;align-items:start}
.gb-map{position:relative;border-radius:28px;overflow:hidden;background:#e9e1d1}
.gb-map img{height:auto}
.gb-map .osm{position:absolute;right:12px;bottom:10px;font-size:11px;background:rgba(251,248,241,.85);padding:2px 8px;border-radius:99px;color:#5f594f}
.gb-pin{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:6px;z-index:1}
.gb-pin b{display:grid;place-items:center;min-width:30px;height:30px;padding:0 7px;border-radius:99px;background:#d4502a;color:#fff;font-size:14px;font-weight:700;box-shadow:0 0 0 3px #fbf8f1,0 4px 12px rgba(0,0,0,.25)}
.gb-pin.big b{min-width:40px;height:40px;font-size:17px}
.gb-pin span{font-size:13px;font-weight:600;background:rgba(251,248,241,.92);padding:3px 9px;border-radius:99px;white-space:nowrap}
.gb-pin:hover{z-index:3}.gb-pin:hover b{background:#1c1a17}
.gb-pin.v b{background:#2f4a3a}
.gb-towns{display:flex;flex-direction:column;gap:22px;max-height:860px;overflow:auto;padding-right:6px}
.gb-town h3{font:400 28px/1 'Instrument Serif',Georgia,serif;display:flex;align-items:baseline;gap:10px;margin-bottom:8px}
.gb-town h3 span{font:600 13px 'Inter Tight',sans-serif;color:#d4502a}
.gb-town:target h3{color:#d4502a}
.gb-mini{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;padding:7px 0;border-top:1px solid rgba(28,26,23,.09)}
.gb-mini img{width:76px;height:54px;border-radius:10px}
.gb-mini small{display:block;font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#d4502a}
.gb-mini b{display:block;font-weight:600;font-size:15px;line-height:1.25}
.gb-mini em{display:block;font-style:normal;font-size:13px;color:#7b7468;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gb-mini:hover b{color:#d4502a}
.gb-close{margin-top:70px}
.gb-close-h{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:18px}
.gb-close-h h2{font-size:46px}.gb-close-h h2 em{color:#d4502a}
.gb-close-h a{font-weight:600;font-size:15px}
.gb-venues{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px 28px;margin-top:22px}
.gb-venues li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px}
.gb-venues li>i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#2f4a3a;color:#fff;font-style:normal;font-weight:700;font-size:13px;margin-top:2px}
.gb-venues li>div>b{display:block;font-size:15px;margin:4px 0 2px}
.gb-venues li:target>i{background:#d4502a}

/* front page: search, city and date filters */
.gb-tools{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin-top:16px}
.gb-search{position:relative;flex:1 1 260px;max-width:380px}
.gb-search input{width:100%;font:inherit;font-size:15px;padding:11px 16px 11px 40px;border-radius:99px;border:1px solid rgba(28,26,23,.2);background:rgba(255,255,255,.7);color:#1c1a17}
.gb-search input:focus{outline:2px solid #d4502a;outline-offset:1px;border-color:transparent;background:#fff}
.gb-search svg{position:absolute;left:14px;top:50%;width:17px;height:17px;transform:translateY(-50%);stroke:#7b7468;fill:none;stroke-width:2}
.gb-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.gb-chips::-webkit-scrollbar{display:none}
.gb-chip{flex:none;font:inherit;font-size:14px;font-weight:500;padding:9px 15px;border-radius:99px;border:1px solid rgba(28,26,23,.16);background:none;color:inherit;cursor:pointer;white-space:nowrap}
.gb-chip:hover{background:rgba(28,26,23,.06)}
.gb-chip.on{background:#2f4a3a;border-color:#2f4a3a;color:#f3eee4}
.gb-chip i{font-style:normal;font-size:11.5px;font-weight:600;color:#a39c90;margin-left:5px}
.gb-chip.on i{color:#bcd3c1}
.gb-chip.none{opacity:.4}
.gb-sep{width:1px;height:26px;background:rgba(28,26,23,.15);flex:none}

/* front page: top rated */
.gb-top{margin-top:90px}
.gb-top .sec-h p{color:#7b7468;font-size:15px;margin-top:6px}
.gb-toprow{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px;margin-top:22px}
.gb-tc .ph{position:relative;aspect-ratio:16/10;border-radius:18px;overflow:hidden;background:#e5dccb}
.gb-tc .sc{position:absolute;left:10px;top:10px;background:#1c1a17;color:#fff;font-weight:700;font-size:14px;border-radius:99px;padding:5px 11px}
.gb-tc .sc s{text-decoration:none;color:#f5b041;margin-right:3px}
.gb-tc b{display:block;font:400 24px/1.1 'Instrument Serif',Georgia,serif;margin-top:10px}
.gb-tc small{display:block;font-size:13.5px;color:#7b7468;margin-top:4px}
.gb-tc .past{position:absolute;right:10px;top:10px;background:rgba(251,248,241,.9);font-size:11.5px;font-weight:600;border-radius:99px;padding:5px 10px}

/* weekly letter sign-up */
.gb-sub{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;align-items:center;margin-top:100px;background:#fbf8f1;border:1px solid rgba(28,26,23,.09);border-radius:32px;padding:44px 48px}
.gb-sub h2{font-size:clamp(36px,4.4vw,58px);line-height:1}
.gb-sub h2 em{color:#d4502a}
.gb-sub>div>p{color:#5f594f;font-size:16.5px;line-height:1.5;margin-top:14px}
.gb-sub form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.gb-sub input[type=email]{font:inherit;font-size:16px;padding:14px 18px;border-radius:99px;border:1px solid rgba(28,26,23,.2);background:#fff;min-width:0}
.gb-sub .gb-cities{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}
.gb-sub .gb-cities label{cursor:pointer}
.gb-sub .gb-cities input{position:absolute;opacity:0;pointer-events:none}
.gb-sub .gb-cities span{display:inline-block;font-size:14px;font-weight:500;padding:8px 14px;border-radius:99px;border:1px solid rgba(28,26,23,.16)}
.gb-sub .gb-cities input:checked+span{background:#2f4a3a;border-color:#2f4a3a;color:#f3eee4}
.gb-sub .gb-cities input:focus-visible+span{outline:2px solid #d4502a}
.gb-sub .gb-out,.gb-sub .gb-note{grid-column:1/-1}
.gb-sub form.done input[type=email],.gb-sub form.done .btn,.gb-sub form.done .gb-cities,.gb-sub form.done .gb-note{display:none}
.gb-sub form.done .gb-out{font:400 26px/1.2 'Instrument Serif',Georgia,serif;color:#1c1a17}

@media(max-width:1100px){
 .gb-form-wrap,.gb-mapwrap{grid-template-columns:1fr}
 .gb-towns{max-height:none}
 .gb-sub{grid-template-columns:1fr;gap:22px;padding:34px 30px}
}
@media(max-width:700px){
 .gb-head{margin-top:30px}.gb-head p{font-size:16px}
 .gb-form{padding:22px 18px;border-radius:22px}
 .gb-form fieldset{grid-template-columns:1fr}
 .gb-fcols{grid-template-columns:1fr}
 .gb-map{border-radius:18px;margin:0 -6px}
 .gb-pin b{min-width:24px;height:24px;font-size:12px}.gb-pin.big b{min-width:30px;height:30px;font-size:14px}
 .gb-pin span{display:none}
 .gb-close-h{flex-direction:column;gap:6px}.gb-close-h h2{font-size:36px}
 .gb-search{max-width:none;flex-basis:100%}
 .gb-sep{display:none}
 .gb-sub{padding:26px 20px;border-radius:24px;margin-top:64px}
 .gb-sub form{grid-template-columns:1fr}
 .gb-sub .btn{width:100%;justify-content:center}
}

/* event page of a past event */
.e-past{max-width:900px;margin:26px auto 0;text-align:center;background:#2f4a3a;color:#efe9dc;border-radius:99px;padding:12px 24px;font-size:15px;line-height:1.45}
.e-past a{display:inline;color:#fff;font-weight:600;margin-left:6px}
@media(max-width:700px){.e-past{border-radius:18px}}
.gb-pin:not(.lab) span{display:none}
.gb-pin:hover span,.gb-pin:focus span{display:inline-block}
