/* DFND public website - Nov 2026 redesign (dark theme)
   Used by Marketing.master (Home, Explore, About, Instructors, Contact) and,
   for the header, footer and title band, by PublicSite.master.
   Same palette as the DFND app (Dfend/Resources/Styles/Colors.xaml) and the
   logged-in web app (css/custom.css). */

:root {
    --dfnd-page: #121212;
    --dfnd-surface: #1b1b1b;
    --dfnd-card: #232323;
    --dfnd-line: rgba(255, 255, 255, .08);
    --dfnd-gold: #d4b46a;
    --dfnd-gold-light: #e6cd8c;
    --dfnd-gold-dark: #b8964f;
    --dfnd-gold-line: rgba(212, 180, 106, .35);
    --dfnd-on-gold: #1a160e;
    --dfnd-text: #f2efe8;
    --dfnd-muted: #a9a9a9;
}

html, body.dfnd-site {
    background: var(--dfnd-page);
}

body.dfnd-site {
    margin: 0;
    color: var(--dfnd-text);
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: radial-gradient(ellipse at top, #1c1c1c 0%, var(--dfnd-page) 60%) fixed;
}

.dfnd-site a {
    color: var(--dfnd-gold);
}

    .dfnd-site a:hover, .dfnd-site a:focus {
        color: var(--dfnd-gold-light);
        text-decoration: none;
    }

.dfnd-site h1, .dfnd-site h2, .dfnd-site h3, .dfnd-site h4 {
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    color: var(--dfnd-text);
    letter-spacing: -.5px;
}

.dfnd-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.dfnd-gold {
    color: var(--dfnd-gold);
}

.dfnd-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--dfnd-gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.dfnd-rule {
    height: 1px;
    margin: 0;
    border: 0;
    background: var(--dfnd-line);
}

/* ---------- Buttons ---------- */

.dfnd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

    .dfnd-btn:hover {
        transform: translateY(-1px);
    }

.dfnd-site .dfnd-btn-gold {
    color: var(--dfnd-on-gold);
    background: linear-gradient(135deg, var(--dfnd-gold-light), var(--dfnd-gold-dark));
    border: 0;
    box-shadow: 0 6px 18px rgba(212, 180, 106, .18);
}

    .dfnd-site .dfnd-btn-gold:hover, .dfnd-site .dfnd-btn-gold:focus {
        color: var(--dfnd-on-gold);
        box-shadow: 0 8px 24px rgba(212, 180, 106, .3);
    }

.dfnd-site .dfnd-btn-outline {
    color: var(--dfnd-gold-light);
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--dfnd-gold-line);
}

    .dfnd-site .dfnd-btn-outline:hover, .dfnd-site .dfnd-btn-outline:focus {
        color: var(--dfnd-gold-light);
        border-color: var(--dfnd-gold);
        background: rgba(212, 180, 106, .06);
    }

/* ---------- Header ---------- */

.dfnd-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, .94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--dfnd-gold-line);
}

    .dfnd-header .dfnd-wrap {
        display: flex;
        align-items: center;
        gap: 24px;
        min-height: 84px;
    }

.dfnd-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

.dfnd-site .dfnd-logo:hover {
    text-decoration: none;
}

