/* ==========================================================================
   Royal York FC: the Demo's look, on the framework's markup
   The scaffold's port of the Demo's styling (Content/Demo/assets/css/main.css). Theme Settings hold
   the rest (palette, fonts, sizes, buttons, cards, footer): change those in the admin, and a
   re-import keeps your edits. This file holds only what Theme Settings cannot express.
   Every rule names where it came from: "Demo: main.css:<line> <selector>", or "inferred: <why>"
   for a component the Demo never shows, drawn from its own tokens. Tokens here are --ds-* only;
   framework variables (--color-*, --button-*, --card-*) are read, never declared.
   A re-run of the scaffold never overwrites this file once it has been edited.
   ========================================================================== */

/* Demo: main.css:6 :root (the tokens Theme Settings do not hold) */
:root {
  /* Demo: main.css:49 --ease */
  --ds-ease: cubic-bezier(.22, .8, .24, 1);
  /* Demo: main.css:46 --header-h */
  --ds-header-h: 84px;
  /* Program cards are flex columns (interactive.css reads this while the finder is on) */
  --ds-card-display: flex;
}

/* ---------------- Type: how text is drawn ---------------- */
/* Demo: main.css:62 body (smoothing) */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* Demo: main.css:96 .display, h1, h2, h3 */
h1, h2, h3, .h0, .h1, .h2 { text-wrap: balance; font-optical-sizing: auto; font-variation-settings: "SOFT" 30, "WONK" 0; }
/* Demo: main.css:825 p */
p { text-wrap: pretty; }
/* Demo: main.css:105 h3 (its own line height) */
.editable_content h3 { line-height: 1.12; }
/* Demo: main.css:80 :focus-visible */
#page :focus-visible { outline: 3px solid var(--color-gold); outline-offset: 3px; border-radius: 6px; }

/* ---------------- Eyebrow (the editor's Format › Eyebrow) ---------------- */
/* Demo: main.css:108 .eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
/* Demo: main.css:114 .eyebrow::before (the little shield) */
.eyebrow::before {
  content: ""; width: 14px; height: 18px; flex: none;
  background: var(--color-gold);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}

/* ---------------- Header ---------------- */
/* Demo: main.css:168 .site-header (a cream bar, no drop shadow) */
header.full_header, header.mobile_header { background: var(--color-bg); box-shadow: none; }
/* Demo: main.css:175 .site-header__inner (the full content width, 84px tall) */
header.full_header .jqueryslidemenu { max-width: var(--content-width-default); min-height: var(--ds-header-h); gap: 28px; }
/* Demo: main.css:177 .brand (the logo sits on its own royal badge) */
header.full_header a.logo, header.mobile_header .logo_area a {
  width: calc(var(--logo-width) + 16px); flex: none; padding: 8px; border-radius: 4px;
}
/* Demo: main.css:183 .brand__logo at 960px and below */
header.mobile_header .logo_area a { width: calc(var(--logo-width-mobile) + 16px); }
/* Demo: main.css:185 .nav (the menu sits to the right of the logo) */
header.full_header .jqueryslidemenu nav { width: auto; margin-left: auto; }
header.full_header .jqueryslidemenu nav > ul { gap: 2px; justify-content: flex-end; }
/* Demo: main.css:188 .nav__link (a pill, 44px tall) */
header.full_header .jqueryslidemenu nav > ul > li > a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 999px;
  white-space: nowrap; transition: background-color .2s;
}
/* Demo: main.css:196 .nav__link:hover (cream-2 pill) */
header.full_header .jqueryslidemenu nav > ul > li:not(.highlight):hover > a,
header.full_header .jqueryslidemenu nav > ul > li.Selected:not(.highlight) > a { background: var(--color-border-light); }
/* Demo: main.css:198 .site-header .btn (the header's button: ink pill, uppercase) */
header.full_header .jqueryslidemenu nav > ul > li.highlight > a {
  height: 46px; margin-left: 10px; padding: 0 20px;
  font-size: 13.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  border: 1.5px solid var(--button-border-color);
}
/* Demo: main.css:247 .drop (the small dropdown: paper card, soft lift) */
header.full_header .jqueryslidemenu ul li ul {
  min-width: 250px; padding: 10px; border-radius: 16px;
  border: 1px solid var(--color-border); box-shadow: var(--shadow-high);
}
/* Demo: main.css:255 .drop a */
header.full_header .jqueryslidemenu ul li ul li a { padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 550; white-space: nowrap; }
/* Demo: main.css:256 .drop a:hover */
header.full_header .jqueryslidemenu ul li ul li a:hover { color: var(--color-main); }
/* Demo: no top bar above the header (framework-facts: hidden here, no setting switches it off) */
section.top-header { display: none; }
/* Demo: main.css:284 @media (max-width: 1360px) .nav__link (a tighter menu on laptops). This menu has more items
   than the Demo's (8, or 9 with Home), so its type and its button tighten too: at full size it is ~1,060px wide
   and pushed every page sideways up to 1366px. */
@media (max-width: 1365px) {
  header.full_header .jqueryslidemenu { gap: 20px; }
  header.full_header .jqueryslidemenu nav > ul > li > a { padding: 0 10px; font-size: 14px; }
  header.full_header .jqueryslidemenu nav > ul > li.highlight > a { margin-left: 6px; padding: 0 16px; font-size: 12.5px; letter-spacing: .08em; }
}
/* Demo: main.css:284 (as above) at every width once the menu has 9 items or more: at full size 9 never fit beside
   the logo in the content column (they ran ~70px past it even at 1440) */
header.full_header .jqueryslidemenu:has(nav > ul > li:nth-child(9)) { gap: 20px; }
header.full_header .jqueryslidemenu nav > ul:has(> li:nth-child(9)) > li > a { padding: 0 10px; font-size: 14px; }
header.full_header .jqueryslidemenu nav > ul:has(> li:nth-child(9)) > li.highlight > a { margin-left: 6px; padding: 0 16px; font-size: 12.5px; letter-spacing: .08em; }
/* Demo: main.css:288 @media (max-width: 1180px) .nav, .menu-toggle (the drawer takes over from the menu). The
   framework only hands over at 1024px; below 1260px this menu no longer fits beside the logo, so the phone header
   and its drawer take over from there. */
@media (max-width: 1259px) {
  header.full_header { display: none; }
  header.mobile_header { display: block; }
}

/* ---------------- Buttons ---------------- */
/* Demo: main.css:130 .btn (type and the arrow's gap) */
.button {
  gap: 12px; font-size: 13.5px; font-weight: 650; letter-spacing: .12em;
  transition: background-color .25s var(--ds-ease), color .25s var(--ds-ease), border-color .25s var(--ds-ease), transform .25s var(--ds-ease);
}
/* Demo: main.css:144 .btn:active */
.button:active { transform: translateY(1px); }
/* Demo: main.css:141 .btn svg (the arrow, Demo graphic g03) on a call to action in the copy */
.editable_content a.button::after, .ryfc-hero a.cf-button::after, .finder__foot .button::after {
  content: ""; width: 18px; height: 18px; flex: none;
  -webkit-mask: url(/assets/images/design/arrow.svg) center / contain no-repeat;
  mask: url(/assets/images/design/arrow.svg) center / contain no-repeat;
  background-color: currentColor; transition: transform .3s var(--ds-ease);
}
/* Demo: main.css:142 .btn:hover svg */
.editable_content a.button:hover::after, .ryfc-hero a.cf-button:hover::after, .finder__foot .button:hover::after { transform: translateX(3px); }
/* Demo: main.css:145 .btn--ghost (the hero's second button) */
.ryfc-hero a.cf-button_2 { background: transparent; color: var(--color-heading); border: 1.5px solid var(--color-line-strong); }
/* Demo: main.css:146 .btn--ghost:hover */
.ryfc-hero a.cf-button_2:hover { background: var(--color-heading); color: var(--color-bg); border-color: var(--color-heading); }
/* Demo: main.css:152 .btn-row */
.btn-wrapper, .editable_content p:has(> a.button + a.button) { display: flex; flex-wrap: wrap; gap: 12px; }
/* Demo: main.css:151 .btn--sm (the buttons on cards) */
.card .button { min-height: 44px; padding: 0 18px; font-size: 12.5px; }
/* The card's "Learn More" as the ghost button the squads' Tryouts uses (Demo: main.css:145 .btn--ghost),
   in place of the Demo's text link (main.css:243 .text-link) */
