/* =====================================================================================
   Steppin' Out page design system (the "td-" classes)
   Shared by the redesigned public pages: wrap a page in <div class="td"> and build it from
   the blocks below (td-hero, td-wrap, td-heading, td-btn, td-card, tl-grid/tl-card, td-cta...).
   Loaded on every page from _Layout via the ~/Content/css/Pages bundle.
   ===================================================================================== */
.td {
    --td-blue: #006399;
    --td-blue-dark: #004b75;
    --td-navy: #0b2a3f;
    --td-yellow: #ffd800;
    --td-yellow-light: #ffe24d;
    --td-red: #e60000;
    --td-ink: #23303a;
    --td-muted: #5b6770;
    --td-tint: #f4f7f9;
    --td-line: #dde5ea;
    color: var(--td-ink);
    text-align: left;
}

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

/* Site.css tightens every heading to -1px */
.td h1, .td h2, .td h3 {
    letter-spacing: 0;
}

.td-wrap {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Bands that run edge to edge even though body is capped at 1800px wide */
.td-hero,
.td-band {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
}

.td-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--td-navy);
    margin: 0 0 18px;
}

.td-heading::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: var(--td-yellow);
    margin-top: 12px;
}

.td-center {
    text-align: center;
}

.td-center .td-heading::after {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.td a.td-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.td a.td-btn:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.td a.td-btn-yellow {
    background: var(--td-yellow);
    color: var(--td-navy);
}

.td a.td-btn-yellow:hover {
    background: var(--td-yellow-light);
    color: var(--td-navy);
}

.td a.td-btn-blue {
    background: var(--td-blue);
    color: #fff;
}

.td a.td-btn-blue:hover {
    background: var(--td-blue-dark);
    color: #fff;
}

.td a.td-btn-outline {
    border-color: var(--td-blue);
    color: var(--td-blue);
    background: #fff;
}

.td a.td-btn-outline:hover {
    background: var(--td-blue);
    color: #fff;
}

/* ---------- Hero: title on the left, photo on the right ---------- */
.td-hero {
    margin-top: 56px;
    padding: 48px 0;
    background: linear-gradient(160deg, var(--td-tint) 0%, #e6eef3 100%);
}

.td-hero .td-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.td-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--td-blue);
    margin-bottom: 12px;
}

.td-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.12;
    font-weight: 700;
    color: var(--td-navy);
    margin: 0 0 12px;
}

.td-tagline {
    font-size: 19px;
    line-height: 1.5;
    color: var(--td-muted);
    margin: 0 0 22px;
}

.td-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.td-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(11, 42, 63, .08);
    font-size: 15px;
    font-weight: 600;
    color: var(--td-navy);
}

.td-chip .fa,
.td-chip svg {
    color: var(--td-blue);
}

.td-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.td-hero-photo {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    box-shadow: 0 18px 44px rgba(11, 42, 63, .22);
    border-bottom: 6px solid var(--td-yellow);
    background: var(--td-line);
}

.td-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Virtual events: list of session dates and times */
.td-sessions {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.td-sessions li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(11, 42, 63, .08);
    font-size: 15px;
    line-height: 1.4;
    color: var(--td-navy);
}

.td-sessions .fa,
.td-sessions svg {
    color: var(--td-blue);
    flex: 0 0 auto;
}

.td-sessions small {
    color: var(--td-muted);
    font-size: 13px;
}

/* ---------- Main column + sticky sidebar ---------- */
.td-body {
    padding: 56px 0 24px;
}

.td-body .td-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

.td-section + .td-section {
    margin-top: 48px;
}

/* Admin-edited text */
.td-rich {
    font-size: 17px;
    line-height: 1.75;
    color: var(--td-ink);
    overflow-wrap: anywhere;
}

.td-rich p {
    margin: 0 0 1em;
}

.td-rich p:empty {
    display: none;
}

.td-rich span {
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
}

.td-rich a {
    color: var(--td-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.td-rich img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
}

.td-rich iframe {
    max-width: 100%;
}

.td-rich table {
    max-width: 100%;
}

.td-video {
    margin-top: 28px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 12px 32px rgba(11, 42, 63, .18);
    background: #000;
}

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

/* Checklist ("Your Experience Includes") */
.td-includes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px 24px;
}

.td-includes li {
    position: relative;
    margin: 0;
    padding: 12px 14px 12px 46px;
    background: var(--td-tint);
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.td-includes li::before {
    content: "\2713";
    position: absolute;
    left: 14px;
    top: 11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--td-yellow);
    color: var(--td-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

/* Expandable sections */
.td-acc {
    border: 1px solid var(--td-line);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s ease;
}

.td-acc[open] {
    box-shadow: 0 8px 24px rgba(11, 42, 63, .08);
}

.td-acc summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--td-navy);
}

