/* Project_04: Elva Poksiklubi page styles. Shared navigation and base form rules come from style.css. */
.elva-site {
  --elva-bg: #0b0b0c;
  --elva-surface: #131315;
  --elva-surface-light: #19191c;
  --elva-border: #35353a;
  --elva-text: #f7f7f8;
  --elva-muted: #b9b9c1;
  --elva-red: #d63c36;
  position: relative;
  isolation: isolate;
  background: var(--elva-bg);
  color: var(--elva-text);
  color-scheme: dark;
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.elva-site::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background-color: var(--elva-bg);
  background-image: linear-gradient(rgba(7, 7, 8, 0.48), rgba(7, 7, 8, 0.64)), url("../img/elva-poksiklubi/background.png");
  background-image: linear-gradient(rgba(7, 7, 8, 0.48), rgba(7, 7, 8, 0.64)), image-set(url("../img/elva-poksiklubi/background.webp") type("image/webp"), url("../img/elva-poksiklubi/background.png") type("image/png"));
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  pointer-events: none;
}

.elva-site .site-header { background: rgba(11, 11, 12, 0.97); border-color: #29292d; backdrop-filter: none; font-family: "Inter", Arial, sans-serif; }
.elva-site .brand-logo { color: #fff; background: none; font-family: "Oswald", Arial, sans-serif; font-weight: 700; letter-spacing: 2px; }
.elva-site nav a:hover, .elva-site nav a[aria-current] { color: #fff; text-decoration-color: var(--elva-red); }
.elva-site .main-nav { align-items: center; gap: clamp(12px, 1.4vw, 22px); flex-wrap: nowrap; }
.elva-site .elva-nav-more { position: relative; }
.elva-site #elva-more-toggle { min-height: 44px; padding: 0; border: 0; background: transparent; color: #b8c4bd; font: 14px "Inter", Arial, sans-serif; cursor: pointer; }
.elva-site #elva-more-toggle:hover, .elva-site .elva-nav-more:has(a[aria-current]) > #elva-more-toggle { color: #fff; text-decoration: underline; text-decoration-color: var(--elva-red); text-underline-offset: 6px; }
.elva-site .elva-more-menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; display: none; min-width: 190px; padding: 8px; border: 1px solid #39393e; border-radius: 6px; background: #111113; box-shadow: 0 14px 32px rgba(0, 0, 0, .32); }
.elva-site .elva-nav-more.is-open .elva-more-menu { display: flex; flex-direction: column; gap: 0; }
.elva-site .elva-more-menu a { min-height: 42px; display: flex; align-items: center; padding: 6px 10px; white-space: nowrap; }
.elva-site .elva-skip { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px 20px; background: var(--elva-red); color: #fff; }
.elva-site .elva-skip:focus { top: 12px; }
.elva-site .elva-page { width: 100%; }
.elva-site .elva-page > section { width: calc(100% - 32px); margin-inline: auto; }
.elva-site .elva-page > .elva-hero, .elva-site .elva-page > #treeningud, .elva-site .elva-page > #kalender { width: 100%; padding-inline: 16px; }
.elva-site h1, .elva-site h2, .elva-site h3 { font-family: "Oswald", Arial, sans-serif; color: var(--elva-text); }
.elva-site h2 { max-width: 100%; margin-bottom: 30px; font-size: clamp(32px, 10vw, 46px); font-weight: 600; line-height: 1.06; letter-spacing: 0; overflow-wrap: normal; }
.elva-site .elva-section { padding-block: clamp(62px, 8vw, 112px); scroll-margin-top: 92px; }

/* The shared page background also carries the hero artwork. */
.elva-site .elva-hero { position: relative; display: flex; align-items: center; min-height: min(820px, calc(100svh - 76px)); padding-block: 70px 92px; overflow: hidden; background: linear-gradient(90deg, rgba(5, 5, 5, .68) 0%, rgba(5, 5, 5, .30) 48%, rgba(5, 5, 5, .12) 78%, rgba(5, 5, 5, .08) 100%); }
.elva-site .elva-hero > div { max-width: 930px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.elva-site .elva-back { display: inline-block; margin-bottom: clamp(38px, 6vh, 66px); color: #c9c9cf; font-size: 13px; text-underline-offset: 5px; }
.elva-site .elva-values span { color: var(--elva-red); }
.elva-site h1 { max-width: 100%; font-size: clamp(4.5rem, 8vw, 8rem); font-weight: 700; line-height: .86; letter-spacing: -1.5px; text-shadow: 0 2px 12px rgba(0, 0, 0, .38); }
.elva-site h1 span { display: inline-block; }
.elva-site .elva-values { margin-top: 28px; color: #f0f0f2; font-family: "Oswald", Arial, sans-serif; font-size: clamp(18px, 2vw, 23px); font-weight: 500; }
.elva-site .elva-values span { margin-inline: 8px; }
.elva-site .elva-lead { max-width: 620px; margin-top: 14px; color: #d0d0d5; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; }
.elva-site .elva-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.elva-site .elva-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 24px; border: 1px solid var(--elva-red); border-radius: 4px; background: var(--elva-red); color: #fff; font-family: "Inter", Arial, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .4px; text-align: center; }
.elva-site .elva-button:hover { background: #b92e29; }
.elva-site .elva-secondary { background: transparent; border-color: #77777e; }
.elva-site .elva-secondary:hover { background: #222226; }

/* Club and coach remain one editorial section. */
.elva-site #klubi { border-bottom: 1px solid var(--elva-border); background: transparent; }
.elva-site .elva-section-title { max-width: 1200px; }
.elva-site .elva-club-name { margin-bottom: 24px; font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.15; }
.elva-site .elva-about { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .7fr); gap: clamp(45px, 7vw, 96px); align-items: start; }
.elva-site .elva-about-copy { min-width: 0; }
.elva-site .elva-prose { max-width: 72ch; color: #c8c8ce; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.72; }
.elva-site .elva-prose p + p { margin-top: 18px; }
.elva-site .elva-coach { margin-top: 56px; padding-left: 26px; border-left: 3px solid var(--elva-red); }
.elva-site .elva-kicker { color: var(--elva-red); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; }
.elva-site .elva-coach h3 { margin: 3px 0 22px; font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1.15; }
.elva-site .elva-photo-placeholder { min-width: 0; background: var(--elva-surface-light); color: #c3c3c9; }
.elva-site .elva-photo-empty { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 24px; color: #9f9fa7; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-align: center; }
.elva-site .elva-photo-placeholder img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.elva-site .elva-coach-photo { width: 100%; max-width: 360px; justify-self: end; border-bottom: 3px solid var(--elva-red); }
.elva-site .elva-coach-photo .elva-photo-empty, .elva-site .elva-coach-photo img { aspect-ratio: 4 / 5; object-position: center 25%; }
.elva-site .elva-photo-placeholder figcaption { padding: 17px 0 0; background: var(--elva-bg); font-family: "Oswald", Arial, sans-serif; font-size: 22px; font-weight: 600; }
.elva-site .elva-photo-placeholder figcaption span { display: block; color: var(--elva-muted); font-family: "Inter", Arial, sans-serif; font-size: 12px; font-weight: 500; }
.elva-site .elva-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 76px; border-block: 1px solid var(--elva-border); }
.elva-site .elva-facts > div { position: relative; padding: 22px 24px; border-right: 1px solid var(--elva-border); }
.elva-site .elva-facts > div:first-child { padding-left: 0; }
.elva-site .elva-facts > div:last-child { border-right: 0; }
.elva-site .elva-facts > div::before { content: ""; position: absolute; top: -1px; left: 24px; width: 24px; height: 2px; background: var(--elva-red); }
.elva-site .elva-facts > div:first-child::before { left: 0; }
.elva-site .elva-facts dt { margin-bottom: 5px; color: #9f9fa7; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.elva-site .elva-facts dd { color: #fff; font-family: "Oswald", Arial, sans-serif; font-size: 20px; font-weight: 500; }

/* Training cards are the primary repeated content component. */
.elva-site #treeningud { position: relative; background: transparent; }
.elva-site .elva-training-panel { width: 100%; max-width: 1200px; margin-inline: auto; padding: clamp(24px, 4vw, 48px); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: rgba(24, 24, 24, .82); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.elva-site .elva-section-note { max-width: 68ch; margin-bottom: 34px; color: var(--elva-muted); }
.elva-site .elva-training-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }
.elva-site .elva-training { min-width: 0; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--elva-border); border-top: 4px solid var(--elva-red); border-radius: 12px; background: rgba(23, 23, 25, 0.94); transition: border-color .2s ease, transform .2s ease; }
.elva-site .elva-training h3 { min-height: 60px; font-size: 21px; font-weight: 600; line-height: 1.35; }
.elva-site .elva-training h3 span { color: #c3c3ca; font-size: 17px; font-weight: 400; }
.elva-site .elva-schedule { margin-block: 24px; }
.elva-site .elva-schedule > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 14px; padding: 13px 0; border-top: 1px solid #323237; }
.elva-site .elva-schedule dt { color: #e7e7ea; font-size: 15px; }
.elva-site .elva-schedule dd { color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.elva-site .elva-audience { margin: -7px 0 24px; color: #c6c6cc; font-size: 14px; }
.elva-site .elva-fee { margin-top: auto; padding-top: 20px; border-top: 1px solid #323237; }
.elva-site .elva-fee strong { color: #fff; font-family: "Oswald", Arial, sans-serif; font-size: 30px; font-weight: 600; }
.elva-site .elva-fee span { color: #c4c4ca; font-size: 14px; }
.elva-site .elva-fees { display: grid; gap: 3px; margin-top: auto; padding-top: 18px; border-top: 1px solid #323237; }
.elva-site .elva-fees p { display: flex; align-items: baseline; gap: 3px; }
.elva-site .elva-fees strong { color: #e8e8eb; font-family: "Oswald", Arial, sans-serif; font-size: 25px; font-weight: 600; }
.elva-site .elva-fees span { color: #b8b8c0; font-size: 13px; }
.elva-site .elva-fees .elva-monthly-fee strong { color: #fff; font-size: 32px; }
.elva-site .elva-fees .elva-monthly-fee span { color: #e0e0e4; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .elva-site .elva-training:hover { transform: translateY(-3px); border-color: #606067; border-top-color: #f0524b; } }

/* Monthly calendar. Regular sessions are generated in JavaScript from the weekly schedule. */
.elva-site #kalender { background: transparent; }
.elva-site .elva-calendar-panel { width: 100%; max-width: 1200px; margin: 0 auto; padding: clamp(24px, 4vw, 48px); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: rgba(18, 18, 18, .78); }
.elva-site .elva-calendar-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.elva-site .elva-calendar-heading h2 { margin-bottom: 14px; }
.elva-site .elva-calendar-heading .elva-section-note { margin-bottom: 0; }
.elva-site .elva-calendar-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.elva-site .elva-calendar-controls button { min-height: 42px; padding: 8px 13px; border: 1px solid #4b4b51; border-radius: 5px; background: #101012; color: #f5f5f6; font: 700 11px "Inter", Arial, sans-serif; letter-spacing: .35px; cursor: pointer; }
.elva-site .elva-calendar-controls button:hover { border-color: #888890; }
.elva-site .elva-calendar-controls button:focus-visible, .elva-site .elva-calendar-day:focus-visible, .elva-site .elva-faq-item button:focus-visible { outline: 2px solid var(--elva-red); outline-offset: 2px; }
.elva-site .elva-calendar-controls button:disabled { opacity: .38; cursor: not-allowed; }
.elva-site .elva-calendar-month { margin: clamp(30px, 4vw, 44px) 0 18px; color: #fff; font-family: "Oswald", Arial, sans-serif; font-size: clamp(25px, 3vw, 36px); font-weight: 600; }
.elva-site .elva-calendar-weekdays, .elva-site .elva-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.elva-site .elva-calendar-weekdays { border-bottom: 1px solid #414146; }
.elva-site .elva-calendar-weekdays span { padding: 8px 4px 11px; color: #aaaab2; font-size: 11px; font-weight: 800; text-align: center; }
.elva-site .elva-calendar-grid { gap: 4px; padding-top: 6px; }
.elva-site .elva-calendar-day, .elva-site .elva-calendar-empty { min-width: 0; min-height: 48px; }
.elva-site .elva-calendar-day { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 6px; border: 1px solid transparent; border-radius: 6px; background: rgba(7, 7, 8, .62); color: #e7e7ea; font: 600 13px "Inter", Arial, sans-serif; cursor: pointer; overflow: hidden; }
.elva-site .elva-calendar-day.has-events { min-height: 68px; }
.elva-site .elva-calendar-day:hover { border-color: #595960; }
.elva-site .elva-calendar-number { margin-bottom: 5px; line-height: 1; }
.elva-site .elva-calendar-day.is-today .elva-calendar-number { color: var(--elva-red); }
.elva-site .elva-calendar-day[aria-pressed="true"] { border-color: var(--elva-red); background: rgba(214, 60, 54, .1); }
.elva-site .elva-calendar-events { width: 100%; display: grid; gap: 3px; }
.elva-site .elva-calendar-event { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 2px; padding: 2px 3px; border-left: 2px solid #777; background: rgba(255, 255, 255, .035); font-size: 9px; font-weight: 700; line-height: 1.2; text-align: left; }
.elva-site .elva-calendar-event-symbol { font-size: 9px; }
.elva-site .elva-calendar-event-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.elva-site .elva-calendar-event-name-short { display: none; }
.elva-site .elva-calendar-event time { color: #d2d2d7; font-size: inherit; font-variant-numeric: tabular-nums; }
.elva-site .elva-calendar-event[data-training-group="small"] { border-left-color: #d2a650; color: #ebcb8b; }
.elva-site .elva-calendar-event[data-training-group="students"] { border-left-color: #d6534d; color: #efaaa6; }
.elva-site .elva-calendar-event[data-training-group="playful"] { border-left-color: #779eb7; color: #adc7d7; }
.elva-site .elva-calendar-event[data-event-type="training"] .elva-calendar-event-symbol { color: #81aa8c; }
.elva-site .elva-calendar-event[data-event-type="camp"] { border-left-color: #d2a650; color: #ebcb8b; }
.elva-site .elva-calendar-event[data-event-type="competition"] { border-left-color: #d7c1a3; color: #ead8bf; }
.elva-site .elva-calendar-event[data-event-type="special-event"] { border-left-color: #779eb7; color: #b9d0de; }
.elva-site .elva-calendar-event[data-event-type="training-cancelled"] { border-left-color: #e04a43; background: rgba(214, 60, 54, .09); color: #d99a97; }
.elva-site .elva-calendar-event[data-event-type="training-cancelled"] .elva-calendar-event-symbol { color: #f06059; }
.elva-site .elva-calendar-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: #a9a9b1; font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.elva-site .elva-calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.elva-site .elva-calendar-legend b { min-width: 10px; color: #b8b8c0; font-size: 12px; text-align: center; }
.elva-site .elva-calendar-legend [data-event-type="training"] b { color: #81aa8c; }
.elva-site .elva-calendar-legend [data-event-type="camp"] b { color: #d2a650; }
.elva-site .elva-calendar-legend [data-event-type="competition"] b { color: #e4cfae; }
.elva-site .elva-calendar-legend [data-event-type="special-event"] b { color: #8fb2c7; }
.elva-site .elva-calendar-legend [data-event-type="training-cancelled"] b { color: #ef5a53; }
.elva-site .elva-group-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; color: #b3b3ba; font-size: 10px; font-weight: 700; }
.elva-site .elva-group-legend span { display: inline-flex; align-items: center; gap: 7px; }
.elva-site .elva-group-legend b { width: 8px; height: 8px; background: #888; }
.elva-site .elva-group-legend [data-training-group="small"] b { background: #d2a650; }
.elva-site .elva-group-legend [data-training-group="students"] b { background: #d6534d; }
.elva-site .elva-group-legend [data-training-group="playful"] b { background: #779eb7; }
.elva-site .elva-calendar-details { margin-top: 26px; padding: 20px; border-left: 3px solid var(--elva-red); background: rgba(7, 7, 8, .55); }
.elva-site .elva-calendar-details > h3 { margin-bottom: 15px; font-size: 21px; font-weight: 600; text-transform: capitalize; }
.elva-site .elva-calendar-details > p { color: var(--elva-muted); }
.elva-site .elva-calendar-details ul { display: grid; gap: 8px; list-style: none; }
.elva-site .elva-calendar-details li { display: grid; grid-template-columns: minmax(104px, auto) 1fr; gap: 18px; align-items: baseline; padding-top: 8px; border-top: 1px solid #313135; }
.elva-site .elva-calendar-details li > span { color: #aaaab2; font-size: 10px; font-weight: 800; letter-spacing: .5px; }
.elva-site .elva-calendar-details li > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 18px; }
.elva-site .elva-calendar-details time { color: #c4c4ca; font-size: 14px; font-variant-numeric: tabular-nums; }
.elva-site .elva-calendar-details li[data-training-group="small"] { box-shadow: inset 2px 0 #d2a650; padding-left: 10px; }
.elva-site .elva-calendar-details li[data-training-group="students"] { box-shadow: inset 2px 0 #d6534d; padding-left: 10px; }
.elva-site .elva-calendar-details li[data-training-group="playful"] { box-shadow: inset 2px 0 #779eb7; padding-left: 10px; }
.elva-site .elva-calendar-details li[data-event-type="training-cancelled"] { box-shadow: inset 2px 0 #e04a43; color: #c7a2a0; }
.elva-site .elva-calendar-details li > span b { margin-right: 5px; font-size: 12px; }
.elva-site .elva-calendar-details li[data-event-type="training"] > span b { color: #81aa8c; }
.elva-site .elva-calendar-details li[data-event-type="camp"] > span b { color: #d2a650; }
.elva-site .elva-calendar-details li[data-event-type="competition"] > span b { color: #e4cfae; }
.elva-site .elva-calendar-details li[data-event-type="special-event"] > span b { color: #8fb2c7; }
.elva-site .elva-calendar-details li[data-event-type="training-cancelled"] > span b { color: #ef5a53; }
.elva-site .elva-calendar-details li em { width: 100%; color: #d99a97; font-size: 12px; font-style: normal; }

/* The registration form remains a distinct functional surface. */
.elva-site .elva-join { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: clamp(38px, 7vw, 90px); align-items: start; }
.elva-site .elva-form { width: 100%; max-width: 760px; justify-self: end; padding: clamp(24px, 4vw, 40px); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: rgba(18, 18, 18, .78); }
.elva-site .elva-form::before { height: 4px; background: var(--elva-red); }
.elva-site .elva-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.elva-site .elva-wide { grid-column: 1 / -1; }
.elva-site .elva-choice { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 20px; padding: 0; border: 0; }
.elva-site .elva-choice legend { width: 100%; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.elva-site .elva-choice label { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid #505057; border-radius: 5px; background: #0a0a0b; cursor: pointer; }
.elva-site .elva-choice input { width: 18px; height: 18px; accent-color: var(--elva-red); }
.elva-site .contact-field { min-width: 0; }
.elva-site .contact-field label { font-size: 14px; font-weight: 600; }
.elva-site .contact-field input, .elva-site .contact-field textarea, .elva-site .contact-field select { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #55555c; border-radius: 3px; background: #0a0a0b; color: #f5f5f6; font: 16px "Inter", Arial, sans-serif; }
.elva-site .contact-field textarea { min-height: 135px; }
.elva-site .contact-field input:focus-visible, .elva-site .contact-field textarea:focus-visible, .elva-site .contact-field select:focus-visible { border-color: var(--elva-red); outline: 1px solid var(--elva-red); outline-offset: 1px; }
.elva-site .contact-submit { min-width: 180px; min-height: 54px; margin-top: 0; border: 0; background: #e13e37; font-size: 13px; }
.elva-site #elva-form-status:not(:empty) { margin-top: 18px; }

/* Introductory guidance and compact FAQ. */
.elva-site .elva-first-time { border-block: 1px solid rgba(255, 255, 255, .08); background: rgba(10, 10, 11, .42); }
.elva-site .elva-first-time > p { max-width: 820px; color: #d0d0d5; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.72; }
.elva-site .elva-first-time ul { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; list-style: none; }
.elva-site .elva-first-time li { display: inline-flex; align-items: center; gap: 10px; color: #f1f1f3; font: 600 14px "Oswald", Arial, sans-serif; letter-spacing: .5px; }
.elva-site .elva-first-time li::before { width: 8px; height: 8px; background: var(--elva-red); content: ""; transform: rotate(45deg); }
.elva-site .elva-bring { max-width: 720px; margin-top: 38px; padding: 24px; border-left: 3px solid var(--elva-red); background: rgba(16, 16, 18, .72); }
.elva-site .elva-bring h3 { margin-bottom: 14px; font-size: 24px; }
.elva-site .elva-bring ul { display: grid; gap: 5px; margin: 0 0 14px; padding-left: 20px; color: #f1f1f3; list-style: disc; }
.elva-site .elva-bring li { display: list-item; font: inherit; letter-spacing: 0; }
.elva-site .elva-bring li::before { content: none; }
.elva-site .elva-bring p { color: var(--elva-muted); }
.elva-site .elva-faq { max-width: 920px; }
.elva-site .elva-faq-list { border-top: 1px solid #3a3a3f; }
.elva-site .elva-faq-item { border-bottom: 1px solid #3a3a3f; }
.elva-site .elva-faq-item h3 { margin: 0; }
.elva-site .elva-faq-item button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border: 0; background: transparent; color: #f2f2f4; font: 600 clamp(17px, 2vw, 21px) "Inter", Arial, sans-serif; text-align: left; cursor: pointer; }
.elva-site .elva-faq-item button span { flex: 0 0 auto; color: var(--elva-red); font: 400 26px/1 "Inter", Arial, sans-serif; transition: transform .25s ease; }
.elva-site .elva-faq-item button[aria-expanded="true"] span { transform: rotate(45deg); }
.elva-site .elva-faq-answer { display: grid; grid-template-rows: 0fr; color: #c2c2c9; transition: grid-template-rows .3s ease; }
.elva-site .elva-faq-answer > div { overflow: hidden; }
.elva-site .elva-faq-answer p { max-width: 72ch; padding: 0 48px 22px 0; }
.elva-site .elva-faq-answer a { color: #fff; text-underline-offset: 4px; }
.elva-site .elva-faq-answer[aria-hidden="false"] { grid-template-rows: 1fr; }

/* Subtle entrance motion, enabled only when JavaScript and motion preferences allow it. */
.elva-reveal-ready .elva-site .elva-reveal { opacity: 0; transform: translateY(18px); transition: opacity .56s ease, transform .56s ease; }
.elva-reveal-ready .elva-site .elva-reveal.is-visible { opacity: 1; transform: none; }

/* Gallery stays visually light so real photography becomes the focus. */
.elva-site #galerii { border-top: 1px solid var(--elva-border); background: rgba(11, 11, 12, 0.62); }
.elva-site #galerii h2 { width: auto; max-width: 100%; white-space: nowrap; overflow: visible; }
.elva-site .elva-gallery { display: flex; gap: 10px; margin-right: -16px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.elva-site .elva-gallery-item { flex: 0 0 min(82vw, 330px); min-width: 0; padding: 0; border: 0; background: #18181b; color: #c3c3c9; cursor: pointer; scroll-snap-align: start; }
.elva-site .elva-gallery-item .elva-photo-empty { aspect-ratio: 4 / 3; background: #18181b; }
.elva-site .elva-gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.elva-site .elva-gallery-item:focus-visible { outline: 2px solid var(--elva-red); outline-offset: 3px; }

/* Data-backed result and partner areas stay compact until real content is supplied. */
.elva-site .elva-results { border-top: 1px solid rgba(255, 255, 255, .08); }
.elva-site .elva-results-list { display: grid; gap: 12px; }
.elva-site .elva-result { display: grid; gap: 5px; padding: 18px; border-left: 3px solid var(--elva-red); background: rgba(18, 18, 18, .72); }
.elva-site .elva-result time, .elva-site .elva-result span { color: var(--elva-muted); font-size: 14px; }
.elva-site .elva-partners-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--elva-border); }
.elva-site .elva-partner { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 24px; border-right: 1px solid var(--elva-border); color: #fff; text-decoration: none; }
.elva-site .elva-partner:last-child { border-right: 0; }
.elva-site .elva-partner-name { font-family: "Oswald", Arial, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: .25px; }
.elva-site .elva-partner-website { color: var(--elva-muted); font-size: 12px; }
.elva-site a.elva-partner:hover .elva-partner-name { color: #ef5a53; }
.elva-site .elva-partner img { width: auto; max-width: min(100%, 180px); max-height: 64px; margin-bottom: 10px; object-fit: contain; object-position: left center; }

/* One contact section, organized in columns rather than separate cards. */
.elva-site #kontakt { width: 100%; padding-inline: max(6%, calc((100% - 1200px) / 2)); background: rgba(21, 21, 23, 0.91); }
.elva-site .elva-contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 8vw, 110px); padding-top: 10px; }
.elva-site .elva-contact-primary h3 { margin-bottom: 14px; font-size: clamp(28px, 3vw, 38px); font-weight: 600; }
.elva-site .elva-contact-primary address { color: #c9c9cf; font-style: normal; }
.elva-site .elva-contact-label { color: #92929b; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.elva-site .elva-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.elva-site .elva-contact-actions > a:not(.elva-facebook) { color: #fff; font-size: clamp(17px, 2vw, 21px); font-weight: 600; text-decoration-color: #5e5e64; text-underline-offset: 5px; }
.elva-site .elva-facebook { margin-top: 12px; }
.elva-site .elva-legal { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 62px; padding-top: 22px; border-top: 1px solid var(--elva-border); color: #9999a2; font-size: 13px; }
.elva-site > footer { width: calc(100% - 32px); margin-bottom: 74px; color: #aaaab2; font-family: "Inter", Arial, sans-serif; }
.elva-site .elva-footer > div { display: grid; gap: 2px; }
.elva-site .elva-footer strong { color: #fff; font-family: "Oswald", Arial, sans-serif; font-size: 20px; text-transform: uppercase; }
.elva-site .elva-footer nav { gap: 8px 18px; }
.elva-site .elva-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.elva-site .elva-footer #privaatsus { flex-basis: 100%; max-width: 720px; color: #7f7f87; font-size: 12px; }

/* Thumb-friendly mobile shortcuts. */
.elva-site .elva-mobile-actions { position: fixed; z-index: 18; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(10, 10, 11, .96); }
.elva-site .elva-mobile-actions a { min-height: 44px; display: grid; place-items: center; border: 1px solid #55555c; border-radius: 4px; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.elva-site .elva-mobile-actions a:last-child { border-color: var(--elva-red); background: var(--elva-red); }

/* Native dialog lightbox with buttons and touch navigation. */
.elva-site .elva-lightbox { width: min(940px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 54px 48px 24px; border: 1px solid #46464c; border-radius: 8px; background: #0c0c0e; color: #fff; }
.elva-site .elva-lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.elva-site .elva-lightbox[open] { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; align-items: center; }
.elva-site .elva-lightbox-media { min-width: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: #18181b; }
.elva-site .elva-lightbox-media img { width: 100%; height: 100%; display: block; object-fit: contain; }
.elva-site .elva-lightbox-media .elva-photo-empty { width: 100%; aspect-ratio: 4 / 3; }
.elva-site .elva-lightbox button { min-width: 44px; min-height: 44px; border: 1px solid #55555c; border-radius: 4px; background: #151517; color: #fff; font-size: 22px; cursor: pointer; }
.elva-site .elva-lightbox-close { position: absolute; top: 8px; right: 8px; }
.elva-site .elva-lightbox #elva-lightbox-caption { grid-column: 1 / -1; margin-top: 6px; color: var(--elva-muted); text-align: center; }

@media (max-width: 950px) {
  .elva-site .elva-training-grid { grid-template-columns: minmax(0, 1fr); }
  .elva-site .elva-training h3 { min-height: 0; }
  .elva-site .elva-join { gap: 34px; }
}

@media (max-width: 750px) {
  .elva-site { font-size: 16px; }
  .elva-site .site-header { column-gap: 8px; }
  .elva-site .site-header .brand-logo { font-size: 17px; }
  .elva-site .main-nav { align-items: stretch; gap: 0; }
  .elva-site .menu-ready #primary-nav { padding-top: 8px; }
  .elva-site .menu-ready #primary-nav a { min-height: 48px; padding-inline: 4px; font-size: 14px; }
  .elva-site .elva-nav-more, .elva-site .elva-more-menu { display: contents; }
  .elva-site #elva-more-toggle { display: none; }
  .elva-site .elva-hero { min-height: clamp(460px, 78svh, 650px); padding-block: 24px 42px; }
  .elva-site .elva-hero { background: linear-gradient(90deg, rgba(5, 5, 5, .70), rgba(5, 5, 5, .38) 68%, rgba(5, 5, 5, .18)); }
  .elva-site .elva-back { margin-bottom: clamp(24px, 6svh, 38px); }
  .elva-site h1 { font-size: clamp(54px, 17vw, 86px); line-height: .92; letter-spacing: -.5px; }
  .elva-site .elva-values { margin-top: 26px; }
  .elva-site .elva-about, .elva-site .elva-join, .elva-site .elva-contact-layout { grid-template-columns: minmax(0, 1fr); }
  .elva-site .elva-coach-photo { max-width: 420px; justify-self: start; }
  .elva-site .elva-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .elva-site .elva-facts > div { border-bottom: 1px solid var(--elva-border); }
  .elva-site .elva-facts > div:nth-child(2) { border-right: 0; }
  .elva-site .elva-facts > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .elva-site .elva-facts > div:first-child { padding-left: 24px; }
  .elva-site .elva-facts > div:first-child::before { left: 24px; }
  .elva-site .elva-contact-actions { margin-top: 2px; }
  .elva-site .elva-calendar-heading { align-items: flex-start; flex-direction: column; }
  .elva-site .elva-calendar-controls { justify-content: flex-start; }
  .elva-site .elva-form { justify-self: stretch; }
  .elva-site .elva-partners-list { grid-template-columns: minmax(0, 1fr); }
  .elva-site .elva-partner { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--elva-border); }
  .elva-site .elva-partner:last-child { border-bottom: 0; }
}

@media (max-width: 420px) {
  .elva-site .elva-hero { align-items: flex-start; }
  .elva-site .elva-back { display: none; }
  .elva-site h1 { font-size: clamp(50px, 16.7vw, 70px); }
  .elva-site .elva-values { font-size: 17px; line-height: 1.55; }
  .elva-site .elva-values span { margin-inline: 4px; }
  .elva-site .elva-actions .elva-button, .elva-site .contact-submit { width: 100%; }
  .elva-site .elva-fields { grid-template-columns: minmax(0, 1fr); }
  .elva-site .elva-training { padding: 22px 20px; }
  .elva-site .elva-schedule > div { align-items: baseline; }
  .elva-site .elva-schedule dt, .elva-site .elva-schedule dd { font-size: 14px; }
  .elva-site .elva-facts > div { padding-inline: 14px; }
  .elva-site .elva-facts > div:first-child { padding-left: 14px; }
  .elva-site .elva-facts > div::before, .elva-site .elva-facts > div:first-child::before { left: 14px; }
  .elva-site .elva-facts dd { font-size: 17px; }
  .elva-site .elva-calendar-panel { padding-inline: 8px; }
  .elva-site .elva-calendar-controls { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .elva-site .elva-calendar-controls button { min-width: 0; padding-inline: 6px; }
  .elva-site .elva-calendar-controls button span { display: none; }
  .elva-site .elva-calendar-grid { gap: 2px; }
  .elva-site .elva-calendar-day, .elva-site .elva-calendar-empty { min-height: 44px; }
  .elva-site .elva-calendar-day { padding: 4px 2px; font-size: 11px; }
  .elva-site .elva-calendar-day.has-events { min-height: 66px; }
  .elva-site .elva-calendar-number { margin-bottom: 3px; }
  .elva-site .elva-calendar-events { gap: 2px; }
  .elva-site .elva-calendar-event { display: block; padding: 1px; font-size: 7px; line-height: 1.1; white-space: nowrap; }
  .elva-site .elva-calendar-event-symbol { display: inline; margin-right: 1px; font-size: 7px; }
  .elva-site .elva-calendar-event-name { display: inline; }
  .elva-site .elva-calendar-event time { display: block; padding-left: 7px; }
  .elva-site .elva-calendar-event-name-full { display: none; }
  .elva-site .elva-calendar-event-name-short { display: inline; }
  .elva-site .elva-calendar-details { padding: 16px 14px; }
  .elva-site .elva-calendar-details li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .elva-site .elva-calendar-details li > div { display: grid; }
  .elva-site .elva-first-time ul { display: grid; }
  .elva-site .elva-faq-answer p { padding-right: 0; }
  .elva-site .elva-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .elva-site .elva-choice legend { grid-column: 1 / -1; }
  .elva-site .elva-lightbox { padding-inline: 12px; }
  .elva-site .elva-lightbox[open] { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 5px; }
}

@media (min-width: 751px) {
  .elva-site h2 { font-size: clamp(36px, 4.8vw, 58px); }
  .elva-site .elva-page > section { width: min(1200px, 88%); }
  .elva-site .elva-page > .elva-hero, .elva-site .elva-page > #treeningud, .elva-site .elva-page > #kalender { width: 100%; padding-inline: max(6%, calc((100% - 1200px) / 2)); }
  .elva-site .elva-mobile-actions { display: none; }
  .elva-site > footer { width: min(1200px, 88%); margin-bottom: 0; }
  .elva-site .elva-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-right: 0; padding-right: 0; overflow: visible; }
  .elva-site .elva-gallery-item { width: 100%; }
}

@media (max-width: 340px) {
  .elva-site .elva-calendar-panel { padding-inline: 4px; }
  .elva-site .elva-calendar-grid { gap: 1px; }
  .elva-site .elva-calendar-day { padding-inline: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .elva-site *, .elva-site *::before, .elva-site *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .elva-reveal-ready .elva-site .elva-reveal { opacity: 1; transform: none; }
  .elva-site .elva-training:hover { transform: none; }
}
