/*
 * CormackCoreWeb 2.0 - Main Stylesheet
 * Author: Charlie - Cormack Advertising
 *
 * Seattle Slam. Breakpoints match the old Elementor build:
 *   tablet  <= 1024px
 *   mobile  <= 767px
 */

/* ==========================================================================
   Fonts (self-hosted)
   ========================================================================== */

@font-face {
    font-family: "Aldo the Apache";
    src: url("../fonts/aldo-the-apache.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Space Mono";
    src: url("../fonts/space-mono-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Space Mono";
    src: url("../fonts/space-mono-400-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Space Mono";
    src: url("../fonts/space-mono-700.woff2") format("woff2");
    font-weight: 500 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/space-grotesk-var.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
    --green: #00F61F;
    --navy: #0A1432;
    --teal: #1CA8A9;
    --grey-bg: #F3F3F3;
    --muted: #7A7A7A;
    --text: #333333;
    --link: #CC3366;

    --f-display: "Aldo the Apache", sans-serif;
    --f-body: "Space Mono", sans-serif;
    --f-ui: "Space Grotesk", sans-serif;
    --f-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--f-system);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg,
iframe,
video {
    max-width: 100%;
}

img {
    height: auto;
    vertical-align: middle;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    line-height: 1;
}

p {
    margin: 0 0 0.9rem;
}

ul {
    margin: 0;
    padding: 0;
}

button,
input {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed !important;
    top: 10px;
    left: 10px;
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 10px 16px;
    clip: auto;
    background: var(--green);
    color: var(--navy);
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.icon--chevron {
    width: 0.625em;
}

/* ==========================================================================
   Shared components
   ========================================================================== */

/* Green button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    background: var(--green);
    color: var(--navy);
    font-family: var(--f-ui);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border: 0;
    border-radius: 0;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover,
.btn:focus-visible {
    color: var(--navy);
}

.btn--wide {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 1% 30%;
}

.btn--roomy {
    padding: 10px 30px;
}

.btn--enquire {
    padding: 10px 100px;
}

/* Section headings */
.section-title {
    font-family: var(--f-display);
    font-size: 40px;
    font-weight: 600;
    line-height: 40px;
    color: #000;
}

.section-title--light {
    color: #fff;
}

.section-title--sm {
    font-size: 30px;
    line-height: 30px;
    text-transform: uppercase;
}

/* Navy backgrounds, with the faint diagonal texture */
.section--navy {
    background-color: var(--navy);
    color: #fff;
}

.section--texture {
    position: relative;
    isolation: isolate;
}

.news-feature,
.coming-up {
    margin-top: -3px;
}

.section--texture::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../img/decor-w.png") center / cover no-repeat;
    opacity: 0.04;
    pointer-events: none;
}

/* Dividers */
.divider {
    height: 0;
    margin: 15px 0;
    border: 0;
    border-top: 1px solid currentColor;
}

.divider--green {
    border-top-color: var(--green);
}

.divider--light {
    border-top-color: rgba(255, 255, 255, 0.85);
}

.divider--thick {
    border-top-width: 2px;
}

.divider--band {
    margin: 15px 0;
}

/* Social icons */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
}

.social-icons--end {
    justify-content: flex-end;
}

.social-icons__item a,
.social-icons__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 59px;
    height: 59px;
    border-radius: 10%;
    transition: opacity 0.3s;
}

.social-icons__item a:hover {
    opacity: 0.8;
}

.social-icons__item img {
    width: auto;
    height: 42px;
}

/* 16:9 video */
.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 5%;
}

.admin-bar .site-header {
    top: 32px;
}

.site-header__inner {
    display: flex;
    align-items: center;
    min-height: 80px;
    border-bottom: 1px solid var(--green);
}

.site-header__logo {
    display: block;
    flex-shrink: 0;
}

.site-header__logo img {
    display: block;
    width: 119px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.site-nav__menu a {
    position: relative;
    z-index: 0;
    display: block;
    padding: 4px 10px;
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.45px;
    text-transform: uppercase;
    color: #fff;
}

.site-nav__menu a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s;
}

.site-nav__menu a:hover::before,
.site-nav__menu a:focus-visible::before {
    transform: scaleX(1);
}

