/* CycleStay redesign — shared base. Themes (theme-*.css) set the CSS variables
   and override hero/card specifics. Loaded only on /preview/<theme>. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; }
.ico { width: 1.15em; height: 1.15em; vertical-align: -0.16em; }
.logo { width: 28px; height: 28px; flex: 0 0 auto; }

:root {
  --maxw: 1200px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --radius: 16px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600;
  font-family: var(--body); font-size: .98rem; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .08s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--fg); }

/* ---- preview ribbon (prototype only) ---- */
.preview-ribbon {
  background: #0e1417; color: #f2eee6; font-size: .8rem; text-align: center;
  padding: .5rem 1rem; letter-spacing: .01em;
}
.preview-ribbon a { color: var(--accent); font-weight: 600; margin-left: .5rem; }
.preview-ribbon a:hover { text-decoration: underline; }

/* ---- header / nav ---- */
.navtoggle { position: absolute; opacity: 0; pointer-events: none; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem var(--pad);
  background: var(--header-bg); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--fg); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 500; font-size: .96rem; color: var(--muted); }
.nav a:hover { color: var(--fg); }
.nav .nav-cta { padding: .5rem 1rem; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-weight: 600; }
.nav .nav-cta:hover { background: var(--accent-2); }
.burger { display: none; cursor: pointer; color: var(--fg); }
.burger .ico { width: 26px; height: 26px; }

/* ---- layout ---- */
main { display: block; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); }
.sec-head { margin-bottom: 1.8rem; }
.sec-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 700; color: var(--accent); margin: 0 0 .6rem; font-family: var(--body); }
.sec-more { margin-top: 2rem; }