.dfnd-logo__mark {
    color: var(--dfnd-text);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.dfnd-logo__by {
    margin-top: 4px;
    color: var(--dfnd-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.dfnd-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

    .dfnd-nav a {
        display: block;
        padding: 8px 12px;
        color: var(--dfnd-text);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .5px;
        text-transform: uppercase;
        border-bottom: 2px solid transparent;
    }

        .dfnd-nav a:hover, .dfnd-nav a.active {
            color: var(--dfnd-gold);
            border-bottom-color: var(--dfnd-gold);
        }

.dfnd-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-left: 22px;
    border-left: 1px solid var(--dfnd-gold-line);
}

.dfnd-site .dfnd-login {
    color: var(--dfnd-text);
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}

.dfnd-header .dfnd-btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 13px;
}

.dfnd-menu-toggle {
    display: none;
    width: 46px;
    height: 42px;
    margin-left: auto;
    padding: 0 11px;
    background: transparent;
    border: 1px solid var(--dfnd-gold-line);
    border-radius: 8px;
    cursor: pointer;
}

    .dfnd-menu-toggle span {
        display: block;
        height: 2px;
        margin: 6px 0;
        background: var(--dfnd-gold);
        border-radius: 2px;
    }

@media (max-width: 991px) {
    .dfnd-menu-toggle {
        display: block;
    }

    .dfnd-header .dfnd-wrap {
        flex-wrap: wrap;
        gap: 0;
        min-height: 70px;
    }

    .dfnd-header__menu {
        display: none;
        width: 100%;
        padding: 6px 0 18px;
    }

    .dfnd-header.open .dfnd-header__menu {
        display: block;
    }

    .dfnd-nav {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
    }

        .dfnd-nav a {
            padding: 12px 4px;
            font-size: 15px;
            border-bottom: 1px solid var(--dfnd-line);
        }

    .dfnd-header__actions {
        flex-wrap: wrap;
        padding: 16px 0 0;
        border-left: 0;
    }

    .dfnd-logo__mark {
        font-size: 30px;
    }
}

@media (min-width: 992px) {
    .dfnd-header__menu {
        display: flex;
        align-items: center;
        gap: 22px;
        margin-left: auto;
    }
}

/* social icons down the right-hand edge (desktop) */
.dfnd-social {
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 18px 0 18px 14px;
    border-left: 1px solid var(--dfnd-gold-line);
    transform: translateY(-50%);
}

    .dfnd-social a {
        color: var(--dfnd-text);
        font-size: 22px;
        line-height: 1;
        opacity: .85;
    }

        .dfnd-social a:hover {
            color: var(--dfnd-gold);
            opacity: 1;
        }

@media (max-width: 1340px) {
    .dfnd-social {
        display: none;
    }
}

/* ---------- Sections ---------- */

.dfnd-section {
    padding: 64px 0;
}

.dfnd-section--tight {
    padding: 40px 0;
}

.dfnd-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 991px) {
    .dfnd-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dfnd-section {
        padding: 44px 0;
    }
}

/* Hero */
.dfnd-hero {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: center;
    padding: 56px 0 48px;
}

.dfnd-hero__mark {
    margin: 0;
    font-size: clamp(64px, 9vw, 104px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -4px;
}

.dfnd-hero__title {
    margin: 10px 0 18px;
    color: var(--dfnd-gold);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
}

.dfnd-hero__sub {
    margin: 0;
    color: #cfcbc2;
    font-size: 19px;
}

.dfnd-video {
    position: relative;
    overflow: hidden;
    background: #000;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
    aspect-ratio: 16 / 9;
}

    .dfnd-video video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media (max-width: 991px) {
    .dfnd-hero {
        grid-template-columns: 1fr;
        padding: 36px 0 32px;
    }
}

/* What is DFND / With DFND you can */
.dfnd-about {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 0;
}

    .dfnd-about > div:first-child {
        padding-right: 40px;
    }

    .dfnd-about > div:last-child {
        padding-left: 40px;
        border-left: 1px solid var(--dfnd-line);
    }

.dfnd-about h2 {
    margin: 0 0 18px;
    font-size: clamp(36px, 4.4vw, 52px);
}

.dfnd-about h3 {
    margin: 0 0 22px;
    font-size: 28px;
}

.dfnd-about p {
    color: #d6d2c9;
}

.dfnd-checks {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .dfnd-checks li {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 18px;
        color: #d6d2c9;
        font-size: 16px;
        line-height: 1.45;
    }

        .dfnd-checks li::before {
            content: "\2713";
            flex: 0 0 44px;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dfnd-gold-light);
            font-size: 22px;
            border: 1px solid var(--dfnd-gold-line);
            border-radius: 50%;
            background: radial-gradient(circle, rgba(212, 180, 106, .14), rgba(212, 180, 106, .02));
        }

@media (max-width: 991px) {
    .dfnd-about {
        grid-template-columns: 1fr;
    }

        .dfnd-about > div:first-child {
            padding-right: 0;
            padding-bottom: 32px;
        }

        .dfnd-about > div:last-child {
            padding-left: 0;
            padding-top: 32px;
            border-left: 0;
            border-top: 1px solid var(--dfnd-line);
        }
}

/* Explore teaser with 2x2 photo grid */
.dfnd-teaser h2 {
    margin: 0 0 16px;
    font-size: clamp(36px, 4.4vw, 52px);
    line-height: 1.08;
}

.dfnd-teaser p {
    max-width: 440px;
    margin-bottom: 30px;
    color: #cfcbc2;
    font-size: 19px;
}

.dfnd-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    background: #2a2a2a;
    border-radius: 10px;
}

    .dfnd-photo-grid img {
        display: block;
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 6px;
    }

