:root {
    --green: #00602d;
    --deep: #03170d;
    --deep2: #071f13;
    --gold: #f0bd2e;
    --cream: #f5f6f2;
    --white: #fff;
    --muted: #69736d;
    --line: #dfe4df;
    --red: #c94242;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: #102019;
    background: var(--cream);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

/* ========================================
   GENERAL
======================================== */

.container {
    max-width: var(--max);
    margin: auto;
    padding: 24px;
}

.topbar {
    background: #021109;
    color: #cdd5cf;
    font-size: 12px;
    padding: 7px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(3, 23, 13, .97);
    color: #fff;
    border-bottom: 1px solid #ffffff18;
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: auto;
}

.crest {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 25px;
    background: url("assets/ath-badge-clear-bg.png") center/cover;
}

.brand b,
.brand span {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    line-height: .85;
}

.brand b {
    font-size: 24px;
}

.brand span {
    font-size: 18px;
    letter-spacing: 1.5px;
}

.navlinks {
    display: flex;
    gap: 22px;
    align-items: center;
}

.navlinks a {
    text-decoration: none;
    font: 700 14px "Barlow Condensed";
    letter-spacing: .5px;
}

.navlinks a:hover,
.navlinks .active {
    color: var(--gold);
}

/* Dropdown container */

.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown menu */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #111;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

/* Dropdown links */

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #333;
}

/* Desktop hover dropdown */

.nav-dropdown:hover .dropdown-menu {
    display: flex;
}

/* Mobile menu button */

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #ffffff44;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 6px 11px;
    line-height: 1;
}

/* ========================================
   HERO
======================================== */

.hero {
    min-height: 610px;
    position: relative;
    color: #fff;
    background: var(--deep) url("assets/team.jpg") center 30%/cover no-repeat;
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            #000d 0%,
            #0007 47%,
            #0004 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 610px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-copy {
    width: 58%;
}

.kicker {
    font: 700 15px "Barlow Condensed";
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
}

.hero h1 {
    font: 800 clamp(70px, 9vw, 125px)/.78 "Barlow Condensed";
    margin: 18px 0 30px;
    text-transform: uppercase;
}

.hero h1 em {
    font-style: normal;
    color: var(--gold);
}

.badge {
    display: inline-block;
    border: 2px solid var(--gold);
    padding: 7px 16px;
    font: 800 20px "Barlow Condensed";
    letter-spacing: 5px;
}

.hero-copy p {
    font: 700 17px "Barlow Condensed";
    letter-spacing: 1px;
}

/* ========================================
   BUTTONS
======================================== */

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-block;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .6px;
}

.gold {
    background: var(--gold);
    color: #101510;
}

.outline {
    border: 1px solid var(--gold);
    color: #fff;
}

.green {
    background: var(--green);
    color: #fff;
}

/* ========================================
   MATCH PANEL
======================================== */

.match {
    width: 400px;
    margin-left: auto;
    background: #020b07e8;
    border: 1px solid #ffffff3a;
    padding: 25px;
}

.match .label {
    color: var(--gold);
    font: 800 15px "Barlow Condensed";
    letter-spacing: 2px;
}

.match h2 {
    font: 800 32px "Barlow Condensed";
    margin: 18px 0 12px;
}

.match h2 span {
    color: #39b866;
}

.match p {
    font-size: 13px;
    color: #d8ded9;
}

.match .buttons {
    margin-top: 18px;
}

/* ========================================
   SCOREBAR
======================================== */

.scorebar {
    background: #121917;
    color: #fff;
}

.scorebar .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    align-items: center;
}

.score {
    padding: 18px 22px;
    border-left: 1px solid #ffffff20;
}

.score:first-child {
    border-left: 0;
}

.score small {
    color: var(--gold);
    font: 800 13px "Barlow Condensed";
}

.score strong {
    display: block;
    margin-top: 5px;
    font-size: 13px;
}

.win {
    color: #35b96a;
    font-size: 11px;
    font-weight: 800;
}

