/* Self-hosted website fonts — public/website/fonts/ */
@font-face {
    font-family: 'Trajan Pro 3';
    src: local('Trajan Pro 3 Bold'),
         local('TrajanPro3-Bold'),
         url('../fonts/TrajanPro3-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Serif';
    src: url('../fonts/NotoSerif-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Serif';
    src: url('../fonts/NotoSerif-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --font-trajan: 'Trajan Pro 3', 'Trajan Pro', serif;
    --font-noto: 'Noto Serif', Georgia, serif;

    /* Navbar logo — adjust size and position (nav links stay put) */
    --sd-nav-bar-height: 100px;
    --sd-nav-bar-height-mobile: 72px;
    --sd-nav-logo-height: 76px;
    --sd-nav-logo-height-mobile: 48px;
    --sd-nav-logo-margin-top: 30px;
    --sd-nav-logo-margin-left: 100px;
    --sd-nav-logo-margin-top-mobile: 12px;
    --sd-nav-logo-margin-left-mobile: 16px;

    /* Type scale — perfect fourth */
    --type-display-xl-size: 76px;
    --type-display-xl-lh: 1.05;
    --type-display-xl-tracking: 0.025em;

    --type-display-l-size: 54px;
    --type-display-l-lh: 1.05;
    --type-display-l-tracking: 0.025em;

    --type-display-m-size: 38px;
    --type-display-m-lh: 1.12;
    --type-display-m-tracking: 0.03em;

    --type-display-s-size: 24px;
    --type-display-s-lh: 1.2;
    --type-display-s-tracking: 0.04em;

    --type-lede-size: 22px;
    --type-lede-lh: 1.5;
    --type-lede-tracking: 0;

    --type-body-size: 17px;
    --type-body-lh: 1.6;
    --type-body-tracking: 0;

    --type-caption-size: 14px;
    --type-caption-lh: 1.55;
    --type-caption-tracking: 0.01em;

    --type-kicker-size: 12px;
    --type-kicker-lh: 1.3;
    --type-kicker-tracking: 0.14em;

    /* Brand colour palette */
    --sd-pearl-white: #FFFFFF;
    --sd-jet-black: #1A1A1A;
    --sd-concrete-grey: #BCBCBC;
    --sd-gold-chrome: #BB9442;
    --sd-gold-chrome-light: #FFFBD1;
    --sd-verdant-green: #339251;
    --sd-dynamic-magenta: #E8007D;

    --sd-gold-gradient: linear-gradient(180deg, var(--sd-gold-chrome-light) 0%, var(--sd-gold-chrome) 100%);
    --sd-gold-text-gradient: linear-gradient(180deg, var(--sd-gold-chrome-light) 0%, var(--sd-gold-chrome) 55%, #8f7032 100%);
}

/* ── Type scale utilities ── */
.type-display-xl,
.sd-type-display-xl {
    font-family: var(--font-trajan);
    font-size: clamp(var(--type-display-m-size), 4.5vw + 0.5rem, var(--type-display-xl-size));
    font-weight: 700;
    line-height: var(--type-display-xl-lh);
    letter-spacing: var(--type-display-xl-tracking);
}

.type-display-l,
.sd-type-display-l {
    font-family: var(--font-trajan);
    font-size: clamp(var(--type-display-s-size), 3.5vw + 0.5rem, var(--type-display-l-size));
    font-weight: 700;
    line-height: var(--type-display-l-lh);
    letter-spacing: var(--type-display-l-tracking);
}

.type-display-m,
.sd-type-display-m {
    font-family: var(--font-trajan);
    font-size: clamp(1.25rem, 2.5vw + 0.5rem, var(--type-display-m-size));
    font-weight: 700;
    line-height: var(--type-display-m-lh);
    letter-spacing: var(--type-display-m-tracking);
}

.type-display-s,
.sd-type-display-s {
    font-family: var(--font-trajan);
    font-size: clamp(1rem, 1.5vw + 0.5rem, var(--type-display-s-size));
    font-weight: 700;
    line-height: var(--type-display-s-lh);
    letter-spacing: var(--type-display-s-tracking);
}

.type-lede,
.sd-type-lede {
    font-family: var(--font-noto);
    font-size: clamp(1.0625rem, 1vw + 0.75rem, var(--type-lede-size));
    font-weight: 400;
    font-style: italic;
    line-height: var(--type-lede-lh);
    letter-spacing: var(--type-lede-tracking);
}

.type-body,
.sd-type-body {
    font-family: var(--font-noto);
    font-size: var(--type-body-size);
    font-weight: 400;
    line-height: var(--type-body-lh);
    letter-spacing: var(--type-body-tracking);
}

.type-caption,
.sd-type-caption {
    font-family: var(--font-noto);
    font-size: var(--type-caption-size);
    font-weight: 400;
    line-height: var(--type-caption-lh);
    letter-spacing: var(--type-caption-tracking);
}

.type-kicker,
.sd-type-kicker {
    font-family: var(--font-noto);
    font-size: var(--type-kicker-size);
    font-weight: 400;
    font-style: italic;
    line-height: var(--type-kicker-lh);
    letter-spacing: var(--type-kicker-tracking);
    text-transform: uppercase;
}

/* ── Transparent overlay navbar ── */
#site-header.sd-site-header {
    background: transparent !important;
    box-shadow: none !important;
    height: auto !important;
    padding: 0 !important;
    display: block !important;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1050 !important;
    overflow: visible;
}

#site-header.sd-site-header.nav-hidden,
#site-header.sd-site-header.nav-fixed.nav-hidden,
body.sd-inner-page #site-header.sd-site-header.nav-hidden,
header#site-header.nav-hidden {
    transform: translate3d(0, -120%, 0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    display: none !important;
}

#site-header.sd-site-header .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

#site-header.sd-site-header .sd-site-nav {
    display: flex;
    padding: 0;
    align-items: center;
    min-height: var(--sd-nav-bar-height);
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

#site-header.sd-site-header .sd-nav-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: var(--sd-nav-logo-margin-top) 1.25rem 0 var(--sd-nav-logo-margin-left);
    padding: 0;
    text-decoration: none;
    line-height: 0;
}

#site-header.sd-site-header .sd-nav-collapse {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

#site-header.sd-site-header .sd-extra-menu {
    position: relative;
    display: flex;
    align-items: center;
    align-self: center;
    padding-right: 28px;
    padding-left: 0;
    margin-left: 0;
    flex-shrink: 0;
}

#site-header.sd-site-header .sd-nav-logo-box img,
#site-header.sd-site-header .sd-nav-logo-box .sd-nav-logo-primary {
    height: var(--sd-nav-logo-height);
    max-height: calc(var(--sd-nav-bar-height) - 16px);
    width: auto;
    max-width: none;
    object-fit: contain;
    display: block;
}

