/* =========================================================
   CHELTENHAM ASSOCIATION FOOTBALL LEAGUE
   MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #17202a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   GENERAL
   ========================================================= */

.page-wrapper {
    width: 100%;
    overflow: hidden;
}

.content-section {
    width: 100%;
    padding: 85px 24px;
}

.section-heading {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 15px;
    color: #111820;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.section-heading p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: #626b73;
    font-size: 1.05rem;
}

.section-kicker {
    margin: 0 0 12px;
    color: #c8102e;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8eaec;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
}

.league-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.league-brand a {
    display: block;
    flex: 0 0 auto;
}

.league-badge {
    display: block;
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.league-brand-text {
    min-width: 0;
}

.league-name {
    margin: 0;
    color: #111820;
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 800;
    line-height: 1.1;
}

.league-subtitle {
    margin: 4px 0 0;
    color: #c8102e;
    font-size: 0.95rem;
    font-weight: 700;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
    width: 100%;
    background: #111820;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-inner a {
    display: block;
    padding: 16px 18px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.nav-inner a:hover,
.nav-inner a:focus {
    background: #c8102e;
    color: #ffffff;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #111820;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 13, 18, 0.88) 0%,
            rgba(8, 13, 18, 0.68) 42%,
            rgba(8, 13, 18, 0.20) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    min-height: 650px;
    margin: 0 auto;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-badge {
    flex: 0 0 170px;
}

.hero-badge img {
    width: 170px;
    height: 170px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.hero-copy {
    max-width: 700px;
}

.hero-kicker {
    display: inline-block;
    margin: 0 0 20px;
    padding: 8px 13px;
    background: rgba(0, 0, 0, 0.65);
    color: #d7b46a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.hero-intro {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
}


/* =========================================================
   DIVISIONS
   ========================================================= */

.divisions-section {
    background: #f5f6f7;
}

.division-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.division-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.division-card:hover,
.division-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 17px 38px rgba(0, 0, 0, 0.14);
}

.division-card-image {
    height: 225px;
    overflow: hidden;
    background: #dfe3e6;
}

.division-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
	object-position: center top;
    transition: transform 0.3s ease;
}

.division-card:hover .division-card-image img {
    transform: scale(1.04);
}

.division-card-content {
    min-height: 245px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.division-card-number {
    display: block;
    margin-bottom: 8px;
    color: #c8102e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.division-card-content h3 {
    margin: 0 0 12px;
    color: #111820;
    font-size: 1.55rem;
    line-height: 1.15;
}

.division-card-content p {
    margin: 0;
    color: #606970;
    line-height: 1.6;
}

.division-card-link {
    display: block;
    margin-top: auto;
    padding-top: 22px;
    color: #c8102e;
    font-weight: 800;
}


/* =========================================================
   FIXTURES & RESULTS
   ========================================================= */

.fixtures-section {
    width: 100%;
    padding: 85px 0;
    background: #111820;
}

.section-heading-light {
    padding: 0 24px;
}

.section-heading-light h2 {
    color: #ffffff;
}

.section-heading-light p:last-child {
    color: rgba(255, 255, 255, 0.72);
}

.division-match-section {
    max-width: 1200px;
    margin: 0 auto 55px;
    padding: 0 24px;
}

.division-match-section:last-child {
    margin-bottom: 0;
}

.division-match-header {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.division-match-header > div > span {
    display: block;
    margin-bottom: 5px;
    color: #ef3340;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.division-match-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1.15;
}

.match-section-link {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.match-section-link:hover,
.match-section-link:focus {
    color: #ef3340;
}

.match-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.feed-box {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.feed-box-header {
    min-height: 58px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #c8102e;
    color: #ffffff;
}

.feed-box-header span:first-child {
    font-size: 0.95rem;
    font-weight: 800;
}

.feed-box-header span:last-child {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.feed-box-content {
    min-height: 270px;
    padding: 22px;
}

.feed-placeholder {
    width: 100%;
}

.feed-placeholder h4 {
    margin: 0 0 15px;
    color: #111820;
    font-size: 1rem;
    line-height: 1.3;
}

.fa-feed {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 120px;
    overflow-x: auto;
    color: #444444;
    font-size: 0.9rem;
}

.fa-feed a {
    color: #c8102e;
    font-weight: 700;
}

.fa-feed table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse;
}

.fa-feed td,
.fa-feed th {
    padding: 8px 6px;
    border-bottom: 1px solid #e5e7e9;
    text-align: left;
    vertical-align: middle;
}

.fa-feed img {
    max-width: 100%;
}


/* =========================================================
   INFORMATION
   ========================================================= */

.information-section {
    background: #ffffff;
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.info-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7e9;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.info-card:hover,
.info-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.info-card-image {
    height: 180px;
    overflow: hidden;
    background: #e8eaec;
}

.info-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.info-card-body {
    flex: 1;
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.info-card-body h3 {
    margin: 0 0 10px;
    color: #111820;
    font-size: 1.3rem;
    line-height: 1.2;
}

.info-card-body p {
    margin: 0;
    color: #626b73;
    font-size: 0.93rem;
    line-height: 1.6;
}

.info-card-link {
    display: block;
    margin-top: auto;
    padding-top: 20px;
    color: #c8102e;
    font-size: 0.9rem;
    font-weight: 800;
}


/* =========================================================
   SPONSORS
   ========================================================= */

.sponsors-section {
    padding: 80px 24px;
    background: #f5f6f7;
}

.sponsors-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    align-items: center;
}

.sponsor-logo {
    min-height: 130px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e1e4e7;
    border-radius: 10px;
    text-decoration: none;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 85px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   SOCIAL / STAY CONNECTED
   ========================================================= */

.social-section {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7e9;
}

.social-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 24px;
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 55px;
    align-items: center;
}

.social-copy h2 {
    margin: 0 0 15px;
    color: #111820;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.social-copy p:last-child {
    max-width: 520px;
    margin: 0;
    color: #626b73;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.social-card {
    min-width: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f5f6f7;
    border: 1px solid #e1e4e7;
    border-radius: 12px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.social-card:hover,
.social-card:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.social-image {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    overflow: hidden;
    background: #dfe3e6;
}

.social-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.social-card-content {
    min-width: 0;
    padding: 15px 18px;
}

.social-card-content span {
    display: block;
    margin-bottom: 5px;
    color: #777f86;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.3;
}

.social-card-content strong {
    display: block;
    color: #111820;
    font-size: 0.92rem;
    line-height: 1.35;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #0b1015;
    color: #ffffff;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.footer-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
}

.footer-brand p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 1050px) {

    .division-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE / SMALL TABLET
   ========================================================= */

@media (max-width: 800px) {

    .content-section {
        padding: 65px 20px;
    }


    /* HEADER */

    .header-inner {
        padding: 14px 20px;
    }

    .league-badge {
        width: 62px;
        height: 62px;
    }


    /* NAVIGATION */

    .nav-inner {
        padding: 0 10px;
    }

    .nav-inner a {
        padding: 12px 10px;
        font-size: 0.75rem;
    }


    /* HERO */

    .hero {
        min-height: 600px;
    }

    .hero-content {
        min-height: 600px;
        padding: 55px 20px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 25px;
    }

    .hero-badge {
        flex: 0 0 auto;
    }

    .hero-badge img {
        width: 110px;
        height: 110px;
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 11vw, 4rem);
    }

    .hero-kicker {
        font-size: 0.68rem;
    }


    /* DIVISIONS */

    .division-cards {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .division-card-image {
        height: 240px;
    }


    /* FIXTURES */

    .fixtures-section {
        padding: 65px 0;
    }

    .division-match-section {
        padding: 0 20px;
        margin-bottom: 45px;
    }

    .division-match-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .match-feed-grid {
        grid-template-columns: 1fr;
    }


    /* INFORMATION */

    .info-grid {
        grid-template-columns: 1fr;
    }


    /* SPONSORS */

    .sponsors-section {
        padding: 65px 20px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }


    /* SOCIAL */

    .social-inner {
        padding: 60px 20px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .league-brand {
        gap: 10px;
    }

    .league-name {
        font-size: 1.05rem;
    }

    .league-subtitle {
        font-size: 0.82rem;
    }

    .league-badge {
        width: 52px;
        height: 52px;
    }


    .nav-inner {
        justify-content: flex-start;
    }

    .nav-inner a {
        padding: 10px 8px;
        font-size: 0.7rem;
    }


    .hero {
        min-height: 570px;
    }

    .hero-content {
        min-height: 570px;
    }

    .hero-badge img {
        width: 90px;
        height: 90px;
    }

    .hero-copy h1 {
        font-size: 2.65rem;
    }

    .hero-intro {
        font-size: 1rem;
    }


    .section-heading {
        margin-bottom: 35px;
    }


    .division-card-image {
        height: 210px;
    }


    .feed-box-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .feed-box-content {
        padding: 16px;
    }


    .sponsors-grid {
        grid-template-columns: 1fr;
    }


    .social-card {
        width: 100%;
    }


    .footer-inner {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 25px;
    }

    .footer-links {
        justify-content: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom p {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible {
    outline: 3px solid #f5b700;
    outline-offset: 3px;
}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }

}

/* =========================================================
   CLUB / TEAM PROFILE PAGES
   ========================================================= */


/* =========================================================
   MAIN CLUB WRAPPER
   ========================================================= */

.club-profile {
    width: 100%;
    background: #ffffff;
}


/* =========================================================
   CLUB HERO
   ========================================================= */

.club-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #111820;
}

.club-hero-image {
    position: absolute;
    inset: 0;
}

.club-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 35%;
}

.club-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 13, 18, 0.92) 0%,
            rgba(8, 13, 18, 0.70) 50%,
            rgba(8, 13, 18, 0.25) 100%
        );
}

.club-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    min-height: 520px;
    margin: 0 auto;
    padding: 70px 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* =========================================================
   CLUB HERO BADGE
   ========================================================= */
.club-hero-badge {
    flex: 0 0 170px;
    width: 170px;
    height: 170px;

    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border-radius: 50%;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);

    box-sizing: border-box;
}

.club-hero-badge img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;

    border-radius: 0;
}

.club-hero-copy {
    max-width: 700px;
}

.club-hero-division {
    display: inline-block;
    margin: 0 0 15px;
    padding: 7px 12px;
    background: #c8102e;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.club-hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.club-hero-location {
    margin: 0 0 25px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.club-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    background: #c8102e;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 5px;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.club-hero-button:hover,
.club-hero-button:focus {
    background: #a80d26;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   CLUB INTRO
   ========================================================= */

.club-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 24px 55px;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: start;
}

.club-intro-heading h2 {
    margin: 0;
    color: #111820;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.club-intro-copy {
    max-width: 650px;
}

.club-intro-copy p {
    margin: 0 0 18px;
    color: #5f6870;
    font-size: 1.05rem;
    line-height: 1.75;
}

.club-intro-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CLUB FEATURE CARDS
   ========================================================= */

.club-feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 75px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.club-feature-card {
    min-width: 0;
    min-height: 360px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e1e4e7;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.club-feature-card-top {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.club-feature-card-top p {
    margin: 0;
    color: #777f86;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.club-feature-number {
    color: #c8102e;
    font-size: 1rem;
    font-weight: 800;
}

.club-feature-card h3 {
    margin: 0 0 5px;
    color: #111820;
    font-size: 1.8rem;
    line-height: 1.2;
}

.club-role {
    margin: 0 0 25px;
    color: #777f86;
    font-size: 0.95rem;
}


/* =========================================================
   CONTACT CARD
   ========================================================= */

.club-contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.club-contact-details a {
    color: #c8102e;
    font-weight: 700;
    text-decoration: none;
}

.club-contact-details a:hover,
.club-contact-details a:focus {
    text-decoration: underline;
}

.club-secondary-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7e9;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.club-secondary-contact span {
    margin-bottom: 3px;
    color: #7b8389;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.club-secondary-contact strong {
    color: #111820;
}

.club-secondary-contact a {
    color: #c8102e;
    text-decoration: none;
}


/* =========================================================
   PLAYING COLOURS CARD
   ========================================================= */

.club-kit-card {
    background: #ffffff;
}

.club-kit-intro {
    margin: 0px 0 25px;
    color: #777f86;
    font-size: 0.9rem;
    line-height: 1.5;
}


/* =========================================================
   INDIVIDUAL KIT
   ========================================================= */

.kit-information {
    padding: 18px 0;
    border-top: 1px solid #e2e5e7;
}

.kit-information:first-of-type {
    margin-top: 5px;
}

.kit-information-heading {
    margin-bottom: 14px;
}

.kit-information-heading span {
    color: #c8102e;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   KIT IMAGE + DESCRIPTION
   ========================================================= */

.kit-information-content {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}


/* =========================================================
   KIT PHOTO
   ========================================================= */

.kit-photo {
    width: 115px;
    height: 130px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f4;
    border: 1px solid #e0e3e5;
    border-radius: 8px;
}

.kit-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


/*
   If you haven't added the shirt photograph yet,
   this background gives you a clean image space.
*/

.kit-photo:has(img[src=""]) {
    background: #eef0f2;
}


/* =========================================================
   KIT COLOUR DESCRIPTION
   ========================================================= */

.kit-description {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #edf0f1;
}

.kit-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.kit-item span {
    color: #777f86;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kit-item strong {
    color: #111820;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: right;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .kit-information-content {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 15px;
    }

    .kit-photo {
        width: 100px;
        height: 115px;
    }

}


@media (max-width: 450px) {

    .kit-information-content {
        grid-template-columns: 1fr;
    }

    .kit-photo {
        width: 100%;
        height: 180px;
    }

    .kit-description {
        gap: 6px;
    }

}

/* =========================================================
   MATCH CENTRE
   ========================================================= */

.club-match-centre {
    width: 100%;
    padding: 70px 24px;
    background: #111820;
}

.match-centre-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.match-centre-copy {
    max-width: 700px;
}

.match-centre-copy .section-kicker {
    margin-bottom: 10px;
}

.match-centre-copy h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.match-centre-copy > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.match-centre-button {
    flex: 0 0 auto;
    min-height: 52px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #c8102e;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 5px;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.match-centre-button:hover,
.match-centre-button:focus {
    background: #a80d26;
    color: #ffffff;
    transform: translateY(-2px);
}

.match-centre-button span {
    font-size: 1.2rem;
}


/* =========================================================
   HOME GROUND
   ========================================================= */

.club-ground-section {
    padding: 80px 24px;
    background: #f5f6f7;
}

.club-ground-heading {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.club-ground-heading h2 {
    margin: 0;
    color: #111820;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.club-ground-layout {
    max-width: 1200px;
    min-height: 420px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.club-ground-map {
    min-height: 420px;
}

.club-ground-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    border: 0;
}

.club-ground-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ground-marker {
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c8102e;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 300;
}

.club-ground-info h3 {
    margin: 0 0 15px;
    color: #111820;
    font-size: 1.8rem;
}

.club-ground-info address {
    margin: 0 0 25px;
    color: #626b73;
    font-style: normal;
    line-height: 1.7;
}

.ground-button {
    align-self: flex-start;
    padding: 12px 18px;
    background: #111820;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 5px;
}

.ground-button:hover,
.ground-button:focus {
    background: #c8102e;
    color: #ffffff;
}


/* =========================================================
   DIVISION BANNER
   ========================================================= */

.club-division-banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.club-division-banner h2 {
    margin: 0;
    color: #111820;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.1;
}

.club-division-banner a {
    flex: 0 0 auto;
    padding: 13px 20px;
    background: #c8102e;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 5px;
}

.club-division-banner a:hover,
.club-division-banner a:focus {
    background: #a80d26;
    color: #ffffff;
}


/* =========================================================
   CLUB PAGE TABLET
   ========================================================= */

@media (max-width: 850px) {

    .club-intro {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .club-feature-grid {
        grid-template-columns: 1fr;
    }

    .club-ground-layout {
        grid-template-columns: 1fr;
    }

    .club-ground-map {
        min-height: 350px;
    }

    .club-ground-map iframe {
        min-height: 350px;
    }

}


/* =========================================================
   CLUB PAGE MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .club-hero {
        min-height: 580px;
    }

    .club-hero-content {
        min-height: 580px;
        padding: 55px 20px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 25px;
    }

    .club-hero-badge {
        flex: 0 0 115px;
        width: 115px;
        height: 115px;
    }

    .club-hero h1 {
        font-size: 3rem;
    }

    .club-intro {
        padding: 60px 20px 40px;
    }

    .club-feature-grid {
        padding: 0 20px 60px;
    }

    .club-feature-card {
        min-height: auto;
        padding: 25px;
    }

    .club-kit-display {
        gap: 35px;
    }

    .club-colour-text {
        grid-template-columns: 1fr;
    }

    .club-match-centre {
        padding: 60px 20px;
    }

    .match-centre-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .match-centre-button {
        white-space: normal;
    }

    .club-ground-section {
        padding: 60px 20px;
    }

    .club-ground-layout {
        min-height: auto;
    }

    .club-ground-info {
        padding: 30px;
    }

    .club-division-banner {
        padding: 50px 20px;
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   CLUB PAGE SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .club-hero h1 {
        font-size: 2.6rem;
    }

    .club-hero-badge {
        width: 95px;
        height: 95px;
        flex-basis: 95px;
    }

    .club-feature-card-top {
        align-items: flex-start;
    }

    .club-kit-display {
        gap: 20px;
    }

    .kit-shirt {
        width: 75px;
        height: 88px;
    }

    .club-ground-info {
        padding: 25px;
    }

}

/* =========================================================
   MATCH CENTRE - TEXT COLOURS
   ========================================================= */

.club-match-centre .section-kicker {
    color: #ffffff;
}

.club-match-centre .match-centre-copy h2 {
    color: #ffffff;
}

.club-match-centre .match-centre-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.club-match-centre .match-centre-button {
    color: #ffffff;
}

.club-match-centre .match-centre-button span {
    color: #ffffff;
}

/* =========================================================
   DIVISION PAGES
   ========================================================= */

.division-page {
    width: 100%;
    background: #ffffff;
}


/* =========================================================
   DIVISION HERO
   ========================================================= */

.division-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #111820 0%,
            #17232d 55%,
            #24323d 100%
        );
}

.division-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -180px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.division-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px;
}

.division-hero-kicker {
    margin: 0 0 15px;
    color: #d7b46a;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.division-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.division-hero-intro {
    max-width: 750px;
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   DIVISION INTRO
   ========================================================= */

.division-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px 55px;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}

.division-intro-heading h2 {
    margin: 0;
    color: #111820;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.division-intro-copy {
    max-width: 650px;
}

.division-intro-copy p {
    margin: 0 0 18px;
    color: #626b73;
    font-size: 1.05rem;
    line-height: 1.75;
}

.division-intro-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TEAMS SECTION
   ========================================================= */

.division-teams-section {
    padding: 70px 24px 85px;
    background: #f5f6f7;
}

.division-section-heading {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.division-section-heading h2 {
    margin: 0;
    color: #111820;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}


/* =========================================================
   TEAM GRID
   ========================================================= */

.division-team-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}


/* =========================================================
   TEAM CARD
   ========================================================= */

.division-team-card {
    min-width: 0;
    min-height: 310px;

    padding: 28px 22px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;
    border: 1px solid #e1e4e7;
    border-radius: 12px;

    text-align: center;
    text-decoration: none;

    box-shadow: 0 8px 24px rgba(0,0,0,0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.division-team-card:hover,
.division-team-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}


/* =========================================================
   TEAM BADGE CIRCLE
   ========================================================= */

.division-team-badge {
    width: 145px;
    height: 145px;

    padding: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid #e0e3e5;
    border-radius: 50%;

    overflow: hidden;

    box-sizing: border-box;
}

.division-team-badge img {
    width: 90%;
    height: 90%;

    display: block;

    object-fit: contain;
    object-position: center;
	
}


/* =========================================================
   TEAM CARD TEXT
   ========================================================= */

.division-team-card-content {
    width: 100%;
    margin-top: 22px;
}

.division-team-card-content span {
    display: block;
    margin-bottom: 7px;

    color: #c8102e;

    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.division-team-card-content h3 {
    margin: 0 0 15px;

    color: #111820;

    font-size: 1.15rem;
    line-height: 1.25;
}

.division-team-card-content strong {
    color: #626b73;
    font-size: 0.78rem;
    font-weight: 800;
}

.division-team-card:hover .division-team-card-content strong {
    color: #c8102e;
}


/* =========================================================
   MATCH CENTRE
   ========================================================= */

.division-match-centre {
    padding: 80px 24px;
    background: #111820;
}

.division-match-centre-heading {
    max-width: 1200px;
    margin: 0 auto 45px;
}

.division-match-centre-heading .section-kicker {
    color: #ffffff;
}

.division-match-centre-heading h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
}

.division-match-centre-heading p:last-child {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}


/* =========================================================
   FEED CARDS
   ========================================================= */

.division-table-card,
.division-feed-card {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;

    background: #ffffff;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.division-table-card {
    margin-bottom: 28px;
}

.division-results-fixtures-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 28px;
}

.division-results-fixtures-grid .division-feed-card {
    width: 100%;
}


/* =========================================================
   FEED HEADER
   ========================================================= */

.division-feed-header {
    min-height: 85px;
    padding: 20px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: #f5f6f7;
    border-bottom: 1px solid #e2e5e7;
}

.division-feed-header > div {
    min-width: 0;
}

.division-feed-header span:first-child {
    display: block;
    margin-bottom: 5px;

    color: #c8102e;

    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.division-feed-header h3 {
    margin: 0;

    color: #111820;

    font-size: 1.35rem;
    line-height: 1.2;
}

.division-feed-source {
    flex: 0 0 auto;

    color: #777f86 !important;

    font-size: 0.65rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}


/* =========================================================
   FEED CONTENT
   ========================================================= */

.division-feed-content {
    min-height: 180px;
    padding: 25px;

    overflow-x: auto;
}

.fulltime-feed {
    width: 100%;
    min-width: 0;

    color: #555e66;

    font-size: 0.9rem;
    line-height: 1.6;
}

.fulltime-feed a {
    color: #c8102e;
    font-weight: 700;
}


/*
   Important:
   FA Full-Time sometimes injects its own table widths.
   Allow the feed to scroll rather than destroying
   the card layout on smaller screens.
*/

.division-feed-content iframe,
.division-feed-content table {
    max-width: 100%;
}


/* =========================================================
   FULL DIVISION LINK
   ========================================================= */

.division-full-link {
    max-width: 1200px;
    margin: 0 auto;

    padding: 60px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.division-full-link h2 {
    margin: 0;

    color: #111820;

    font-size: clamp(1.8rem,4vw,2.7rem);
}

.division-full-link a {
    flex: 0 0 auto;

    padding: 13px 20px;

    background: #c8102e;
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 800;

    text-decoration: none;
    border-radius: 5px;
}

.division-full-link a:hover,
.division-full-link a:focus {
    background: #a80d26;
    color: #ffffff;
}


/* =========================================================
   DIVISION TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .division-team-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

}


@media (max-width: 800px) {

    .division-intro {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .division-results-fixtures-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   DIVISION MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .division-hero {
        min-height: 350px;
    }

    .division-hero-content {
        padding: 60px 20px;
    }

    .division-hero h1 {
        font-size: 3rem;
    }

    .division-intro {
        padding: 60px 20px 45px;
    }

    .division-teams-section {
        padding: 60px 20px;
    }

    .division-team-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 15px;
    }

    .division-team-card {
        min-height: 270px;
        padding: 22px 15px;
    }

    .division-team-badge {
        width: 115px;
        height: 115px;
    }

    .division-team-card-content h3 {
        font-size: 1rem;
    }

    .division-match-centre {
        padding: 60px 20px;
    }

    .division-feed-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .division-feed-source {
        white-space: normal;
    }

    .division-feed-content {
        padding: 18px;
    }

    .division-full-link {
        padding: 50px 20px;
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 430px) {

    .division-team-grid {
        grid-template-columns: 1fr;
    }

    .division-team-card {
        min-height: 250px;
    }

}

/* =========================================================
   MAIN CONTACTS PAGE
   ========================================================= */


/* ---------------------------------------------------------
   CONTACTS HERO
   --------------------------------------------------------- */

.contacts-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            #071a16 0%,
            #0d2b23 55%,
            #123d30 100%
        );
    overflow: hidden;
}


.contacts-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.035);
}


.contacts-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0;
}


.contacts-hero-kicker {
    margin: 0 0 18px;
    color: #d7b46a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}


.contacts-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
}


.contacts-hero-intro {
    max-width: 680px;
    margin: 28px 0 0;
    color: rgba(255,255,255,0.82);
    font-size: 1.15rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   INTRODUCTION
   --------------------------------------------------------- */

.contacts-intro {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 70px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
}


.contacts-intro-heading h2 {
    margin: 8px 0 0;
    color: #10231d;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
}


.contacts-intro-copy {
    max-width: 700px;
}


.contacts-intro-copy p {
    margin: 0 0 20px;
    color: #53635d;
    font-size: 1.05rem;
    line-height: 1.8;
}


.contacts-intro-copy p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   CONTACTS SECTION
   --------------------------------------------------------- */

.contacts-section {
    background: #f3f5f2;
    padding: 80px 0 100px;
}


.contacts-grid {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* ---------------------------------------------------------
   CONTACT CARD
   --------------------------------------------------------- */

.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    background: #ffffff;
    border: 1px solid #e0e5e1;
    box-shadow: 0 12px 35px rgba(16,35,29,0.07);
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(16,35,29,0.12);
}


/* ---------------------------------------------------------
   CONTACT CARD TOP
   --------------------------------------------------------- */

.contact-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #10231d;
}


.contact-card-top p {
    margin: 0;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}


.contact-card-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;

    color: #d7b46a;
    font-size: 0.75rem;
    font-weight: 800;
}


/* ---------------------------------------------------------
   CONTACT CARD BODY
   --------------------------------------------------------- */

.contact-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px 28px 26px;
}


.contact-role {
    margin: 0 0 10px;
    color: #708079;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


.contact-card h2 {
    margin: 0;
    color: #10231d;
    font-size: 1.7rem;
    line-height: 1.15;
}


.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
}


.contact-email,
.contact-phone {
    display: block;
    color: #315f50;
    font-size: 0.94rem;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}


.contact-email:hover,
.contact-phone:hover {
    text-decoration: underline;
}


.contact-phone {
    font-weight: 700;
}


.contact-phone-empty {
    color: #8a938f;
    font-weight: 400;
    font-size: 0.86rem;
}


/* ---------------------------------------------------------
   PROFILE LINK
   --------------------------------------------------------- */

.contact-profile-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 26px;

    color: #10231d;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}


.contact-profile-link:hover {
    color: #315f50;
}


/* ---------------------------------------------------------
   VACANT CONTACT
   --------------------------------------------------------- */

.contact-card-vacant {
    background: #fafbf9;
}


.contact-card-vacant h2 {
    color: #7a8580;
}


/* ---------------------------------------------------------
   CONTACT CTA
   --------------------------------------------------------- */

.contacts-cta {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 85px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}


.contacts-cta-content {
    max-width: 700px;
}


.contacts-cta-content h2 {
    margin: 8px 0 15px;
    color: #10231d;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}


.contacts-cta-content p:not(.section-kicker) {
    margin: 0;
    color: #5c6a64;
    line-height: 1.7;
}


.contacts-cta-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 24px;

    background: #10231d;
    color: #ffffff;

    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.contacts-cta-button:hover {
    background: #315f50;
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .contacts-intro {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 70px 0 55px;
    }


    .contacts-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .contacts-cta {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 620px) {

    .contacts-hero {
        min-height: 360px;
    }


    .contacts-hero-content {
        padding: 60px 0;
    }


    .contacts-hero-intro {
        font-size: 1rem;
    }


    .contacts-intro {
        width: min(100% - 30px, 1180px);
    }


    .contacts-grid {
        width: min(100% - 30px, 1180px);
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .contacts-section {
        padding: 60px 0 70px;
    }


    .contact-card {
        min-height: 0;
    }


    .contact-card-body {
        padding: 26px 24px 24px;
    }


    .contacts-cta {
        width: min(100% - 30px, 1180px);
        padding: 65px 0;
    }


    .contacts-cta-button {
        width: 100%;
    }

}

/* =========================================================
   SINGLE SPONSOR
   ========================================================= */

.sponsor-single {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}


.sponsor-card {
    display: flex;
    justify-content: center;
    align-items: center;

    width: min(100%, 600px);
    min-height: 220px;

    padding: 2.5rem 3rem;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 18px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.sponsor-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.12);
}


.sponsor-card-image {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}


.sponsor-card-image img {
    display: block;

    width: auto;
    max-width: 100%;

    height: auto;
    max-height: 150px;

    object-fit: contain;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .sponsor-single {
        margin-top: 2rem;
    }

    .sponsor-card {
        min-height: 180px;

        padding: 2rem 1.5rem;

        border-radius: 14px;
    }

    .sponsor-card-image img {
        max-height: 110px;
    }

}

/* =========================================================
   LEAGUE HISTORY
   ========================================================= */


/* =========================================================
   HISTORY HERO
   ========================================================= */

.history-hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: flex-end;

    padding: 5rem 6vw;

    background:
        linear-gradient(
            135deg,
            #111111,
            #252525
        );

    overflow: hidden;
}


.history-hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(255,255,255,0.08),
            transparent 45%
        );
}


.history-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.78),
            rgba(0,0,0,0.25)
        );
}