.loss {
    color: #e15a5a;
    font-size: 11px;
    font-weight: 800;
}

/* ========================================
   SECTIONS
======================================== */

.section {
    padding: 70px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-head h2,
.page-title h1 {
    font: 800 50px/1 "Barlow Condensed";
    text-transform: uppercase;
    margin: 0;
}

.section-head h2:after {
    content: "";
    display: block;
    width: 55px;
    border-bottom: 4px solid var(--gold);
    margin-top: 8px;
}

/* ========================================
   CARDS
======================================== */

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px #0010080b;
    cursor: pointer;
}

.card-no-link {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px #0010080b;
}

.card-img {
    height: 180px;
    background: url("assets/ath-hero.jpg") center/cover;
}

.card-body {
    padding: 22px;
}

.card-body h3 {
    font: 800 25px "Barlow Condensed";
    margin: 0 0 8px;
}

.card-body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.card-body a {
    color: var(--green);
    font-weight: 800;
    font-size: 12px;
    text-decoration: none;
}

/* ========================================
   TEAMS
======================================== */

.teams {
    background: #fff;
}

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

.team {
    background: var(--deep);
    color: #fff;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.team-img {
    height: 155px;
    background: url("assets/ath-badge.png") center/cover;
}

.team-body {
    padding: 18px;
    text-align: center;
    flex: 1;
}

.team-body h3 {
    color: var(--gold);
    font: 800 24px "Barlow Condensed";
    margin: 5px 0;
}

.team-body p {
    font-size: 12px;
    color: #ccd4cf;
    line-height: 1.4;
}

.team-body a {
    color: var(--gold);
    font-size: 11px;
    text-decoration: none;
    font-weight: 800;
}

/* ========================================
   SPLIT & NEWS
======================================== */

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 55px;
}

.news {
    display: grid;
    gap: 16px;
}