/* Get started */
.dfnd-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

    .dfnd-cta h2 {
        margin: 0 0 14px;
        font-size: clamp(32px, 3.8vw, 44px);
        line-height: 1.1;
    }

    .dfnd-cta p {
        margin: 0;
        color: #cfcbc2;
    }

.dfnd-cta__action {
    min-width: 230px;
    text-align: center;
}

    .dfnd-cta__action .dfnd-btn {
        width: 100%;
        margin-bottom: 12px;
    }

    .dfnd-cta__action span {
        color: #cfcbc2;
    }

    .dfnd-cta__action a.dfnd-link {
        color: var(--dfnd-text);
        text-decoration: underline;
    }

@media (max-width: 767px) {
    .dfnd-cta {
        grid-template-columns: 1fr;
    }
}

/* ---------- Explore page ---------- */

.dfnd-explore-hero {
    position: relative;
    min-height: 340px;
    margin-top: 32px;
    overflow: hidden;
    border-radius: 10px;
    background: #000 url('../images/site/dfnd-training-2.png') right center / cover no-repeat;
}

    .dfnd-explore-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #121212 0%, rgba(18, 18, 18, .92) 40%, rgba(18, 18, 18, .2) 100%);
    }

.dfnd-explore-hero__text {
    position: relative;
    max-width: 560px;
    padding: 48px 40px;
}

    .dfnd-explore-hero__text h1 {
        margin: 0 0 14px;
        font-size: clamp(40px, 5vw, 60px);
    }

    .dfnd-explore-hero__text p {
        color: #d6d2c9;
    }

.dfnd-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0 12px;
    padding: 12px 20px;
    background: linear-gradient(180deg, #232323, #181818);
    border: 1px solid #2c2c2c;
    border-left: 4px solid var(--dfnd-gold);
    border-radius: 4px;
}

    .dfnd-row-head h2 {
        margin: 0;
        font-family: "Oswald", "DM Sans", Arial, sans-serif;
        font-size: 30px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .dfnd-row-head a {
        color: var(--dfnd-text);
        font-size: 15px;
        text-decoration: underline;
    }

.dfnd-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.dfnd-tile {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #000;
    border: 1px solid #2c2c2c;
    border-radius: 8px;
    cursor: pointer;
}

    .dfnd-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

    .dfnd-tile:hover img {
        transform: scale(1.04);
    }

.dfnd-tile__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34%;
    padding: 6px 16px;
    color: #fff;
    font-family: "Oswald", "DM Sans", Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .25));
}

.dfnd-tile__play, .dfnd-tile__lock {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.dfnd-tile__play {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    font-size: 15px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(0, 0, 0, .35);
}

.dfnd-tile__lock {
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    font-size: 20px;
    background: rgba(0, 0, 0, .55);
    border-bottom-left-radius: 8px;
}

.dfnd-tile__free {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 2px 10px;
    color: var(--dfnd-on-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--dfnd-gold);
    border-radius: 4px;
}

/* register / log in prompt when a visitor taps a tile */
.dfnd-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .7);
}

    .dfnd-modal-backdrop.open {
        display: flex;
    }