.history-hero-content {
    position: relative;

    z-index: 2;

    max-width: 850px;

    color: #ffffff;
}


.history-hero-kicker {
    margin: 0 0 1rem;

    color: #d4a017;

    font-size: 0.8rem;

    font-weight: 800;

    letter-spacing: 0.18em;
}


.history-hero h1 {
    margin: 0 0 1.25rem;

    font-size: clamp(3rem, 7vw, 6rem);

    line-height: 0.95;

    color: #ffffff;
}


.history-hero-intro {
    max-width: 680px;

    margin: 0;

    font-size: 1.15rem;

    line-height: 1.7;

    color: rgba(255,255,255,0.88);
}



/* =========================================================
   HISTORY INTRO
   ========================================================= */

.history-intro {
    max-width: 1200px;

    margin: 0 auto;

    padding: 6rem 6vw;

    display: grid;

    grid-template-columns:
        minmax(250px, 0.8fr)
        minmax(300px, 1.2fr);

    gap: 5rem;
}


.history-intro-heading h2 {
    margin-top: 0.5rem;
}


.history-intro-copy {
    font-size: 1.05rem;

    line-height: 1.8;
}


.history-intro-copy p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}



/* =========================================================
   HISTORY CARDS
   ========================================================= */

.history-options-section {
    padding: 6rem 6vw;

    background: #f4f4f1;
}