.site-nav__menu .is-active > a {
    color: var(--green);
}

.site-nav__menu .is-active > a:hover {
    color: #fff;
}

.site-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 5.5px;
    font-size: 22px;
    color: var(--green);
    background: transparent;
    border: 1px solid var(--green);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.site-nav__toggle .icon--close {
    display: none;
}

.site-nav__toggle:hover,
.site-nav__toggle[aria-expanded="true"] {
    color: #000;
    background: var(--green);
}

.site-nav__toggle[aria-expanded="true"] {
    border-color: #000;
}

.site-nav__toggle[aria-expanded="true"] .icon--menu {
    display: none;
}

.site-nav__toggle[aria-expanded="true"] .icon--close {
    display: block;
}

.btn--header {
    gap: 14px;
    margin: 0 0 0 40px;
    padding: 18px 20px 15px;
    line-height: 1.3;
    letter-spacing: 1.53px;
    border: 0;
}

.btn--header:hover,
.btn--header:focus-visible {
    color: var(--green);
    background: transparent;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    padding: 100px;
    overflow: hidden;
    background-color: var(--navy);
    color: #fff;
}

.hero__media,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.hero--pos-top .hero__img {
    object-position: 50% 0;
}

.hero--slideshow .hero__img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero--slideshow .hero__img.is-active {
    opacity: 1;
}