/* ---- hero (shared bones; themes restyle heavily) ---- */
.hero { position: relative; }
.hero h1 { font-size: var(--h1, clamp(2.6rem, 8vw, 5rem)); letter-spacing: -0.02em; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 46ch; margin: 1.1rem 0 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- photo card ---- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.pcard { position: relative; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* Stretched hotel link: covers the whole card so the card is clickable without
   wrapping interactive children (climb-chip, save button) in an <a>. */
.pcard-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pcard-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.pcard-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.credit { position: absolute; left: .5rem; bottom: .5rem; font-size: .62rem; color: #fff; background: rgba(0,0,0,.5); padding: .12rem .45rem; border-radius: 6px; letter-spacing: .02em; }
.heart { position: absolute; z-index: 2; top: .6rem; right: .6rem; width: 36px; height: 36px; border-radius: 999px; border: none; background: rgba(255,255,255,.9); color: #16171a; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.heart:hover { color: var(--accent); transform: scale(1.08); }
.pcard-body { padding: 1.25rem 1.35rem 1.4rem; }
.pcard-loc { display: flex; align-items: center; gap: .3rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .4rem; }
.pcard-loc .ico { color: var(--accent); }
.pcard-name { font-size: 1.3rem; line-height: 1.2; margin: 0 0 .9rem; }
.am-row { display: flex; align-items: center; gap: .55rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.am { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--chip-bg); color: var(--fg); }
.am .ico { width: 19px; height: 19px; }
.am-more { font-size: .82rem; font-weight: 600; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: .3rem; margin-top: .8rem; font-size: .78rem; color: var(--muted); }
.tag .ico { width: 15px; height: 15px; color: var(--accent); }

/* ---- collections ---- */
.col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.col { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.col:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.col-media { aspect-ratio: 4 / 3; overflow: hidden; }
.col-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.col:hover .col-media img { transform: scale(1.05); }
.col-body { padding: 1.1rem 1.2rem 1.3rem; }
.col-body h3 { font-size: 1.35rem; margin: 0 0 .35rem; }
.col-body p { margin: 0 0 .7rem; color: var(--muted); font-size: .95rem; }
.col-count { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--accent); font-size: .9rem; }
.col-count .ico { width: 1.05em; height: 1.05em; transition: transform .2s ease; }
.col:hover .col-count .ico { transform: translateX(4px); }

/* ---- city strip / filter chips ---- */
.citystrip, .filterbar-inner { display: flex; flex-wrap: wrap; gap: .6rem; }
.citychip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: var(--chip-bg); border: 1px solid var(--line); font-weight: 500; font-size: .9rem; }
.citychip em { font-style: normal; color: var(--accent); font-weight: 700; }
.citychip:hover { border-color: var(--accent); }
.filterbar { position: sticky; top: 56px; z-index: 30; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.filterbar-inner { max-width: var(--maxw); margin: 0 auto; padding: .8rem var(--pad); overflow-x: auto; flex-wrap: nowrap; }
.fchip { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .5rem .95rem; border-radius: 999px; background: var(--chip-bg); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.fchip .ico { width: 17px; height: 17px; color: var(--accent); }
.fchip:hover { border-color: var(--accent); color: var(--fg); }

/* ---- trust ---- */
.trust { background: var(--trust-bg); color: var(--trust-fg); }
.trust-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--pad); display: grid; gap: 1.6rem; }
.trust-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.trust-points .tnum { font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: var(--accent); display: block; line-height: 1; }
.trust-points p { margin: .4rem 0 0; opacity: .85; font-size: .95rem; }
.trust-line { font-size: .95rem; opacity: .75; margin: 0; }

/* ---- seal ---- */
.seal { position: relative; display: inline-grid; place-items: center; width: 108px; height: 108px; }
.seal svg { width: 108px; height: 108px; animation: sealspin 26s linear infinite; }
.seal-text { font-family: var(--mono, var(--body)); font-size: 8.2px; font-weight: 700; letter-spacing: .5px; fill: var(--accent); text-transform: uppercase; }
.seal-mark { position: absolute; color: var(--accent); }
.seal-mark .ico { width: 30px; height: 30px; }
@keyframes sealspin { to { transform: rotate(360deg); } }

/* ---- subscribe ---- */
.sub { background: var(--sub-bg); color: var(--sub-fg); }
.sub-inner { max-width: 720px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--pad); text-align: center; }
.sub h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: .6rem; }
.sub p { opacity: .9; margin: 0 auto 1.4rem; max-width: 48ch; }
.sub-form { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.sub-form input[type=email] { flex: 1 1 260px; max-width: 340px; padding: .8rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--fg); font: inherit; }
.sub-privacy { font-size: .8rem; opacity: .65; margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- filter active state + climb annotation ---- */
.fchip.on { background: var(--accent); color: var(--accent-fg); border-color: transparent; font-weight: 600; }
.fchip.on .ico { color: var(--accent-fg); }
.climb-chip { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; padding: .3rem .6rem; border-radius: 999px;
  font-size: .78rem; font-weight: 500; color: var(--accent-sec, var(--accent)); background: var(--chip-bg); }
.climb-chip .ico { width: 15px; height: 15px; }

/* ---- auth / account ---- */
/* Card wishlist toggle: the form contributes no box of its own, so the .heart
   button keeps its absolute position against .pcard-media (above .pcard-link). */
.heart-form { display: contents; }
.heart.on { color: var(--accent); }
.heart.on .ico { fill: currentColor; }
.save-form { display: inline-flex; }
.btn-save.on { color: var(--accent); border-color: var(--accent); }
.btn-save.on .ico { fill: currentColor; }
.notice { background: var(--chip-bg); border-left: 3px solid var(--accent); padding: .7rem 1rem; border-radius: 8px; margin: 0 0 1.2rem; }
.notice-inline { color: var(--accent); font-weight: 600; }
.warn-inline { color: var(--muted); font-weight: 600; }
.owner-line { font-size: .85rem; color: var(--muted); margin: .8rem 0 0; }
.owner-line a { color: var(--accent-sec, var(--accent)); font-weight: 600; }
.form-inline { display: inline-block; margin: .4rem 0; }
.claim-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.claim-list li { padding: .7rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.claim-status { text-transform: uppercase; font-size: .72rem; letter-spacing: .05em; font-weight: 700; }
.claim-approved { color: var(--accent); }
.claim-pending { color: var(--muted); }
.claim-rejected { color: var(--muted); text-decoration: line-through; }

/* ---- signature climbs (elevation profiles) ---- */
.climb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.climb-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem 1.1rem; transition: transform .2s ease, box-shadow .2s ease; }
.climb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.climb-top { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin-bottom: .4rem; }
.climb-top h3 { font-size: 1.35rem; }
.climb-stats { display: flex; gap: .4rem; flex-wrap: wrap; }
.climb-stat { font-family: var(--mono, var(--body)); font-size: .74rem; font-weight: 700; color: var(--accent-sec, var(--accent)); background: var(--chip-bg); padding: .12rem .45rem; border-radius: 6px; }
.climb-svg { width: 100%; height: 92px; display: block; margin: .3rem 0 .6rem; }
.climb-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.climb-fill { fill: var(--accent); opacity: .12; stroke: none; }
.climb-note { margin: 0; font-size: .9rem; color: var(--muted); }
.climb-foot { margin: 1.4rem 0 0; font-size: .78rem; color: var(--muted); opacity: .8; max-width: 62ch; }

/* ---- ridgeline ---- */
.ridge { width: 100%; height: 48px; display: block; }
.hero-ridge { position: absolute; left: 0; right: 0; bottom: -1px; color: var(--accent); opacity: .9; }
.ridge-divider { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); color: var(--line-strong); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem var(--pad); max-width: var(--maxw); margin: 0 auto; text-align: center; }
.foot-brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.foot-tag { font-size: 1rem; color: var(--muted); margin: .5rem 0; }
.foot-note { font-size: .8rem; color: var(--muted); max-width: 60ch; margin: 1rem auto 0; opacity: .8; }

/* ---- breadcrumbs + page head ---- */
.crumbs { max-width: var(--maxw); margin: 0 auto; padding: 1.2rem var(--pad) 0; font-size: .82rem; color: var(--muted); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .5; margin: 0 .1rem; }
.page-head { padding-bottom: 1rem; }
.page-head .sec-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-family: var(--display); letter-spacing: -0.01em; }
.page-head .lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 52ch; margin-top: 1rem; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.center .sec-head { justify-content: center; border: 0; }