.news-row {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.news-thumb {
    width: 135px;
    height: 90px;
    flex: none;
    background: url("assets/ath-hero.jpg") center/cover;
}

.news-row h3 {
    font: 800 19px "Barlow Condensed";
    margin: 0;
}

.news-row p {
    margin: 5px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.news-row time {
    font-size: 10px;
    color: #7c8780;
}

/* ========================================
   EVENTS
======================================== */

.events {
    display: grid;
    gap: 10px;
}

.event {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px;
}

.date {
    width: 60px;
    text-align: center;
    background: var(--green);
    color: #fff;
    padding: 7px;
    font: 800 12px "Barlow Condensed";
}

.date b {
    display: block;
    font-size: 25px;
    color: var(--gold);
}

.event h3 {
    font: 800 17px "Barlow Condensed";
    margin: 0;
}

.event p {
    font-size: 11px;
    color: var(--muted);
    margin: 4px 0;
}

/* ========================================
   BANNER
======================================== */

.banner {
    background: var(--green);
    color: #fff;
    padding: 55px 0;
}

.banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.banner h2 {
    font: 800 45px "Barlow Condensed";
    margin: 0;
}

.banner p {
    color: #dce9df;
    max-width: 650px;
}

/* ========================================
   SPONSORS
======================================== */

.sponsors {
    background: var(--deep);
    color: #fff;
    text-align: center;
    padding: 55px 0;
}

.sponsors h2 {
    color: var(--gold);
    font: 800 20px "Barlow Condensed";
    letter-spacing: 2px;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 28px 0;
}

.sponsor {
    min-height: 90px;
    border: 1px solid #ffffff22;
    display: grid;
    place-items: center;
    padding: 15px;
    font-weight: 800;
    font-size: 18px;
}

/* ========================================
   FOOTER
======================================== */

footer {
    background: #020a06;
    color: #c7cec9;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-grid h3 {
    color: #fff;
    font: 800 20px "Barlow Condensed";
    margin-top: 0;
}

.footer-grid a {
    display: block;
    text-decoration: none;
    color: #b9c3bd;
    font-size: 13px;
    margin: 8px 0;
}

.copyright {
    border-top: 1px solid #ffffff16;
    margin-top: 25px;
    padding-top: 16px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}

.logo {
    /* border-top: 1px solid #ffffff16; */
    /* margin-top: 25px; */
    /* padding-top: 16px; */
    /* font-size: 11px; */
    /* display: flex; */
    /* justify-content: space-between; */

    background: url("assets/PMH-Creative.png") center/cover;
    cursor: pointer;
}

/* ========================================
   PAGE TITLE & CONTENT
======================================== */

.page-title {
    background: var(--deep);
    color: #fff;
    padding: 75px 0;
}

.page-title p {
    color: #cbd5ce;
    max-width: 700px;
    line-height: 1.6;
}

.page-title h1 {
    font-size: 70px;
}

.crumb {
    color: var(--gold);
    font: 800 13px "Barlow Condensed";
    letter-spacing: 2px;
}

.content {
    background: #fff;
    padding: 55px 0;
}

.prose {
    max-width: 850px;
    font-size: 16px;
    line-height: 1.75;
    color: #405047;
    word-wrap: break-word;
}

.prose h2 {
    font: 800 34px "Barlow Condensed";
    color: #405047;
    ;
}

/* ========================================
   FIXTURE TABLE
======================================== */

.fixture-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.fixture-table th {
    background: var(--deep);
    color: #fff;
    text-align: left;
    padding: 14px;
    font: 800 14px "Barlow Condensed";
}

.fixture-table td {
    padding: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.fixture-table tr:hover {
    background: #f4f7f4;
}

/* ========================================
   MEMBERSHIP
======================================== */

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

.members:first-child {
    margin-bottom: 40px;
}

.membership {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.membership.featured {
    border: 2px solid var(--gold);
}

.membership h3 {
    font: 800 28px "Barlow Condensed";
    margin: 0;
}

.price {
    font: 800 32px "Barlow Condensed";
    color: var(--green);
    margin: 10px 0 20px;
}

.membership ul {
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.membership .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ========================================
   CONTACT
======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
}

.contact-card h3 {
    font: 800 27px "Barlow Condensed";
    margin-top: 0;
}

.contact-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

/* ========================================
   FACEBOOK TILES
======================================== */

.facebook-section {
    padding: 70px 0;
}

.facebook-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.facebook-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.facebook-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .13);
}

.facebook-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

.facebook-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.facebook-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.facebook-date {
    margin-bottom: 9px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .55;
}

.facebook-card h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.facebook-card p {
    margin: 0 0 20px;
    font-size: .95rem;
    line-height: 1.55;
    opacity: .78;
}

.facebook-card a {
    margin-top: auto;
    font-weight: 700;
    text-decoration: none;
}

.facebook-card a:hover {
    text-decoration: underline;
}

.facebook-loading {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    opacity: .6;
}

.facebook-thumbnail-placeholder img {
    object-fit: cover;
    background-color: rgb(3 23 13 / 97%);
}

/* ========================================
   LEAGUE TABLE / FIXTURES / RESULTS
======================================== */

:root {
    --ath-green: #006b3f;
    --ath-gold: #f5c400;
    --dark: #17201b;
    --text: #26332c;
    --light: #f4f6f5;
    --border: #e2e7e4;
    --radius: 12px;
}

.sport-section {
    margin: 40px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.sport-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sport-section-title {
    /* margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    color: rgba(23, 9, 3, 0.97) ; */

    /* font: 800 34px "Barlow Condensed"; */
    color: #405047;
    font-family: Inter, Arial, sans-serif;
}

.sport-section-link {
    color: var(--ath-green);
    font-weight: 700;
    text-decoration: underline;

}

.sport-section-link:hover {
    text-decoration: underline;
}

/* League table */

.league-table-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.league-table thead {
    background: var(--dark);
    color: var(--white);
}

.league-table th {
    padding: 13px 12px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
}

.league-table th:first-child,
.league-table th:nth-child(2) {
    text-align: left;
}

.league-table td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.league-table td:first-child,
.league-table td:nth-child(2) {
    text-align: left;
}

.league-table tbody tr:last-child td {
    border-bottom: none;
}

.league-table tbody tr:hover {
    background: var(--light);
}

.league-position {
    width: 45px;
    font-weight: 800;
    color: var(--muted);
}

.league-team {
    font-weight: 700;
    color: var(--dark);
}

.league-table tr.ath {
    background: rgba(0, 107, 63, .08);
    box-shadow: inset 4px 0 0 var(--ath-green);
}

.league-table tr.ath .league-team {
    color: var(--ath-green);
    font-weight: 800;
}

.league-points {
    font-weight: 800;
    color: var(--dark);
}

/* Fixtures */

.fixtures {
    display: grid;
    gap: 12px;
}

.fixture-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.fixture-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .07);
}

.fixture-date {
    text-align: center;
}

.fixture-day {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--ath-green);
    line-height: 1;
}