.history-card-grid {
    max-width: 1200px;

    margin: 3rem auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1.5rem;
}


.history-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 390px;

    padding: 2.25rem;

    background: #ffffff;

    border-radius: 18px;

    text-decoration: none;

    color: #111111;

    box-shadow:
        0 10px 35px rgba(0,0,0,0.07);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.history-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.13);
}


.history-card-number {
    position: absolute;

    top: 1.5rem;

    right: 1.75rem;

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.12em;

    color: #999999;
}


.history-card-icon {
    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 2rem;

    border-radius: 50%;

    background: #111111;

    font-size: 1.6rem;
}


.history-card-content {
    margin-top: auto;
}


.history-card-content > span {
    display: block;

    margin-bottom: 0.7rem;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.15em;

    color: #a07a00;
}


.history-card h3 {
    margin: 0 0 1rem;

    font-size: 1.7rem;

    line-height: 1.15;
}


.history-card p {
    margin: 0 0 1.5rem;

    color: #555555;

    line-height: 1.65;
}


.history-card strong {
    color: #111111;

    font-size: 0.9rem;
}



/* =========================================================
   TIMELINE
   ========================================================= */

.history-timeline-section {
    max-width: 1100px;

    margin: 0 auto;

    padding: 6rem 6vw;
}


.history-timeline-heading {
    max-width: 700px;

    margin-bottom: 4rem;
}