.dfnd-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 34px 30px 28px;
    text-align: center;
    background: var(--dfnd-surface);
    border: 1px solid var(--dfnd-gold-line);
    border-radius: 12px;
}

    .dfnd-modal h3 {
        margin: 0 0 10px;
        font-size: 26px;
    }

    .dfnd-modal p {
        color: #cfcbc2;
    }

    .dfnd-modal .dfnd-btn {
        width: 100%;
        margin-top: 10px;
    }

.dfnd-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: var(--dfnd-muted);
    font-size: 28px;
    line-height: 1;
    background: none;
    border: 0;
    cursor: pointer;
}

/* ---------- Content pages (About, Instructors, Contact) ---------- */

.dfnd-page-head {
    padding: 56px 0 24px;
}

    .dfnd-page-head h1 {
        margin: 0;
        font-size: clamp(40px, 5vw, 60px);
        line-height: 1.05;
    }

.dfnd-prose {
    max-width: 820px;
    color: #d6d2c9;
}

    .dfnd-prose h2 {
        margin-top: 0;
        font-size: 28px;
        line-height: 1.25;
    }

.dfnd-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.dfnd-person {
    display: block;
    overflow: hidden;
    background: var(--dfnd-surface);
    border: 1px solid #2c2c2c;
    border-radius: 10px;
    transition: border-color .15s ease, transform .15s ease;
}

    .dfnd-person:hover {
        border-color: var(--dfnd-gold-line);
        transform: translateY(-2px);
    }

    .dfnd-person img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        object-position: top;
    }

.dfnd-person__body {
    padding: 14px 16px 18px;
}

.dfnd-person__name {
    color: var(--dfnd-gold);
    font-size: 18px;
    font-weight: 700;
}

.dfnd-person__role {
    color: var(--dfnd-muted);
    font-size: 14px;
}

/* form fields (contact page) */
.dfnd-site .form-control {
    height: auto;
    min-height: 48px;
    padding: 10px 14px;
    color: var(--dfnd-text);
    font-size: 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: none;
}

    .dfnd-site .form-control:focus {
        border-color: var(--dfnd-gold);
        box-shadow: 0 0 0 3px rgba(212, 180, 106, .15);
    }

.dfnd-site label {
    color: #d6d2c9;
    font-weight: 500;
}

.dfnd-site .btn-warning, .dfnd-site input[type=submit].btn {
    min-height: 48px;
    padding: 10px 28px;
    color: var(--dfnd-on-gold);
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--dfnd-gold-light), var(--dfnd-gold-dark));
    border: 0;
    border-radius: 8px;
}

/* ---------- Footer ---------- */

.dfnd-footer {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid var(--dfnd-line);
    background: #0e0e0e;
}

    .dfnd-footer .dfnd-wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }

.dfnd-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--dfnd-muted);
    font-size: 14px;
}

    .dfnd-footer__links a {
        color: var(--dfnd-muted);
    }

        .dfnd-footer__links a:hover {
            color: var(--dfnd-gold);
        }

.dfnd-footer__social {
    display: flex;
    gap: 18px;
    font-size: 20px;
}

    .dfnd-footer__social a {
        color: var(--dfnd-text);
    }

/* =====================================================================
   PublicSite.master (every page not yet on Marketing.master, including the
   logged-in web app) now uses the same header and footer as above.
   ===================================================================== */

.dfnd-site .dfnd-login.active {
    color: var(--dfnd-gold);
}

/* the logged-in training menu is longer, so collapse to the hamburger sooner */
.dfnd-header--app .dfnd-nav {
    gap: 2px;
}

    .dfnd-header--app .dfnd-nav a {
        padding: 8px 9px;
        font-size: 12px;
    }