.ryfc-programs .card > .content-wrapper > a.button:last-child { background: transparent; color: var(--color-heading); border: 1.5px solid var(--color-line-strong); }
.ryfc-programs .card > .content-wrapper > a.button:last-child:hover { background: var(--color-heading); color: var(--color-bg); border-color: var(--color-heading); }

/* ---------------- Hero (Home) ---------------- */
/* Demo: main.css:403 .hero__title */
.ryfc-hero .h0 { line-height: .98; letter-spacing: -.035em; margin-bottom: clamp(18px, 2.6vh, 32px); }
/* Demo: main.css:405 .hero__lede */
.ryfc-hero .banner-content > p { font-size: clamp(17px, 1.3vw, 20px); color: var(--color-body); max-width: 44ch; margin-bottom: clamp(22px, 3.2vh, 36px); }
/* Demo: main.css:108 .eyebrow + main.css:121 .hero__eyebrow.eyebrow::before (the slide's Small Title) */
.ryfc-hero .banner-content > .h6 { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.ryfc-hero .banner-content > .h6::before {
  content: ""; width: 14px; height: 18px; flex: none; background: #ead3a5;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}
/* Demo: main.css:480 .hero__title at 860px and below */
@media (max-width: 860px) { .ryfc-hero .h0 { font-size: clamp(40px, 10vw, 60px); } }

/* ---------------- Sections and their heads ---------------- */
/* Demo: main.css:491 .section-head + main.css:508 .intro__text h2 */
.editable_content h2 { margin-bottom: 20px; }
/* Demo: main.css:124 .lead (the first paragraph under a page's or block's heading) */
.ryfc-page-hero .editable_content h1 + p, .ryfc-intro .editable_content h2 + p { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.5; color: var(--color-heading); }
/* Demo: main.css:803 .page-hero h1 */
.ryfc-page-hero .editable_content h1 { line-height: 1; letter-spacing: -.035em; margin-bottom: 30px; }
/* Demo: main.css:805 .page-hero__text p */
.ryfc-page-hero .editable_content p { max-width: 60ch; }
/* inferred: every other page opens on its overview the way the Demo's interior pages open on their hero
   (Demo: main.css:798 .page-hero padding, main.css:803 h1) */
section.content_container.contact-info-widget:not(.ryfc-page-hero) .editable_content h1 { line-height: 1; letter-spacing: -.035em; margin-bottom: 30px; }

/* ---------------- Promo strip (Find Your Program, Tryouts) ---------------- */
/* Demo: main.css:375 competitive.html #training (the strip's section is tight) */
section.content_container.ryfc-promo { padding-block: clamp(40px, 5vw, 72px); }
/* Demo: main.css:816 .promo-strip (a gold panel: copy left, button right) */
.ryfc-promo > .content {
  background: var(--color-gold); color: var(--color-heading); border-radius: 28px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px);
}
.ryfc-promo .editable_content { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: center; }
.ryfc-promo .editable_content > * { grid-column: 1; }
.ryfc-promo .editable_content > p:has(> a.button) { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
/* Demo: main.css:821 .promo-strip h3 */
.ryfc-promo .editable_content h2 { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.12; margin-bottom: 6px; }
/* Demo: main.css:822 .promo-strip p */
.ryfc-promo .editable_content p { margin: 6px 0 0; max-width: 60ch; color: var(--color-heading); }
@media (max-width: 760px) {
  .ryfc-promo .editable_content { grid-template-columns: minmax(0, 1fr); }
  .ryfc-promo .editable_content > p:has(> a.button) { grid-column: 1; grid-row: auto; margin-top: 18px; }
}
/* inferred: the gold panel made more substantial: taller, a faded pattern of balls rising from the
   left, one large outline ball off the right edge, and the button lifted on its own soft shadow */
.ryfc-promo > .content {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px);
  border-radius: 32px;
  background:
    radial-gradient(120% 140% at 0% 100%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 55%),
    var(--color-gold);
  box-shadow: 0 30px 60px -36px rgba(168, 116, 15, .65);
}
.ryfc-promo > .content::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/assets/images/design/ball-pattern.svg) 0 0 / 132px 132px repeat;
  opacity: .13;
  /* strongest at the right, gone before the copy on the left */
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 62%);
  mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 62%);
}
/*.ryfc-promo > .content::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(240px, 30vw, 420px); aspect-ratio: 1; right: clamp(-150px, -9vw, -60px); top: 50%; transform: translateY(-50%) rotate(14deg);
  
  background: url(/assets/images/design/ball-pattern.svg) 0 0 / 200% 200% no-repeat;
  opacity: .12;
}*/
.ryfc-promo .editable_content h2 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -.02em; margin-bottom: 12px; }
.ryfc-promo .editable_content p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; }
.ryfc-promo .editable_content > p:has(> a.button) a.button {
  min-height: 56px; padding: 0 30px;
  box-shadow: 0 18px 30px -16px rgba(11, 31, 58, .55);
  transition: transform .3s var(--ds-ease), box-shadow .3s var(--ds-ease), background-color .25s var(--ds-ease);
}
.ryfc-promo .editable_content > p:has(> a.button) a.button:hover { transform: translateY(-3px); box-shadow: 0 24px 36px -16px rgba(11, 31, 58, .6); }

/* ---------------- Feature band (Recreational › Women's football; CSS Class ryfc-feature) ---------------- */
/* inferred: a full-width ink band from the footer's colours (Demo: main.css:770 .site-footer), the
   split layout of .ryfc-split, a gold eyebrow and button, and a faded ball pattern on the right */
section.content_container.ryfc-feature {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, #123a6b 0%, var(--color-heading) 60%);
  color: rgba(251, 246, 236, .82);
  padding-block: clamp(72px, 9vw, 140px);
}
section.content_container.ryfc-feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/assets/images/design/ball-pattern.svg) 0 0 / 150px 150px repeat;
  filter: invert(1); opacity: .06;
  -webkit-mask-image: linear-gradient(250deg, #000 0%, rgba(0, 0, 0, .45) 25%, rgba(0, 0, 0, 0) 55%);
  mask-image: linear-gradient(250deg, #000 0%, rgba(0, 0, 0, .45) 25%, rgba(0, 0, 0, 0) 55%);
}
.ryfc-feature .editable_content h2 { color: var(--color-bg); font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -.035em; }
.ryfc-feature .editable_content p { color: rgba(251, 246, 236, .82); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }
.ryfc-feature .eyebrow { color: var(--color-gold); }
.ryfc-feature .editable_content a.button { background: var(--color-gold); color: var(--color-heading); border-color: var(--color-gold); }
.ryfc-feature .editable_content a.button:hover { background: var(--color-bg); color: var(--color-heading); border-color: var(--color-bg); }
@media (min-width: 861px) {
  .ryfc-feature .editable_content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 88px); align-items: center; }
  .ryfc-feature .editable_content > * { grid-column: 2; }
  .ryfc-feature .editable_content > .eyebrow, .ryfc-feature .editable_content > h2 { grid-column: 1; }
  .ryfc-feature .editable_content > .eyebrow { grid-row: 1; align-self: end; }
  .ryfc-feature .editable_content > h2 { grid-row: 2 / span 2; align-self: start; margin: 0; }
  /* the copy starts level with the heading, under the eyebrow's row */
  .ryfc-feature .editable_content > p:first-of-type { grid-row: 2; margin-top: 0; }
  .ryfc-feature .editable_content > p:has(> a.button) { grid-row: 3; }
  /* a gold rule between the heading and the copy */
  .ryfc-feature .editable_content > p:first-of-type { padding-left: clamp(24px, 3vw, 44px); border-left: 3px solid var(--color-gold); }
  .ryfc-feature .editable_content > p:has(> a.button) { padding-left: clamp(27px, calc(3vw + 3px), 47px); }
}

