/* =========================================================
   City Hill Teens — site styles
   Palette from the City Hill Teens logo: Seattle night sky
   (navy + teal) with a sunset (orange).
   ========================================================= */

:root {
  --night: #0b1626;
  --navy: #12284a;
  --navy-2: #1d3d68;
  --teal: #0f8a8e;
  --teal-ink: #0a676a;
  --teal-soft: #e2f4f4;
  --sun: #f28a2c;
  --sun-ink: #9e4a05;
  --sun-soft: #fff0e1;
  --red: #c93c3c;
  --red-soft: #fdeaea;
  --violet: #5b4fc4;
  --violet-soft: #ecebfb;

  --ink: #152034;
  --ink-2: #2c3850;
  --muted: #5b667a;
  --line: #e2e6ee;
  --line-2: #cfd6e2;
  --bg: #f4f6fa;
  --card: #ffffff;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, .08), 0 18px 40px rgba(11, 22, 38, .16);

  --display: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; color: var(--night); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .3em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.icon { flex: none; vertical-align: -.2em; }

/* Placeholder highlight */
mark.ph {
  background: #fff3a8;
  color: inherit;
  padding: 0 .2em;
  border-radius: 3px;
  box-shadow: inset 0 -2px 0 #e6c200;
}
.site-header mark.ph, .site-footer mark.ph, .hero mark.ph, .band-dark mark.ph { background: #ffe86b; color: var(--night); }
.preview-bar { background: #fff8cc; border-bottom: 1px solid #f0dd7a; font-size: .82rem; color: #5b4a00; padding: 6px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 22, 38, .97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand:hover { color: #fff; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }

.wordmark { font-family: var(--display); color: inherit; display: inline-flex; align-items: flex-start; line-height: 1; letter-spacing: .02em; font-size: 1.32rem; }
.wm-city { font-weight: 800; }
.wm-hill { font-weight: 200; position: relative; padding-left: .12em; margin-left: .06em; border-left: 1.5px solid currentColor; padding-bottom: .62em; }
.wm-teens { position: absolute; left: .26em; bottom: -.08em; font-size: .38em; font-weight: 600; letter-spacing: .42em; }

.nav-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.82); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: .9rem;
  padding: 9px 11px; border-radius: 8px;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--sun); border-radius: 8px 8px 0 0; }
.nav-leaders a { border: 1.5px solid rgba(242,138,44,.7); color: #ffd4ad; margin-left: 6px; }
.nav-leaders a[aria-current="page"] { background: var(--sun); color: var(--night); box-shadow: none; border-radius: 8px; }

@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255,255,255,.08); border: 0; color: #fff; cursor: pointer;
  }
  .nav-toggle-close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--night); border-bottom: 1px solid rgba(255,255,255,.08);
    display: none; padding: 8px 16px 18px;
    box-shadow: 0 18px 30px rgba(0,0,0,.25);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { display: flex; padding: 13px 12px; font-size: 1rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--sun); border-radius: 6px; background: rgba(255,255,255,.05); }
  .nav-leaders a { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 380px) { .wordmark { font-size: 1.12rem; } .brand-mark { width: 36px; height: 36px; } }