.fixture-month {
    display: block;
    margin-top: 4px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
}

.fixture-info {
    min-width: 0;
}

.fixture-competition {
    margin-bottom: 5px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
}

.fixture-teams {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
}

.fixture-vs {
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted);
}

.fixture-venue {
    margin-top: 5px;
    font-size: .8rem;
    color: var(--muted);
}

.fixture-home {
    color: var(--ath-green);
}

.fixture-time {
    min-width: 75px;
    padding: 9px 12px;
    background: var(--light);
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
    color: var(--dark);
}

/* Results */

.results {
    display: grid;
    gap: 12px;
}

.result-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.result-date {
    text-align: center;
}

.result-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--muted);
    line-height: 1;
}

.result-month {
    display: block;
    margin-top: 4px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
}

.result-info {
    min-width: 0;
}

.result-competition {
    margin-bottom: 5px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
}

.result-teams {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
}

.result-score {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 95px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 900;
    background: var(--light);
}

.result-card.win .result-score {
    background: rgba(0, 107, 63, .12);
    color: var(--ath-green);
}

.result-card.loss .result-score {
    background: #f3f3f3;
    color: #777;
}

.result-card.draw .result-score {
    background: #f5f1df;
    color: #75651a;
}


/* ==========================================================
   GENERIC GRID
   ========================================================== */

.grid {

    display: grid;

    width: 100%;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

}


/* ==========================================================
   GENERIC CARD
   ========================================================== */
/* =========================================================
   GENERIC CARD
   ========================================================= */

.card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;

    height: 100%;

    background: #ffffff;

    border-radius: 8px;

    overflow: hidden;

    border: 1px solid #e1e1e1;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   GENERIC GRID - TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;

    }

}


/* =========================================================
   GENERIC GRID - MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;

    }

}


/* =========================================================
   GENERIC GRID - SMALL PHONE
   ========================================================= */

@media (max-width: 400px) {

    .grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }

}


/* ==========================================================
   GENERIC IMAGE
   ========================================================== */

.image {

    display: block;

    width: 100%;

    aspect-ratio: 3 / 4;

    object-fit: cover;

    object-position: center top;

    background: #eeeeee;
}

.image-thumb {

    /* display: block; */

    width: 100%;

    object-fit: block;
    background: #eeeeee;
    cursor: pointer;
}

.image-fit {

    display: block;

    width: 100%;

    aspect-ratio: 3 / 4;

    object-fit: scale-down;

    object-position: center;

    background: #eeeeee;
}

.image-news {

    display: block;

    width: 60%;

    /* aspect-ratio: 3 / 4; */

    object-fit: fill;

    object-position: center;

    background: #eeeeee;
}

/* ==========================================================
   GENERIC DETAILS
   ========================================================== */

.details {

    display: flex;

    flex-direction: column;

    flex-grow: 1;

    padding: 18px;
    word-wrap: break-word;
}


/* ==========================================================
   GENERIC TITLE
   ========================================================== */