/* ---------------- Split blocks (heading left, copy right) ---------------- */
/* Demo: main.css:856 .split (Player Expectations) */
@media (min-width: 861px) {
  .ryfc-split .editable_content { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(28px, 5vw, 88px); align-items: start; }
  .ryfc-split .editable_content > * { grid-column: 2; }
  .ryfc-split .editable_content > .eyebrow, .ryfc-split .editable_content > h2 { grid-column: 1; }
  .ryfc-split .editable_content > .eyebrow { align-self: end; }
  .ryfc-split .editable_content > h2 { grid-row: 2 / span 4; }
}
/* Demo: main.css:390 Player Expectations section (background: var(--paper)) */
section.content_container.light.ryfc-split { background: var(--color-bg-light); }

/* ---------------- Finder band (Program Finder, Home) ---------------- */
/* Demo: main.css:539 .finder + main.css:540 .finder__grass (mown stripes fading into the cream) */
section.content_container.ryfc-programs:has([data-hook="finder"]) {
  background:
    linear-gradient(var(--color-bg), rgba(251, 246, 236, 0) 90px, rgba(251, 246, 236, 0) calc(100% - 90px), var(--color-bg)),
    repeating-linear-gradient(90deg, var(--color-grass) 0 110px, var(--color-grass-dark) 110px 220px);
}

/* ---------------- Program, squad, tryout and event cards ---------------- */
/* Demo: main.css:671 .pcard (white, bordered, a column; lifts on hover) */
.ryfc-programs .card { position: relative; display: flex; flex-direction: column; transition: transform .35s var(--ds-ease), box-shadow .35s var(--ds-ease), border-color .35s; }
.ryfc-programs .card > .content-wrapper { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
/* Demo: main.css:677 .pcard:hover */
.ryfc-programs .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-high); border-color: transparent; }
/* Demo: main.css:682 .pennant (the program type, in its house colour) */
.ryfc-programs .card .cf-program_type {
  --ds-c: var(--color-rec);
  display: inline-flex; align-items: center; height: 26px; padding: 0 18px 0 12px; margin-bottom: 16px;
  background: var(--ds-c); color: var(--color-white);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%);
}
/* Demo: main.css:678 .pcard[data-cat="competitive"] (Rep in the club's royal) */
.ryfc-programs .card:has([data-type="Rep"]) .cf-program_type { --ds-c: var(--color-main); }
/* Demo: main.css:679 .pcard[data-cat="training"] (House League in the training gold), its text in navy:
   white on #d9951a is 2.54:1 at 11px, navy is 6.5:1 (PR-1) */
.ryfc-programs .card:has([data-type="House League"]) .cf-program_type { --ds-c: var(--color-train); color: var(--color-heading); }
/* Demo: main.css:694 .pcard h3 */
.ryfc-programs .card .cf-title { margin-bottom: 6px; padding-right: 84px; }
.ryfc-programs .card .cf-title a { color: inherit; text-decoration: none; }
/* Demo: main.css:695 .pcard__who (the short description, muted) */
.ryfc-programs .card .cf-page_description { font-size: 14.5px; color: var(--color-muted); margin: 0 0 18px; }
/* Demo: main.css:688 .status (spaces: a dot and a word, top right) */
.ryfc-programs .card .cf-spaces {
  --ds-s: var(--color-rec);
  position: absolute; top: 22px; right: 24px;
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--color-body);
}
.ryfc-programs .card .cf-spaces::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ds-s); }
/* Demo: main.css:691 .status[data-s="wait"] */
.ryfc-programs .card:has([data-spaces="Waitlist"]) .cf-spaces { --ds-s: var(--color-event); }
/* Demo: main.css:692 .status[data-s="soon"] (a full squad, muted) */
.ryfc-programs .card:has([data-spaces="Full"]) .cf-spaces { --ds-s: var(--color-muted); }
/* inferred: a squad's open spots sit under its status (Demo: main.css:701 .spaces__row) */
.ryfc-squads .card .cf-spaces_detail { font-size: 13px; font-weight: 600; color: var(--color-muted); margin: -2px 0 12px; }
/* Demo: main.css:696 .pcard__meta (a dashed rule, then the details) */
.ryfc-programs .card .custom-fields-list {
  list-style: none; margin: 0 0 20px; padding: 16px 0 0; width: 100%;
  display: grid; gap: 10px; border-top: 1.5px dashed var(--color-line-strong);
}
/* Demo: main.css:697 .pcard__meta li */
.ryfc-programs .card .custom-fields-list li { position: relative; margin: 0; padding: 0 0 0 30px; font-size: 14.5px; line-height: 1.4; }
.ryfc-programs .card .custom-fields-list li::before { display: none; }
.ryfc-programs .card .custom-fields-list li p { margin: 0; }
/* Demo: main.css:699 .pcard__meta b (the label above each value) */
.ryfc-programs .card .custom-fields-list li strong { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; }
/* Demo: main.css:698 .pcard__meta svg (an icon in the house colour: Demo graphics g07, g25, g08, g09) */
/* Every detail carries an icon (clock by default); the program page's "At a glance" card uses the same set */
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li::after {
  content: ""; display: block; position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  background-color: var(--color-main);
  -webkit-mask: url(/assets/images/design/clock.svg) center / contain no-repeat;
  mask: url(/assets/images/design/clock.svg) center / contain no-repeat;
}
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li.cf-season::after { -webkit-mask-image: url(/assets/images/design/indoor.svg); mask-image: url(/assets/images/design/indoor.svg); }
.ryfc-programs .card:has([data-season*="Outdoor" i]) .custom-fields-list li.cf-season::after { -webkit-mask-image: url(/assets/images/design/outdoor.svg); mask-image: url(/assets/images/design/outdoor.svg); }
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li:is(.cf-dates, .cf-game_day)::after { -webkit-mask-image: url(/assets/images/design/calendar.svg); mask-image: url(/assets/images/design/calendar.svg); }
/* inferred: icons for the details the Demo's cards never showed, drawn to match its set (24px grid, 1.8px round stroke) */
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li.cf-ages::after { -webkit-mask-image: url(/assets/images/design/ages.svg); mask-image: url(/assets/images/design/ages.svg); }
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li.cf-gender::after { -webkit-mask-image: url(/assets/images/design/gender.svg); mask-image: url(/assets/images/design/gender.svg); }
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li.cf-experience::after { -webkit-mask-image: url(/assets/images/design/level.svg); mask-image: url(/assets/images/design/level.svg); }
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li.cf-venue::after { -webkit-mask-image: url(/assets/images/design/venue.svg); mask-image: url(/assets/images/design/venue.svg); }
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li.cf-session_length::after { -webkit-mask-image: url(/assets/images/design/timer.svg); mask-image: url(/assets/images/design/timer.svg); }
/* Demo: main.css:706 .pcard__foot (the buttons sit at the foot of the card) */
.ryfc-programs .card .btn-wrapper { margin-top: auto; margin-bottom: 12px; }
.ryfc-programs .card .btn-wrapper:empty { display: none; }
.ryfc-programs .card .content-wrapper > a.button:last-child { margin-top: auto; }
.ryfc-programs .card .btn-wrapper:not(:empty) + a.button:last-child { margin-top: 0; }
/* Register Now and Learn More side by side at the foot of the card. A grid, so the pair still sits
   at the foot: everything else stacks in the auto rows, the pair takes the last, stretching row. */