.history-timeline {
    position: relative;
}


.history-timeline::before {
    content: "";

    position: absolute;

    left: 88px;

    top: 0;
    bottom: 0;

    width: 2px;

    background: #dddddd;
}


.history-timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 140px 1fr;

    gap: 2rem;

    padding-bottom: 4rem;
}


.history-timeline-year {
    position: relative;

    z-index: 2;

    font-size: 1.1rem;

    font-weight: 800;

    color: #111111;
}


.history-timeline-content {
    padding: 1.75rem 2rem;

    background: #f4f4f1;

    border-radius: 14px;
}


.history-timeline-content h3 {
    margin-top: 0;

    margin-bottom: 0.75rem;
}


.history-timeline-content p {
    margin-bottom: 0;

    line-height: 1.7;
}



/* =========================================================
   HISTORY CTA
   ========================================================= */

.history-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 2rem;

    padding: 4rem 6vw;

    background: #111111;

    color: #ffffff;
}


.history-cta h2 {
    max-width: 700px;

    margin: 0.5rem 0 0;
}


.history-cta .section-kicker {
    color: #d4a017;
}


.history-cta a {
    flex-shrink: 0;

    padding: 1rem 1.5rem;

    border: 1px solid rgba(255,255,255,0.4);

    border-radius: 6px;

    color: #ffffff;

    text-decoration: none;

    font-weight: 700;
}


.history-cta a:hover {
    background: #ffffff;

    color: #111111;
}



/* =========================================================
   DETAIL PAGE HERO
   ========================================================= */

.history-detail-hero {
    min-height: 400px;

    display: flex;

    align-items: flex-end;

    padding: 5rem 6vw;

    background:
        linear-gradient(
            135deg,
            #151515,
            #303030
        );

    color: #ffffff;
}


.history-detail-hero > div {
    max-width: 800px;
}


.history-detail-hero h1 {
    margin: 0 0 1rem;

    font-size: clamp(2.8rem, 6vw, 5rem);

    line-height: 1;
}


.history-detail-hero p:not(.history-hero-kicker) {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,0.85);

    font-size: 1.1rem;

    line-height: 1.7;
}



/* =========================================================
   DETAIL INTRO
   ========================================================= */