/* ---- destination hero (city + guide) ---- */
.dest-hero { position: relative; min-height: 54vh; display: grid; align-items: end; overflow: hidden; }
.dest-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.dest-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(9,13,15,.15) 0%, rgba(9,13,15,0) 35%, rgba(9,13,15,.85) 100%); }
.dest-inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 var(--pad) clamp(2rem, 5vw, 3.5rem); color: #fff; }
.dest-inner h1 { font-size: clamp(2.2rem, 6vw, 4rem); color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.dest-inner .eyebrow { color: #fff; opacity: .85; }
.dest-inner .lede { color: #f0ece3; margin-top: .6rem; }

/* ---- hotel detail ---- */
.hotel-detail { max-width: var(--maxw); margin: 1rem auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.hd-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.hd-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hd-body h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .3rem 0 .6rem; }
.hd-desc { color: var(--muted); font-size: 1.05rem; }
.hd-sub { font-size: 1.2rem; margin: 1.6rem 0 .8rem; }
.amenity-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; }
.amenity-grid li { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; background: var(--chip-bg); border-radius: 10px; font-size: .92rem; }
.amenity-grid .am-ico { display: inline-grid; place-items: center; color: var(--accent); }
.amenity-grid .am-ico .ico { width: 20px; height: 20px; }
.hd-climbs { margin-top: 1.2rem; font-size: .95rem; color: var(--muted); }
.hd-climbs .ico { color: var(--accent-sec, var(--accent)); }
.hd-climbs a { color: var(--accent-sec, var(--accent)); font-weight: 600; }
.hd-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0; }
/* Booking-affiliate comparison map (Stay22). Primary CTA on hotel pages. */
.hd-book { margin: 1.8rem 0 0; }
.stay22 { margin-top: .2rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.stay22 iframe { display: block; width: 100%; height: 420px; border: 0; }
.affiliate-disclosure { font-size: .78rem; color: var(--muted); opacity: .85; margin: .6rem 0 0; }
.foot-affiliate { margin-top: .5rem; opacity: .7; }
.disclaimer { font-size: .82rem; color: var(--muted); opacity: .8; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.5rem; }
.back { margin-top: 1rem; } .back a { color: var(--accent); font-weight: 600; }
.muted { color: var(--muted); }

/* ---- guide article ---- */
.guide-article { max-width: 760px; margin: 2.5rem auto 0; padding: 0 var(--pad); }
.guide-intro { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--fg); }
.guide-section { margin: 2rem 0; }
.guide-section h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: .7rem; }
.guide-section p { color: var(--fg); opacity: .92; margin: 0 0 1rem; }
.guide-sources { margin-top: 2rem; }
.guide-sources h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.guide-sources ul { padding-left: 1.1rem; color: var(--muted); }
.guide-sources a { color: var(--accent-sec, var(--accent)); }