.ryfc-programs .card > .content-wrapper:has(> .btn-wrapper:not(:empty) + a.button:last-child) {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: repeat(24, auto) 1fr;
  column-gap: 10px; align-items: start;
}
.ryfc-programs .card > .content-wrapper:has(> .btn-wrapper:not(:empty) + a.button:last-child) > * { grid-column: 1 / -1; }
.ryfc-programs .card > .content-wrapper:has(> .btn-wrapper:not(:empty) + a.button:last-child) > .cf-program_type { justify-self: start; }
.ryfc-programs .card > .content-wrapper > .btn-wrapper:not(:empty):has(+ a.button:last-child) { grid-column: 1; grid-row: 25; align-self: end; margin: 0; }
.ryfc-programs .card > .content-wrapper > .btn-wrapper:not(:empty) + a.button:last-child {
  grid-column: 2; grid-row: 25; align-self: end; justify-self: start;
}
/* Two full buttons need ~330px: on a narrower card the pair stacks */
.ryfc-programs .card { container-type: inline-size; }
@container (max-width: 380px) {
  .ryfc-programs .card > .content-wrapper > .btn-wrapper:not(:empty):has(+ a.button:last-child) { grid-column: 1 / -1; }
  .ryfc-programs .card > .content-wrapper > .btn-wrapper:not(:empty) + a.button:last-child { grid-column: 1 / -1; grid-row: 26; margin-top: 10px; }
}
/* Demo: main.css:244 the register button's arrow (graphic g10, "opens registration form") */
.card a.cf-registration::after {
  content: ""; width: 16px; height: 16px; flex: none; background-color: currentColor;
  -webkit-mask: url(/assets/images/design/arrow-ne.svg) center / contain no-repeat;
  mask: url(/assets/images/design/arrow-ne.svg) center / contain no-repeat;
}
/* Demo: main.css:145 .btn--ghost (a squad's "Tryouts" beside its Register button) */
.card a.cf-tryout { background: transparent; color: var(--color-heading); border: 1.5px solid var(--color-line-strong); }
.card a.cf-tryout:hover { background: var(--color-heading); color: var(--color-bg); border-color: var(--color-heading); }
/* Demo: main.css:875 .date-card__day (a tryout's or event's date as a dark tile) */
.ryfc-tryouts .card .cf-date, .ryfc-events .card .cf-date {
  display: inline-grid; place-items: center; min-width: 92px; padding: 14px 16px; margin-bottom: 16px; border-radius: 16px;
  background: var(--color-heading); color: var(--color-bg); font-family: var(--font-heading); font-size: 22px; line-height: 1.1; text-align: center;
}

/* ---------------- Category filter (the bar above a listing) ---------------- */
/* Demo: main.css:659 .chip (white pills, ink when chosen) */
.widget-category-filter { gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.widget-category-filter .filter-btn {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: var(--color-white); border: 1px solid var(--color-border); color: var(--color-heading);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none;
}
/* inferred: the chosen filter takes the Demo's primary button colours (main.css:131 .btn) */
.widget-category-filter .filter-btn.active, .widget-category-filter .filter-btn:hover { background: var(--color-heading); border-color: var(--color-heading); color: var(--color-bg); }

/* ---------------- Shadow cards (resources, key points, funding, kit lists …) ---------------- */
/* Demo: main.css:715 .news-card + main.css:716 .news-card:hover (cards lift on hover) */
.shadow-card .card { transition: transform .4s var(--ds-ease), box-shadow .4s var(--ds-ease); }
.shadow-card .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-high); }
/* inferred: a card's own button sits at its foot (Demo: main.css:706 .pcard__foot) */
.shadow-card .card { display: flex; flex-direction: column; }
.shadow-card .card > .content-wrapper { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.shadow-card .card .btn-wrapper { margin-top: auto; }
/* inferred: room between a card's copy and its button */
.shadow-card .card .btn-wrapper { padding-top: 22px; }
/* Demo: main.css:845 .slide__num (a stage's ages and format, as small labels) */
.ryfc-stages .card .cf-stage_ages, .ryfc-stages .card .cf-game_format, .ryfc-roles .card .cf-ages_coached, .ryfc-roles .card .cf-role_type { font-size: 14px; color: var(--color-muted); margin: 0 0 6px; }
.card .cf-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }

/* ---------------- Document and link lists (Governance & Policies) ---------------- */
/* inferred: a document link as a white row with the outbound arrow, from the Demo's cards (main.css:874 .date-card)
   and text links (main.css:154 .text-link); the Demo has no document list */
.files-list .filter-item > a.button {
  width: 100%; justify-content: space-between; text-align: left; white-space: normal;
  min-height: 64px; padding: 14px 20px; border-radius: 16px;
  background: var(--color-white); color: var(--color-heading); border: 1px solid var(--color-border);
  font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none;
}
/* inferred: hover as the Demo's text link (main.css:156 .text-link colour) */
.files-list .filter-item > a.button:hover { background: var(--color-white); color: var(--color-main); border-color: var(--color-main); }
/* Demo: main.css:244 the outbound arrow (graphic g10) */
.files-list .filter-item > a.button::after {
  content: ""; width: 16px; height: 16px; flex: none; background-color: currentColor;
  -webkit-mask: url(/assets/images/design/arrow-ne.svg) center / contain no-repeat;
  mask: url(/assets/images/design/arrow-ne.svg) center / contain no-repeat;
}

/* ---------------- Jumps from another page (e.g. a program's Team Pathways button) ---------------- */
/* inferred: on the live site a jump to /competitive#team-pathways landed 24px (1440) and 14px (390) under the
   sticky header (PR-1): the browser jumped while --cc-header-offset was still its 6rem fallback. This makes up
   exactly the shortfall (the header's height, 84px or 74px, less the offset), so it is 0 once main.js has
   measured the header and never leaves a gap. Every widget's label anchor, not only Team Pathways. */
section.content_container > div[id]:empty { scroll-margin-top: max(0px, calc(var(--ds-header-h) - var(--cc-header-offset, 6rem))); }
@media (max-width: 1023px) {
  section.content_container > div[id]:empty { scroll-margin-top: max(0px, calc(74px - var(--cc-header-offset, 6rem))); }
}

/* ---------------- Pathway panel (Team Pathways) ---------------- */
/* Demo: main.css:606 .pathway (a paper panel) */
.ryfc-pathway > .content { background: var(--color-bg-light); border-radius: 32px; padding: clamp(28px, 4vw, 56px); box-shadow: var(--shadow-low); }
/* Demo: main.css:611 .pathway__intro p */
.ryfc-pathway .editable_content > p { color: var(--color-body); max-width: 58ch; }

/* ---------------- Long documents (policies, codes, guidelines) ---------------- */
/* inferred: a reading column for long copy (Demo: main.css:491 .section-head max-width 760px) */
.ryfc-document .editable_content { max-width: 820px; }
.ryfc-document .editable_content h2 { font-size: clamp(30px, 3vw, 44px); margin-top: 1.6em; }
.ryfc-document .editable_content h3 { margin-top: 1.4em; margin-bottom: 10px; }

/* ---------------- FAQs (toggles) ---------------- */
/* inferred: each question a white panel like the Demo's cards (main.css:671 .pcard, main.css:22 --radius-sm) */
.toggle-wrapper .block { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 16px; margin-bottom: 12px; }
/* inferred: questions in the display face (Demo: main.css:96 h3) */
.toggle-wrapper h3.toggle_faq { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; }

/* ---------------- Forms ---------------- */
/* inferred: the form sits on a paper panel like the Demo's finder (main.css:556 .finder__panel) */
.ryfc-form .form_holder { background: var(--color-bg-light); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-low); }
/* inferred: a field in focus takes the Demo's gold focus colour (main.css:80 :focus-visible) */
.ryfc-form .form_holder input:focus, .ryfc-form .form_holder textarea:focus { border-color: var(--color-gold); outline: none; }
/* inferred: labels at full strength (the framework draws every label at 64% opacity, 3.9:1 here: PR-1) */
.form_holder label { opacity: 1; }

/* ==========================================================================
   Interior pages (inferred: the program pages' treatment, carried to every page)
   ========================================================================== */

/* ---------------- Room above a listing ---------------- */
/* A card grid, FAQ list or embed straight under the strip's own copy gets the same breathing room */
section.content_container .content > :is(.editable_content, .cc-hook:not([aria-hidden="true"])) + :is(.flex, .toggle-wrapper, .embed-wrapper) { margin-top: clamp(28px, 3vw, 44px); }

/* ---------------- Page opening (each page's Overview strip) ---------------- */
/* As the interior pages' hero (Demo: main.css:798 .page-hero): a faded ball pattern top right, the
   h1 under a short gold rule at hero size, the first paragraph as the lead, and a reading measure */
