@font-face { font-family: "Webly Sleek"; src: url("youfit/weblysleekuil.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Webly Sleek"; src: url("youfit/weblysleekuisb.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }

:root { font-family: "Webly Sleek", Arial, sans-serif; color: #555; background: #fff; }
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; }
.shell { width: 92%; max-width: 1310px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

nav { display: flex; flex-wrap: wrap; align-items: stretch; }
nav a { display: flex; align-items: center; padding: 0 12px; font-size: 16px; font-weight: 400; line-height: 1.25; text-transform: uppercase; text-decoration: none; }
nav a[aria-current="page"], nav a:hover { background: #a1dbe4; }

.banner { display: block; width: 100%; height: auto; }
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; color: #fff; }
.panels > :nth-child(1) { background: #56c5d0; }
.panels > :nth-child(2) { background: #a1dbe4; }
.panels > :nth-child(3) { background: #858889; }
.features article { padding: 50px; }
.features img { display: block; margin-inline: auto; max-width: 100%; object-fit: contain; }
.feature-caption { width: 247px; height: 82px; margin-top: 30px; }
.features p { margin-top: 17px; font-size: 20px; line-height: 1.65; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.stats div { padding: 52px 20px; }
.stats strong { display: block; font-size: clamp(26px, 3vw, 42px); }
.stats span { display: block; margin-top: 4px; font-size: 22px; }
.stats-summary {
    background-color: #173b3e;
    padding: clamp(24px, 4vw, 48px) max(20px, calc((100% - 1240px) / 2));
}
.stats.stats-summary > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 12px clamp(12px, 2vw, 28px);
    overflow-wrap: anywhere;
}
.stats.stats-summary:not(.stats-colour-panels) > div { background: transparent; }
.stats-summary > div + div { border-inline-start: 1px solid rgb(255 255 255 / 25%); }
.stats-summary strong { font-size: clamp(24px, 3vw, 42px); line-height: 1.15; }
.stats-summary strong > span { display: inline; margin: 0; font-size: inherit; }
.stats-summary :is([data-count], .stats-count-suffix) { color: #a1dbe4; font-variant-numeric: tabular-nums; }
.stats-summary > div > span { margin: 0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.4; }
.stats-colour-panels.stats-summary:not([data-club-background]) { padding: 0; }
.stats-colour-panels.stats-summary:not([data-club-background]) > div { padding-block: clamp(32px, 5vw, 60px); }
.stats-colour-panels.stats-summary:not([data-club-background]) > div + div { border: 0; }
.stats-colour-panels:not([data-club-background]) :is([data-count], .stats-count-suffix) { color: #173b3e; }
.tour { padding: 188px 20px 90px; text-align: center; }
.tour a { display: block; max-width: 664px; margin: auto; padding: 20px; background: #f47a21; color: #fff; text-transform: uppercase; text-decoration: none; font-size: 30px; }

.club-hero { position: relative; background: #56c5d0; color: #fff; text-align: center; }
.club-hero .banner { height: clamp(350px, 46vw, 800px); object-fit: cover; object-position: center 75%; filter: brightness(.8); }
.club-heading { padding: 28px 4%; }
.club-hero .banner + .club-heading { position: absolute; inset: auto 0 0; background: linear-gradient(transparent, #238b9bc9); }
.club-heading h1 { font-size: clamp(26px, 4vw, 52px); }
.club-heading p { margin-top: 6px; font-size: 18px; }
.club-details, .directory { padding-block: 65px; }
.club-details p { max-width: 65ch; line-height: 1.6; }
.club-details h2 { margin-top: 30px; }
address { margin-top: 12px; font-style: normal; line-height: 1.6; }
.directory form { margin-block: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.directory input { padding: 10px; background: #eee; border: 1px solid #ddd; font: inherit; }
button, .button { display: inline-block; background: #56c5d0; color: #222; padding: 10px 16px; border: 0; font: inherit; text-decoration: none; cursor: pointer; }
.button { margin-top: 20px; }
.clubs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.clubs a { display: block; padding: 14px; border: 1px solid #ddd; }
.clubs small { display: block; margin-top: 5px; }
footer { background: #333; color: #fff; padding: 12px 0 24px; font-size: 11px; line-height: 1.6; }
footer p + p { margin-top: 12px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 1050px) {
    nav a { font-size: 13px; padding: 8px; }
}

@media (max-width: 660px) {
    nav a { font-size: 11px; padding: 5px; }
    .panels { grid-template-columns: 1fr; }
    .stats-summary { padding-block: 8px; }
    .stats.stats-summary > div { padding-block: 18px; }
    .stats-summary > div + div { border-inline-start: 0; border-block-start: 1px solid rgb(255 255 255 / 25%); }
    .stats-colour-panels.stats-summary:not([data-club-background]) > div { padding-block: 24px; }
    .tour { padding: 65px 20px; }
}

.stats strong :is([data-count], .stats-count-suffix) { display: inline; margin: 0; font-size: inherit; }
.tour img { display: block; width: min(607px, 100%); height: auto; margin: 0 auto 28px; }
.tour { padding-top: 40px; }
.youfit-scroll-top {
    position: fixed; right: 4%; bottom: 5%; z-index: 3; width: 50px; height: 50px;
    display: grid; place-items: center; background: rgb(0 0 0 / .56);
    color: white; font: 24px/1 sans-serif; text-decoration: none;
}
.youfit-scroll-top[hidden] { display: none; }
.motion-ready [data-reveal]:not(.is-revealed) { opacity: 0; }
.motion-ready [data-reveal="fade"].is-revealed { animation: youfit-fade 1.5s ease-out both; }
.motion-ready [data-reveal="pop"].is-revealed { animation: youfit-pop .5s cubic-bezier(.175, .885, .32, 1.275) both; }
@keyframes youfit-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes youfit-pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }

.home-carousel { position: relative; }
.home-carousel:has(> [data-slide][inert]) { overflow: clip; }
.home-carousel [data-slide] { aspect-ratio: 1902 / 810; background: #333; }
.home-carousel [data-slide][inert] { position: absolute; inset: 0; }
.home-carousel .banner { width: 100%; height: 100%; object-fit: cover; }
.home-carousel [data-slide] a { display: block; height: 100%; }
.feature-copy a { color: inherit; }
.feature-copy ul, .feature-copy ol { display: table; text-align: left; margin-inline: auto; }
.preview-notice { padding: 10px 4%; background: #fff3c5; color: #514519; }

.rich-table { max-width: 100%; overflow-x: auto; }
.rich-table table { width: 100%; border-collapse: collapse; }
.rich-table :is(th, td) { min-width: 5rem; padding: .35em .6em; border: 1px solid currentColor; vertical-align: top; }
.rich-table :is(th, td) p { margin: 0; }

:is(.feature-copy, .club-rich-text, .information-rich-text) img[data-align] { display: block; max-width: 100%; height: auto; margin-block: .65em; }
:is(.feature-copy, .club-rich-text, .information-rich-text) img[data-align="left"] { margin-inline: 0 auto; }
:is(.feature-copy, .club-rich-text, .information-rich-text) img[data-align="center"] { margin-inline: auto; }
:is(.feature-copy, .club-rich-text, .information-rich-text) img[data-align="right"] { margin-inline: auto 0; }

.club-map { position: relative; z-index: 0; background: #f1f1ee; }
.club-map-canvas { position: absolute; inset: 0; }
.club-map-status { position: absolute; inset: 0; align-content: center; text-align: center; padding: 1rem; }
.club-map-popup p { margin: 5px 0 0; white-space: pre-line; }