@media (min-width: 992px) and (max-width: 1279px) {
    .dfnd-header--app .dfnd-menu-toggle {
        display: block;
    }

    .dfnd-header--app.dfnd-header .dfnd-wrap {
        flex-wrap: wrap;
        gap: 0;
        min-height: 70px;
    }

    .dfnd-header--app .dfnd-header__menu {
        display: none;
        width: 100%;
        padding: 6px 0 18px;
    }

    .dfnd-header--app.open .dfnd-header__menu {
        display: block;
    }

    .dfnd-header--app .dfnd-nav {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
    }

        .dfnd-header--app .dfnd-nav a {
            padding: 12px 4px;
            font-size: 15px;
            border-bottom: 1px solid var(--dfnd-line);
        }

    .dfnd-header--app .dfnd-header__actions {
        padding: 16px 0 0;
        border-left: 0;
    }
}

@media (max-width: 991px) {
    .dfnd-header--app .dfnd-nav a {
        padding: 12px 4px;
        font-size: 15px;
    }
}

/* page title band: the per-page photo (set in PublicSite.master.vb) sits under a dark wash */
.dfnd-pagebanner {
    padding: 70px 0 54px;
    background-color: var(--dfnd-surface);
    background-position: center !important;
    box-shadow: inset 0 0 0 2000px rgba(18, 18, 18, .74);
    border-bottom: 1px solid var(--dfnd-line);
}

.dfnd-pagebanner__title {
    margin: 0;
    color: var(--dfnd-text) !important;
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.5px;
}

/* testimonials / meet the instructors carousels under the old public pages */
.dfnd-band {
    padding: 56px 0 64px;
    text-align: center;
    background: var(--dfnd-page);
    border-top: 1px solid var(--dfnd-line);
}