section.content_container:has(> .content > .cf-overview_content):not(.ryfc-page-hero) { position: relative; isolation: isolate; overflow: hidden; }
section.content_container:has(> .content > .cf-overview_content):not(.ryfc-page-hero)::before {
  content: ""; position: absolute; top: 0; right: 0; width: min(62vw, 900px); height: min(80%, 640px); z-index: -1; pointer-events: none;
  background: url(/assets/images/design/ball-pattern.svg) 0 0 / 140px 140px repeat;
  opacity: .07;
  -webkit-mask-image: radial-gradient(farthest-side at 100% 0%, #000 25%, rgba(0, 0, 0, 0));
  mask-image: radial-gradient(farthest-side at 100% 0%, #000 25%, rgba(0, 0, 0, 0));
}
.cf-overview_content > h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; max-width: 18ch; margin-bottom: 28px; }
.cf-overview_content > h1::before { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--color-gold); margin-bottom: 26px; }
.cf-overview_content > h1 + p { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.5; color: var(--color-heading); }
.cf-overview_content > :is(p, ul, ol) { max-width: 68ch; }

/* ---------------- Strip intros ---------------- */
/* A strip's heading without an eyebrow takes the gold rule; its copy a reading measure */
:is(.cf-intro_content, .cf-form_intro) > h2:first-child::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--color-gold); margin-bottom: 18px; }
:is(.cf-intro_content, .cf-form_intro) > p { max-width: 68ch; }

/* ---------------- Lists ---------------- */
/* Every plain list in the copy, on cards and in answers is ticked in the club's royal */
section.content_container :is(.editable_content, .card, .toggler) ul:not([class]) { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
section.content_container :is(.editable_content, .card, .toggler) ul:not([class]) > li { position: relative; padding-left: 32px; margin: 0; }
section.content_container :is(.editable_content, .card, .toggler) ul:not([class]) > li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; background-color: var(--color-main);
  -webkit-mask: url(/assets/images/design/check.svg) center / contain no-repeat;
  mask: url(/assets/images/design/check.svg) center / contain no-repeat;
}
section.content_container .card ul:not([class]) > li { padding-left: 28px; }
section.content_container .card ul:not([class]) > li::before { width: 18px; height: 18px; }

/* ---------------- Long documents ---------------- */
/* Numbered points in gold discs, section headings under the gold rule */
.ryfc-document .editable_content ol { list-style: none; counter-reset: ry-item; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.ryfc-document .editable_content ol > li { counter-increment: ry-item; position: relative; padding-left: 46px; margin: 0; }
.ryfc-document .editable_content ol > li::before {
  content: counter(ry-item); position: absolute; left: 0; top: -.05em; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--color-gold-light); color: var(--color-heading);
  font: 700 13px/1 var(--font-body);
}
.ryfc-document .editable_content h2::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--color-gold); margin-bottom: 18px; }
.ryfc-document .editable_content h3 { font-size: clamp(22px, 1.9vw, 28px); padding-top: 1.1em; border-top: 1.5px dashed var(--color-line-strong); }
.ryfc-document .editable_content h2 + h3 { padding-top: 0; border-top: 0; }
.ryfc-document .editable_content h4 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-main); margin: 1.6em 0 .6em; }

/* ---------------- FAQs ---------------- */
/* Separate white panels; the + in a gold disc; the open question outlined in gold */
.toggle-wrapper.outline-toggles { gap: 12px; }
section.content_container .toggle-wrapper.outline-toggles .block {
  border: 1px solid var(--color-border); border-radius: 18px; margin: 0; overflow: hidden;
  transition: border-color .25s var(--ds-ease), box-shadow .25s var(--ds-ease);
}
section.content_container .toggle-wrapper.outline-toggles .block:hover { border-color: var(--color-line-strong); }
section.content_container .toggle-wrapper.outline-toggles .block:has(.toggle_faq.active) { border-color: var(--color-gold); box-shadow: var(--shadow-low); }
section.content_container .toggle-wrapper.outline-toggles .toggle_faq.active { border-bottom: 0; }
section.content_container .toggle-wrapper.outline-toggles .toggle_faq .question { border-left: 0; padding: 18px 24px 18px 0; }
.toggle-wrapper.outline-toggles .toggle_faq .icon { width: 32px; height: 32px; margin: 16px 16px 0 20px; border-radius: 50%; background: var(--color-gold-light); }
.toggle-wrapper.outline-toggles .toggle_faq .icon i { width: 12px; height: 2px; background: var(--color-heading); }
.toggle-wrapper.outline-toggles .toggler { padding: 0 28px 24px 68px; }

/* ---------------- Split blocks: the copy under a gold rule ---------------- */
@media (min-width: 861px) {
  .ryfc-split .editable_content > .grid{
    grid-column: span 2;
  }
  .ryfc-split .editable_content .grid .col-6 p:first-of-type,
  .ryfc-split .editable_content > p:first-of-type { padding-left: clamp(24px, 3vw, 44px); border-left: 3px solid var(--color-gold); font-size: clamp(18px, 1.35vw, 20px); color: var(--color-heading); }
  .ryfc-split .editable_content > p:not(:first-of-type) { padding-left: clamp(27px, calc(3vw + 3px), 47px); }
}

/* ---------------- Club Info: mission, vision, values, philosophy (CSS Class ryfc-mission) ---------------- */
.ryfc-mission .editable_content > h2 + p { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.5; color: var(--color-heading); max-width: 62ch; }
.ryfc-mission .editable_content > p { max-width: 70ch; }
.ryfc-mission .editable_content > h3 { margin-top: clamp(40px, 5vw, 72px); }
.ryfc-mission .editable_content > h3::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--color-gold); margin-bottom: 18px; }
/* The vision as a pull quote (Demo: main.css:774 the footer's italic motto) */
.ryfc-mission .editable_content > h3:first-of-type + p {
  font-family: var(--font-heading); font-style: italic; font-weight: 400; font-variation-settings: "SOFT" 30, "WONK" 0;
  font-size: clamp(22px, 2.1vw, 32px); line-height: 1.3; color: var(--color-heading); max-width: 40ch;
  padding-left: clamp(20px, 2.5vw, 36px); border-left: 3px solid var(--color-gold);
}
/* The values as cards (interactive.js groups them) */
.ryfc-mission .ix-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 8px 0 0; }
.ryfc-mission .ix-value {
  position: relative; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 24px;
  padding: clamp(24px, 2.4vw, 32px); box-shadow: var(--shadow-low);
  transition: transform .4s var(--ds-ease), box-shadow .4s var(--ds-ease);
}
.ryfc-mission .ix-value:hover { transform: translateY(-4px); box-shadow: var(--shadow-high); }
.ryfc-mission .ix-value__num {
  display: block; margin-bottom: 18px; font-family: var(--font-heading); font-variation-settings: "SOFT" 30, "WONK" 0;
  font-size: 44px; line-height: 1; font-weight: 600; color: var(--color-gold);
}
.ryfc-mission .ix-value h4 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; margin: 0 0 12px; }
.ryfc-mission .ix-value p { font-size: 15.5px; margin: 0; color: var(--color-body); }
@media (max-width: 1100px) { .ryfc-mission .ix-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ryfc-mission .ix-values { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- Club Partners: sponsor cards (CSS Class ryfc-sponsors) ---------------- */
/* Every logo in the same white stage, centred and contained, whatever its shape */
.ryfc-sponsors .card { overflow: hidden; }
.ryfc-sponsors .card .img-wrapper {
  display: grid; place-items: center; height: 210px; padding: 32px;
  background: var(--color-white); border-bottom: 1.5px dashed var(--color-line-strong);
}
.ryfc-sponsors .card .img-wrapper img { width: auto; height: auto; max-width: 100%; max-height: 146px; object-fit: contain; transition: transform .5s var(--ds-ease); }
.ryfc-sponsors .card:hover .img-wrapper img { transform: scale(1.04); }
.ryfc-sponsors .card .cf-page_description { color: var(--color-body); font-size: 15.5px; }
.ryfc-sponsors .card a.button { background: transparent; color: var(--color-heading); border: 1.5px solid var(--color-line-strong); }
.ryfc-sponsors .card a.button:hover { background: var(--color-heading); color: var(--color-bg); border-color: var(--color-heading); }
.ryfc-sponsors .card a.button::after {
  content: ""; width: 16px; height: 16px; flex: none; background-color: currentColor;
  -webkit-mask: url(/assets/images/design/arrow-ne.svg) center / contain no-repeat;
  mask: url(/assets/images/design/arrow-ne.svg) center / contain no-repeat;
}

/* ---------------- Forms beside their intro (Become a Sponsor, Send us a message) ---------------- */
.ryfc-form .cf-form_intro > h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -.03em; }
.ryfc-form .cf-form_intro > h2 + p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--color-heading); }
@media (min-width: 1024px) {
  .ryfc-form .form-block-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); column-gap: clamp(40px, 5vw, 88px); align-items: start; }
  .ryfc-form .cf-form_intro { position: sticky; top: calc(var(--cc-header-offset, 84px) + 32px); }
}