.history-detail-intro {
    max-width: 850px;

    margin: 0 auto;

    padding: 5rem 6vw 3rem;
}


.history-detail-intro h2 {
    margin-top: 0.5rem;
}


.history-detail-intro > p:last-child {
    line-height: 1.8;

    color: #555555;
}



/* =========================================================
   HISTORICAL RECORDS
   ========================================================= */

.history-record-section {
    max-width: 1000px;

    margin: 0 auto;

    padding: 2rem 6vw 6rem;
}


.history-record-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 2rem;

    padding-bottom: 1.5rem;

    border-bottom: 2px solid #111111;
}


.history-record-header span:first-child {
    display: block;

    margin-bottom: 0.5rem;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.15em;

    color: #a07a00;
}


.history-record-header h2 {
    margin: 0;
}


.history-record-label {
    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.15em;

    color: #777777;
}


.history-record-list {
    border-left: 1px solid #dddddd;

    border-right: 1px solid #dddddd;
}


.history-era {
    border-bottom: 1px solid #dddddd;
}


.history-era:last-child {
    border-bottom: 0;
}


.history-era-heading {
    padding: 1.25rem 1.5rem;

    background: #f1f1ee;

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.12em;

    color: #555555;
}


.history-record-row {
    display: grid;

    grid-template-columns: 160px 1fr;

    gap: 2rem;

    padding: 1rem 1.5rem;

    border-top: 1px solid #eeeeee;
}


.history-record-row span {
    color: #777777;

    font-size: 0.9rem;
}


.history-record-row strong {
    color: #111111;
}



/* =========================================================
   OFFICER HISTORY
   ========================================================= */

.officer-history {
    max-width: 1000px;

    margin: 0 auto;

    padding: 2rem 6vw 5rem;
}


.officer-history-item {
    display: grid;

    grid-template-columns: 200px 1fr;

    gap: 3rem;

    padding: 3rem 0;

    border-top: 1px solid #dddddd;
}


.officer-history-item:last-child {
    border-bottom: 1px solid #dddddd;
}


.officer-history-year span {
    display: block;

    margin-bottom: 0.5rem;

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.15em;

    color: #999999;
}


.officer-history-year strong {
    font-size: 1.2rem;
}


.officer-history-content h2 {
    margin-top: 0.5rem;
}


.officer-history-content p:last-child {
    max-width: 650px;

    line-height: 1.7;

    color: #555555;
}



/* =========================================================
   BACK LINK
   ========================================================= */

.history-back-link {
    max-width: 1000px;

    margin: 0 auto;

    padding: 0 6vw 5rem;
}


.history-back-link a {
    display: inline-block;

    color: #111111;

    font-weight: 700;

    text-decoration: none;
}


.history-back-link a:hover {
    text-decoration: underline;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .history-intro {
        grid-template-columns: 1fr;

        gap: 2rem;
    }


    .history-card-grid {
        grid-template-columns: 1fr;
    }


    .history-card {
        min-height: 320px;
    }


    .history-timeline::before {
        left: 65px;
    }


    .history-timeline-item {
        grid-template-columns: 100px 1fr;

        gap: 1.5rem;
    }


    .history-cta {
        flex-direction: column;

        align-items: flex-start;
    }


    .officer-history-item {
        grid-template-columns: 1fr;

        gap: 1rem;
    }

}


@media (max-width: 600px) {

    .history-hero {
        min-height: 420px;

        padding: 4rem 1.5rem;
    }


    .history-detail-hero {
        min-height: 350px;

        padding: 4rem 1.5rem;
    }


    .history-intro,
    .history-timeline-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }


    .history-record-section,
    .history-detail-intro,
    .officer-history {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }


    .history-record-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .history-record-row {
        grid-template-columns: 100px 1fr;

        gap: 1rem;

        padding: 0.9rem 1rem;
    }


    .history-timeline::before {
        display: none;
    }


    .history-timeline-item {
        display: block;

        padding-bottom: 2rem;
    }


    .history-timeline-year {
        margin-bottom: 0.75rem;
    }


    .history-cta {
        padding: 3rem 1.5rem;
    }

}

/* =========================================================
   HISTORY PAGE - LEFT HAND INDENT / BORDER
   ========================================================= */

.history-content,
.history-section,
.history-card,
.history-era,
.history-entry {
    border-left: 4px solid #d4a017;
    padding-left: 28px;
    margin-left: 10px;
}


/* Keep the content from getting too close to the screen edge */
.history-page {
    padding-left: 20px;
    padding-right: 20px;
}


/* On wider screens, give the history content a little more
   breathing room while keeping the main layout centred */
@media (min-width: 768px) {

    .history-page {
        padding-left: 40px;
        padding-right: 40px;
    }

    .history-content,
    .history-section,
    .history-card,
    .history-era,
    .history-entry {
        margin-left: 15px;
        padding-left: 32px;
    }

}

/* =========================================================
   LEAGUE HISTORY
   ========================================================= */

.history-page {
    background: #f4f5f2;
}


/* =========================================================
   HISTORY HERO
   ========================================================= */

.history-hero,
.history-detail-hero {
    position: relative;
    background:
        linear-gradient(
            135deg,
            #101412 0%,
            #18201c 100%
        );
    color: #ffffff;
    padding: 100px 7%;
    overflow: hidden;
}

.history-hero::after,
.history-detail-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(212,160,23,.35);
    border-radius: 50%;
}

.history-hero-content,
.history-detail-hero > div {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.history-hero-kicker {
    color: #d4a017;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 18px;
}

.history-hero h1,
.history-detail-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: .95;
}

.history-hero p:last-child,
.history-detail-hero p:last-child {
    max-width: 700px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255,255,255,.78);
}


/* =========================================================
   INTRO
   ========================================================= */

.history-intro {
    max-width: 1200px;
    margin: auto;
    padding: 80px 7%;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
}

.history-intro-heading h2 {
    margin-top: 10px;
}

.history-intro-copy {
    border-left: 4px solid #d4a017;
    padding-left: 30px;
}

.history-intro-copy p {
    line-height: 1.8;
}


/* =========================================================
   HISTORY SECTIONS
   ========================================================= */

.history-section {
    max-width: 1200px;
    margin: auto;
    padding: 80px 7%;
}

.history-section-dark {
    max-width: none;
    background: #111613;
    color: #ffffff;
}

.history-section-heading {
    margin-bottom: 45px;
    max-width: 760px;
}

.history-section-heading h2 {
    margin: 10px 0 15px;
}

.history-section-heading p:last-child {
    line-height: 1.7;
    color: #666;
}

.history-section-dark .history-section-heading p:last-child {
    color: rgba(255,255,255,.7);
}


/* =========================================================
   HISTORY CARDS
   ========================================================= */

.history-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.history-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    background: #ffffff;
    text-decoration: none;
    color: #111613;
    border: 1px solid #e2e4df;
    min-height: 220px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
}

.history-card-number {
    background: #111613;
    color: #d4a017;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 28px;
    font-weight: 800;
    font-size: .9rem;
}

.history-card-content {
    padding: 30px;
}

.history-card-content span,
.history-feature-card span,
.history-officer-card span {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    color: #d4a017;
}

.history-card-content h3 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.history-card-content p {
    color: #666;
    line-height: 1.6;
}

.history-card-content strong {
    display: inline-block;
    margin-top: 12px;
}


/* =========================================================
   FEATURE CARD
   ========================================================= */

.history-feature-card {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: 90px 1fr;
    background: #ffffff;
    color: #111613;
}

.history-feature-number {
    background: #d4a017;
    color: #111613;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 35px;
    font-weight: 800;
}

.history-feature-card > div:last-child {
    padding: 35px;
}

.history-feature-card h3 {
    margin: 10px 0;
    font-size: 1.8rem;
}

.history-feature-card p {
    color: #666;
    line-height: 1.7;
}

.history-feature-card a {
    display: inline-block;
    margin-top: 10px;
    color: #111613;
    font-weight: 800;
}


/* =========================================================
   OFFICERS
   ========================================================= */

.history-officer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: #ffffff;
    padding: 35px;
    border-left: 5px solid #d4a017;
    text-decoration: none;
    color: #111613;
}

.history-officer-card h3 {
    margin: 10px 0;
}

.history-officer-card p {
    color: #666;
}


/* =========================================================
   DETAIL PAGES
   ========================================================= */

.history-detail-content {
    max-width: 1200px;
    margin: auto;
    padding: 50px 7% 100px;
}

.history-back-link {
    margin-bottom: 50px;
}

.history-back-link a {
    color: #111613;
    font-weight: 800;
    text-decoration: none;
}

.history-detail-heading {
    border-left: 4px solid #d4a017;
    padding-left: 28px;
    margin-bottom: 45px;
}