.hero__overlay {
    background-image: linear-gradient(180deg, #0A1432 15%, rgba(85, 73, 86, 0.44) 32%);
    opacity: 0.5;
    mix-blend-mode: darken;
}

.hero--overlay-fade .hero__overlay {
    background-image: linear-gradient(180deg, rgba(10, 20, 50, 0.29) 70%, #0A1432 94%);
    mix-blend-mode: normal;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.hero__main {
    flex: 1 1 auto;
}

.hero__title {
    font-family: var(--f-display);
    font-size: 76px;
    font-weight: 600;
    line-height: 64px;
    letter-spacing: 2.3px;
    color: #fff;
}

.hero--dark .hero__title {
    color: #000;
}

.hero__text {
    max-width: 321px;
    margin: 0 0 14.4px;
    padding-top: 40px;
    font-family: var(--f-body);
    font-size: 18px;
    line-height: 20.8px;
    color: #fff;
}

.hero--split .hero__content {
    align-items: center;
}

.hero--split .hero__main,
.hero--split .hero__aside {
    flex: 0 0 50%;
}

.hero--split .hero__aside {
    display: flex;
    justify-content: flex-end;
}

.hero--media {
    padding: 95px;
}

/* ==========================================================================
   Home
   ========================================================================== */

/* Event bar under the hero */
.event-bar {
    display: flex;
    background: #fff;
}

.event-bar__main {
    display: flex;
    flex: 0 0 80%;
    align-items: center;
    padding: 12px 0;
}

.event-bar__row {
    display: flex;
    flex: 1;
    align-items: center;
    margin: 0 50px;
    padding: 20px 0;
    border-bottom: 1px solid var(--green);
}

.event-bar__icon {
    display: flex;
    flex: 0 0 10%;
    justify-content: center;
    padding: 20px;
}

.event-bar__icon img {
    display: block;
    width: 65px;
    max-width: none;
}

.event-bar__icon--lg {
    justify-content: flex-end;
    padding: 0;
}

.event-bar__icon--lg img {
    width: 100px;
}

.event-bar__title {
    flex: 0 0 40%;
    font-family: var(--f-display);
    font-weight: 600;
    text-align: center;
    color: #000;
}

.event-bar__title--date {
    font-size: 26px;
    line-height: 26px;
    letter-spacing: 2px;
    word-spacing: 5px;
}

.event-bar__title--venue {
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 1px;
    word-spacing: 2px;
}

.event-bar__cta {
    display: flex;
    flex: 1 1 20%;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 10px;
    background: rgba(0, 246, 31, 0.2);
    color: #000;
    transition: background-color 0.3s;
}

.event-bar__cta:hover {
    background: rgba(0, 246, 31, 0.35);
}

.event-bar__cta-title {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 2px;
    text-align: center;
}

/* Video */
.video-band {
    padding: 50px;
    background: var(--grey-bg);
}

/* Intro (navy split) */
.intro {
    display: flex;
    background: var(--navy);
    color: #fff;
}

.intro__text {
    display: flex;
    flex: 0 0 50%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 100px;
}

.intro__title {
    max-width: 56.794%;
    font-family: var(--f-ui);
    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
}

.intro__subtitle {
    max-width: 98%;
    margin: 0;
    padding: 20px 0 40px;
    font-family: var(--f-ui);
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
}

.intro__box {
    width: 98%;
    margin: 0;
    padding: 20px 0;
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.3rem;
    text-align: center;
    border: 1px solid #01F61F;
}

.intro__body {
    margin: 0 0 20px;
    padding: 40px 0 50px;
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.3rem;
}

.intro__media {
    flex: 0 0 50%;
}

.intro__media img {
    display: block;
    width: 100%;
}

/* Slogan marquee */
.marquee {
    display: flex;
    align-items: center;
    height: 118px;
    overflow: hidden;
    background: var(--green);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: slam-marquee 45s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__group {
    display: flex;
    gap: 44px;
    padding-right: 44px;
}

.marquee__item {
    margin: 0;
    font-family: var(--f-display);
    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0.04em;
    word-spacing: 0.4em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #000;
}

@keyframes slam-marquee {
    to {
        transform: translateX(-50%);
    }
}

/* News list (home) */
.news-feature__inner {
    display: flex;
    align-items: flex-start;
}

.news-feature__main {
    flex: 0 0 70%;
    min-width: 0;
    padding: 100px;
}

.news-feature__social {
    flex: 1;
    min-width: 0;
    padding: 100px 50px 100px 0;
}

.news-feature__social .section-title {
    text-align: center;
}

.news-feature .section-title,
.coming-up .section-title,
.merch__title {
    line-height: 64px;
    letter-spacing: 2.3px;
}

.news-feature .section-title {
    margin-bottom: 50px;
}

.news-list {
    display: flow-root;
    margin-bottom: 20px;
}

.news-card {
    display: flex;
    margin-bottom: 32px;
    padding: 15px;
}

.news-card__body {
    display: flex;
    flex: 0 0 50%;
    flex-direction: column;
    padding-right: 30px;
    border-bottom: 1px solid var(--green);
}

.news-card__title {
    margin: 0 50px 0 0;
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 500;
    line-height: 30px;
    color: #fff;
}

.news-card__title a:hover {
    color: var(--green);
}

.news-card__date {
    margin: 8px 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--green);
}

.news-card__excerpt {
    margin: 0;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 18px;
    color: #fff;
}

.news-card__thumb {
    flex: 0 0 50%;
    display: block;
    overflow: hidden;
}

.news-card__thumb img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Coming up */
.coming-up__inner {
    padding: 100px;
}

.coming-up__events {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    max-width: 1140px;
    margin: 50px auto 0;
}

.coming-up__event {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.coming-up .coming-up__title {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 80px;
    margin-bottom: 30px;
    line-height: 40px;
}

.coming-up__flyer {
    width: 100%;
    margin-bottom: 20px;
}

.coming-up__flyer img {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.coming-up__dates {
    max-width: 417.5px;
    margin: 0;
    padding: 20px 0 40px;
    font-family: var(--f-display);
    font-size: 30px;
    font-weight: 600;
    line-height: 2.5rem;
    letter-spacing: 2.3px;
}

.coming-up__venue {
    margin: 0;
    padding: 20px 0;
    font-family: var(--f-ui);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2em;
}

/* Merch */
.merch {
    position: relative;
    padding: 100px 100px 50px;
    overflow: hidden;
    isolation: isolate;
}

.merch__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.merch__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 44%, #fff 79%);
    opacity: 0.69;
}

.merch__inner {
    display: flex;
    align-items: flex-start;
    min-height: 556px;
}

.merch__title {
    flex: 0 0 50%;
    color: var(--navy);
}

.merch__action {
    display: flex;
    flex: 0 0 50%;
    justify-content: flex-end;
}

.full-bleed-image img {
    display: block;
    width: 100%;
}

/* Sponsor strip */
.sponsors-strip {
    padding: 50px 50px 30px;
    background: var(--teal);
}

.sponsors-strip__logos {
    display: flex;
    list-style: none;
}

.sponsors-strip__logo {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 120px;
    padding: 10px;
}

.sponsors-strip__logo img {
    width: auto;
    max-width: 100%;
    max-height: 100px;
    object-fit: scale-down;
}

.sponsors-strip .divider {
    margin: 25px 10px;
}

/* ==========================================================================
   Schedule
   ========================================================================== */

.next-fixture {
    display: flex;
    padding: 0 50px;
    background: rgba(0, 246, 31, 0.2);
    border-bottom: 2px solid var(--green);
}

.next-fixture__label {
    display: flex;
    flex: 0 0 20%;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 600;
    line-height: 32px;
    color: #000;
}

.next-fixture__body {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 0;
}

.next-fixture__body > * {
    width: 100%;
}

.next-fixture__empty {
    margin: 0 0 14.4px;
}

.next-event {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    font-family: var(--f-display);
    font-size: 20px;
    color: #000;
}

.next-event__date {
    white-space: nowrap;
}

.next-event__logo img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.next-event__team {
    margin-right: 10px;
    text-align: center;
}

.next-event__vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.next-event__vs-label {
    font-size: 16px;
    font-weight: 700;
}

.next-event__time {
    color: #9D9D9D;
}

.next-event__location a {
    display: inline-block;
    padding: 4px 0;
    color: #000;
    text-decoration: underline;
}

.fixtures-section {
    padding: 110px;
}

.fixtures-section__title {
    margin-bottom: 50px;
}

.fixtures__month {
    margin-bottom: 20px;
    font-family: var(--f-display);
    font-size: 16px;
    line-height: normal;
    color: #000;
}

.fixtures__month-title {
    margin: 0 0 14.4px;
}

.fixtures__footnote {
    margin-top: 20px;
    font-family: var(--f-display);
    font-size: 16px;
    color: #000;
}

.fixtures__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fixture {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: center;
    justify-items: center;
    gap: 10px;
    padding: 10px;
    font-family: var(--f-display);
    font-size: 18px;
    line-height: normal;
    color: #000;
    background-color: rgba(173, 171, 171, 0.15);
    transition: background-color 0.3s ease;
}

.fixture:hover {
    background-color: rgba(0, 246, 31, 0.2);
}

.fixture__item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fixture__item:empty {
    display: none;
}

.fixture__vs {
    flex-direction: column;
    color: #9D9D9D;
}

.fixture__time {
    margin-top: 5px;
}

.fixture__logo img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.fixture__location a {
    display: inline-block;
    padding: 4px 0;
    line-height: 1.2em;
    color: #000;
    text-decoration: underline;
}

/* ==========================================================================
   Split: narrow text + wide image (Practice / About club)
   ========================================================================== */

.split {
    display: flex;
    gap: 0;
    padding: 50px;
}

.split__text {
    flex: 0 0 30%;
}

.split__title {
    margin-bottom: 50px;
}

.split__content p {
    margin: 0 0 34px;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 18px;
    color: #000;
}

.split__content .split__lead {
    font-family: var(--f-display);
    font-size: 20px;
    line-height: 30px;
}

.split__media {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: flex-start;
}

.split__media img {
    display: block;
    width: 650px;
}

/* ==========================================================================
   Feature: navy text column + image (About roster intro / Join Us supporters)
   ========================================================================== */

.feature {
    display: flex;
}

.feature__text {
    display: flex;
    flex: 0 0 40%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 100px;
}

.feature__text .section-title {
    margin-bottom: 50px;
}

.feature__text p {
    margin: 0 0 34px;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 18px;
    color: #fff;
}

.feature__text .btn {
    margin-bottom: 20px;
}

.feature__text .btn:last-child {
    margin-bottom: 0;
}

.feature__text .feature__lead {
    font-weight: 500;
    color: var(--green);
}

.feature__signature img {
    display: block;
    width: 105px;
    margin-bottom: 20px;
}

.feature__text .feature__byline {
    margin: 0;
}

.feature__media--padded {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    padding: 50px;
}

.feature__media--padded img {
    display: block;
    width: 650px;
}

.feature__media--cover {
    position: relative;
    flex: 1;
    min-height: 540px;
}

.feature__media--cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   About: roster cards
   ========================================================================== */

.roster {
    padding: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.team-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #000;
}

.team-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__panel {
    position: absolute;
    inset: 0;
    padding: 20px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(75%);
    transition: transform 0.4s ease;
}

.team-card:hover .team-card__panel,
.team-card:focus-within .team-card__panel,
.team-card:focus .team-card__panel {
    transform: translateY(0);
}

.team-card__name {
    margin: 0;
    font-family: var(--f-display);
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    text-align: left;
    color: var(--green);
}

.team-card__panel p {
    margin: 5px 0;
    font-family: var(--f-body);
    font-size: 14px;
    line-height: 16px;
    text-align: left;
}

.team-card__panel hr {
    margin: 14px 0 8px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.team-card__bio {
    max-height: 250px;
    overflow-y: auto;
    text-align: left;
}

/* ==========================================================================
   Join Us
   ========================================================================== */

.reasons {
    padding: 50px;
}

.reasons .section-title {
    margin-bottom: 50px;
}

.reasons__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.reasons__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    text-align: center;
}

.reasons__item img {
    width: 100px;
    margin-bottom: 20px;
}

.reasons__title {
    margin-bottom: 50px;
    font-family: var(--f-display);
    font-size: 35px;
    font-weight: 400;
    line-height: 35px;
    color: var(--green);
}

.reasons__item p {
    margin: 0 0 14.4px;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 18px;
    color: #000;
}

.reasons__action {
    text-align: center;
}

.sponsors-grid {
    padding: 50px 50px 100px;
    background: var(--teal);
}

.sponsors-grid .section-title {
    margin-bottom: 70px;
}

.sponsors-grid__row {
    display: flex;
    list-style: none;
}

.sponsors-grid__row + .sponsors-grid__row {
    margin-top: 50px;
}

.sponsors-grid__card {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 141px;
    margin: 20px;
    padding: 10px;
    border-bottom: 1px solid var(--green);
}

.sponsors-grid__card img {
    width: auto;
    max-width: 100%;
    max-height: 100px;
    object-fit: scale-down;
}

/* ==========================================================================
   Media
   ========================================================================== */

.follow-bar {
    padding: 50px;
}

.follow-bar__row {
    display: flex;
    align-items: center;
    min-height: 139px;
}

.follow-bar__row > * {
    flex: 0 0 50%;
}

.follow-bar__row .social-icons {
    padding: 10px;
}

.follow-bar .divider {
    margin: 15px 0;
}

.media-item {
    display: flex;
}

.media-item__text {
    flex: 0 0 40%;
    padding: 50px;
}

.media-item__text .section-title {
    margin-bottom: 20px;
}

.media-item__text p {
    margin: 0;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 24px;
    color: var(--muted);
}

.media-item__media {
    flex: 1;
    padding: 50px;
}

.media-item__media img {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Shop
   ========================================================================== */

.store {
    display: flex;
    align-items: center;
    min-height: 900px;
}

.store__frame {
    display: block;
    width: 100%;
    height: 100vh;
    min-height: 900px;
    border: 0;
}

/* ==========================================================================
   Posts: hero, article, gallery, news grid
   ========================================================================== */

.post-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    padding: 100px 100px 0;
    overflow: hidden;
    background-color: #d6d5da;
}

.post-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero__box {
    position: relative;
    z-index: 1;
    width: 45%;
    max-width: 640px;
    padding: 36px 40px 40px;
    background: var(--green);
    color: #000;
}

.post-hero--right .post-hero__box {
    margin-left: auto;
}

.post-hero__date {
    display: block;
    margin-bottom: 20px;
    font-family: var(--f-body);
    font-size: 16px;
    font-style: italic;
    line-height: 24px;
}

.post-hero--right .post-hero__date {
    margin: 0 0 24px;
}

.post-hero__title {
    font-family: var(--f-display);
    font-size: 80px;
    font-weight: 600;
    line-height: 0.9em;
    letter-spacing: 1.5px;
    color: #000;
}

.post-hero--right .post-hero__title {
    margin: 8px 0 16px;
    font-weight: 500;
    letter-spacing: 0;
    color: #333;
}

.post-hero__title a:hover {
    text-decoration: underline;
}

.article {
    padding: 50px;
}

.article__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding-right: 100px;
    border-right: 2px solid var(--green);
}

.article__inner--full {
    padding-right: 0;
    border-right: 0;
}

.entry-content {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 24px;
    color: var(--muted);
}

.entry-content p {
    margin: 0 0 14.4px;
}

.entry-content a {
    color: var(--link);
}

.entry-content a:hover {
    text-decoration: underline;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 1.5em 0 0.6em;
    font-family: var(--f-display);
    font-weight: 600;
    line-height: 1.1;
    color: #000;
}

.entry-content figure {
    margin: 0 0 14.4px;
}

.entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 14.4px;
    padding-left: 1.5em;
}

.article .divider {
    margin: 35px 0 35px;
}

.article .social-icons {
    margin-bottom: 30px;
    padding: 10px 0 0;
}

.article__follow {
    padding: 10px;
    text-transform: none;
}

.article-gallery {
    padding: 50px;
    background: #F6F6F6;
}

/* Gallery slider */
.gallery-slider {
    position: relative;
}

.gallery-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.gallery-slider__track::-webkit-scrollbar {
    display: none;
}

.gallery-slider__item {
    flex: 0 0 33.3333%;
    margin: 0;
    padding: 10px;
    scroll-snap-align: start;
}

.gallery-slider__item img {
    display: block;
    width: 100%;
    height: auto;
}

.gallery-slider__caption {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    color: #555;
}

.gallery-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 24px;
    color: #000;
    background: var(--green);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transform: translateY(-50%);
}

.gallery-slider__arrow--prev {
    left: 10px;
}

.gallery-slider__arrow--next {
    right: 10px;
}

/* News grid */
.news-page {
    padding: 60px;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-grid__row--thirds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-grid__row--feature {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.news-grid__stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-card {
    padding: 15px;
}

.post-card__thumb {
    display: block;
}

.post-card__thumb img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-card--large .post-card__thumb img {
    height: auto;
}

.post-card__meta {
    margin: 6px 0 10px;
    font-size: 14.4px;
    line-height: 21.6px;
    color: #000;
}

.post-card__title {
    margin: 8px 0 16px;
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
}

.post-card__title a {
    color: var(--text);
}

.post-card__title a:hover {
    color: #000;
    text-decoration: underline;
}

.post-card__excerpt {
    font-family: var(--f-body);
    font-size: 18px;
    line-height: 20.8px;
    color: #000;
}

.post-card__more {
    display: inline-block;
    margin-bottom: 10px;
    padding-top: 10px;
    font-weight: 600;
    color: #000;
    text-decoration: underline;
}

.post-card hr {
    height: 0;
    margin: 0;
    border: 0;
    border-bottom: 2px solid var(--green);
}

.news-page__more {
    padding: 50px 150px;
}

.pagination {
    margin-top: 40px;
    font-family: var(--f-ui);
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    min-width: 40px;
    padding: 8px 12px;
    color: var(--navy);
}

.pagination .current {
    background: var(--green);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #000;
    color: #fff;
}

.site-footer__main {
    position: relative;
    display: grid;
    grid-template-columns: 28.97% 37.8% 32.26%;
    padding: 100px 50px 91px 54px;
}

.site-footer__main::after {
    content: "";
    position: absolute;
    left: 54px;
    right: 50px;
    bottom: 25px;
    border-top: 1px solid var(--green);
}

.site-footer__brand .social-icons {
    padding: 30px 0;
}

.site-footer__brand,
.site-footer__menu {
    padding: 10px;
}

.site-footer__logo {
    display: block;
    width: 226px;
    height: auto;
    margin-bottom: 20px;
}

.site-footer__heading {
    margin: 0 0 14.4px;
    font-family: var(--f-body);
    font-size: 18px;
    font-weight: 800;
    line-height: 20.8px;
}

.footer-menu {
    display: flex;
    justify-content: space-between;
}

.footer-menu__column {
    width: 48%;
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 2rem;
    color: #fff;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--green);
}

.site-footer__signup {
    align-self: start;
    padding: 30px 40px;
    background: rgba(168, 181, 255, 0.4);
}

.signup {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.signup__input {
    flex: 1 1 160px;
    min-width: 0;
    height: 42px;
    padding: 11px 15px;
    font-family: var(--f-system);
    font-size: 16px;
    line-height: 1;
    color: #606266;
    background: #fff;
    border: 1px solid #DADBDD;
    border-radius: 8px;
}

.signup__input::placeholder {
    color: #8f9398;
}

.signup__input:focus {
    border-color: var(--green);
    outline: none;
}

.signup__button {
    padding: 8px 20px;
    font-family: var(--f-system);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #040404;
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.signup__button:hover {
    opacity: 0.85;
}

.signup__button[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.signup__hp {
    position: absolute;
    left: -9999px;
}

.signup__error {
    flex-basis: 100%;
    margin: 0;
    font-size: 13px;
    color: #ffb3b3;
}

.signup__message {
    margin: 0 0 40px;
    font-family: var(--f-body);
    font-size: 14px;
    line-height: 20px;
    color: var(--green);
}

.site-footer__small {
    margin: 0;
    font-family: var(--f-body);
    font-size: 12px;
    line-height: 16px;
}

.site-footer__legal {
    display: flex;
    justify-content: space-between;
    padding: 0 59px 50px 50px;
    font-family: var(--f-body);
    font-size: 12px;
    line-height: 16px;
}

.site-footer__legal p {
    margin: 0 0 14.4px;
}

.site-footer__legal-links {
    display: flex;
}

.site-footer__legal-links span {
    width: 134px;
    text-align: right;
}

/* ==========================================================================
   Tablet (<= 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .site-nav__toggle {
        display: flex;
    }

    .site-nav__menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
    }

    .site-nav__menu.is-open {
        display: flex;
    }

    .site-nav__menu a {
        padding: 13px 20px;
        font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
        font-size: 14px;
        font-weight: 300;
        line-height: 1.3;
        letter-spacing: 1.53px;
        text-align: center;
        color: #33373D;
    }

    .site-nav__menu a::before {
        display: none;
    }

    .site-nav__menu a:hover,
    .site-nav__menu a:focus-visible,
    .site-nav__menu .is-active > a:hover {
        color: #fff;
        background: #000;
    }

    .site-nav__menu .is-active > a {
        color: #33373D;
    }

    .event-bar__title--date {
        font-size: 22px;
    }

    .event-bar__title--venue {
        font-size: 26px;
        line-height: 28px;
    }

    .intro__text {
        padding: 50px;
    }

    .news-feature__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .news-feature__main {
        flex-basis: auto;
        padding: 100px 50px 50px;
    }

    .news-feature__social {
        padding: 0 50px 100px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-slider__item {
        flex-basis: 100%;
    }

    .post-hero {
        padding: 100px 50px 0;
    }

    .post-hero__box {
        width: 60%;
    }

    .post-hero__title {
        font-size: 60px;
    }

    .split__text {
        flex-basis: 40%;
    }

    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
    }

    .site-footer__signup {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   Mobile (<= 767px)
   ========================================================================== */

@media (max-width: 767px) {
    .site-header {
        padding: 0 5%;
    }

    .site-header__logo img {
        width: 90px;
    }

    .site-nav__toggle {
        margin-right: 0;
    }

    .btn--header {
        margin: 0 0 0 8px;
        padding: 10px;
    }

    .btn--enquire {
        padding: 10px 30px;
    }

    /* Hero */
    .hero,
    .hero--media {
        min-height: 486px;
        padding: 20px;
    }

    .hero--home {
        min-height: 672px;
    }

    .hero__content {
        padding: 100px 0 50px;
    }

    .hero__title {
        font-size: 50px;
        line-height: 48px;
    }

    .hero--split .hero__content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 30px;
    }

    .hero--split .hero__main,
    .hero--split .hero__aside {
        flex-basis: auto;
    }

    /* Event bar */
    .event-bar,
    .event-bar__row {
        flex-direction: column;
    }

    .event-bar__row {
        margin: 0 20px;
    }

    .event-bar__icon,
    .event-bar__icon--lg {
        justify-content: center;
        padding: 20px;
    }

    .event-bar__icon img,
    .event-bar__icon--lg img {
        width: 62px;
    }

    .event-bar__title {
        padding: 10px;
    }

    .event-bar__title--date,
    .event-bar__title--venue {
        font-size: 30px;
        line-height: 30px;
    }

    /* Home sections */
    .intro {
        flex-direction: column;
    }

    .intro__text {
        padding: 20px;
    }

    .news-feature__main,
    .coming-up__inner {
        padding: 20px;
    }

    .news-feature__social {
        padding: 30px 20px 50px;
    }

    .news-card {
        flex-direction: column;
    }

    .news-card__thumb {
        order: -1;
        margin-bottom: 15px;
    }

    .news-card__body {
        padding-right: 0;
        padding-bottom: 15px;
    }

    .btn--wide {
        justify-content: center;
        width: 100%;
        padding: 10px 22px;
    }

    .coming-up__events {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 30px;
    }

    .coming-up .coming-up__title {
        min-height: 0;
    }

    .merch {
        padding: 20px;
    }

    .merch__inner {
        flex-direction: column;
        gap: 20px;
    }

    .merch__action {
        justify-content: flex-start;
    }

    .sponsors-strip {
        padding: 50px 50px 30px;
    }

    .sponsors-strip__logos {
        flex-direction: column;
    }

    .sponsors-strip__logo {
        flex: none;
    }

    /* Schedule */
    .next-fixture {
        flex-direction: column;
        padding: 50px;
    }

    .next-fixture__label {
        justify-content: center;
    }

    .next-fixture__body {
        text-align: center;
    }

    .next-event {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .fixtures-section {
        padding: 30px;
    }

    .fixture {
        grid-template-columns: 1fr;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .split {
        flex-direction: column;
        padding: 20px;
    }

    .split--practice {
        padding: 50px 20px 20px;
    }

    .split__media {
        margin-top: 20px;
    }

    .split__media img {
        width: 100%;
    }

    /* Feature */
    .feature {
        flex-direction: column;
    }

    .feature__text {
        padding: 50px 20px 20px;
    }

    .feature__media--padded {
        padding: 20px;
    }

    .feature__media--padded img {
        width: 100%;
    }

    /* Roster */
    .roster {
        padding: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Join us */
    .reasons {
        padding: 20px;
    }

    .reasons__grid {
        grid-template-columns: 1fr;
    }

    .reasons__item {
        padding: 20px;
    }

    .sponsors-grid {
        padding: 50px;
    }

    .sponsors-grid__row {
        flex-direction: column;
    }

    .sponsors-grid__row + .sponsors-grid__row {
        margin-top: 0;
    }

    /* Media */
    .follow-bar {
        padding: 50px 20px 20px;
    }

    .follow-bar__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .follow-bar__row .social-icons {
        justify-content: center;
        width: 100%;
    }

    .media-item {
        flex-direction: column;
    }

    .media-item__text,
    .media-item__media {
        padding: 20px;
    }

    .divider--band {
        margin: 50px 20px 35px;
    }

    /* Posts */
    .post-hero {
        min-height: 640px;
    }

    .post-hero {
        padding: 100px 20px 0;
    }

    .post-hero__box {
        width: 100%;
        padding: 24px 20px;
    }

    .post-hero__title {
        font-size: 50px;
    }

    .article {
        padding: 30px 20px;
    }

    .article__inner {
        padding-right: 20px;
    }

    .article-gallery {
        padding: 30px 20px;
    }

    .news-page {
        padding: 20px;
    }

    .news-grid__row--thirds,
    .news-grid__row--feature {
        grid-template-columns: 1fr;
    }

    .news-page__more {
        padding: 30px 20px;
    }

    /* Footer */
    .site-footer__main {
        grid-template-columns: 1fr;
        padding: 20px 20px 81px;
    }

    .site-footer__main::after {
        left: 20px;
        right: 20px;
    }

    .site-footer__signup {
        grid-column: auto;
    }

    .site-footer__legal {
        flex-direction: column;
    }

    .site-footer__legal-links {
        flex-direction: column;
    }

    .site-footer__legal-links span {
        width: auto;
        margin-bottom: 14.4px;
        text-align: left;
    }
}

@media (max-width: 900px) {
    .reasons__grid {
        grid-template-columns: 1fr;
    }

    .reasons__item {
        padding: 30px 20px;
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation: none;
    }

    .hero--slideshow .hero__img,
    .team-card__panel,
    .site-nav__menu a::before {
        transition: none;
    }
}