/* ---------------- Contact: the club's details (Contact Info) ---------------- */
/* Each detail a white card with its icon in a gold disc */
.contact-info-widget:not(.ryfc-page-hero) .contact-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.contact-info-widget:not(.ryfc-page-hero) .contact-list > li {
  display: flex; align-items: flex-start; gap: 16px; margin: 0;
  background: var(--color-white); border: 1px solid var(--color-border); border-radius: 24px;
  padding: clamp(22px, 2.2vw, 30px); box-shadow: var(--shadow-low);
}
.contact-info-widget:not(.ryfc-page-hero) .contact-list > li > i {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-gold-light); color: var(--color-main); font-size: 18px;
}
.contact-info-widget:not(.ryfc-page-hero) .contact-list > li > span { display: block; padding-top: 2px; }
.contact-info-widget:not(.ryfc-page-hero) .contact-list strong { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
.contact-info-widget:not(.ryfc-page-hero) .contact-list :is(address, pre, a) { margin: 0; font: inherit; font-style: normal; white-space: normal; font-size: 17px; line-height: 1.45; color: var(--color-heading); }
.contact-info-widget:not(.ryfc-page-hero) .contact-list a { color: var(--color-main); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; overflow-wrap: anywhere; }

/* ---------------- Contact: where we play (CSS Class ryfc-venues) ---------------- */
/* The map fills the top of each card; the venue's name and address below it, by a pin */
.ryfc-venues .card { overflow: hidden; }
.ryfc-venues .card > .content-wrapper { padding-top: 0; }
.ryfc-venues .card .cf-location_address { display: contents; }
.ryfc-venues .card .cf-map-frame {
  order: -1; display: block; align-self: stretch; width: auto; height: 210px;
  margin: 0 calc(-1 * var(--ry-card-pad-x, 24px)) 22px; border-bottom: 1px solid var(--color-border);
}
.ryfc-venues .card .cf-title { margin-bottom: 8px; }
.ryfc-venues .card .cf-address-text { position: relative; padding-left: 28px; font-style: normal; font-size: 15px; color: var(--color-body); }
.ryfc-venues .card .cf-address-text::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px; background-color: var(--color-main);
  -webkit-mask: url(/assets/images/design/venue.svg) center / contain no-repeat;
  mask: url(/assets/images/design/venue.svg) center / contain no-repeat;
}

/* ---------------- Footer ---------------- */
/* Demo: main.css:770 .site-footer (padding) */
footer.vertical-footer { padding: clamp(64px, 8vw, 110px) clamp(16px, 4vw, 56px) 0; }
/* Demo: main.css:773 .footer__brand .brand__logo (the badge, as in the header) */
footer.vertical-footer a.logo { background: var(--color-main); padding: 8px; border-radius: 4px; width: calc(var(--footer-logo-width) + 16px); }
/* Demo: main.css:774 .footer__brand blockquote (the club's motto) */
footer.vertical-footer .footer-message {
  font-family: var(--font-heading); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; font-style: italic; font-weight: 400;
  font-variation-settings: "SOFT" 30, "WONK" 0; color: var(--color-bg); max-width: 32ch;
}
/* Demo: main.css:776 .site-footer h4 (column labels: the sitemap's groups) */
footer.vertical-footer .sitemap .nav-heading > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 16px; }
/* Demo: footer columns carry their own labels; the framework's "Sitemap" label is not in the Demo */
footer.vertical-footer .sitemap > .h4 { display: none; }
/* Demo: main.css:782 .footer__social a (round outlined icons) */
footer.vertical-footer .social_media ul li a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(251, 246, 236, .25); }
/* Demo: main.css:776 .site-footer h4 (column labels in the sans, letter-spaced) */
footer.vertical-footer .h4 { font-family: var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
/* Demo: main.css:771 .footer__top (brand column, the link columns, then contact; left-aligned) */
footer.vertical-footer .content {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, .8fr);
  gap: 26px 40px; align-items: start; justify-items: start; text-align: left;
}
footer.vertical-footer a.logo { grid-column: 1; grid-row: 1; }
footer.vertical-footer .footer-message { grid-column: 1; grid-row: 2 / span 2; text-align: left; }
footer.vertical-footer .sitemap { grid-column: 2; grid-row: 1 / span 3; }
footer.vertical-footer .footer-contact { grid-column: 3; grid-row: 1 / span 2; }
footer.vertical-footer .footer-social { grid-column: 3; grid-row: 3; }
footer.vertical-footer .sitemap, footer.vertical-footer .footer-contact, footer.vertical-footer .footer-social { width: 100%; border-top: 0; padding-top: 0; }
/* Demo: main.css:777 .site-footer li + li (one link per line, in columns) */
footer.vertical-footer .sitemap nav > ul { flex-wrap: nowrap; justify-content: space-around; gap: 40px; }
footer.vertical-footer .sitemap .nav-heading { width: auto; }
footer.vertical-footer .sitemap .nav-heading ul { flex-direction: column; flex-wrap: nowrap; gap: 8px; }
footer.vertical-footer .sitemap .nav-heading ul li { width: auto; }
/* Demo: main.css:780 .footer__contact p */
footer.vertical-footer .footer-contact ul { flex-direction: column; justify-content: flex-start; gap: 10px; }
footer.vertical-footer .footer-contact li { text-align: left; }
/* Demo: main.css:785 .footer__legal (copyright left, the legal links right, under a hairline) */
footer.vertical-footer .footer-bottom {
  grid-column: 1 / -1; flex-direction: row-reverse; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  margin-top: 30px; padding-block: 26px 34px; border-top: 1px solid rgba(251, 246, 236, .12);
}
footer.vertical-footer .footer-bottom > * { width: auto; }
/* Demo: main.css:789 .footer__top at 960px and below (two columns, the brand across both) */
@media (max-width: 960px) {
  footer.vertical-footer .content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  footer.vertical-footer a.logo, footer.vertical-footer .footer-message, footer.vertical-footer .sitemap { grid-column: 1 / -1; grid-row: auto; }
  footer.vertical-footer .footer-contact { grid-column: 1; grid-row: auto; }
  footer.vertical-footer .footer-social { grid-column: 2; grid-row: auto; }
}
/* Demo: main.css:793 .footer__top at 560px and below (one column) */
@media (max-width: 560px) {
  footer.vertical-footer .content { grid-template-columns: minmax(0, 1fr); }
  footer.vertical-footer .footer-contact, footer.vertical-footer .footer-social { grid-column: 1; }
  footer.vertical-footer .sitemap nav > ul { flex-wrap: wrap; }
  footer.vertical-footer .footer-bottom { flex-direction: column; }
}

/* ---------------- A program's own page (Program Finder › each program) ---------------- */
/* inferred: a reading column, as for long documents (Demo: main.css:491 .section-head max-width 760px) */
.ryfc-program-page .content-wrapper { max-width: 820px; }
/* inferred: the page's sections are sub-headings, a step below the Demo's section h2 (main.css:105 h3 size, main.css:104 h2 face) */
.ryfc-program-page .editable_content h2 { font-size: clamp(26px, 2.4vw, 36px); margin: 1.4em 0 .4em; }
/* Demo: main.css:696 .pcard__meta (the schedule as the card's detail list: a dashed rule, small labels) */
.ryfc-program-page .custom-fields-list {
  list-style: none; margin: 8px 0 24px; padding: 18px 0 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 28px;
  border-top: 1.5px dashed var(--color-line-strong);
}
.ryfc-program-page .custom-fields-list li { position: relative; margin: 0; padding: 0 0 0 30px; }
.ryfc-program-page .custom-fields-list li::before { display: none; }
.ryfc-program-page .custom-fields-list li p { margin: 0; font-size: 15px; }
/* Demo: main.css:699 .pcard__meta b */
.ryfc-program-page .custom-fields-list li strong { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; }