.history-detail-heading h2 {
    margin: 10px 0;
}

.history-detail-heading p:last-child {
    color: #666;
    line-height: 1.7;
}


/* =========================================================
   HISTORY TABLE
   ========================================================= */

.history-table-card {
    background: #ffffff;
    border: 1px solid #e0e2dd;
    box-shadow: 0 12px 35px rgba(0,0,0,.05);
}

.history-table-title {
    padding: 30px;
    background: #111613;
    color: #ffffff;
}

.history-table-title span {
    color: #d4a017;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.history-table-title h3 {
    margin: 8px 0 0;
    font-size: 1.5rem;
}

.history-table-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    padding: 17px 30px;
    border-bottom: 1px solid #e8e9e6;
    align-items: center;
}

.history-table-row:last-child {
    border-bottom: none;
}

.history-table-row:nth-child(even) {
    background: #fafbf9;
}

.history-table-heading {
    background: #e8eae5 !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
}

.history-table-row span {
    color: #666;
}

.history-table-row strong {
    color: #111613;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .history-intro {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .history-card-grid {
        grid-template-columns: 1fr;
    }

    .history-card {
        grid-template-columns: 65px 1fr;
    }

    .history-feature-card {
        grid-template-columns: 60px 1fr;
    }

    .history-officer-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .history-table-row {
        grid-template-columns: 120px 1fr;
        padding: 15px 18px;
        font-size: .9rem;
    }

}


/* =========================================================
   CAFL HISTORY PAGES
   Add this to the end of css/style.css
   ========================================================= */

.history-page {
    background: #f3f4f1;
    padding-bottom: 80px;
}

.history-hero {
    margin: 0 24px 0 24px;
    min-height: 330px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg,#111 0%,#1f2622 65%,#314b3c 100%);
    border-left: 6px solid #c9a227;
}

.history-hero-content {
    max-width: 900px;
    padding: 60px 55px;
    color: #fff;
}

.history-hero-kicker {
    color: #d8b63a !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin: 0 0 14px;
}

.history-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.4rem,5vw,4.5rem);
    line-height: .98;
}

.history-hero p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 1.08rem;
    line-height: 1.7;
}

.history-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 30px 45px;
    display: grid;
    grid-template-columns: minmax(260px,.8fr) minmax(300px,1.2fr);
    gap: 70px;
}

.history-intro h2,
.history-table-header h2,
.history-note h2 {
    margin-top: 0;
}

.history-intro-copy {
    color: #4f5551;
    font-size: 1.05rem;
    line-height: 1.75;
}

.history-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 70px;
}

.history-card-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}

.history-card {
    display: flex;
    min-height: 210px;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dfe3df;
    border-left: 5px solid #c9a227;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.history-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,.11);
}

.history-card-number {
    padding: 22px 10px 0 16px;
    color: #c9a227;
    font-size: 1.3rem;
    font-weight: 800;
}

.history-card-body {
    padding: 25px 22px 24px 10px;
}

.history-card-body span,
.history-table-header span {
    display: block;
    color: #6d756f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.history-card h3 {
    margin: 10px 0 9px;
    color: #1c2420;
    font-size: 1.3rem;
}

.history-card p {
    margin: 0 0 18px;
    color: #606761;
    line-height: 1.55;
}

.history-card strong {
    color: #1f4d38;
    font-size: .88rem;
}

.history-note {
    max-width: 1140px;
    margin: 0 auto;
    padding: 42px 30px;
    border-left: 5px solid #1f4d38;
    background: #fff;
}

.history-note p:last-child {
    max-width: 850px;
    margin-bottom: 0;
    color: #5d655f;
    line-height: 1.7;
}

.history-table-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 80px;
}

.history-table-card {
    background: #fff;
    border: 1px solid #dfe3df;
    border-left: 5px solid #1f4d38;
    box-shadow: 0 10px 30px rgba(0,0,0,.07);
}

.history-table-header {
    padding: 28px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #f7f8f6;
    border-bottom: 1px solid #dfe3df;
}

.history-table-header h2 {
    margin: 8px 0 0;
}

.history-back-link {
    color: #1f4d38;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.history-table-wrap {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .96rem;
}

.history-table th {
    padding: 15px 22px;
    text-align: left;
    background: #1f4d38;
    color: #fff;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.history-table td {
    padding: 13px 22px;
    border-bottom: 1px solid #e6e9e6;
    color: #343a36;
    vertical-align: top;
}

.history-table tbody tr:nth-child(even) {
    background: #f8f9f7;
}

.history-table td:first-child {
    width: 190px;
    color: #1f4d38;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .history-card-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .history-intro {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 620px) {
    .history-hero {
        margin: 0 12px;
        min-height: 300px;
    }

    .history-hero-content {
        padding: 45px 25px;
    }

    .history-card-grid {
        grid-template-columns: 1fr;
    }

    .history-intro,
    .history-grid-section,
    .history-table-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .history-table-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .history-table td,
    .history-table th {
        padding: 12px 15px;
    }

    .history-table td:first-child {
        width: auto;
    }
}

.history-hero {
    position: relative;
    overflow: hidden;
}

.history-hero-logo {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    opacity: 0.14;
    z-index: 0;
    pointer-events: none;
}

.history-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.history-hero-content {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {

    .history-hero-logo {
        width: 260px;
        height: 260px;
        right: -50px;
        opacity: 0.10;
    }

}

/* =========================================================
   DIVISION HERO - LEAGUE BADGE
   ========================================================= */

.division-hero {
    position: relative;
    overflow: hidden;
}

.division-hero-logo {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);

    width: 300px;
    height: 300px;

    opacity: 0.10;

    z-index: 0;
    pointer-events: none;
}

.division-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.division-hero-content {
    position: relative;
    z-index: 1;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .division-hero-logo {
        width: 210px;
        height: 210px;
        right: -30px;
        opacity: 0.08;
    }

}
/* =========================================================
   DIVISION HERO - LEAGUE BADGE
   ========================================================= */

.division-hero-logo {
    position: absolute;
    top: 50%;
    right: 8%;

    transform: translateY(-50%);

    width: 300px;
    height: 300px;

    opacity: 0.10;

    z-index: 0;
    pointer-events: none;
}

.division-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.division-hero-content {
    position: relative;
    z-index: 1;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .division-hero-logo {
        width: 210px;
        height: 210px;
        right: -30px;
        opacity: 0.08;
    }

}

/* =========================================================
   DIVISION HERO - CAFL BADGE
   ========================================================= */

.division-hero-logo {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);

    width: 260px;
    height: 260px;

    opacity: 0.10;

    z-index: 0;
    pointer-events: none;
}

.division-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.division-hero-content {
    position: relative;
    z-index: 1;
}


@media (max-width: 768px) {

    .division-hero-logo {
        width: 190px;
        height: 190px;
        right: -25px;
        opacity: 0.08;
    }

}
/* =========================================================
   DIVISION HERO - CAFL BADGE
   ========================================================= */

.division-hero-logo {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);

    width: 260px;
    height: 260px;

    opacity: 0.10;

    z-index: 0;
    pointer-events: none;
}

.division-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.division-hero-content {
    position: relative;
    z-index: 1;
}


@media (max-width: 768px) {

    .division-hero-logo {
        width: 190px;
        height: 190px;
        right: -25px;
        opacity: 0.08;
    }

}

/* =========================================================
   FORMS & DOCUMENTS
   ========================================================= */

.forms-section {
    padding: 80px 0;
}


/* =========================================================
   GRID
   ========================================================= */

.forms-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    margin-top: 42px;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.form-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 270px;

    padding: 0;

    text-decoration: none;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.09);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.form-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.11);

    border-color: rgba(0, 0, 0, 0.16);
}


/* =========================================================
   TOP AREA
   ========================================================= */

.form-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 22px 26px;

    background:
        linear-gradient(
            135deg,
            #f2f3f4 0%,
            #e4e7e9 100%
        );

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}


.form-card-type {
    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    opacity: 0.65;
}


.form-card-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #ffffff;

    font-size: 18px;

    font-weight: 700;

    transition:
        transform 0.25s ease;
}


.form-card:hover .form-card-arrow {
    transform: translateX(4px);
}


/* =========================================================
   BODY
   ========================================================= */

.form-card-body {
    flex: 1;

    padding: 28px 28px 20px;
}


.form-card-body h3 {
    margin: 0 0 12px;

    font-size: 23px;

    line-height: 1.2;
}


.form-card-body p {
    margin: 0;

    max-width: 520px;

    font-size: 15px;

    line-height: 1.65;

    opacity: 0.7;
}


/* =========================================================
   FOOTER
   ========================================================= */

