/* Gera būti — event page (/renginys/<slug>/). Loaded after site.css.
   Layout (chosen 2026-11-28): centred title and arch photos, the text beside a date and price card
   that stays in view, then a wide map with the address card on it. HTML comes from site/event_pages.py. */
.ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.btn.line{background:none;color:#1c1a17;border:1px solid rgba(28,26,23,.28)}
.btn.sm{padding:11px 18px;font-size:14px}

.crumb{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;align-items:center;font-size:13.5px;color:#7b7468;margin-top:28px}
.crumb a{display:inline}
.crumb a:hover{color:#1c1a17}
.crumb b{font-weight:500;color:#1c1a17}

/* top */
.e-top{text-align:center;margin-top:30px}
.e-title{display:block;white-space:normal;font-family:'Instrument Serif',Georgia,serif;font-weight:400;letter-spacing:-.02em;line-height:.92;font-size:128px;max-width:1180px;margin:12px auto 0;text-wrap:balance}
.e-title.m{font-size:104px}
.e-title.l{font-size:84px;line-height:.96}
.e-title em{font-size:1em;letter-spacing:inherit;line-height:inherit;color:#d4502a}
.e-lead{font-size:20px;line-height:1.45;color:#5f594f;max-width:660px;margin:24px auto 0;text-wrap:balance}
.e-arches{display:flex;justify-content:center;align-items:flex-end;gap:22px;margin-top:46px}
.e-arches .ph{flex:none;width:300px;height:360px;border-radius:999px 999px 24px 24px}
.e-arches .ph.main{width:520px;height:480px;border-radius:999px 999px 28px 28px}
.e-arches.n1 .ph.main{width:600px;height:520px}
.e-arches.flat .ph{width:260px;height:400px;border-radius:24px}
.e-arches.flat .ph.main{width:700px;height:440px;border-radius:28px}
.e-arches.flat.n1 .ph.main{width:900px;height:auto;aspect-ratio:16/9}

/* text beside the date and price card */
.e-body{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:70px;margin-top:84px;align-items:start}
.e-side{grid-column:2;grid-row:1;position:sticky;top:20px}
.e-text{grid-column:1;grid-row:1}
.e-card{background:#fbf8f1;border:1px solid rgba(28,26,23,.08);border-radius:26px;padding:26px}
.e-card .dt{display:flex;gap:18px;align-items:center;padding-bottom:20px}
.e-card .dt .n{font-family:'Instrument Serif',Georgia,serif;font-size:84px;line-height:.82;letter-spacing:-.02em}
.e-card .dt b{display:block;font-size:17px;font-weight:600;line-height:1.25}
.e-card .dt span{display:block;font-size:14.5px;color:#6f695e;margin-top:3px;line-height:1.35}
.e-card .rel{display:inline-block;font-style:normal;background:#d4502a;color:#fff;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:99px;padding:4px 10px;margin-bottom:7px}
.e-row{display:flex;gap:14px;padding:15px 0;border-top:1px solid rgba(28,26,23,.12)}
.e-row .ic{margin-top:2px;color:#d4502a}
.e-row small{display:block;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#7b7468}
.e-row b{display:block;font-size:16.5px;font-weight:600;margin-top:3px;line-height:1.3}
.e-row span{display:block;font-size:14px;color:#6f695e;margin-top:3px;line-height:1.4}
.e-price{padding:18px 0 16px;border-top:1px solid rgba(28,26,23,.12)}
.e-price b{display:block;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:48px;line-height:1}
.e-card .btn{display:flex;width:100%;justify-content:center;padding:15px 26px;font-size:15.5px}
.e-card .btn+.btn{margin-top:10px}
.e-note{font-size:13.5px;line-height:1.45;color:#6f695e;margin-top:14px}
.e-note a,.src a{display:inline;text-decoration:underline;text-underline-offset:3px}
.e-text h2{font-size:44px;line-height:1;letter-spacing:-.015em;margin-bottom:24px}
.e-text p,.e-text li{font-size:17.5px;line-height:1.62;color:#2f2b26;max-width:720px}
.e-text p+p{margin-top:14px}
.e-text h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:32px;line-height:1.05;margin:34px 0 12px}
.e-text ul{margin:12px 0 12px 22px}
.e-text li{margin-top:6px}
.e-text details{margin-top:14px}
.e-text summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;list-style:none;margin-top:10px;padding:11px 20px;border-radius:99px;border:1px solid rgba(28,26,23,.25);font-size:14.5px;font-weight:600}
.e-text summary::-webkit-details-marker{display:none}
.e-text details[open] summary{display:none}
.e-text .src{font-size:13.5px;color:#7b7468;margin-top:34px;padding-top:20px;border-top:1px solid rgba(28,26,23,.16);line-height:1.5}

/* map */
.e-map{position:relative;margin-top:84px;border-radius:32px;overflow:hidden;height:500px;background:#ddd5c6}
.e-map>img{object-position:62% 50%}
.e-map .osm{position:absolute;right:10px;bottom:8px;display:inline;font-size:10.5px;color:#5f594f;background:rgba(243,238,228,.88);padding:2px 7px;border-radius:6px}
.e-map .mc{position:absolute;left:26px;top:26px;bottom:26px;width:400px;display:flex;flex-direction:column;box-shadow:0 20px 50px rgba(28,26,23,.16)}
.e-map .mc h2{font-size:44px;line-height:1;letter-spacing:-.015em;margin-top:8px}
.e-map .mc .a{font-size:16px;font-weight:600;margin-top:14px;line-height:1.4}
.e-map .mc p{font-size:14.5px;line-height:1.5;color:#5f594f;margin-top:12px}
.e-map .mc .btn{display:inline-flex;width:auto;align-self:flex-start;margin-top:auto;padding:11px 18px;font-size:14px}

.e-gal{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:22px}
.e-gal .ph{aspect-ratio:16/9;border-radius:24px}
.more-h{margin-top:104px}
.more-h+.g3{margin-top:28px}
.e-bar{display:none}

@media(max-width:1100px){
 .e-title{font-size:96px}
 .e-title.m{font-size:84px}
 .e-title.l{font-size:68px}
 .e-arches .ph{width:24%;height:300px}
 .e-arches .ph.main{width:46%;height:400px}
 .e-arches.n1 .ph.main{width:70%}
 .e-arches.flat .ph{width:22%;height:320px}
 .e-arches.flat .ph.main{width:52%;height:340px}
 .e-arches.flat.n1 .ph.main{width:100%;height:auto}
 .e-body{grid-template-columns:minmax(0,1fr);gap:40px;margin-top:60px}
 .e-side,.e-text{grid-column:1;grid-row:auto}
 .e-side{position:static;max-width:520px;width:100%;margin:0 auto}
}
@media(max-width:700px){
 body.ev .page{padding-bottom:104px}
 .crumb{justify-content:flex-start;flex-wrap:nowrap;overflow:hidden;white-space:nowrap;font-size:12.5px;margin-top:18px}
 .e-top{margin-top:22px}
 .e-title,.e-title.m{font-size:58px;line-height:.94}
 .e-title.l{font-size:46px;line-height:.98}
 .e-lead{font-size:17px;margin-top:16px}
 .e-arches{gap:8px;margin:28px -16px 0}
 .e-arches .ph{width:23%;height:200px}
 .e-arches .ph.main{width:54%;height:290px}
 .e-arches.n2 .ph{width:36%}
 .e-arches.n2 .ph.main{width:60%}
 .e-arches.n1{margin:28px 0 0}
 .e-arches.n1 .ph.main{width:78%;height:320px}
 .e-arches.flat{margin:28px 0 0}
 .e-arches.flat .ph{display:none}
 .e-arches.flat .ph.main,.e-arches.flat.n1 .ph.main{display:block;width:100%;height:auto;aspect-ratio:16/10;border-radius:20px}
 .e-body{gap:44px;margin-top:30px}
 .e-card{padding:22px;border-radius:22px}
 .e-card .dt .n{font-size:72px}
 .e-text h2{font-size:36px}
 .e-text p,.e-text li{font-size:16.5px}
 .e-text h3{font-size:27px}
 .e-map{height:auto;overflow:visible;border-radius:0;background:none;margin-top:48px}
 .e-map>img{height:260px;border-radius:22px}
 .e-map .osm{bottom:auto;top:232px}
 .e-map .mc{position:static;width:auto;margin-top:10px;box-shadow:none}
 .e-map .mc h2{font-size:36px}
 .e-map .mc .btn{margin-top:18px}
 .e-gal{gap:10px;margin-top:10px}
 .e-gal .ph{border-radius:16px}
 .more-h{margin-top:64px}
 .e-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9;background:#fbf8f1;border-top:1px solid rgba(28,26,23,.12);padding:12px 16px 16px;justify-content:space-between;align-items:center;gap:14px}
 .e-bar b{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:30px;line-height:1;display:block}
 .e-bar span{font-size:12.5px;color:#6f695e;display:block;margin-top:2px}
 .e-bar .btn{padding:14px 24px}
}

/* map v2: pin + info box on the point (2026-11-29) */
.e-map{height:540px;background:#e9e3d6}
.e-map>img{object-position:50% 70%}
.e-map .pin{position:absolute;left:50%;top:70%;width:40px;height:52px;margin:-51px 0 0 -20px;z-index:2;filter:drop-shadow(0 5px 6px rgba(28,26,23,.32))}
.e-map .pin svg{display:block;width:100%;height:100%}
.e-map .pin::after{content:"";position:absolute;left:50%;top:100%;width:22px;height:8px;margin:-4px 0 0 -11px;border-radius:50%;background:rgba(28,26,23,.22);z-index:-1}
.e-map.approx .pin{width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;background:rgba(212,80,42,.13);border:2px solid rgba(212,80,42,.6);filter:none}
.e-map.approx .pin::after{width:12px;height:12px;margin:-6px 0 0 -6px;top:50%;background:#d4502a;border:2px solid #fff}
.e-map .mc{left:50%;top:auto;bottom:calc(30% + 66px);width:390px;transform:translateX(-50%);padding:22px 24px 22px;border-radius:22px;display:block;box-shadow:0 18px 46px rgba(28,26,23,.24)}
.e-map.approx .mc{bottom:calc(30% + 90px)}
.e-map .mc::after{content:"";position:absolute;left:50%;bottom:-8px;width:16px;height:16px;margin-left:-8px;background:#fbf8f1;transform:rotate(45deg);border-right:1px solid rgba(28,26,23,.08);border-bottom:1px solid rgba(28,26,23,.08)}
.e-map .mc h2{font-size:32px;margin-top:6px}
.e-map .mc .a{font-size:15px;margin-top:8px}
.e-map .mc .w{display:flex;align-items:center;gap:8px;font-size:14px;color:#3d3933;margin-top:8px}
.e-map .mc .w .ic{width:16px;height:16px;flex:none;color:#d4502a}
.e-map .mc p{font-size:13.5px;margin-top:8px}
.e-map .mc .bt{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.e-map .mc .bt .btn{margin:0;padding:10px 16px;font-size:13.5px}
.e-map .mc .bt .btn+.btn{margin-top:0}
@media(max-width:700px){
 .e-map{height:auto;background:none}
 .e-map>img{height:280px}
 .e-map .pin{top:196px}
 .e-map.approx .pin{width:110px;height:110px;margin:-55px 0 0 -55px}
 .e-map .osm{top:252px}
 .e-map .mc{position:static;transform:none;width:auto;margin-top:10px;box-shadow:none}
 .e-map .mc::after{display:none}
 .e-map .mc h2{font-size:30px}
}