/* inferred: the program page in the site's own language. The opening (eyebrow, h1, lead) as the
   interior pages' hero (Demo: main.css:798 .page-hero), a faded ball pattern behind it, each section
   heading under a short gold rule, lists ticked in the club's royal, and the details as a white
   "At a glance" card (Demo: main.css:671 .pcard) that stays beside the copy on wide screens. */
section.content_container.ryfc-program-page { position: relative; isolation: isolate; padding-top: clamp(56px, 7vw, 110px); }
section.content_container.ryfc-program-page::before {
  content: ""; position: absolute; top: 0; right: 0; width: min(62vw, 900px); height: min(70vh, 640px); z-index: -1; pointer-events: none;
  background: url(/assets/images/design/ball-pattern.svg) 0 0 / 140px 140px repeat;
  opacity: .07;
  -webkit-mask-image: radial-gradient(farthest-side at 100% 0%, #000 25%, rgba(0, 0, 0, 0));
  mask-image: radial-gradient(farthest-side at 100% 0%, #000 25%, rgba(0, 0, 0, 0));
}
.ryfc-program-page .cf-page_content > h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; margin-bottom: 28px; max-width: 16ch; }
.ryfc-program-page .cf-page_content > h1 + p { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.5; color: var(--color-heading); }
.ryfc-program-page .editable_content h2::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--color-gold); margin-bottom: 18px; }
/* (the ticked lists are site-wide: see "Lists" under Interior pages) */
/* The page's own buttons as the hero's ghost button (Demo: main.css:145 .btn--ghost); registration stays solid */
.ryfc-program-page .editable_content a.button:not([href*="jotform"]) { background: transparent; color: var(--color-heading); border: 1.5px solid var(--color-line-strong); }
.ryfc-program-page .editable_content a.button:not([href*="jotform"]):hover { background: var(--color-heading); color: var(--color-bg); border-color: var(--color-heading); }
.ryfc-program-page .editable_content a.button[href*="jotform"] { min-height: 54px; padding: 0 28px; }
/* The details card */
.ryfc-program-page .custom-fields-list {
  background: var(--color-white); border: 1px solid var(--color-border); border-radius: 24px;
  padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--shadow-low); border-top: 1px solid var(--color-border);
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 28px;
}
/* The program's own photo (Page Overview › Image Inside Content), opening the copy: the column's width,
   its own proportions (the img's height attribute would otherwise stretch it on a phone), and the
   details card's corners */
.ryfc-program-page .editable_content > .img-wrapper { margin: 0 0 28px; border-radius: 24px; overflow: hidden; }
.ryfc-program-page .editable_content > .img-wrapper img { display: block; width: 100%; height: auto; }
/* From 1024px the photo opens the "At a glance" card instead, and travels with it as the page
   scrolls (interactive.js "program photo" copies it there); below, the card's copy is hidden */
.ryfc-program-page .custom-fields-list > li.cf-photo { display: none; }
@media (min-width: 1024px) {
  .ryfc-program-page .content-wrapper {
    max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    column-gap: clamp(40px, 5vw, 88px); align-items: start;
  }
  .ryfc-program-page .content-wrapper > .editable_content { grid-column: 1; max-width: 760px; }
  .ryfc-program-page .content-wrapper > .cf-page_content_more { grid-row: 2; }
  .ryfc-program-page .content-wrapper > .custom-fields-list {
    grid-column: 2; grid-row: 1 / span 2; margin: 0; max-width: none;
    grid-template-columns: minmax(0, 1fr); gap: 20px;
    position: sticky; top: calc(var(--cc-header-offset, 84px) + 24px);
  }
  .ryfc-program-page .content-wrapper > .custom-fields-list::before {
    content: "At a glance"; display: block; padding-bottom: 16px; border-bottom: 1.5px dashed var(--color-line-strong);
    font-family: var(--font-heading); font-size: 24px; line-height: 1.1; color: var(--color-heading); font-variation-settings: "SOFT" 30, "WONK" 0;
  }
  /* "Schedule" heads the details in the copy; beside it, the card has its own title */
  .ryfc-program-page .cf-page_content > h2:last-child { display: none; }
  /* The photo across the top of the card, edge to edge under its rounded corners, above the title */
  .ryfc-program-page .content-wrapper.has-card-photo > .cf-page_content > .img-wrapper { display: none; }
  .ryfc-program-page .content-wrapper > .custom-fields-list > li.cf-photo {
    display: block; order: -1; padding: 0;
    margin: calc(-1 * clamp(22px, 2.4vw, 32px)) calc(-1 * clamp(22px, 2.4vw, 32px)) 4px;
  }
  .ryfc-program-page .content-wrapper > .custom-fields-list > li.cf-photo::after { display: none; }
  .ryfc-program-page .custom-fields-list > li.cf-photo .img-wrapper { margin: 0; border-radius: 23px 23px 0 0; overflow: hidden; }
  .ryfc-program-page .custom-fields-list > li.cf-photo img { display: block; width: 100%; height: auto; }
}
.ryfc-feature.ryfc-expect .editable_content > p:has(> a.button){
  padding-left: 0;
}
.ryfc-feature.ryfc-expect .editable_content > h2{
  grid-row: 1 / span 3;
}

/* ---------------- Coaches (CSS Class ryfc-coaches: Coaching Staff › Coaches, Club Info › Our Coaches) ---------------- */
/* Coaching Staff: the list follows the page's opening closely (two full section paddings made a
   317px gap at 1440, PR-1); ryfc-coaches-page is that widget's second class, and the opening is
   the section just before it */