.form-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 18px 28px;

    border-top: 1px solid rgba(0, 0, 0, 0.07);

    font-size: 13px;
}


.form-card-footer span {
    opacity: 0.55;
}


.form-card-footer strong {
    font-size: 13px;
}


/* =========================================================
   CURRENT SEASON
   ========================================================= */

.form-card-current {
    border-width: 2px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .forms-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 520px) {

    .forms-section {
        padding: 55px 0;
    }


    .form-card {
        min-height: 250px;
    }


    .form-card-top {
        padding: 18px 20px;
    }


    .form-card-body {
        padding: 24px 20px 18px;
    }


    .form-card-body h3 {
        font-size: 20px;
    }


    .form-card-footer {
        padding: 16px 20px;
    }

}

/* =========================================================
   FORMS PAGE
   ========================================================= */

.forms-page {
    width: 100%;
}


/* =========================================================
   FORMS CONTENT INDENT
   ========================================================= */

.forms-content {
    width: calc(100% - 40px);

    margin-left: 20px;
    margin-right: 20px;
}


/* =========================================================
   FORMS INTRO
   ========================================================= */

.forms-intro {
    padding-top: 65px;
}


/* =========================================================
   FORMS SECTION
   ========================================================= */

.forms-section {
    padding: 20px 0 80px;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.forms-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    margin-top: 20px;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.form-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 270px;

    padding: 0;

    text-decoration: none;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.09);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.form-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.11);

    border-color: rgba(0, 0, 0, 0.16);
}


/* =========================================================
   TOP
   ========================================================= */

.form-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 22px 26px;

    background:
        linear-gradient(
            135deg,
            #f2f3f4 0%,
            #e4e7e9 100%
        );

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}


.form-card-type {
    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    opacity: 0.65;
}


.form-card-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #ffffff;

    font-size: 18px;

    font-weight: 700;

    transition:
        transform 0.25s ease;
}


.form-card:hover .form-card-arrow {
    transform: translateX(4px);
}


/* =========================================================
   BODY
   ========================================================= */

.form-card-body {
    flex: 1;

    padding: 28px 28px 20px;
}


.form-card-body h3 {
    margin: 0 0 12px;

    font-size: 23px;

    line-height: 1.2;
}


.form-card-body p {
    margin: 0;

    max-width: 520px;

    font-size: 15px;

    line-height: 1.65;

    opacity: 0.7;
}


/* =========================================================
   FOOTER
   ========================================================= */

.form-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 18px 28px;

    border-top: 1px solid rgba(0, 0, 0, 0.07);

    font-size: 13px;
}


.form-card-footer span {
    opacity: 0.55;
}


.form-card-footer strong {
    font-size: 13px;
}


/* =========================================================
   CURRENT SEASON
   ========================================================= */

.form-card-current {
    border-width: 2px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .forms-content {
        width: calc(100% - 24px);

        margin-left: 12px;
        margin-right: 12px;
    }


    .forms-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 520px) {

    .forms-intro {
        padding-top: 50px;
    }


    .forms-section {
        padding-bottom: 55px;
    }


    .form-card {
        min-height: 250px;
    }


    .form-card-top {
        padding: 18px 20px;
    }


    .form-card-body {
        padding: 24px 20px 18px;
    }


    .form-card-body h3 {
        font-size: 20px;
    }


    .form-card-footer {
        padding: 16px 20px;
    }

}

/* =========================================================
   HISTORY PAGE CONTENT INDENT
   Keeps the hero full width while slightly indenting
   everything underneath it.
   ========================================================= */

.history-content {
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 768px) {

    .history-content {
        padding-left: 12px;
        padding-right: 12px;
    }

}
/* =========================================================
   HISTORY PAGE - ISOLATED LAYOUT
   ========================================================= */

/*
   The history hero is deliberately full width.
   The content underneath has a small left/right indent.
*/

.history-page {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   HISTORY HERO
   ========================================================= */

.history-page > .division-hero {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
}


/*
   Keep the badge as a subtle background feature.
   This does NOT alter the position of the existing
   decorative circle/background used by the division hero.
*/

.history-page > .division-hero .division-hero-logo {
    position: absolute;
    top: 50%;
    right: 7%;
    transform: translateY(-50%);
    width: 190px;
    height: 190px;
    z-index: 1;
    opacity: 0.12;
    pointer-events: none;
}


.history-page > .division-hero .division-hero-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/*
   Keep the hero text above the badge.
*/

.history-page > .division-hero .division-hero-content {
    position: relative;
    z-index: 2;
}


/* =========================================================
   HISTORY CONTENT
   ========================================================= */

.history-page > .history-content {
    width: calc(100% - 60px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}


/* =========================================================
   HISTORY INTRO
   ========================================================= */

.history-page > .history-content .history-intro {
    margin-left: 0;
    margin-right: 0;
}


/* =========================================================
   HISTORY SECTIONS
   ========================================================= */

.history-page > .history-content .history-section {
    margin-left: 0;
    margin-right: 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .history-page > .division-hero {
        width: 100%;
    }


    .history-page > .division-hero .division-hero-logo {
        width: 130px;
        height: 130px;
        right: 4%;
        opacity: 0.10;
    }


    .history-page > .history-content {
        width: calc(100% - 30px);
    }
	
	

}
/* =========================================================
   MOBILE HAMBURGER MENU
   ========================================================= */

/* Desktop - keep the existing navigation layout */

.mobile-menu-toggle {
    display: none;
}

.navigation-links {
    display: contents;
}


/* =========================================================
   MOBILE ONLY
   ========================================================= */

@media screen and (max-width: 768px) {

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        width: 100%;
        padding: 14px 20px;

        border: 0;
        background: transparent;

        color: inherit;
        font-family: inherit;
        font-size: 16px;
        font-weight: 700;

        cursor: pointer;
    }


    .mobile-menu-icon {
        font-size: 24px;
        line-height: 1;
    }


    .mobile-menu-label {
        font-size: 15px;
    }


    .navigation-links {
        display: none;
    }


    .navigation-links.mobile-menu-open {
        display: flex;
        flex-direction: column;
        width: 100%;
    }


    .navigation-links a {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

}

/* =========================================================
   MEETINGS PAGE
   ========================================================= */

.meetings-page {
    width: 100%;
}


/* =========================================================
   INDENTED CONTENT BELOW HERO
   ========================================================= */

.meetings-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px 80px;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.meetings-intro {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
    gap: 60px;
    padding: 70px 0 65px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.meetings-intro-heading h2 {
    margin: 8px 0 0;
}

.meetings-intro-copy {
    max-width: 700px;
}

.meetings-intro-copy p {
    margin: 0 0 18px;
    line-height: 1.8;
}

.meetings-intro-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SEASON SECTIONS
   ========================================================= */

.meetings-season {
    margin-top: 65px;
    border-radius: 4px;
    overflow: hidden;
}


/* =========================================================
   CURRENT SEASON
   ========================================================= */

.meetings-season-current {
    background: #f3f1ec;
    border-top: 5px solid #b08a32;
}

.meetings-season-current .meetings-season-header {
    background: #182a35;
    color: #ffffff;
}


/* =========================================================
   PREVIOUS SEASON
   ========================================================= */

.meetings-season-previous {
    background: #f7f7f7;
    border-top: 5px solid #d0d0d0;
}

.meetings-season-previous .meetings-season-header {
    background: #e9e9e9;
    color: #202020;
}


/* =========================================================
   SEASON HEADER
   ========================================================= */

.meetings-season-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 40px;
}

.meetings-season-header h2 {
    margin: 5px 0 4px;
    font-size: 2rem;
}

.meetings-season-header p {
    margin: 0;
    opacity: 0.75;
}

.meetings-season-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.meetings-season-current .meetings-season-label {
    color: #d4ad55;
}

.meetings-season-previous .meetings-season-label {
    color: #9b792e;
}

.meetings-season-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 95px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffffff;
}


/* =========================================================
   MONTH ROW
   ========================================================= */

.meeting-month {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(0,0,0,0.10);
}

.meeting-month:last-child {
    border-bottom: 0;
}


/* =========================================================
   MONTH HEADING
   ========================================================= */

.meeting-month-heading span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #9b792e;
}

.meeting-month-heading h3 {
    margin: 0;
    font-size: 1.25rem;
}


/* =========================================================
   DOCUMENT LINKS
   ========================================================= */

.meeting-documents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.meeting-document {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 86px;
    padding: 15px 18px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 3px;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.meeting-document:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    border-color: #b08a32;
}


/* =========================================================
   DOCUMENT ICON
   ========================================================= */

.meeting-document-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.meeting-document-minutes .meeting-document-icon {
    background: #182a35;
    color: #ffffff;
}