.dfnd-band__title {
    margin: 0 0 6px;
    color: var(--dfnd-text) !important;
    font-family: "Oswald", "DM Sans", Arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dfnd-band__sub {
    margin: 0 0 24px;
    color: var(--dfnd-muted);
}

.dfnd-band .testimonials {
    background-image: none !important;
}

.dfnd-band .image {
    overflow: hidden;
    border: 1px solid #2c2c2c !important;
    border-radius: 10px;
}

    .dfnd-band .image > a > div:last-child {
        background: var(--dfnd-surface) !important;
    }

/* old pages: links and body text in the new palette (was gold with a lawngreen hover) */
body.dfnd-legacy {
    color: var(--dfnd-text);
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

    body.dfnd-legacy a {
        color: var(--dfnd-gold);
    }

        body.dfnd-legacy a:hover, body.dfnd-legacy a:focus {
            color: var(--dfnd-gold-light);
        }

    body.dfnd-legacy .dfnd-nav a {
        color: var(--dfnd-text);
    }

        body.dfnd-legacy .dfnd-nav a:hover, body.dfnd-legacy .dfnd-nav a.active {
            color: var(--dfnd-gold);
        }

    body.dfnd-legacy .dfnd-btn-gold, body.dfnd-legacy .dfnd-btn-gold:hover {
        color: var(--dfnd-on-gold);
    }

    body.dfnd-legacy .dfnd-footer__links a {
        color: var(--dfnd-muted);
    }

        body.dfnd-legacy .dfnd-footer__links a:hover {
            color: var(--dfnd-gold);
        }

    body.dfnd-legacy .dfnd-footer {
        margin-top: 0;
    }

    body.dfnd-legacy .dfnd-social a, body.dfnd-legacy .dfnd-footer__social a {
        color: var(--dfnd-text);
    }

        body.dfnd-legacy .dfnd-social a:hover, body.dfnd-legacy .dfnd-footer__social a:hover {
            color: var(--dfnd-gold);
        }

/* ---------- Login page (Customer_login.aspx) ---------- */

.dfnd-auth {
    padding: 72px 0 80px;
    background: radial-gradient(ellipse at top left, #1f1c16 0%, var(--dfnd-page) 55%);
}

.dfnd-auth__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
}

.dfnd-auth__intro h1 {
    margin: 0 0 16px;
    color: var(--dfnd-text) !important;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
}

    .dfnd-auth__intro h1 .dfnd-gold {
        color: var(--dfnd-gold);
    }

.dfnd-auth__intro p {
    max-width: 520px;
    color: #d6d2c9;
}

.dfnd-auth__new {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: 520px;
    margin-top: 30px;
    padding: 22px 24px;
    background: var(--dfnd-surface);
    border: 1px solid var(--dfnd-line);
    border-left: 4px solid var(--dfnd-gold);
    border-radius: 8px;
}

    .dfnd-auth__new span {
        color: var(--dfnd-muted);
        font-size: 15px;
    }

    .dfnd-auth__new .dfnd-btn {
        min-height: 44px;
        margin-top: 10px;
        padding: 10px 22px;
        font-size: 14px;
    }

.dfnd-auth__card {
    padding: 34px 32px 28px;
    background: linear-gradient(160deg, #232323, #181818);
    border: 1px solid var(--dfnd-gold-line);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

    .dfnd-auth__card h2 {
        margin: 0 0 22px;
        color: var(--dfnd-text) !important;
        font-family: "Oswald", "DM Sans", Arial, sans-serif;
        font-size: 26px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .dfnd-auth__card .form-control {
        color: var(--dfnd-text) !important;
        background: #141414 !important;
        border: 1px solid #333 !important;
    }

.dfnd-auth__submit {
    width: 100%;
    margin-top: 6px;
}

.dfnd-auth__forgot {
    margin-top: 18px;
    text-align: center;
    font-size: 15px;
}

.dfnd-auth__forgotpanel {
    margin-top: 16px;
    text-align: left;
}

    .dfnd-auth__forgotpanel .btn {
        width: 100%;
        min-height: 46px;
    }

@media (max-width: 991px) {
    .dfnd-auth {
        padding: 40px 0 56px;
    }

    .dfnd-auth__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dfnd-auth__card {
        order: -1;
        padding: 26px 20px 22px;
    }
}

/* logged-in header: keep every item on one line */
.dfnd-header--app .dfnd-wrap {
    max-width: 1320px;
}

.dfnd-header .dfnd-logo,
.dfnd-header .dfnd-nav a,
.dfnd-header .dfnd-header__actions a {
    white-space: nowrap;
}

.dfnd-header .dfnd-logo {
    flex-shrink: 0;
}

.dfnd-header--app .dfnd-nav a {
    letter-spacing: .3px;
}

.dfnd-header--app .dfnd-header__actions {
    gap: 14px;
    padding-left: 18px;
}

.dfnd-site.dfnd-header--app .dfnd-login {
    font-size: 13px;
}

.dfnd-header--app .dfnd-btn {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 12px;
}

/* old page surfaces: charcoal instead of pure black */
body.dfnd-legacy .content-wrapper {
    background-color: transparent !important;
}

body.dfnd-legacy .panel {
    background-color: var(--dfnd-surface);
    border-color: #2c2c2c;
}

body.dfnd-legacy .table-striped > tbody > tr:nth-of-type(odd),
body.dfnd-legacy .table-hover > tbody > tr:hover {
    background-color: var(--dfnd-surface);
}

body.dfnd-legacy .nav-tabs > li > a:hover {
    color: var(--dfnd-gold-light);
}

/* ---------- Home hero with the portrait intro video ---------- */

.dfnd-hero--portrait {
    grid-template-columns: 1fr auto;
    gap: 56px;
}

.dfnd-video--portrait {
    width: 340px;
    aspect-ratio: 9 / 16;
}

    .dfnd-video--portrait iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

@media (max-width: 991px) {
    .dfnd-hero--portrait {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .dfnd-video--portrait {
        width: min(340px, 100%);
    }
}

/* ---------- Content rows (dashboard + Explore) - UserControls/ctlContentRows.ascx ---------- */

.dfnd-rows .dfnd-rowtitle {
    margin: 30px 0 12px 0;
    padding: 10px 16px;
    color: var(--dfnd-text) !important;
    font-family: "Oswald", "DM Sans", Arial, sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
    background: linear-gradient(180deg, #232323, #181818);
    border: 1px solid #2c2c2c;
    border-left: 4px solid var(--dfnd-gold);
    border-radius: 4px;
}

.dfnd-scroller {
    position: relative;
}

.dfnd-scroller__row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 2px 0 8px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .dfnd-scroller__row::-webkit-scrollbar {
        display: none;
    }

.dfnd-scroller__arrow {
    position: absolute;
    top: calc(50% - 4px);
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--dfnd-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    background: rgba(18, 18, 18, .88);
    border: 1px solid var(--dfnd-gold-line);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
    transform: translateY(-50%);
    cursor: pointer;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}

    .dfnd-scroller__arrow:hover, .dfnd-scroller__arrow:focus-visible {
        color: var(--dfnd-on-gold);
        background: var(--dfnd-gold);
        border-color: var(--dfnd-gold);
        outline: none;
    }

.dfnd-scroller__arrow--left {
    left: -10px;
}

.dfnd-scroller__arrow--right {
    right: -10px;
}

.dfnd-scroller.can-left .dfnd-scroller__arrow--left,
.dfnd-scroller.can-right .dfnd-scroller__arrow--right {
    display: flex;
}

.dfnd-ctile {
    position: relative;
    flex: 0 0 auto;
    width: 267px;
    height: 150px;
    overflow: hidden;
    background: var(--dfnd-card);
    border: 1px solid #2c2c2c;
    border-radius: 10px;
    scroll-snap-align: start;
    transition: border-color .15s ease;
}

    .dfnd-ctile:hover {
        border-color: var(--dfnd-gold);
    }

    .dfnd-ctile > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.dfnd-ctile__text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 8px 10px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0));
}

.dfnd-ctile__locked {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .6);
}

    .dfnd-ctile__locked img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

.dfnd-ctile__hit {
    position: absolute;
    inset: 0;
    z-index: 3;
}

@media (max-width: 767px) {
    .dfnd-rows .dfnd-rowtitle {
        font-size: 21px;
    }

    .dfnd-ctile {
        width: 220px;
        height: 124px;
    }

    .dfnd-scroller__arrow {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .dfnd-scroller__arrow--left {
        left: -4px;
    }

    .dfnd-scroller__arrow--right {
        right: -4px;
    }
}

/* ---------- Attention button (Claim Your Complimentary Session) ---------- */

.dfnd-shine {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 12px 26px !important;
    font-size: 17px !important;
    box-shadow: 0 0 0 0 rgba(212, 180, 106, .55);
    animation: dfnd-pulse 2.6s ease-out infinite;
}

    .dfnd-shine::after {
        content: "";
        position: absolute;
        top: -20%;
        left: -60%;
        width: 40%;
        height: 140%;
        background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .65) 50%, rgba(255, 255, 255, 0) 100%);
        transform: skewX(-20deg);
        animation: dfnd-shine 2.6s ease-in-out infinite;
        pointer-events: none;
    }

@keyframes dfnd-shine {
    0% {
        left: -60%;
    }

    55%, 100% {
        left: 130%;
    }
}

@keyframes dfnd-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 180, 106, .55);
    }

    70%, 100% {
        box-shadow: 0 0 0 14px rgba(212, 180, 106, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dfnd-shine, .dfnd-shine::after {
        animation: none;
    }
}

/* ---------- Video player (customervideo, levelup, coursecomplete) ----------
   No big play button - it sat right over the title baked into the thumbnails.
   The video autoplays instead (like YouTube); if the browser won't allow sound
   it plays muted with a "Tap for sound" button (.dfnd-unmute). Rounded corners. */

.dfnd-playerwrap {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

    .dfnd-playerwrap.embed-responsive {
        border-radius: 14px;
    }

.video-js.dfnd-player {
    overflow: hidden;
    border-radius: 14px;
}

    .video-js.dfnd-player .vjs-big-play-button {
        display: none !important;
    }

    .video-js.dfnd-player .vjs-control-bar {
        background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .35));
    }

    .video-js.dfnd-player .vjs-play-progress,
    .video-js.dfnd-player .vjs-volume-level {
        background-color: #ff0000;
    }