/* ---- filter city strip variant ---- */
.citystrip-filter { gap: .5rem; }

/* ---- forms ---- */
.form { display: grid; gap: 1.2rem; max-width: 640px; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { font: inherit; padding: .7rem .85rem; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--chip-bg); color: var(--fg); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.form legend { font-weight: 600; padding: 0 .4rem; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .5rem; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.check .am-ico .ico { width: 18px; height: 18px; color: var(--accent); vertical-align: -.2em; }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.hint { color: var(--muted); font-weight: 400; font-size: .82rem; }
.field-error { color: #e2603a; font-weight: 500; font-size: .85rem; }
.form-error { color: #e2603a; background: color-mix(in srgb, #e2603a 12%, transparent); padding: .7rem 1rem; border-radius: 10px; }

/* ---- footer nav ---- */
.foot-nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.foot-nav a { color: var(--muted); font-size: .9rem; } .foot-nav a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .hotel-detail { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}

/* ---- focus + motion ---- */
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- mobile nav ---- */
@media (max-width: 820px) {
  .burger { display: inline-grid; place-items: center; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 1.2rem;
    background: var(--surface); padding: 5rem 1.8rem 2rem;
    transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 40px rgba(0,0,0,.2); z-index: 39;
  }
  .navtoggle:checked ~ .topbar .nav { transform: translateX(0); }
  .nav a { font-size: 1.15rem; }
  .filterbar { top: 0; }
}

/* ---- community: reviews + Q&A ---- */
.community { margin-top: 1rem; }
.community .qa-head { margin-top: 2.5rem; }
.post-list { display: flex; flex-direction: column; gap: 0.9rem; margin: 1.1rem 0 1.4rem; }
.post { border: 1px solid var(--line, rgba(255,255,255,0.12)); border-radius: 10px; padding: 0.85rem 1rem; }
.post-meta { font-size: 0.8rem; opacity: 0.75; margin: 0 0 0.35rem; display: flex; align-items: center; gap: 0.6rem; }
.post-body { margin: 0; white-space: pre-line; }
.qa { margin-bottom: 1.4rem; }
.qa-answers { margin-left: 1.25rem; margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.6rem; }
.qa-answers .post { border-style: dashed; }
.post-form { margin-bottom: 1rem; }
.post-form textarea { width: 100%; }
.post-login { margin: 0.6rem 0 1.2rem; }
.post-rules { font-size: 0.8rem; margin-top: 1.5rem; }
.report-form { display: inline; margin-left: auto; }
.report-btn { background: none; border: none; color: inherit; opacity: 0.45; font-size: 0.75rem; cursor: pointer; padding: 0; text-decoration: underline; }
.report-btn:hover { opacity: 0.9; }

/* ---- events calendar ---- */
.events .ev-month { margin-bottom: 1.6rem; }
.ev-month-label { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; margin: 0 0 0.7rem; }
.ev-row { display: grid; grid-template-columns: 10rem 1fr auto; gap: 1rem; align-items: center; padding: 0.9rem 1rem; border: 1px solid var(--line, rgba(255,255,255,0.12)); border-radius: 12px; margin-bottom: 0.7rem; text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.15s ease; }
.ev-row:hover { border-color: var(--accent, #e2603a); transform: translateY(-1px); }
.ev-date time { font-weight: 700; }
.ev-tba { opacity: 0.6; font-size: 0.85rem; }
.ev-main h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.ev-loc { margin: 0; font-size: 0.82rem; opacity: 0.7; display: flex; align-items: center; gap: 0.3rem; }
.ev-chip { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid currentColor; opacity: 0.85; }
.ev-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.8rem; margin: 1.2rem 0 1.4rem; }
.ev-fact { border: 1px solid var(--line, rgba(255,255,255,0.12)); border-radius: 10px; padding: 0.7rem 0.9rem; display: flex; flex-direction: column; gap: 0.2rem; }
.ev-fact-k { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; }
.ev-fact-v { font-weight: 600; }
@media (max-width: 640px) {
  .ev-row { grid-template-columns: 1fr auto; }
  .ev-date { grid-column: 1 / -1; }
}