.td-acc summary::-webkit-details-marker {
    display: none;
}

.td-acc summary:hover {
    background: var(--td-tint);
}

.td-acc-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e3eef5;
    color: var(--td-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.td-acc-title {
    flex: 1 1 auto;
}

.td-acc-chevron {
    color: var(--td-muted);
    transition: transform .2s ease;
}

.td-acc[open] .td-acc-chevron {
    transform: rotate(180deg);
}

.td-acc-body {
    padding: 4px 20px 20px 76px;
    font-size: 16px;
}

/* Sidebar card / general card */
.td-aside {
    position: sticky;
    top: 80px;
}

.td-card {
    background: #fff;
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 10px 34px rgba(11, 42, 63, .13);
    border-top: 5px solid var(--td-yellow);
}

.td-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: var(--td-navy);
    margin: 0 0 16px;
}

.td-facts {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.td-facts li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--td-line);
    font-size: 15px;
    line-height: 1.45;
}

.td-facts li:last-child {
    border-bottom: 0;
}

.td-facts .td-fact-icon {
    flex: 0 0 22px;
    color: var(--td-blue);
    text-align: center;
    padding-top: 1px;
}

.td-facts small {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--td-muted);
}

.td-facts strong {
    font-size: 16px;
    color: var(--td-navy);
}

.td-price {
    font-size: 24px !important;
}

.td-card-actions {
    display: grid;
    gap: 10px;
}

.td-card-actions a.td-btn {
    width: 100%;
}

.td-card-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--td-line);
    font-size: 14px;
    line-height: 1.5;
    color: var(--td-muted);
}

.td-card-note + .td-card-note {
    margin-top: 12px;
    padding-top: 12px;
}

.td-card-note a {
    color: var(--td-blue);
    font-weight: 700;
}

.td-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 16px;
    font-size: 15px;
}

.td-share a {
    color: var(--td-blue);
    font-weight: 700;
    text-decoration: none;
}

.td-login {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--td-tint);
    font-size: 14px;
    line-height: 1.5;
}

.td-login a {
    color: var(--td-blue);
    font-weight: 700;
}

/* ---------- Photo gallery ---------- */
.td-band {
    padding: 56px 0;
    background: var(--td-tint);
}

.td-gallery .td-slide {
    padding: 0 10px;
}

.td-gallery figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--td-line);
}

.td-gallery img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border: 0 !important;
}

/* ---------- Packages ---------- */
.td-packages {
    padding: 56px 0;
}

.td-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.td-package {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--td-line);
    border-radius: 18px;
    padding: 26px 24px 24px;
    box-shadow: 0 6px 22px rgba(11, 42, 63, .07);
    transition: box-shadow .2s ease, transform .2s ease;
}

.td-package:hover {
    box-shadow: 0 14px 34px rgba(11, 42, 63, .14);
    transform: translateY(-3px);
}

.td-package h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    line-height: 1.3;
    color: var(--td-navy);
    margin: 0 0 6px;
}

.td-package-dates {
    font-size: 14px;
    line-height: 1.5;
    color: var(--td-muted);
    margin-bottom: 18px;
}

.td-package-dates .fa,
.td-package-dates svg {
    color: var(--td-blue);
    margin-right: 6px;
}

.td-package-prices {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.td-package-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--td-tint);
    font-size: 14px;
    color: var(--td-muted);
}

.td-package-price b {
    font-size: 20px;
    color: var(--td-navy);
    white-space: nowrap;
}

.td-package-includes {
    margin: 0 0 18px;
    padding: 0 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
}

.td-package-includes-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--td-muted);
    margin-bottom: 6px;
}

.td-package-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.td-package-actions a.td-btn {
    padding: 12px 12px;
    font-size: 15px;
}

.td-package-actions a.td-btn:only-child {
    grid-column: 1 / -1;
}

.td-package-notes {
    margin-top: 24px;
    display: grid;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--td-muted);
}

.td-package-notes .fa,
.td-package-notes svg {
    color: var(--td-blue);
    margin-right: 6px;
}

.td-package-notes a {
    color: var(--td-blue);
    font-weight: 700;
}

/* ---------- More videos ---------- */
.td-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.td-videos .td-video {
    margin-top: 0;
}