#site-header.sd-site-header .sd-nav-collapse .sd-main-nav {
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.25rem, 2.2vw, 2.5rem);
    margin: 0;
    padding: 0 1.5rem 0 2rem;
    margin-left: auto;
}

#site-header.sd-site-header .sd-nav-mobile-toggle {
    border: none;
    margin-left: auto;
    margin-right: 12px;
    padding: 0.5rem;
}

#site-header.sd-site-header .navbar-toggler {
    border: none;
    color: var(--sd-pearl-white);
    box-shadow: none !important;
}

#site-header.sd-site-header .navbar-toggler .fa-bars,
#site-header.sd-site-header .navbar-toggler .fa-times,
#site-header.sd-site-header .sd-nav-mobile-toggle .fa-bars,
#site-header.sd-site-header .sd-nav-mobile-toggle .fa-times {
    color: var(--sd-pearl-white);
    font-size: 1.35rem;
}

#site-header.sd-site-header .sd-main-nav .nav-link {
    font-family: var(--font-trajan);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sd-pearl-white) !important;
    padding: 0.35rem 0 !important;
    white-space: nowrap;
}

#site-header.sd-site-header .sd-main-nav .nav-link:hover,
#site-header.sd-site-header .sd-main-nav .nav-link.active {
    color: var(--sd-gold-chrome) !important;
    opacity: 1;
}

#site-header.sd-site-header .sd-hamburger {
    background: none;
    border: none;
    padding: 8px 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

#site-header.sd-site-header .sd-hamburger span {
    display: block;
    height: 2px;
    background: var(--sd-pearl-white);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