.meeting-document-fines .meeting-document-icon {
    background: #b08a32;
    color: #ffffff;
}


/* =========================================================
   DOCUMENT TEXT
   ========================================================= */

.meeting-document-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.meeting-document-text span {
    margin-bottom: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    color: #8a8a8a;
}

.meeting-document-text strong {
    font-size: 1rem;
    line-height: 1.25;
}

.meeting-document-text small {
    margin-top: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9b792e;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .meetings-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .meetings-intro {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 50px 0;
    }

    .meetings-season {
        margin-top: 45px;
    }

    .meetings-season-header {
        padding: 28px 25px;
    }

    .meeting-month {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
    }

    .meeting-documents {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .meetings-season-header {
        align-items: flex-start;
    }

    .meetings-season-badge {
        display: none;
    }

    .meeting-document {
        min-height: 78px;
        padding: 13px;
    }

}

/* =========================================================
   USEFUL LINKS PAGE
   ========================================================= */


/* =========================================================
   PAGE CONTENT
   ========================================================= */

.useful-links-content {

    max-width: 1200px;

    margin: 0 auto;

    padding: 55px 35px 70px 55px;

}


/* =========================================================
   SECTION
   ========================================================= */

.useful-links-section {

    margin-bottom: 70px;

}


.useful-links-section-alt {

    padding: 55px 45px;

    background: #f5f5f3;

}


.useful-links-heading {

    margin-bottom: 35px;

    max-width: 850px;

}


.useful-links-heading h2 {

    margin-top: 6px;

    margin-bottom: 12px;

}


.useful-links-heading p:not(.section-kicker) {

    max-width: 720px;

    line-height: 1.7;

}


/* =========================================================
   FEATURE LINKS
   ========================================================= */

.useful-links-feature-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;

}


.useful-link-feature {

    display: flex;

    flex-direction: column;

    min-height: 280px;

    padding: 0;

    background: #ffffff;

    border: 1px solid #deded9;

    border-top: 5px solid #b79a4b;

    text-decoration: none;

    color: inherit;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

}


.useful-link-feature:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);

    border-color: #b79a4b;

}


/* =========================================================
   FEATURE TOP
   ========================================================= */

.useful-link-feature-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 24px;

    background: #f7f7f5;

    border-bottom: 1px solid #e3e3df;

}


.useful-link-label {

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #9a7d32;

}


.useful-link-arrow {

    font-size: 1.5rem;

    line-height: 1;

    color: #9a7d32;

}


/* =========================================================
   FEATURE BODY
   ========================================================= */

.useful-link-feature-body {

    flex: 1;

    padding: 28px 26px 20px;

}


.useful-link-feature-body h3 {

    margin: 0 0 12px;

    font-size: 1.55rem;

}


.useful-link-feature-body p {

    margin: 0;

    max-width: 600px;

    line-height: 1.65;

    color: #555;

}


/* =========================================================
   FEATURE FOOTER
   ========================================================= */

.useful-link-feature-footer {

    padding: 18px 26px 23px;

    border-top: 1px solid #eeeeea;

}


.useful-link-feature-footer strong {

    font-size: 0.9rem;

    color: #9a7d32;

}


/* =========================================================
   COUNTY / LOCAL FOOTBALL LAYOUT
   ========================================================= */

.useful-link-feature-layout {

    display: grid;

    grid-template-columns: 1.35fr 1fr;

    gap: 28px;

}


/* =========================================================
   LARGE FEATURE
   ========================================================= */

.useful-link-large {

    display: flex;

    align-items: flex-end;

    min-height: 390px;

    padding: 38px;

    background:
        linear-gradient(
            135deg,
            #202b2d 0%,
            #293638 100%
        );

    color: #ffffff;

    text-decoration: none;

    border-left: 6px solid #b79a4b;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.useful-link-large:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);

}


.useful-link-large-content {

    max-width: 650px;

}


.useful-link-large .useful-link-label {

    color: #d1b35b;

}


.useful-link-large h3 {

    margin: 10px 0 15px;

    font-size: 2rem;

}


.useful-link-large p {

    margin: 0 0 25px;

    max-width: 570px;

    line-height: 1.7;

    color: #e6e6e3;

}


.useful-link-large strong {

    color: #ffffff;

}


/* =========================================================
   SMALL FEATURE COLUMN
   ========================================================= */

.useful-link-small-column {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


.useful-link-small {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    flex: 1;

    padding: 27px;

    background: #ffffff;

    border: 1px solid #deded9;

    border-left: 5px solid #b79a4b;

    text-decoration: none;

    color: inherit;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.useful-link-small:hover {

    transform: translateX(4px);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);

}


.useful-link-small h3 {

    margin: 8px 0 8px;

    font-size: 1.25rem;

}


.useful-link-small p {

    margin: 0 0 18px;

    line-height: 1.55;

    color: #555;

}


.useful-link-small strong {

    font-size: 0.88rem;

    color: #9a7d32;

}


/* =========================================================
   OTHER USEFUL RESOURCES
   ========================================================= */

.useful-links-list {

    border-top: 1px solid #d9d9d4;

}


.useful-link-row {

    display: grid;

    grid-template-columns: 54px 1fr auto;

    align-items: center;

    gap: 22px;

    padding: 22px 10px;

    border-bottom: 1px solid #d9d9d4;

    text-decoration: none;

    color: inherit;

    transition:
        background 0.2s ease,
        padding-left 0.2s ease;

}


.useful-link-row:hover {

    background: #f7f7f5;

    padding-left: 18px;

}


.useful-link-row-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    background: #263335;

    color: #ffffff;

    font-weight: 700;

    border-radius: 50%;

}


.useful-link-row-content span {

    display: block;

    margin-bottom: 4px;

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.1em;

    color: #9a7d32;

}


.useful-link-row-content h3 {

    margin: 0 0 4px;

    font-size: 1.08rem;

}


.useful-link-row-content p {

    margin: 0;

    color: #666;

    font-size: 0.92rem;

}


.useful-link-row > strong {

    white-space: nowrap;

    color: #9a7d32;

    font-size: 0.88rem;

}


/* =========================================================
   CONTACT CTA
   ========================================================= */

.useful-links-contact {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    margin-top: 20px;

    padding: 35px 40px;

    background: #263335;

    border-left: 6px solid #b79a4b;

    color: #ffffff;

}


.useful-links-contact-content {

    max-width: 700px;

}


.useful-links-contact .section-kicker {

    color: #d1b35b;

}


.useful-links-contact h2 {

    margin: 6px 0 10px;

    color: #ffffff;

}


.useful-links-contact p:not(.section-kicker) {

    margin: 0;

    color: #e4e4e1;

    line-height: 1.6;

}


.useful-links-contact-button {

    display: inline-block;

    flex-shrink: 0;

    padding: 13px 22px;

    background: #b79a4b;

    color: #ffffff;

    text-decoration: none;

    font-weight: 700;

    border: 1px solid #b79a4b;

    transition:
        background 0.2s ease,
        color 0.2s ease;

}


.useful-links-contact-button:hover {

    background: #ffffff;

    color: #263335;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .useful-links-content {

        padding: 45px 25px 60px 35px;

    }


    .useful-links-feature-layout {

        grid-template-columns: 1fr;

    }


    .useful-link-large {

        min-height: 320px;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .useful-links-content {

        padding: 35px 18px 50px 22px;

    }


    .useful-links-section {

        margin-bottom: 50px;

    }


    .useful-links-section-alt {

        padding: 35px 20px;

        margin-left: -5px;

        margin-right: -5px;

    }


    .useful-links-feature-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }


    .useful-link-feature {

        min-height: 0;

    }


    .useful-link-large {

        min-height: 0;

        padding: 28px;

    }


    .useful-link-large h3 {

        font-size: 1.65rem;

    }


    .useful-link-small-column {

        gap: 15px;

    }


    .useful-link-small {

        padding: 23px;

    }


    .useful-link-row {

        grid-template-columns: 44px 1fr;

        gap: 15px;

        padding: 20px 5px;

    }


    .useful-link-row-icon {

        width: 40px;

        height: 40px;

    }


    .useful-link-row > strong {

        grid-column: 2;

        margin-top: -8px;

    }


    .useful-links-contact {

        flex-direction: column;

        align-items: flex-start;

        padding: 28px;

        gap: 25px;

    }

}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 450px) {

    .useful-links-content {

        padding-left: 15px;

        padding-right: 15px;

    }


    .useful-link-feature-top {

        padding: 15px 18px;

    }


    .useful-link-feature-body {

        padding: 23px 19px 18px;

    }


    .useful-link-feature-footer {

        padding: 16px 19px 20px;

    }


    .useful-link-large {

        padding: 23px;

    }


    .useful-link-row-content p {

        display: none;

    }

}