/* ---------- Call to action band ---------- */
.td-cta {
    background: linear-gradient(135deg, var(--td-blue) 0%, var(--td-navy) 100%);
    color: #fff;
    text-align: center;
}

.td-cta h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    margin: 0 0 10px;
    color: #fff;
}

.td-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, .88);
    margin: 0 0 24px;
}

.td-back {
    text-align: center;
    padding: 28px 0 8px;
    font-size: 16px;
}

.td-back a {
    color: var(--td-blue);
    font-weight: 700;
    text-decoration: none;
}

/* ================= List pages ================= */
/* Header band: centered title instead of the detail pages' title + photo */
.tl-hero .td-wrap {
    display: block;
    text-align: center;
}

.tl-hero .td-tagline {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.tl-hero .td-chips {
    justify-content: center;
    margin-bottom: 0;
}

/* ---------- Photo cards ---------- */
.tl-list {
    padding: 56px 0;
}

.tl-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.td a.tl-card {
    flex: 0 1 360px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--td-ink);
    box-shadow: 0 6px 24px rgba(11, 42, 63, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.td a.tl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11, 42, 63, .2);
    opacity: 1;
}

.tl-card-img {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-bottom: 4px solid var(--td-yellow);
    background: var(--td-line);
}

.tl-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.td a.tl-card:hover .tl-card-img img {
    transform: scale(1.04);
}

.tl-card-date {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    font-size: 14px;
    font-weight: 700;
    color: var(--td-navy);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.tl-card-date .fa,
.tl-card-date svg {
    color: var(--td-blue);
}

.tl-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px 22px 22px;
}

.tl-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--td-navy);
    margin-bottom: 8px;
}

.tl-card-tagline {
    font-size: 15px;
    line-height: 1.55;
    color: var(--td-muted);
    margin-bottom: 18px;
}

.tl-card-link {
    margin-top: auto;
    font-size: 15px;
    font-weight: 700;
    color: var(--td-blue);
}

.tl-card-link .fa,
.tl-card-link svg {
    margin-left: 6px;
    transition: transform .2s ease;
}

.td a.tl-card:hover .tl-card-link .fa,
.td a.tl-card:hover .tl-card-link svg {
    transform: translateX(4px);
}

/* Nothing to list */
.tl-empty {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 28px;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(11, 42, 63, .1);
}

.tl-empty h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: var(--td-navy);
    margin: 0 0 10px;
}

.tl-empty p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--td-muted);
    margin: 0 0 22px;
}

/* ================= Content, legal and form pages ================= */
/* Main content section under a td-hero */
.td-page {
    padding: 56px 0;
}

/* Readable column for long text (legal pages, articles) */
.td-prose {
    max-width: 860px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.75;
    color: var(--td-ink);
    overflow-wrap: anywhere;
}

.td-prose h2,
.td-prose h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--td-navy);
    line-height: 1.3;
    margin: 1.6em 0 .5em;
}

.td-prose h2 {
    font-size: 26px;
}

.td-prose h3 {
    font-size: 21px;
}

.td-prose p,
.td-prose ul,
.td-prose ol {
    margin: 0 0 1em;
}

.td-prose a {
    color: var(--td-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.td-prose img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
}

/* White card around a form or short message, centered on the page */
.td-form-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 32px 32px 28px;
    box-shadow: 0 10px 34px rgba(11, 42, 63, .13);
    border-top: 5px solid var(--td-yellow);
}

.td-form-card-wide {
    max-width: 1000px;
}

/* ---------- Phones and tablets (matches the site's mobile menu breakpoint) ---------- */
@media screen and (max-width:1060px) {
    .td-hero {
        margin-top: 46px;
        padding: 28px 0 36px;
    }

    .td-hero .td-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .td-hero-photo {
        order: -1;
    }

    .td-body {
        padding-top: 36px;
    }

    .td-body .td-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* "At a glance" card moves above the description */
    .td-aside {
        position: static;
        order: -1;
    }

    .td-band,
    .td-packages,
    .td-page {
        padding: 44px 0;
    }
}

@media screen and (max-width:600px) {
    .td-wrap {
        padding: 0 16px;
    }

    .td-hero-actions a.td-btn {
        width: 100%;
    }

    .td-heading,
    .td-cta h2 {
        font-size: 26px;
    }

    .td-acc summary {
        font-size: 16px;
        padding: 14px 14px;
        gap: 12px;
    }

    .td-acc-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .td-acc-body {
        padding: 4px 16px 18px 16px;
    }

    .td-package-grid {
        grid-template-columns: 1fr;
    }

    .td-form-card {
        padding: 24px 18px 20px;
    }
}