.title {

    margin: 0 0 4px;

    color: var(--deep);

    font-size: 21px;

    line-height: 1.2;
}


/* ==========================================================
   GENERIC SUBTITLE
   ========================================================== */

.subtitle {

    margin: 0 0 18px;

    /* color: var(--green); */

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}

.subtitle2 {

    margin: 0 0 18px;

    color: var(--green);

    font-size: 14px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}



/* ==========================================================
   GENERIC LINK
   ========================================================== */

.link {

    display: inline-block;

    margin-top: auto;

    color: var(--ath-green);

    text-align: left;

    text-decoration: none;

    font-size: 0.95rem;

    font-weight: 700;

    text-decoration: underline;

    transition:
        color 0.25s ease;
}

.link-margin {

    display: inline-block;

    margin-top: auto;

    color: var(--ath-green);

    text-align: left;

    text-decoration: none;

    font-size: 0.95rem;

    font-weight: 700;

    text-decoration: underline;

    transition:
        color 0.25s ease;

    margin: 15px;
}

.link:hover {

    color: #000000;

    text-decoration: underline;
}


/* ==========================================================
   GENERIC MESSAGE
   ========================================================== */

.message {

    grid-column: 1 / -1;

    padding: 30px;

    text-align: center;

    color: #777777;
}


/* ==========================================================
   SPONSOR / SECONDARY INFORMATION
   ========================================================== */

.sponsor {

    margin: 0;

    padding-top: 12px;

    border-top: 1px solid #eeeeee;

    color: #777777;

    font-size: 12px;

    line-height: 1.4;
}


.sponsor span {

    display: block;

    margin-bottom: 3px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


.sponsor strong {

    display: block;

    color: #333333;

    font-size: 13px;
}


/* ==========================================================
   SQUAD GRID
   ========================================================== */

.squad-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

    margin-top: 35px;

    padding: 0 30px 40px;
}


/* Tablet */

@media (max-width: 1000px) {

    .squad-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;

        padding: 0 25px;
    }

}


/* Mobile */

@media (max-width: 700px) {

    .squad-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;

        padding: 0 15px;
    }

}


/* Small phone */

@media (max-width: 400px) {

    .squad-grid {

        gap: 10px;

        padding: 0 10px;
    }

}

/* ==========================================================
   PROGRAMMES GRID
   ========================================================== */

.programmes-grid {

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;
}


/* ==========================================================
   PROGRAMME TITLE
   ========================================================== */

.programme-title {

    margin: 0 0 10px;

    font-size: 1.15rem;

    font-weight: 700;

    line-height: 1.4;

    color: #222222;
}


/* ==========================================================
   PROGRAMME SEASON
   ========================================================== */

.programme-season {

    margin: 0 0 20px;

    font-size: 0.9rem;

    color: #777777;
}


/* ==========================================================
   PROGRAMME CARD
   ========================================================== */

/*
   Only use this if a programme card needs something
   different from the generic .card.
*/

.programme-card {

    border-radius: 12px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.10);
}


.programme-card:hover {

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1000px) {

    .squad-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;
    }

}


@media (max-width: 900px) {

    .programmes-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;
    }

    .details {

        padding: 16px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .squad-section {

        padding: 50px 0;
    }


    .squad-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }


    .details {

        padding: 14px 12px 16px;
    }


    .title {

        font-size: 17px;
    }


    .subtitle {

        font-size: 12px;

        margin-bottom: 14px;
    }


    .sponsor {

        font-size: 11px;
    }


    .sponsor strong {

        font-size: 12px;
    }

}


@media (max-width: 600px) {

    .programmes-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }


    .programme-title {

        font-size: 0.95rem;
    }


    .programme-season {

        font-size: 0.8rem;

        margin-bottom: 15px;
    }


    .link {

        padding: 10px 8px;

        font-size: 0.8rem;
    }

}


/* ==========================================================
   SMALL PHONE
   ========================================================== */