section.content_container:has(+ section.content_container.ryfc-coaches-page) { padding-bottom: clamp(48px, 6vw, 88px); }
section.content_container.ryfc-coaches-page { padding-top: clamp(40px, 4vw, 56px); }
/* Each card a column: photo, name, role, then the Read Bio button at the foot, level across a row */
.ryfc-coaches .card { display: flex; flex-direction: column; }
.ryfc-coaches .card > .content-wrapper { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.ryfc-coaches .card .cf-title { margin-bottom: 10px; }
/* The role as a pill (inferred: the category filter's chip, main.css:659 .chip) */
.ryfc-coaches .card .cf-role, .ryfc-bio-dialog__role {
  display: inline-flex; align-items: center; width: fit-content; padding: 5px 12px; border-radius: 999px;
  background: var(--color-bg); border: 1px solid var(--color-border); color: var(--color-main);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase;
}
.ryfc-coaches .card .cf-role { margin: 0 0 18px; }
/* The bios open in the dialog (interactive.js "coach bios"); without the script they stay on the cards */
.ryfc-coaches.has-bio-dialog .card .cf-page_description { display: none; }
/* Read Bio: the program page's ghost button (Demo: main.css:145 .btn--ghost), at the card's foot */
.ryfc-coaches .card .ryfc-bio-btn {
  margin-top: auto; cursor: pointer;
  background: transparent; color: var(--color-heading); border: 1.5px solid var(--color-line-strong);
}
.ryfc-coaches .card .ryfc-bio-btn:hover, .ryfc-coaches .card .ryfc-bio-btn:focus-visible {
  background: var(--color-heading); color: var(--color-bg); border-color: var(--color-heading);
}
/* The dialog: a white panel with the site's 24px corners (inferred: the "At a glance" card), centred
   (the site's reset zeroes the margin the browser centres a dialog with) */
.ryfc-bio-dialog {
  margin: auto; inset: 0;
  width: min(780px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 24px;
  background: var(--color-white); color: var(--color-body); box-shadow: var(--shadow-high); overflow: hidden;
}
.ryfc-bio-dialog::backdrop { background: color-mix(in srgb, var(--color-heading) 62%, transparent); }
.ryfc-bio-dialog__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 3vw, 36px);
  max-height: calc(100dvh - 48px); overflow: auto; padding: clamp(24px, 4vw, 44px);
}
.ryfc-bio-dialog__inner.no-photo { grid-template-columns: minmax(0, 1fr); }
.ryfc-bio-dialog__photo:empty { display: none; }
.ryfc-bio-dialog__photo img { display: block; width: 100%; height: auto; border-radius: 18px; }
.ryfc-bio-dialog h2 { margin: 0 52px 12px 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.ryfc-bio-dialog__role { margin: 0 0 20px; }
.ryfc-bio-dialog__bio p { margin: 0 0 1em; font-size: 16px; line-height: 1.65; }
.ryfc-bio-dialog__bio p:last-child { margin-bottom: 0; }
.ryfc-bio-dialog__close {
  position: absolute; top: 14px; right: 14px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-white); color: var(--color-heading);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.ryfc-bio-dialog__close:hover, .ryfc-bio-dialog__close:focus-visible { background: var(--color-heading); border-color: var(--color-heading); color: var(--color-bg); }
@media (max-width: 640px) {
  .ryfc-bio-dialog__inner { grid-template-columns: minmax(0, 1fr); }
  .ryfc-bio-dialog__photo { width: min(200px, 60%); }
}

/* ==== CR-1: the footer logo without its box, and larger ====
   Added by /content-update on 2026-11-17, sent to the server with the update. A re-run finds these rules by the two
   marker lines: leave them, or move the rules elsewhere in the file and delete both markers. */
/* The footer logo straight on the dark footer: the transparent crest with its wording in white
   (assets/images/design/logo-footer.png, includes/footer.php), without the badge box behind it, and a
   little larger than the 191px it was (agreed in the CR-1 meeting, Nov 16) */
footer.vertical-footer a.logo { background: none; padding: 0; border-radius: 0; width: min(260px, 100%); }
/* ==== end: CR-1: the footer logo without its box, and larger ==== */

/* ==== CR-1: program cards, ages and gender first, indoor or outdoor, one day per line ====
   Added by /content-update on 2026-11-17, sent to the server with the update. A re-run finds these rules by the two
   marker lines: leave them, or move the rules elsewhere in the file and delete both markers. */
/* Program cards: ages and gender open the details, side by side, then the season and indoor or outdoor,
   side by side; every other detail spans the card */
.ryfc-programs .card .custom-fields-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.ryfc-programs .card .custom-fields-list > li { grid-column: 1 / -1; }
.ryfc-programs .card .custom-fields-list > li:is(.cf-ages, .cf-gender) { grid-column: auto; grid-row: 1; }
.ryfc-programs .card .custom-fields-list > li:is(.cf-season, .cf-indoor_outdoor) { grid-column: auto; }
/* Indoor or outdoor is its own detail now (Program Finder › Indoor or Outdoor), with the indoor or outdoor
   icon; the season, only dates now, takes the calendar */
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li.cf-indoor_outdoor::after { -webkit-mask-image: url(/assets/images/design/indoor.svg); mask-image: url(/assets/images/design/indoor.svg); }
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li.cf-indoor_outdoor.is-outdoor::after,
.ryfc-programs .card:has([data-season="Outdoor" i]) .custom-fields-list li.cf-indoor_outdoor::after { -webkit-mask-image: url(/assets/images/design/outdoor.svg); mask-image: url(/assets/images/design/outdoor.svg); }
:is(.ryfc-programs .card, .ryfc-program-page) .custom-fields-list li.cf-season::after,
.ryfc-programs .card:has([data-season]) .custom-fields-list li.cf-season::after { -webkit-mask-image: url(/assets/images/design/calendar.svg); mask-image: url(/assets/images/design/calendar.svg); }
/* "Indoor" beside its icon says it all: the label stays for screen readers only */
.custom-fields-list li.cf-indoor_outdoor > strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Days and times: one day per line, the day in bold (interactive.js, "CR-1: program details") */
.custom-fields-list li.cf-days_times .ryfc-day-line { display: block; }
.custom-fields-list li.cf-days_times .ryfc-day-line + .ryfc-day-line { margin-top: 4px; }
.custom-fields-list li.cf-days_times .ryfc-day { font-weight: 700; color: var(--color-heading); }
/* ==== end: CR-1: program cards, ages and gender first, indoor or outdoor, one day per line ==== */

/* ==== CR-1: a program page opens with its type and name; At a glance holds every detail and Register Now ====
   Added by /content-update on 2026-11-17, sent to the server with the update. A re-run finds these rules by the two
   marker lines: leave them, or move the rules elsewhere in the file and delete both markers. */
/* A program's page opens with its program type and its name, from the program's own fields (Program Finder ›
   Program Type and Title, shown on the page), in the size the heading typed into its copy had; the first
   paragraph of its copy stays the lead */
.ryfc-program-page .content-wrapper > .cf-program_type { margin: 0 0 18px; }
.ryfc-program-page .content-wrapper > h1.cf-title { font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; margin: 0 0 28px; max-width: 16ch; }
.ryfc-program-page .cf-page_content > p:first-of-type { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.5; color: var(--color-heading); }
/* The At a glance card ends with the program's Register Now (interactive.js, "CR-1: register in the card") */
.ryfc-program-page .custom-fields-list > li.cf-register { padding: 4px 0 0; }
.ryfc-program-page .custom-fields-list > li.cf-register::after { display: none; }
.ryfc-program-page .custom-fields-list > li.cf-register a.button { width: 100%; justify-content: center; min-height: 54px; margin: 0; }
@media (min-width: 1024px) {
  .ryfc-program-page .content-wrapper > :is(.cf-program_type, h1.cf-title, .btn-wrapper) { grid-column: 1; }
  .ryfc-program-page .content-wrapper > .cf-program_type { grid-row: 1; }
  .ryfc-program-page .content-wrapper > h1.cf-title { grid-row: 2; }
  .ryfc-program-page .content-wrapper > .cf-page_content { grid-row: 3; }
  .ryfc-program-page .content-wrapper > .cf-page_content_more { grid-row: 4; }
  .ryfc-program-page .content-wrapper > .btn-wrapper { grid-row: 5; }
  .ryfc-program-page .content-wrapper > .custom-fields-list { grid-row: 1 / span 4; }
}
/* ==== end: CR-1: a program page opens with its type and name; At a glance holds every detail and Register Now ==== */

/* ==== CR-1: Our Coaches as a slider ====
   Added by /content-update on 2026-11-17, sent to the server with the update. A re-run finds these rules by the two
   marker lines: leave them, or move the rules elsewhere in the file and delete both markers. */
/* Club Info › Our Coaches slides through every coach: each slide keeps the coach card it was (the shadow card's
   ground, shadow, corners and padding), the cards stand the same height, and the arrows and dots sit below */
.ryfc-coaches .widget-slider { padding-bottom: 56px; }
.ryfc-coaches .widget-slider .swiper-slide { height: auto; }
.ryfc-coaches .widget-slider .card {
  height: 100%; background: var(--shadow-card--bg); box-shadow: var(--shadow-card-shadow);
  border-radius: var(--shadow-card-radius); overflow: var(--shadow-card-overflow);
}
.ryfc-coaches .widget-slider .card > .content-wrapper { padding: var(--shadow-card-content-padding); }
.ryfc-coaches .widget-slider .swiper-pagination { bottom: 8px; }
/* ==== end: CR-1: Our Coaches as a slider ==== */

/* ==== CR-1: a coach card's text spans the card in the slider ====
   Added by /content-update on 2026-11-17, sent to the server with the update. A re-run finds these rules by the two
   marker lines: leave them, or move the rules elsewhere in the file and delete both markers. */
/* A coach card in the slider keeps its text the card's full width: the framework's slider gives a slide's
   text a fixed width (styles.css, .widget-slider .swiper-slide .card .content-wrapper) meant for a slide with
   its photo beside the text, which squeezed each coach's name and role into a narrow column */
.ryfc-coaches .widget-slider .swiper-slide .card > .content-wrapper { width: 100%; }
/* ==== end: CR-1: a coach card's text spans the card in the slider ==== */