#site-header.sd-site-header .sd-hamburger span:nth-child(1) { width: 28px; }
#site-header.sd-site-header .sd-hamburger span:nth-child(2) { width: 22px; }
#site-header.sd-site-header .sd-hamburger span:nth-child(3) { width: 28px; }

#site-header.sd-site-header .sd-hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#site-header.sd-site-header .sd-hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

#site-header.sd-site-header .sd-hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

#site-header.sd-site-header .sd-extra-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--sd-pearl-white);
    border: 1px solid var(--sd-jet-black);
    z-index: 1050;
}

#site-header.sd-site-header .sd-extra-dropdown.is-open {
    display: block;
}

#site-header.sd-site-header .sd-extra-dropdown a {
    display: block;
    padding: 12px 20px;
    font-family: var(--font-noto);
    font-size: var(--type-body-size);
    font-style: italic;
    font-weight: 400;
    line-height: var(--type-body-lh);
    color: var(--sd-jet-black);
    text-decoration: none;
    text-align: center;
}

#site-header.sd-site-header .sd-extra-dropdown a:hover,
#site-header.sd-site-header .sd-extra-dropdown a.active {
    color: var(--sd-gold-chrome);
}

@media (min-width: 992px) {
    #site-header.sd-site-header .sd-extra-dropdown .sd-mobile-menu-item,
    #site-header.sd-site-header .sd-extra-dropdown .sd-mobile-menu-divider {
        display: none;
    }
}

#site-header.sd-site-header .sd-extra-dropdown hr {
    margin: 0;
    border-color: var(--sd-concrete-grey);
}

#site-header.sd-site-header.nav-fixed {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

#site-header.sd-site-header.nav-fixed .sd-nav-logo-box {
    background: var(--sd-pearl-white);
}

#site-header.sd-site-header.nav-fixed .sd-main-nav .nav-link {
    color: var(--sd-pearl-white) !important;
}

#site-header.sd-site-header.nav-fixed .sd-main-nav .nav-link:hover,
#site-header.sd-site-header.nav-fixed .sd-main-nav .nav-link.active {
    color: var(--sd-gold-chrome) !important;
    opacity: 1;
}

#site-header.sd-site-header.nav-fixed .sd-hamburger span {
    background: var(--sd-pearl-white);
}

#site-header.sd-site-header.nav-fixed .navbar-toggler .fa-bars,
#site-header.sd-site-header.nav-fixed .navbar-toggler .fa-times {
    color: var(--sd-pearl-white);
}

@media (min-width: 992px) {
    #site-header.sd-site-header .sd-nav-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
        justify-content: flex-end;
    }

    #site-header.sd-site-header .sd-nav-collapse .sd-main-nav {
        margin-left: auto;
    }
}

@media (max-width: 991.98px) {
    #site-header.sd-site-header .sd-site-nav {
        flex-wrap: nowrap;
        align-items: center;
        min-height: var(--sd-nav-bar-height-mobile);
    }

    #site-header.sd-site-header .sd-nav-logo-box {
        margin: var(--sd-nav-logo-margin-top-mobile) 0.75rem 0 var(--sd-nav-logo-margin-left-mobile);
    }

    #site-header.sd-site-header .sd-nav-logo-box img,
    #site-header.sd-site-header .sd-nav-logo-box .sd-nav-logo-primary {
        height: var(--sd-nav-logo-height-mobile);
        max-height: calc(var(--sd-nav-bar-height-mobile) - 12px);
    }

    #site-header.sd-site-header .sd-nav-collapse {
        display: none !important;
    }

    #site-header.sd-site-header .sd-extra-menu {
        margin-left: auto;
        padding-right: 16px;
    }

    #site-header.sd-site-header .sd-extra-dropdown {
        min-width: 220px;
    }
}

body.sd-inner-page #site-header.sd-site-header {
    background: transparent !important;
    box-shadow: none !important;
}

body.sd-inner-page #site-header.sd-site-header .sd-main-nav .nav-link {
    color: var(--sd-pearl-white) !important;
}

body.sd-inner-page #site-header.sd-site-header .sd-main-nav .nav-link:hover,
body.sd-inner-page #site-header.sd-site-header .sd-main-nav .nav-link.active {
    color: var(--sd-gold-chrome) !important;
    opacity: 1;
}