/* Leader / admin sub navigation */
.subnav { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.subnav-admin { background: #3a2a10; }
.subnav-inner { display: flex; align-items: center; gap: 12px; min-height: 50px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.subnav-title { font-family: var(--display); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #ffc896; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; flex: 1; }
.subnav li { margin: 0; }
.subnav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .88rem; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; padding: 7px 10px; border-radius: 7px; }
.subnav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.subnav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }
.subnav-user { display: inline-flex; gap: 4px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  .subnav-inner { gap: 6px; }
  .subnav ul { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .subnav a { white-space: nowrap; }
  .subnav-user { margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: .92rem;
  padding: 11px 18px; border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; min-height: 44px;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--night); }
.btn-sun:hover { background: #ff9d45; color: var(--night); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.btn-ghost:hover { background: #fff; border-color: var(--navy-2); color: var(--navy); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-danger { background: transparent; color: var(--red); border-color: #efc2c2; }
.btn-danger:hover { background: var(--red-soft); color: var(--red); }
.btn-sm { padding: 7px 12px; min-height: 36px; font-size: .84rem; border-radius: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Hero / page heads ---------- */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(ellipse at 85% 120%, rgba(242,138,44,.42), transparent 55%),
    radial-gradient(ellipse at 10% -20%, rgba(15,138,142,.45), transparent 55%),
    linear-gradient(180deg, var(--night), var(--navy));
  padding: 34px 0 40px;
  overflow: hidden;
}
.hero h1, .hero h2 { color: #fff; }
.hero .eyebrow { color: #ffc896; }
.hero p { color: rgba(255,255,255,.86); }
.hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; mix-blend-mode: luminosity; }
.hero > .wrap { position: relative; }
.page-head { padding: 40px 0 46px; }
.page-head h1 { margin-bottom: .25em; }
.page-head .lead { max-width: 640px; font-size: 1.1rem; margin: 0; }

.eyebrow { font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-ink); margin: 0 0 .5em; }
.lead { font-size: 1.08rem; color: var(--muted); }

.home-hero-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .home-hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
.home-hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: .2em; }
.home-hero .lead { color: rgba(255,255,255,.85); max-width: 520px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .95rem; color: rgba(255,255,255,.9); }
.hero-meta span { display: inline-flex; gap: 7px; align-items: center; }
.hero-meta .icon { color: var(--sun); }

/* Next Teens night card */
.next-card {
  background: #fff; color: var(--ink);
  border-radius: 18px; padding: 22px 22px 20px;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--sun);
}
.hero .next-card p { color: var(--ink-2); }
.hero .next-card .eyebrow { color: var(--sun-ink); display: flex; justify-content: space-between; gap: 8px; }
.hero .next-card .next-when { color: var(--night); }
.hero .next-card .next-title { color: var(--teal-ink); }
.hero .next-card .next-notes { color: var(--muted); }
.hero .next-card .next-cancel { color: #7d1f1f; }
.next-when { font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 4vw, 1.9rem); color: var(--night); line-height: 1.15; margin: 0 0 4px; }
.next-time { font-size: 1.05rem; color: var(--ink-2); font-weight: 600; margin: 0 0 12px; }
.next-title { font-weight: 700; color: var(--teal-ink); margin: 0 0 6px; }
.next-notes { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.next-card .btn-row { gap: 8px; }
.next-cancel { background: var(--red-soft); color: #7d1f1f; border-radius: 10px; padding: 10px 12px; font-size: .92rem; margin: 0 0 14px; display: flex; gap: 8px; }

/* ---------- Layout grids ---------- */
.section { padding: 46px 0; }
.section-tight { padding: 28px 0; }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-head h2 { margin-bottom: .3em; }
.section-head .lead { margin: 0; }

.home-grid { display: grid; gap: 26px; padding-top: 28px; padding-bottom: 56px; }
@media (min-width: 980px) { .home-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; } .home-side { position: sticky; top: 90px; } }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--sun-soft); color: var(--sun-ink); margin-bottom: 12px; }
.card-icon .icon { width: 22px; height: 22px; }
.card-teal .card-icon { background: var(--teal-soft); color: var(--teal-ink); }
.card-navy .card-icon { background: #e6ecf6; color: var(--navy); }

/* ---------- Announcements ---------- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.chip {
  font-family: var(--display); font-weight: 600; font-size: .85rem;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2);
  padding: 7px 13px; border-radius: 999px; cursor: pointer; min-height: 38px;
}
.chip:hover { border-color: var(--navy-2); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.feed { display: grid; gap: 18px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 20px 18px;
  border-left: 6px solid var(--slate, #8a94a8);
  scroll-margin-top: 90px;
}
.post:target { box-shadow: 0 0 0 3px rgba(242,138,44,.5), var(--shadow); }
.post.cat-event  { --slate: var(--sun); }
.post.cat-change { --slate: var(--red); }
.post.cat-weekly { --slate: var(--teal); }
.post.cat-camp   { --slate: var(--teal-ink); }
.post.cat-serve  { --slate: var(--violet); }
.post.cat-news   { --slate: var(--navy-2); }
.post.is-urgent { background: linear-gradient(180deg, #fff6f6, #fff 60%); border-color: #f1c6c6; border-left-color: var(--red); }
.post-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.post-date { margin-left: auto; font-size: .82rem; color: var(--muted); }
.tag {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; background: #eef1f6; color: var(--navy);
}
.tag-event  { background: var(--sun-soft); color: var(--sun-ink); }
.tag-change { background: var(--red-soft); color: #9b2626; }
.tag-weekly { background: var(--teal-soft); color: var(--teal-ink); }
.tag-camp   { background: #def2f0; color: #0a5a5d; }
.tag-serve  { background: var(--violet-soft); color: #4136a8; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.badge .icon { width: 15px; height: 15px; }
.badge-urgent { color: var(--red); }
.post-title { font-size: clamp(1.2rem, 3.2vw, 1.45rem); margin: 0 0 12px; }
.post-title a { color: var(--night); text-decoration: none; }
.post-title a:hover { text-decoration: underline; }
.facts { display: grid; gap: 8px; margin: 0 0 14px; padding: 12px 14px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 11px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; } }
.facts > div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: baseline; }
.facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.facts dt .icon { width: 16px; height: 16px; color: var(--sun-ink); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.post-body { color: var(--ink-2); }
.post-body p:last-child, .post-body ul:last-child { margin-bottom: 0; }
.post-img { margin: 14px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.post-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.post-note { font-size: .9rem; color: var(--muted); }
.feed-empty { text-align: center; padding: 40px 20px; color: var(--muted); }

.past-wrap { margin-top: 28px; }
.past-wrap summary { cursor: pointer; font-family: var(--display); font-weight: 700; color: var(--navy); padding: 12px 0; }
.past-wrap .post { opacity: .86; }

/* Sidebar */
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.side-card h2 { font-size: 1.05rem; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.side-card h2 .icon { color: var(--sun-ink); }
.mini-events { list-style: none; padding: 0; margin: 0; }
.mini-events li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); margin: 0; }
.mini-events li:first-child { border-top: 0; padding-top: 0; }
.datebox { text-align: center; border-radius: 10px; background: #f1f4f9; padding: 6px 0 5px; line-height: 1.05; }
.datebox .m { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-ink); }
.datebox .d { display: block; font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--night); }
.mini-events .t { font-weight: 600; color: var(--ink); line-height: 1.3; }
.mini-events .s { font-size: .85rem; color: var(--muted); }
.mini-events .is-special .datebox { background: var(--sun-soft); }
.mini-events .is-none .datebox { background: var(--red-soft); }
.quick-list { list-style: none; padding: 0; margin: 0; }
.quick-list li { display: flex; gap: 10px; padding: 7px 0; margin: 0; }
.quick-list .icon { color: var(--teal-ink); margin-top: 3px; }
.side-tip { background: var(--teal-soft); border-color: #bfe4e4; }
.side-tip p { font-size: .92rem; margin: 0; color: #0b4c4f; }

/* ---------- Content pages ---------- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } .split-wide { grid-template-columns: 1.2fr 1fr; } }
.rounded-img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; max-height: 560px; object-fit: cover; }

.focus-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .focus-grid { grid-template-columns: repeat(5, 1fr); } }
.focus { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 20px 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.focus::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--sun)); }
.focus h3 { font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: .4em; }
.focus p { margin: 0; color: var(--ink-2); font-weight: 500; }
.focus .num { font-family: var(--display); font-weight: 800; color: var(--sun-ink); font-size: .85rem; }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal), var(--sun)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 18px 46px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.timeline li:last-child { padding-bottom: 0; }
.timeline .when { font-family: var(--display); font-weight: 700; font-size: .8rem; color: var(--sun-ink); letter-spacing: .06em; text-transform: uppercase; }
.timeline strong { display: block; font-family: var(--display); color: var(--night); font-size: 1.02rem; }
.timeline span.d { color: var(--muted); font-size: .95rem; }

.band-dark { background: linear-gradient(135deg, var(--night), var(--navy)); color: #fff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(255,255,255,.85); }
.band-dark .eyebrow { color: #ffc896; }
.verse { font-family: var(--display); font-weight: 300; font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 1.45; max-width: 820px; margin: 0 auto; text-align: center; color: #fff; }
.verse cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; font-size: .9rem; letter-spacing: .1em; color: #ffc896; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 800px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--muted); }

.person { display: flex; gap: 14px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--teal), var(--navy-2)); font-size: 1.1rem; }
.person h3 { margin: 0; }
.person p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Calendar page */
.month { margin-bottom: 30px; }
.month h2 { font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); border-bottom: 2px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
.cal-list { list-style: none; padding: 0; margin: 0; }
.cal-item { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; align-items: start; }
@media (min-width: 700px) { .cal-item { grid-template-columns: 64px 1fr auto; align-items: center; } }
.cal-item h3 { margin: 0 0 2px; font-size: 1.05rem; }
.cal-item .s { color: var(--muted); font-size: .92rem; }
.cal-item .notes { font-size: .92rem; color: var(--ink-2); margin-top: 4px; }
.cal-actions { grid-column: 2; }
@media (min-width: 700px) { .cal-actions { grid-column: auto; } }
.cal-item.type-special .datebox, .cal-item.type-trip .datebox, .cal-item.type-camp .datebox { background: var(--sun-soft); }
.cal-item.type-none .datebox { background: var(--red-soft); }
.cal-item.type-none h3 { color: #9b2626; }
.cal-item.type-takeover .datebox { background: var(--violet-soft); }
.type-pill { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; background: #eef1f6; color: var(--navy); margin-right: 6px; vertical-align: 2px; }
.type-special .type-pill, .type-trip .type-pill, .type-camp .type-pill { background: var(--sun-soft); color: var(--sun-ink); }
.type-none .type-pill { background: var(--red-soft); color: #9b2626; }
.type-takeover .type-pill { background: var(--violet-soft); color: #4136a8; }
.is-today { background: linear-gradient(90deg, rgba(242,138,44,.08), transparent); }

.anchor-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.anchor { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.anchor b { display: block; font-family: var(--display); color: var(--night); }
.anchor span { font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 16px 18px; font-family: var(--display); font-weight: 700; color: var(--night); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--sun-ink); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 18px 16px; color: var(--ink-2); }
.faq .ans p:last-child { margin-bottom: 0; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 5px; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a676a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }

.callout { border-radius: var(--radius); padding: 18px 20px; background: var(--sun-soft); border: 1px solid #f6d3b0; color: #6b3a08; }
.callout h3 { color: #6b3a08; }
.callout-teal { background: var(--teal-soft); border-color: #bfe4e4; color: #0b4c4f; }
.callout-teal h3 { color: #0b4c4f; }

.schedule { width: 100%; border-collapse: collapse; font-size: .95rem; }
.schedule th, .schedule td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { font-family: var(--display); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.schedule td:first-child { white-space: nowrap; font-weight: 600; color: var(--navy); width: 1%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } .form-row-3 { grid-template-columns: repeat(3, 1fr); } }
label { font-weight: 600; font-size: .9rem; color: var(--ink-2); display: block; margin-bottom: 5px; }
.hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
input[type=text], input[type=password], input[type=date], input[type=time], input[type=url], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,138,142,.18); }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); }
.check-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; margin: 0; }
legend { font-family: var(--display); font-weight: 700; padding: 0 6px; color: var(--navy); }

.flash { max-width: var(--wrap); margin: 16px auto 0; padding: 12px 16px; border-radius: 10px; font-weight: 600; width: calc(100% - 32px); }
.flash-ok { background: #e3f6ea; color: #17633a; border: 1px solid #bfe6cd; }
.flash-error { background: var(--red-soft); color: #8d1f1f; border: 1px solid #f1c6c6; }

/* Login */
.login-wrap { min-height: 62vh; display: grid; place-items: center; padding: 40px 16px; }
.login-card { width: 100%; max-width: 420px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 28px 24px; border-top: 6px solid var(--sun); }
.login-card h1 { font-size: 1.6rem; }
.login-card .muted { font-size: .92rem; }

/* ---------- Leader hub ---------- */
.hub-head { padding-top: 26px; padding-bottom: 8px; }
.hub-grid { display: grid; gap: 24px; padding-top: 10px; padding-bottom: 56px; }
@media (min-width: 980px) { .hub-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.composer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-bottom: 18px; }
.composer textarea { min-height: 84px; }
.composer-foot { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 10px; }
.quick-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.msg.is-pinned { border-color: #f6d3b0; background: linear-gradient(180deg, #fff8f0, #fff 70%); }
.msg-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.msg-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: .8rem; color: #fff; background: var(--teal); flex: none; }
.msg-author { font-weight: 700; color: var(--night); }
.msg-role { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sun-ink); background: var(--sun-soft); padding: 2px 6px; border-radius: 5px; }
.msg-time { font-size: .8rem; color: var(--muted); margin-left: auto; }
.msg-body { color: var(--ink-2); }
.msg-body p:last-child { margin-bottom: 0; }
.msg-tools { display: flex; gap: 6px; margin-top: 8px; }
.msg-tools form { margin: 0; }
.tag-cant { background: var(--red-soft); color: #9b2626; }
.tag-confirm { background: #e3f6ea; color: #17633a; }
.tag-question { background: var(--violet-soft); color: #4136a8; }
.tag-prayer { background: var(--teal-soft); color: var(--teal-ink); }
.tag-update { background: #eef1f6; color: var(--navy); }
.tag-idea { background: var(--sun-soft); color: var(--sun-ink); }

.week-card { background: var(--night); color: #fff; border-radius: var(--radius); padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow-lg); }
.week-card h2 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.week-card .eyebrow { color: #ffc896; }
.week-card p { color: rgba(255,255,255,.85); font-size: .95rem; }
.week-card .btn { width: 100%; }
.assign-list { list-style: none; padding: 0; margin: 0 0 14px; }
.assign-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.1); margin: 0; font-size: .92rem; }
.assign-list li span:last-child { font-weight: 600; text-align: right; }

.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--night); font-family: var(--display); font-weight: 700; font-size: .92rem; box-shadow: var(--shadow); }
.tile .icon { color: var(--sun-ink); width: 22px; height: 22px; }
.tile:hover { border-color: var(--teal); color: var(--teal-ink); }

.habit-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.habit { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 16px; text-align: center; box-shadow: var(--shadow); }
.habit b { display: block; font-family: var(--display); font-weight: 800; color: var(--navy); letter-spacing: .06em; margin-bottom: 4px; }
.habit span { font-size: .92rem; color: var(--muted); }
.habit .emoji { font-size: 1.7rem; display: block; margin-bottom: 6px; }

.zone { border-radius: var(--radius); padding: 18px; border: 1px solid; }
.zone h3 { display: flex; align-items: center; gap: 8px; }
.zone ul { margin: 0; }
.zone-green { background: #eaf7ee; border-color: #c4e7cf; }
.zone-green h3 { color: #17633a; }
.zone-yellow { background: #fff8e1; border-color: #f2df9c; }
.zone-yellow h3 { color: #7a5a00; }
.zone-red { background: #fdecec; border-color: #f1c6c6; }
.zone-red h3 { color: #9b2626; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dot-green { background: #2fa25a; } .dot-yellow { background: #e7b416; } .dot-red { background: #d64545; }

.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; position: relative; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; left: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--night); font-family: var(--display); font-weight: 800; font-size: .9rem; }
.step h3 { margin-top: 6px; font-size: 1rem; }
.step ul { padding-left: 1.1em; margin: 0; font-size: .92rem; color: var(--ink-2); }

.path { display: grid; gap: 12px; }
@media (min-width: 760px) { .path { grid-template-columns: repeat(3, 1fr); } }
.path-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.path-step .lvl { font-family: var(--display); font-weight: 800; font-size: .75rem; letter-spacing: .12em; color: var(--sun-ink); text-transform: uppercase; }
.path-step h3 { margin: 4px 0 6px; }
.path-step p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.script { background: #f7f9fc; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.script b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.script q { font-weight: 600; color: var(--night); }

.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { margin: 0; border-bottom: 1px solid var(--line); }
.tick-list label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 2px; font-weight: 500; margin: 0; cursor: pointer; color: var(--ink); }
.tick-list input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.tick-list input:checked + span { text-decoration: line-through; color: var(--muted); }

.game-list { columns: 2 160px; column-gap: 20px; padding-left: 1.1em; }
.game-list li { break-inside: avoid; }

.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .93rem; }
.admin-table th { background: #f7f9fc; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.admin-table td.actions { white-space: nowrap; text-align: right; }
.admin-table td.actions form { display: inline; }
.admin-table tr.is-expired td { color: var(--muted); }
.help-box { background: #fff; border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px 16px; font-size: .9rem; color: var(--ink-2); }
.help-box code { background: #f1f4f9; padding: 1px 5px; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.78); padding: 42px 0 0; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffc896; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 30px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-brand .wordmark { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.footer-h { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-meet { display: flex; gap: 8px; align-items: flex-start; }
.footer-meet .icon { color: var(--sun); margin-top: 3px; }
.site-footer p { margin-bottom: .6em; }
.site-footer p a { display: inline-flex; gap: 7px; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
.footer-bottom a { display: inline-flex; gap: 6px; align-items: center; color: rgba(255,255,255,.75); }

/* ---------- Print (leader sheets) ---------- */
@media print {
  .site-header, .subnav, .site-footer, .preview-bar, .no-print, .btn { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .card, .post, .msg { box-shadow: none; }
  mark.ph { background: none; box-shadow: none; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Placeholders on dark cards stay readable */
.week-card mark.ph, .subnav mark.ph { background: #ffe86b; color: var(--night); }
/* Calmer hero photo on small screens */
@media (max-width: 700px) { .hero-img { opacity: .12; } }
@media (max-width: 600px) {
  .schedule td:first-child { white-space: normal; width: 36%; }
  .admin-table td.actions { white-space: normal; text-align: left; }
}
.footer-meet a { display: inline; }

/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; border: 1.5px solid rgba(255,255,255,.25); border-radius: 9px; overflow: hidden; flex: none; order: 3; }
.lang-switch a { color: rgba(255,255,255,.75); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .06em; padding: 7px 9px; min-height: 34px; display: inline-flex; align-items: center; }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang-switch a[aria-current="true"] { background: var(--sun); color: var(--night); }
.site-nav { order: 2; }
.nav-toggle { order: 4; }
@media (max-width: 1180px) { .lang-switch { margin-left: auto; } }

/* ---------- Photos ---------- */
.page-head-sm { padding: 30px 0 34px; }
.page-head-sm .lead { margin-bottom: 4px; }
.album-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.album-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.album-cover { position: relative; aspect-ratio: 3 / 2; background: #dfe4ec; overflow: hidden; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-card:hover .album-cover img { transform: scale(1.04); }
.album-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 5px; align-items: center; background: rgba(11,22,38,.78); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.album-count .icon { width: 15px; height: 15px; }
.album-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; }
.album-title { font-family: var(--display); font-weight: 800; font-size: 1.08rem; color: var(--night); line-height: 1.25; }
.album-when { font-size: .82rem; font-weight: 600; color: var(--sun-ink); }
.album-desc { font-size: .92rem; color: var(--muted); }
.photo-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 520px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
.photo-tile { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #dfe4ec; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .2s; }
.photo-tile:hover img { transform: scale(1.05); }
.photo-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; font-size: .9rem; color: var(--muted); max-width: 760px; }
.photo-note .icon { color: var(--teal-ink); margin-top: 2px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,10,18,.95); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255,255,255,.85); font-size: .9rem; padding: 0 70px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; transform: none; } }
.side-photo { display: block; padding: 0; overflow: hidden; text-decoration: none; color: var(--ink); }
.side-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.side-photo span { display: block; padding: 12px 16px 14px; font-size: .92rem; }
.side-photo:hover { color: var(--teal-ink); }
.team-list { display: flex; flex-wrap: wrap; gap: 6px; }
.team-list span { background: #f1f4f9; border-radius: 999px; padding: 3px 10px; font-size: .86rem; font-weight: 500; }
.avatar { font-size: .95rem; }
.photo-strip { display: grid; gap: 8px; grid-template-columns: repeat(6, 1fr); margin-top: 22px; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
a.card.past-camp { display: block; margin-bottom: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
a.card.past-camp:hover { border-color: var(--teal); }
a.card.past-camp h3 { color: var(--navy); }
.ru-fields { border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 16px; background: #fbfcfe; }
.ru-fields summary { cursor: pointer; font-family: var(--display); font-weight: 700; color: var(--navy); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* Menu labels never wrap (Russian labels are longer) */
.site-nav a { white-space: nowrap; }
@media (min-width: 1181px) {
  .site-nav a { padding: 9px 9px; font-size: .88rem; }
  html[lang="ru"] .site-nav a { padding: 9px 7px; font-size: .84rem; }
  .header-inner { gap: 12px; }
}
.hero-img-soft { filter: blur(2px); transform: scale(1.04); }
@media (max-width: 640px) {
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
/* Grid columns may shrink below their content (stops wide photos / scrolling chip rows from widening the page) */
.home-grid, .hub-grid, .split, .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split-wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
@media (min-width: 980px) { .home-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (min-width: 980px) { .hub-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.home-grid > *, .hub-grid > *, .split > *, .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.prose a, .checklist a, .footer-meet a { overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.text-card { border-top: 6px solid var(--sun); }
.text-card h2 { font-size: 1.25rem; }
.contact-done h2 { font-size: 1.4rem; }
.faq-mini { list-style: none; padding: 0; margin: 0; }
.faq-mini li { padding: 7px 0; border-top: 1px solid var(--line); margin: 0; font-size: .94rem; }
.faq-mini li:first-child { border-top: 0; }
.faq details:target, .faq details.is-target { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(242,138,44,.35), var(--shadow); }
.count-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--sun); color: var(--night); font-size: .72rem; font-weight: 800; }
