/* The page of the club (club-page.blade.php, 19.11.2026). Phone first; from 900px the hero puts the photo on the
   right and the tiers stand as a staircase. Colours follow the club banner of the homepage (home-club.css). */
.club-main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 16px 0 56px; color: var(--ng-text-body,#333); font-family: var(--locale-font, 'NatGard Lato'), Lato, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; }
.club-main *, .club-main *::before, .club-main *::after { box-sizing: border-box; }
/* :where keeps this reset weaker than every rule below: with :is it outweighed them and ate their margins
   (the heading stuck to the list under it). */
.club-main :where(h1, h2, h3, p, ol, dl, dd) { margin: 0; padding: 0; }
.club-main :is(a, summary):focus-visible { outline: 2px solid var(--ng-focus,#2f6b1e); outline-offset: 3px; border-radius: 4px; }

.club-hero { position: relative; overflow: hidden; border-radius: 14px; background: #0d3f24; color: #fff; }
.club-hero-photo { display: block; width: 100%; height: 210px; object-fit: cover; object-position: 78% 26%; }
.club-hero-body { padding: 20px 18px 22px; }
.club-hero h1 { font-size: 34px; line-height: 1.1; font-weight: 700; color: #fff; }
.club-hero p { margin-top: 10px; max-width: 30em; font-size: 16px; line-height: 1.5; color: #dcebd6; }
.club-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.club-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 23px; background: var(--ng-accent,#f38a00); color: var(--ng-on-accent,#fff); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.club-button:hover { background: var(--ng-accent-hover,#b66700); color: var(--ng-on-accent,#fff); text-decoration: none; }
.club-button--quiet { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 65%); }
.club-button--quiet:hover { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.club-hero :is(a):focus-visible { outline-color: #ffd766; }

.club-section { margin-top: 40px; scroll-margin-top: 130px; }
.club-section h2, .club-bottom h2 { font-size: 26px; line-height: 1.2; font-weight: 700; color: #1f2a1a; }
.club-lead { margin-top: 8px; max-width: 46em; color: #5b6654; }

/* Three steps: a real sequence, so they are numbered. */
.club-steps { display: grid; gap: 16px; margin-top: 18px; list-style: none; counter-reset: club-step; }
.club-steps li { position: relative; padding-left: 46px; counter-increment: club-step; }
.club-steps li::before { content: counter(club-step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: #ffd766; color: #0d3f24; font-size: 16px; font-weight: 700; display: grid; place-items: center; }
.club-steps h3 { font-size: 18px; line-height: 1.3; font-weight: 700; color: #1f2a1a; }
.club-steps p { margin-top: 4px; color: #4d5847; }

/* Four tiers. On a phone — a list with the rate on the left; on a wide screen — a staircase. */
.club-ladder { display: grid; gap: 10px; margin-top: 18px; list-style: none; }
.club-ladder li { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; align-content: start; padding: 14px 16px; border: 1px solid #dfe6d6; border-left: 5px solid var(--club-tier, #9cc37a); border-radius: 12px; background: #fff; }
.club-ladder li[data-club-tier="1"] { --club-tier: #a9cf86; }
.club-ladder li[data-club-tier="2"] { --club-tier: #74b043; }
.club-ladder li[data-club-tier="3"] { --club-tier: #458500; }
.club-ladder li[data-club-tier="4"] { --club-tier: #0d3f24; }
.club-ladder strong { grid-row: 1 / span 3; align-self: start; font-size: 32px; line-height: 1.1; font-weight: 700; color: #2f6b1e; font-variant-numeric: tabular-nums; }
.club-ladder h3 { font-size: 18px; line-height: 1.3; font-weight: 700; color: #1f2a1a; }
.club-ladder p { margin-top: 2px; color: #4d5847; font-size: 15px; line-height: 1.45; }
.club-ladder small { display: block; margin-top: 6px; color: #6b7565; font-size: 13px; line-height: 1.4; }
.club-ladder li.is-mine { border-color: #2f6b1e; box-shadow: 0 0 0 1px #2f6b1e; }
.club-ladder .club-mine { position: absolute; top: -11px; right: 12px; padding: 1px 10px; border-radius: 11px; background: #2f6b1e; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; }

.club-two { display: grid; gap: 36px; }
.club-bill { margin-top: 16px; border: 1px solid #dfe6d6; border-radius: 12px; background: #fff; }
.club-bill > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; }
.club-bill > div + div { border-top: 1px solid #edf1e7; }
.club-bill dd { flex: none; font-weight: 700; color: #2f6b1e; white-space: nowrap; }
.club-bill .club-bill-total { background: #f1f7e9; border-radius: 0 0 12px 12px; }
.club-bill .club-bill-total dt { font-weight: 700; color: #1f2a1a; }
.club-bill .club-bill-total dd { font-size: 18px; }
.club-note { margin-top: 10px; color: #6b7565; font-size: 14px; line-height: 1.45; }
/* "Count your month": the live calculation. The sliders are the page's green; the bill under them is the old one. */
.club-calc { margin-top: 16px; }
.club-calc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; margin: 0 0 14px; font-size: 15px; color: #3d4737; }
.club-calc-row output { font-weight: 700; color: #1f2a1a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.club-calc-row input[type="range"] { grid-column: 1 / -1; width: 100%; height: 28px; margin: 0; accent-color: #2f6b1e; cursor: pointer; }
.club-calc-tiers { margin: 4px 0 16px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.club-calc-tiers legend { padding: 0; margin: 0 0 8px; font-size: 15px; color: #3d4737; }
.club-calc-tiers label { position: relative; }
.club-calc-tiers input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.club-calc-tiers span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #cfd9c4; border-radius: 20px; background: #fff; font-size: 15px; color: #1f2a1a; }
.club-calc-tiers input:checked + span { border-color: #0d3f24; background: #0d3f24; color: #fff; font-weight: 700; }
.club-calc-tiers input:focus-visible + span { outline: 2px solid #2f6b1e; outline-offset: 2px; }
.club-calc .club-bill { margin-top: 0; }
.club-calc-pace { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: #1f2a1a; }
.club-calc-pace:empty { display: none; }

.club-faq { border-bottom: 1px solid #dfe6d6; }
.club-two h2 + .club-faq { margin-top: 10px; }
.club-faq summary { position: relative; padding: 14px 34px 14px 0; font-weight: 700; color: #1f2a1a; cursor: pointer; list-style: none; }
.club-faq summary::-webkit-details-marker { display: none; }
.club-faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid #5b6654; border-bottom: 2px solid #5b6654; transform: rotate(45deg); }
.club-faq[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.club-faq p { padding: 0 0 14px; max-width: 44em; color: #4d5847; }

.club-bottom { display: grid; gap: 14px; margin-top: 40px; padding: 22px 20px; border-radius: 14px; background: #e9f4dc; }
.club-bottom[hidden] { display: none; }
.club-bottom p { margin-top: 4px; color: #3d4a36; }
.club-bottom .club-button { justify-self: start; }
.club-fine { margin-top: 26px; max-width: 60em; color: #6b7565; font-size: 13px; line-height: 1.5; }

@media (min-width: 900px) {
  .club-main { padding-top: 22px; }
  .club-hero { min-height: 380px; display: flex; align-items: center; }
  .club-hero-photo { position: absolute; top: 0; right: 0; width: 70%; height: 100%; object-position: center 28%; }
  .club-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0d3f24 0%, rgb(13 63 36 / 95%) 38%, rgb(13 63 36 / 0%) 68%); }
  .club-hero-body { position: relative; z-index: 1; max-width: 560px; padding: 40px 44px; }
  .club-hero h1 { font-size: 52px; }
  .club-hero p { font-size: 18px; }
  .club-section { margin-top: 56px; }
  .club-section h2, .club-bottom h2 { font-size: 30px; }
  .club-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  /* A staircase whatever the words: the cards share one bottom line and each next one starts a step higher. (Lowest
     heights did not hold it — on a narrow screen the first card's longer text made it the tallest.) */
  .club-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  .club-ladder li { display: block; padding: 18px 18px 20px; border-left-width: 1px; border-top: 5px solid var(--club-tier, #9cc37a); }
  .club-ladder li[data-club-tier="1"] { margin-top: 78px; }
  .club-ladder li[data-club-tier="2"] { margin-top: 52px; }
  .club-ladder li[data-club-tier="3"] { margin-top: 26px; }
  .club-ladder li[data-club-tier="4"] { margin-top: 0; }
  .club-ladder strong { display: block; margin-bottom: 8px; font-size: 44px; }
  .club-two { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
  .club-bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 28px 32px; }
}
/* "How it works" scrolls down to the section instead of jumping (owner 21.11.2026); not for those who asked for less motion. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html[data-a11y-motion] { scroll-behavior: auto; }

/* Layout survey #41 (01.12.2026): a handle a finger can hold (28 px, 40 px tall row) and "−" / "+" by each number. */
.club-calc-row { align-items: center; }
.club-calc-step { display: inline-flex; align-items: center; gap: 8px; }
.club-calc-step-button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #cfd9c4; border-radius: 50%; background: #fff; color: #2f6b1e; font-family: inherit; font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; }
.club-calc-step-button:hover { border-color: #2f6b1e; }
.club-calc-step-button:focus-visible { outline: 2px solid #2f6b1e; outline-offset: 2px; }
.club-calc-row input[type="range"] { --fill: 0%; height: 40px; -webkit-appearance: none; appearance: none; background: transparent; }
.club-calc-row input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, #2f6b1e var(--fill), #dfe6d8 var(--fill)); }
.club-calc-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border: 3px solid #fff; border-radius: 50%; background: #2f6b1e; box-shadow: 0 1px 4px rgb(0 0 0 / 30%); }
.club-calc-row input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #dfe6d8; }
.club-calc-row input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: #2f6b1e; }
.club-calc-row input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid #fff; border-radius: 50%; background: #2f6b1e; box-shadow: 0 1px 4px rgb(0 0 0 / 30%); }
.club-calc-row input[type="range"]:focus-visible { outline: 2px solid #2f6b1e; outline-offset: 2px; }