@media (max-width: 400px) {

    .squad-grid {

        gap: 10px;
    }


    .title {

        font-size: 16px;
    }


    .details {

        padding: 12px 9px 14px;
    }

}


@media (max-width: 380px) {

    .programmes-grid {

        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   MOBILE NAVIGATION
   ========================================================== */

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #ffffff44;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 6px 11px;
    line-height: 1;
}


/* ----------------------------------------------------------
   TABLET + MOBILE
   ---------------------------------------------------------- */

@media (max-width: 1000px) {

    header .nav {
        position: relative;
    }


    /* Hamburger */

    .menu-toggle {
        display: block;
        margin-left: auto;
    }


    /* Main navigation */

    .navlinks {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        padding: 15px 24px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: var(--deep);

        z-index: 1000;
    }


    /* IMPORTANT:
       JavaScript adds .open */

    .navlinks.open {
        display: flex;
    }


    /* Main menu links */

    .navlinks>a,
    .nav-dropdown>.dropdown-toggle {

        display: block;

        width: 100%;

        padding: 14px 0;

        color: #fff;

        text-decoration: none;

        cursor: pointer;
    }

    /* ------------------------------------------------------ ACTIVE MOBILE MENU ITEM ------------------------------------------------------ */
    .navlinks>a.active, .nav-dropdown>.dropdown-toggle.active {
        color: var(--gold) !important;
    }

    /* Keep active item gold when touched */
    .navlinks>a.active:active, .nav-dropdown>.dropdown-toggle.active:active {
        color: var(--gold) !important;
    }


    /* Dropdown container */

    .nav-dropdown {

        display: block;

        width: 100%;

        position: relative;
    }


    /* Dropdown itself */

    .nav-dropdown .dropdown-menu {

        display: none !important;

        position: static;

        width: 100%;

        min-width: 0;

        padding: 0 0 8px 20px;

        background: transparent;

        box-shadow: none;
    }


    /* OPEN dropdown */

    .nav-dropdown.open .dropdown-menu {

        display: flex !important;

        flex-direction: column;
    }


    /* Dropdown links */

    .dropdown-menu a {

        display: block;

        padding: 10px 0;

        color: #fff;

        text-decoration: none;

        white-space: normal;
    }


    .dropdown-menu a:hover {

        background: transparent;
    }


    /*
       VERY IMPORTANT

       Disable the desktop hover behaviour
       on mobile.
    */

    .nav-dropdown:hover .dropdown-menu {

        display: none !important;
    }


    .nav-dropdown.open:hover .dropdown-menu {

        display: flex !important;

        flex-direction: column;
    }


    /* Brand */

    .brand {

        max-width: calc(100% - 55px);
    }


    .brand b {

        font-size: 14px;
    }

}

.news-grid .image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   NEWS GRID
   ========================================================= */

.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 0 30px 40px;
}


/* News image */

.news-grid .image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}


/* Ensure cards have equal height */

.news-grid .card {
    height: 100%;
}


/* Card content */

.news-grid .details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


/* Push More link to bottom */

.news-grid .link {
    margin-top: auto;
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 900px) {

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        padding: 0 25px 35px;
    }

}


/* =========================================================
   MOBILE PHONES
   ========================================================= */

@media (max-width: 600px) {

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        padding: 0 15px 30px;
    }

    .news-grid .details {
        padding: 14px;
    }

    .news-grid .title {
        font-size: 17px;
    }

    .news-grid .subtitle {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .news-grid .details p {
        font-size: 13px;
    }

    .news-grid .link {
        font-size: 13px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px 25px;
    }

}

/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #03170df7;
    color: #ffffff;

    text-decoration: none;

    font-size: 18px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--deep);

    transform: translateY(-2px);
}

.social-icons a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

}


/* .image {
    cursor: pointer;
} */

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.9);

    cursor: pointer;
}

.image-lightbox img {
    max-width: 95vw;
    max-height: 95vh;

    width: auto;
    height: auto;

    object-fit: contain;
}