.dfnd-unmute {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    background: rgba(0, 0, 0, .7);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px;
    cursor: pointer;
}

    .dfnd-unmute.show {
        display: inline-flex;
    }

    .dfnd-unmute:hover {
        background: rgba(0, 0, 0, .85);
    }

/* ---------- Messages page tabs ---------- */

.dfnd-tabs {
    display: flex;
    gap: 6px;
    margin: 10px 0 0 0;
    padding: 0;
    border-bottom: 1px solid var(--dfnd-line);
}

    .dfnd-tabs button {
        padding: 10px 18px;
        margin-bottom: -1px;
        color: var(--dfnd-muted);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: .4px;
        text-transform: uppercase;
        background: none;
        border: 0;
        border-bottom: 2px solid transparent;
        cursor: pointer;
    }

        .dfnd-tabs button:hover {
            color: var(--dfnd-text);
        }

        .dfnd-tabs button.active {
            color: var(--dfnd-gold-light);
            border-bottom-color: var(--dfnd-gold);
        }

    .dfnd-tabs .dfnd-count {
        display: inline-block;
        min-width: 22px;
        margin-left: 6px;
        padding: 1px 7px;
        color: var(--dfnd-on-gold);
        font-size: 12px;
        line-height: 18px;
        text-align: center;
        background: var(--dfnd-gold);
        border-radius: 11px;
    }