body.sd-inner-page #site-header.sd-site-header .sd-hamburger span {
    background: var(--sd-pearl-white);
}

body.sd-inner-page #site-header.sd-site-header .navbar-toggler .fa-bars,
body.sd-inner-page #site-header.sd-site-header .navbar-toggler .fa-times {
    color: var(--sd-pearl-white);
}

/* ── Hero banner ── */
.sd-hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sd-hero-banner .sd-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.sd-hero-banner .sd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.1) 0%,
        rgba(26, 26, 26, 0) 45%,
        rgba(26, 26, 26, 0.55) 100%
    );
    z-index: 1;
}

.sd-hero-banner .sd-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 3.5rem;
    padding-top: 5rem;
}

.sd-hero-banner .sd-hero-welcome {
    font-family: var(--font-trajan);
    font-size: clamp(1.35rem, 2vw + 0.4rem, 2.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--sd-pearl-white);
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.sd-hero-banner h1.sd-hero-welcome {
    font-size: clamp(1.55rem, 3.2vw + 0.4rem, 2.75rem);
    margin-bottom: 0.5rem;
}

.sd-hero-banner .sd-hero-title {
    font-family: var(--font-trajan);
    font-size: clamp(2rem, 5vw + 0.5rem, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: var(--sd-pearl-white);
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

.sd-hero-banner .sd-hero-tagline {
    font-family: var(--font-noto);
    font-size: clamp(1.1rem, 1.5vw + 0.35rem, 1.65rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: var(--sd-pearl-white);
    text-transform: uppercase;
    margin: 0;
}

.sd-hero-banner .sd-hero-cta {
    padding-bottom: 0.25rem;
}

.sd-hero-banner .sd-btn-gold {
    display: inline-block;
    font-family: var(--font-trajan);
    font-size: clamp(1rem, 1.2vw + 0.25rem, 1.35rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--sd-jet-black);
    background: var(--sd-gold-gradient);
    border: none;
    border-radius: 8px;
    padding: 1rem 2.75rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(26, 26, 26, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.sd-hero-banner .sd-btn-gold:hover {
    color: var(--sd-jet-black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(187, 148, 66, 0.45);
}

@media (max-width: 991px) {
    .sd-hero-banner .sd-hero-content {
        padding-bottom: 2.5rem;
    }

    .sd-hero-banner .sd-hero-cta {
        margin-top: 1.5rem;
    }
}

/* ── Footer redesign ── */
.sd-footer-top-divider {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 5px solid var(--sd-gold-chrome);
    height: 0;
    opacity: 1;
    background-color: var(--sd-pearl-white);
    color: transparent;
}

.sd-footer-cm .footer-sd {
    background: var(--sd-jet-black);
}

.sd-footer-cm .sd-footer-heading {
    font-family: var(--font-trajan);
    font-size: var(--type-display-s-size);
    font-weight: 700;
    line-height: var(--type-display-s-lh);
    letter-spacing: var(--type-display-s-tracking);
    color: var(--sd-pearl-white);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.sd-footer-cm .sd-footer-heading-spaced {
    margin-top: 2rem;
}

.sd-footer-cm .sd-footer-text,
.sd-footer-cm .sd-footer-contact,
.sd-footer-cm .sd-footer-links a {
    font-family: var(--font-noto);
    font-size: var(--type-body-size);
    font-weight: 400;
    font-style: italic;
    line-height: var(--type-body-lh);
    letter-spacing: var(--type-body-tracking);
    color: var(--sd-pearl-white);
}

.sd-footer-cm .sd-footer-text {
    margin-bottom: 0.35rem;
}

.sd-footer-cm .sd-footer-link,
.sd-footer-cm .sd-footer-contact a,
.sd-footer-cm .sd-footer-links a {
    color: var(--sd-pearl-white);
    text-decoration: none;
}

.sd-footer-cm .sd-footer-link:hover,
.sd-footer-cm .sd-footer-contact a:hover,
.sd-footer-cm .sd-footer-links a:hover {
    color: var(--sd-gold-chrome);
}

.sd-footer-cm .sd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sd-footer-cm .sd-footer-links li {
    margin-bottom: 0.85rem;
}

.sd-footer-cm .sd-footer-links a {
    font-style: italic;
}

.sd-footer-cm .sd-footer-contact {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.sd-footer-cm .sd-footer-contact span {
    font-style: italic;
}

.sd-footer-cm .sd-footer-logo-box {
    display: inline-block;
    background: var(--sd-pearl-white);
    padding: 14px 18px;
    margin-bottom: 1.5rem;
}

.sd-footer-cm .sd-footer-logo-box img {
    display: block;
    max-width: 220px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sd-footer-cm .sd-footer-copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sd-concrete-grey);
}

.sd-footer-cm .sd-footer-copyright p,
.sd-footer-cm .sd-footer-copyright a {
    font-family: var(--font-noto);
    font-size: var(--type-caption-size);
    font-weight: 400;
    line-height: var(--type-caption-lh);
    letter-spacing: var(--type-caption-tracking);
    color: var(--sd-concrete-grey);
    margin: 0;
}

.sd-footer-cm .sd-footer-copyright a:hover {
    color: var(--sd-gold-chrome);
}

@media (max-width: 991px) {
    .sd-footer-cm .sd-footer-brand,
    .sd-footer-cm .sd-footer-office {
        margin-top: 0.5rem;
    }
}

/* ── Piala Cahya Mata section ── */
.sd-piala-cahya-mata-section {
    position: relative;
    overflow: hidden;
}

.sd-piala-cahya-mata-section .container {
    position: relative;
}

.sd-piala-cahya-mata-section .sd-piala-title {
    font-family: var(--font-trajan);
    font-size: clamp(1.25rem, 2.2vw + 0.5rem, var(--type-display-m-size));
    font-weight: 600;
    line-height: var(--type-display-m-lh);
    letter-spacing: var(--type-display-m-tracking);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--sd-gold-chrome);
}

.sd-piala-cahya-mata-section .sd-piala-hashtag {
    font-family: var(--font-trajan);
    font-size: clamp(var(--type-display-s-size), 2.5vw + 0.5rem, var(--type-display-m-size));
    font-weight: 700;
    line-height: var(--type-display-m-lh);
    letter-spacing: var(--type-display-m-tracking);
    color: var(--sd-jet-black);
    text-transform: uppercase;
    margin: 0;
}

.sd-piala-cahya-mata-section .sd-piala-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.sd-piala-cahya-mata-section .sd-piala-subtitle {
    font-family: var(--font-noto);
    font-size: var(--type-lede-size);
    font-weight: 700;
    font-style: italic;
    line-height: var(--type-lede-lh);
    letter-spacing: var(--type-lede-tracking);
    color: var(--sd-jet-black);
    margin-bottom: 1.25rem;
}

.sd-piala-cahya-mata-section .sd-piala-text {
    font-family: var(--font-noto);
    font-size: var(--type-body-size);
    font-weight: 400;
    font-style: italic;
    line-height: var(--type-body-lh);
    letter-spacing: var(--type-body-tracking);
    color: var(--sd-jet-black);
    text-align: justify;
    margin-bottom: 1.25rem;
}

@media (max-width: 991px) {
    .sd-piala-cahya-mata-section .sd-piala-logo {
        max-width: 220px;
        margin-bottom: 0.5rem;
    }
}

/* ── Shared Piala Cahya Mata background (piala → follow) ── */
.sd-pcm-bg-zone {
    position: relative;
    background-color: var(--sd-pearl-white);
    isolation: isolate;
    overflow: hidden;
}

.sd-pcm-bg-zone__art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    line-height: 0;
}

.sd-pcm-bg-zone__art img {
    display: block;
    width: 100%;
    height: auto;
}

.sd-pcm-bg-zone > section {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* ── Legacy of Piala Cahya Mata section ── */
.sd-legacy-section {
    position: relative;
    overflow: hidden;
}

.sd-legacy-section .sd-legacy-title {
    font-family: var(--font-trajan);
    font-size: clamp(1.25rem, 2.2vw + 0.5rem, var(--type-display-m-size));
    font-weight: 600;
    line-height: var(--type-display-m-lh);
    letter-spacing: var(--type-display-m-tracking);
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 0.75rem;
    color: var(--sd-gold-chrome);
}

.sd-legacy-section .sd-legacy-subtitle {
    font-family: var(--font-noto);
    font-size: clamp(1.25rem, 1.1vw + 0.9rem, 1.625rem);
    font-weight: 700;
    font-style: italic;
    line-height: var(--type-lede-lh);
    letter-spacing: var(--type-lede-tracking);
    color: var(--sd-jet-black);
    margin: 0;
}

.sd-legacy-section .sd-legacy-text {
    font-family: var(--font-noto);
    font-size: var(--type-body-size);
    font-weight: 400;
    font-style: italic;
    line-height: var(--type-body-lh);
    letter-spacing: var(--type-body-tracking);
    color: var(--sd-jet-black);
    text-align: justify;
    margin-bottom: 1.25rem;
}

.sd-legacy-section .sd-legacy-image-wrap {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.sd-legacy-section .sd-legacy-image {
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: 50% 10%;   
    background-repeat: no-repeat;
    display: block;
}

@media (max-width: 991px) {
    .sd-legacy-section .sd-legacy-title {
        text-align: left;
    }

    .sd-legacy-section .sd-legacy-subtitle {
        text-align: left;
        margin-bottom: 1rem;
    }

    .sd-legacy-section .sd-legacy-image {
        min-height: 360px;
    }
}

/* ── Our Mission section ── */
.sd-mission-section {
    margin-top: 0;
    padding-top: 0;
}

.sd-mission-section .sd-mission-banner {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sd-mission-section .sd-mission-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 50% 75%; 
    background-repeat: no-repeat;
}

.sd-mission-section .sd-mission-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26, 26, 26, 0.1) 0%,
        rgba(26, 26, 26, 0.35) 45%,
        rgba(26, 26, 26, 0.55) 100%
    );
}

.sd-mission-section .sd-mission-banner .container {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.sd-mission-section .sd-mission-copy {
    width: fit-content;
    max-width: none;
    margin-left: auto;
}

.sd-mission-section .sd-mission-title {
    font-family: var(--font-trajan);
    font-size: clamp(var(--type-display-s-size), 3.5vw + 0.5rem, var(--type-display-l-size));
    font-weight: 700;
    line-height: var(--type-display-l-lh);
    letter-spacing: var(--type-display-l-tracking);
    text-transform: uppercase;
    color: var(--sd-pearl-white);
    margin-bottom: 1.25rem;
    text-align: center;
}

.sd-mission-section .sd-mission-intro {
    font-family: var(--font-noto);
    font-size: var(--type-lede-size);
    font-weight: 400;
    font-style: italic;
    line-height: var(--type-lede-lh);
    letter-spacing: var(--type-lede-tracking);
    color: var(--sd-pearl-white);
    margin: 0;
    text-align: justify;
}

.sd-mission-section .sd-mission-intro-line {
    display: inline;
}

@media (min-width: 992px) {
    .sd-mission-section .sd-mission-intro-line {
        display: block;
        white-space: nowrap;
    }
}

.sd-mission-section .sd-mission-pillars {
    background: #E8E8E8;
}

.sd-mission-section .sd-mission-pillars .col-lg-4 {
    background: #E8E8E8;
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid var(--sd-pearl-white);
}

.sd-mission-section .sd-mission-pillars .col-lg-4:last-child {
    border-right: none;
}

.sd-mission-section .sd-mission-pillar-title {
    font-family: var(--font-noto);
    font-size: var(--type-lede-size);
    font-weight: 700;
    font-style: italic;
    line-height: var(--type-lede-lh);
    letter-spacing: var(--type-lede-tracking);
    color: var(--sd-jet-black);
    margin-bottom: 0.75rem;
    text-align: center;
}

.sd-mission-section .sd-mission-pillar-text {
    font-family: var(--font-noto);
    font-size: var(--type-lede-size);
    font-weight: 400;
    font-style: italic;
    line-height: var(--type-lede-lh);
    letter-spacing: var(--type-lede-tracking);
    color: var(--sd-jet-black);
    margin: 0 auto;
    max-width: 320px;
    text-align: center;
}

@media (max-width: 991px) {
    .sd-mission-section .sd-mission-banner {
        min-height: 360px;
    }

    .sd-mission-section .sd-mission-banner-bg {
        background-position: center;
    }

    .sd-mission-section .sd-mission-banner-overlay {
        background: linear-gradient(
            to bottom,
            rgba(26, 26, 26, 0.2) 0%,
            rgba(26, 26, 26, 0.65) 100%
        );
    }

    .sd-mission-section .sd-mission-banner .row {
        justify-content: center !important;
    }

    .sd-mission-section .sd-mission-copy {
        width: auto;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .sd-mission-section .sd-mission-title {
        text-align: center;
    }

    .sd-mission-section .sd-mission-intro {
        text-align: center;
    }

    .sd-mission-section .sd-mission-pillars .col-lg-4 {
        border-right: none;
        border-bottom: 1px solid var(--sd-pearl-white);
    }

    .sd-mission-section .sd-mission-pillars .col-lg-4:last-child {
        border-bottom: none;
    }
}

/* ── Media section ── */
.sd-media-section {
    position: relative;
    background: transparent;
}

.sd-media-section .container {
    position: relative;
}

.sd-media-section .sd-media-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--sd-jet-black);
    border-radius: 4px;
    overflow: hidden;
}

.sd-media-section .sd-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.sd-media-section .sd-media-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 2;
}

.sd-media-section .sd-media-play-btn:hover {
    transform: scale(1.05);
}

.sd-media-section .sd-media-play-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.sd-media-section .sd-media-play-icon {
    display: block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--sd-jet-black);
}

.sd-media-section .sd-media-title {
    font-family: var(--font-trajan);
    font-size: clamp(1.25rem, 2.5vw + 0.5rem, var(--type-display-m-size));
    font-weight: 700;
    line-height: var(--type-display-m-lh);
    letter-spacing: var(--type-display-m-tracking);
    text-transform: uppercase;
    text-align: left;
    color: var(--sd-gold-chrome);
    margin-bottom: 0;
}

.sd-media-section .sd-media-subtext {
    font-family: var(--font-noto);
    font-size: var(--type-lede-size);
    font-weight: 700;
    font-style: italic;
    line-height: var(--type-lede-lh);
    letter-spacing: var(--type-lede-tracking);
    text-align: left;
    color: var(--sd-jet-black);
    margin: 0.5rem 0 0;
}

.sd-media-section .sd-media-social {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.sd-media-section .sd-media-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sd-jet-black);
    color: var(--sd-pearl-white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.sd-media-section .sd-media-social a:hover {
    color: var(--sd-pearl-white);
}

.sd-media-section .sd-media-social a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sd-media-section .sd-media-social a[aria-label="Facebook"]:hover {
    background: #1877f2;
}

.sd-media-section .sd-media-social a[aria-label="TikTok"]:hover {
    background: #010101;
    box-shadow: 2px 0 0 #25f4ee, -2px 0 0 #fe2c55;
}

.sd-media-section .sd-media-divider {
    margin: 2.5rem 0 0;
    border: 0;
    border-top: 5px solid var(--sd-gold-chrome);
    opacity: 1;
}

@media (max-width: 991px) {
    .sd-media-section .sd-media-social {
        justify-content: flex-start;
    }
}

/* ── Partners section (home page) ── */
.sd-partners-section {
    position: relative;
    background: transparent;
}

.sd-partners-section .container {
    position: relative;
}

.sd-partners-section .sd-partners-title {
    font-family: var(--font-trajan);
    font-size: clamp(1.25rem, 2.5vw + 0.5rem, var(--type-display-m-size));
    font-weight: 700;
    line-height: var(--type-display-m-lh);
    letter-spacing: var(--type-display-m-tracking);
    text-transform: uppercase;
    color: var(--sd-gold-chrome);
    margin-bottom: 0;
}

.sd-partners-section .sd-partners-logo {
    height: auto;
    object-fit: contain;
}

.sd-partners-section .sd-partners-logo-tvs {
    max-height: 56px;
}

.sd-partners-section .sd-partners-logo-mstudios {
    max-height: 72px;
}

.sd-partners-section .sd-partners-logo-media-prima {
    max-height: 86px;
    display: inline-block;
}

.sd-partners-section .sd-partners-association {
    margin: 0;
}

/* ── Follow CTA section (above footer) ── */
.sd-follow-section {
    position: relative;
}

.sd-follow-section h3.sd-follow-cta {
    font-family: 'Trajan Pro 3', 'Trajan Pro', serif;
    font-size: clamp(var(--type-display-s-size), 3.5vw + 0.5rem, var(--type-display-l-size));
    font-weight: 700;
    font-style: normal;
    line-height: var(--type-display-l-lh);
    letter-spacing: var(--type-display-l-tracking);
    text-transform: uppercase;
    color: var(--sd-jet-black);
    margin: 2rem 0 1rem;
}

.sd-follow-section .sd-follow-text {
    font-family: var(--font-noto);
    font-size: var(--type-body-size);
    font-weight: 700;
    font-style: italic;
    line-height: var(--type-body-lh);
    letter-spacing: var(--type-body-tracking);
    color: var(--sd-jet-black);
    max-width: 640px;
    margin: 0 auto 1rem;
}

.sd-follow-section .sd-follow-hashtag {
    font-family: var(--font-trajan);
    font-size: clamp(var(--type-display-s-size), 2.5vw + 0.5rem, var(--type-display-m-size));
    font-weight: 700;
    line-height: var(--type-display-m-lh);
    letter-spacing: var(--type-display-m-tracking);
    text-transform: uppercase;
    color: var(--sd-jet-black);
    margin-bottom: 1.5rem;
}

.sd-follow-section .sd-follow-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.sd-follow-section .sd-follow-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sd-jet-black);
    color: var(--sd-pearl-white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.sd-follow-section .sd-follow-social a:hover {
    color: var(--sd-pearl-white);
}

.sd-follow-section .sd-follow-social a[aria-label="Website"]:hover {
    background: #0a66c2;
}

.sd-follow-section .sd-follow-social a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sd-follow-section .sd-follow-social a[aria-label="Facebook"]:hover {
    background: #1877f2;
}

.sd-follow-section .sd-follow-social a[aria-label="TikTok"]:hover {
    background: #010101;
    box-shadow: 2px 0 0 #25f4ee, -2px 0 0 #fe2c55;
}

.sd-follow-section .sd-follow-social a[aria-label="YouTube"]:hover {
    background: #ff0000;
}

/* ── Inner page breadcrumb banner ── */
.breadcrumb-bg-about {
    background: url('../images/hero-bg-brd.png') no-repeat center center;
    background-size: cover;
}

.breadcrumb-bg-about::before {
    display: none;
}

.breadcrumbs-custom-path li,
.breadcrumbs-custom-path a {
    font-family: var(--font-trajan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.breadcrumbs-custom-path a,
.breadcrumbs-custom-path a:hover,
.breadcrumbs-custom-path a:active,
.breadcrumbs-custom-path a:focus {
    color: var(--sd-gold-chrome);
}

/* ── Match result/fixture cards ── */
.match-card:hover {
    background-color: var(--sd-gold-chrome-light);
    border-color: var(--sd-gold-chrome);
    box-shadow: 0 10px 24px rgba(187, 148, 66, 0.35);
}

.match-card:hover .match-btn:not(.disabled) {
    background-color: var(--sd-gold-chrome);
    color: #fff;
}

.match-btn:hover:not(.disabled) {
    background-color: var(--sd-gold-chrome);
    color: #fff;
}

.penalty-note {
    color: var(--sd-gold-chrome) !important;
}

.bye-advance-note {
    color: var(--sd-gold-chrome) !important;
}

.badge-draw {
    background-color: var(--sd-gold-chrome) !important;
    color: #fff !important;
}

.badge-draw.badge-result:hover,
.badge-result.badge-draw:hover {
    background-color: var(--sd-gold-chrome) !important;
}

.badge-result.badge-gold-chrome,
.badge.badge-gold-chrome,
.badge-gold-chrome {
    background-color: var(--sd-gold-chrome) !important;
    color: #fff !important;
}

.badge-result {
    padding: 0.4rem 0.7rem;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    min-width: 2.5rem;
    text-align: center;
}

/* Team detail profile modal photo — center the fixed-width .player-img block */
#profileModal .profile-modal-photo,
#profileModal .player-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Keep profile modal above fixed site header; make close control obvious */
#profileModal {
    z-index: 2000 !important;
}
#profileModal .btn-close {
    background-image: none !important;
    width: auto;
    height: auto;
    opacity: 1;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}
#profileModal .btn-close::before {
    content: '\00d7';
    display: block;
    color: #000;
    font-weight: 700;
}