.dfnd-tabpanel {
    display: none;
    padding: 18px 0;
}

    .dfnd-tabpanel.active {
        display: block;
    }

.dfnd-msg {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 10px 0;
    padding: 14px 16px;
    background: var(--dfnd-surface);
    border: 1px solid var(--dfnd-line);
    border-radius: 10px;
}

    .dfnd-msg.unread {
        border-color: var(--dfnd-gold-line);
    }

        .dfnd-msg.unread::before {
            content: "";
            flex: 0 0 auto;
            width: 9px;
            height: 9px;
            background: var(--dfnd-gold);
            border-radius: 50%;
        }

.dfnd-msg__body {
    flex: 1 1 auto;
    min-width: 0;
}

.dfnd-msg__meta {
    color: var(--dfnd-muted);
    font-size: 13px;
}

    .dfnd-msg__meta b {
        color: var(--dfnd-text);
        font-size: 15px;
    }

.dfnd-msg__text {
    margin-top: 6px;
    color: #d9d6cf;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.dfnd-msg__preview {
    margin-top: 4px;
    overflow: hidden;
    color: #cfccc4;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dfnd-msg .btn {
    flex: 0 0 auto;
}

.dfnd-msgfilter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--dfnd-muted);
}

.dfnd-empty {
    padding: 30px 10px;
    color: var(--dfnd-muted);
    text-align: center;
}

@media (max-width: 600px) {
    .dfnd-msg {
        flex-wrap: wrap;
    }

        .dfnd-msg .btn {
            width: 100%;
        }
}

/* ---------- Event purchase / booked box, promotions cards, delete-account checklist ---------- */

.dfnd-eventbox {
    margin: 18px 0;
    padding: 18px 20px;
    background: var(--dfnd-surface);
    border: 1px solid var(--dfnd-gold-line);
    border-radius: 10px;
}

    .dfnd-eventbox h3 {
        color: var(--dfnd-text) !important;
        font-size: 22px;
    }

.dfnd-checklist {
    margin: 6px 0 0 0;
    padding: 0;
    list-style: none;
}

    .dfnd-checklist li {
        margin: 8px 0;
    }

.dfnd-checklist label, .dfnd-check label {
    display: inline !important;
    margin: 0 0 0 8px !important;
    color: var(--dfnd-text);
    font-weight: 400 !important;
}

.dfnd-checklist input, .dfnd-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    vertical-align: -3px;
    accent-color: var(--dfnd-gold);
}

.dfnd-btn-danger, .dfnd-btn-danger:focus {
    color: #fff !important;
    background: #b3261e !important;
    border: 0 !important;
    border-radius: 8px;
}

    .dfnd-btn-danger:hover {
        color: #fff !important;
        background: #d0342b !important;
    }
