.dss-page .section.container.header {
    position: relative;
    width: 100%;
    height: auto;
    max-width: none;
    padding: 0;
}

.dss-page .section.container.nav:has(.navbar) {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    background: var(--main-color-deepblue) url(../../images/bg-nav.webp)
        center/cover;
}

.dss-page main {
    line-height: 1.8;
}

.dss-page main p + p {
    margin-top: 1.25rem;
}

.dss-page h1 {
    max-width: 960px;
    font-size: clamp(32px, 4vw, 52px) !important;
    line-height: 1.2;
    color: var(--main-color-deepblue);
    margin: 0 0 1.25rem;
}

.dss-page h2 {
    max-width: 1000px;
    font-size: clamp(27px, 3.2vw, 42px) !important;
    line-height: 1.25;
    margin: 0.75rem 0 1.75rem;
}

.dss-page h3 {
    color: var(--main-color-deepblue);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.dss-hero {
    position: relative;
    overflow: hidden;
    color: var(--main-color-Darkblue);
    background: radial-gradient(ellipse at 12% 0%, #e3edff 0%, transparent 55%),
        linear-gradient(180deg, #f8fbff, #ffffff);
    border-bottom: 1px solid #e4ecf8;
}

.dss-hero-inner {
    position: relative;
    z-index: 1;
    padding: 58px 32px 64px;
    text-align: center;
}

.dss-page .dss-hero h1 {
    max-width: 1100px;
    font-size: clamp(36px, 4.8vw, 64px) !important;
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 26px;
    text-wrap: balance;
}

.dss-title-accent {
    box-shadow: inset 0 -0.15em 0 #ffe071;
}

.dss-page .dss-hero h1,
.dss-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.dss-eyebrow {
    color: var(--main-color-deepblue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dss-hero .dss-eyebrow,
.dss-infrastructure .dss-eyebrow {
    color: var(--main-color-yellow);
}

.dss-hero-subtitle {
    max-width: 740px;
    color: #44546a;
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.6;
    text-wrap: balance;
}

.dss-hero-subtitle strong {
    color: var(--main-color-Darkblue);
    font-weight: 600;
}

.dss-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2rem;
    margin-top: 2rem;
}

.dss-page .button {
    gap: 0.5rem;
    max-width: 100%;
    padding: 10px 20px !important;
    font-size: 14px !important;
    white-space: normal;
    height: auto;
    min-height: 44px;
    line-height: 1.5;
    box-shadow: 0 3px 10px #02339614;
}

.dss-page .button.dss-launch {
    min-height: 54px;
    padding: 14px 30px !important;
    font-size: 16px !important;
    color: var(--main-color-Darkblue);
    background: var(--main-color-yellow);
    border: 2px solid var(--main-color-yellow);
    font-weight: 700;
}

.dss-page .button.dss-launch:hover,
.dss-page .button.dss-launch:focus-visible,
.dss-page .button.dss-launch:active {
    color: var(--main-color-Darkblue);
    background: var(--main-color-yellow-light);
    border-color: var(--main-color-yellow-light);
}

.dss-text-link {
    color: var(--main-color-deepblue);
    text-decoration: underline;
    text-underline-offset: 5px;
    font-weight: 600;
}

.dss-hero .dss-text-link {
    color: white;
}

.dss-section-nav {
    background: var(--bg-gray);
    border-bottom: 1px solid #dce4f2;
}

.dss-section-nav .container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    padding: 20px 32px;
}

.dss-section-nav a {
    color: var(--main-color-deepblue);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 0;
}

.dss-section-nav a:hover {
    text-decoration: underline;
}

.dss-section {
    padding: 80px 32px;
}

.dss-page [id] {
    scroll-margin-top: 32px;
}

.dss-copy {
    max-width: 1050px;
}

.dss-figure {
    width: 100%;
    max-width: 960px;
    margin: 2.5rem auto 0;
}

.dss-figure a {
    display: block;
    cursor: zoom-in;
    border: 1px solid #dce4f2;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 12px 30px #0233960d;
}

.dss-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.dss-figure figcaption {
    max-width: 1000px;
    margin: 1rem auto 0;
    color: #526078;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.7;
}

html.dss-lightbox-open {
    overflow: hidden;
}

.dss-lightbox {
    position: fixed;
    inset: 0;
    width: calc(100% - 40px);
    max-width: 1600px;
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 52px 0 0;
    border: 0;
    background: transparent;
    color: white;
    overflow: auto;
}

.dss-lightbox::backdrop {
    background: rgba(4, 13, 34, 0.9);
    backdrop-filter: blur(4px);
}

.dss-lightbox[open] {
    animation: dss-lightbox-appear 0.2s ease-out;
}

.dss-lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 180px);
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    box-shadow: 0 20px 60px #0006;
}

.dss-lightbox figcaption {
    max-width: 1000px;
    max-height: 80px;
    overflow: auto;
    margin: 16px auto 0;
    padding: 0 8px;
    color: #edf3ff;
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

.dss-lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ffffff50;
    border-radius: 50%;
    color: white;
    background: #ffffff15;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dss-lightbox-close:hover {
    background: #ffffff30;
}

.dss-lightbox-close:focus-visible {
    outline: 2px solid var(--main-color-yellow);
    outline-offset: -4px;
}

@keyframes dss-lightbox-appear {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .dss-lightbox[open] { animation: none; }
    .dss-lightbox-close { transition: none; }
}

.dss-tinted {
    background: var(--bg-gray);
}

.dss-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 2rem;
}

.dss-card {
    padding: 32px 32px 48px;
}

.dss-access-card {
    --dss-card-background: #fff;
    max-width: 960px;
    margin: 2rem auto 0;
}

.dss-card h3 {
    font-size: clamp(20px, 2vw, 24px) !important;
}

.dss-card .dss-eyebrow {
    margin-bottom: 0.8rem;
}

.dss-pathways-panel {
    max-width: 820px;
    margin: 2.5rem auto 0;
    overflow: hidden;
    border: 1px solid #e3e8ef;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 4px 20px #20304708;
}

.dss-pathways-table {
    width: 100%;
    max-width: 820px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    color: #3c4043;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.dss-pathways-table caption {
    padding: 0.9rem 1.5rem;
    background: var(--main-color-deepblue);
    border-bottom: 3px solid var(--main-color-yellow);
    color: #fff;
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    font-weight: 700;
    text-align: center;
}

.dss-pathways-table th,
.dss-pathways-table td {
    padding: 1rem 1.5rem;
    border: 0;
    vertical-align: top;
}

.dss-pathways-table th {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    background: var(--main-color-Blue-light);
    color: var(--main-color-deepblue);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 700;
    text-align: center;
}

.dss-pathways-table th:nth-child(2) {
    background: var(--main-color-yellow-light);
}

.dss-pathway-icon {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: 0.5rem;
    width: 96px;
    height: 96px;
    transform: translateY(-50%) rotate(-12deg);
    color: var(--main-color-deepblue);
    opacity: 0.08;
    pointer-events: none;
}

.dss-pathway-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.dss-pathway-audience {
    display: block;
    margin-top: 0.5rem;
    color: var(--main-color-Darkblue);
    font-size: 0.8rem;
    font-weight: 400;
}

.dss-pathways-table tbody tr + tr td {
    border-top: 1px solid #edf0f4;
}

.dss-pathways-table td + td {
    border-left: 1px solid #edf0f4;
}

.dss-pathways-table tbody tr:hover {
    background: #f8fafd;
}

.dss-pathways-table tbody tr:last-child td {
    padding-bottom: 1.25rem;
}

.dss-detail {
    margin-top: 64px;
}

.dss-page .dss-subheading {
    display: grid;
    grid-template-columns: 2ch minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 1.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 999px;
    background: var(--main-color-deepblue);
    color: white;
    font-size: clamp(16px, 1.5vw, 18px) !important;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.45;
}

.dss-subheading-number {
    color: var(--main-color-yellow);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.dss-features {
    list-style: none;
    margin: 2rem 0 0;
}

.dss-features li {
    position: relative;
    padding-left: 26px;
    margin-top: 1.2rem;
}

.dss-features li::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    left: 0;
    top: 0.65em;
    border-radius: 50%;
    background: var(--main-color-yellow);
}

.dss-features strong {
    color: var(--main-color-deepblue);
}

.dss-guide {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 32px 32px 48px;
}

.dss-guide-content {
    width: 100%;
    min-width: 0;
}

.dss-guide-video {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 24px auto 0;
    border: 1px solid #dce4f2;
    border-radius: 12px;
    background: var(--main-color-Darkblue);
    box-shadow: 0 12px 30px #02339614;
}

.dss-card,
.dss-guide {
    border: 0;
    border-radius: 8px 45px;
    box-shadow: none;
    background-color: var(--dss-card-background, var(--bg-gray));
    background-image:
        linear-gradient(
            110deg,
            var(--dss-card-background, var(--bg-gray)) 42%,
            color-mix(
                in srgb,
                var(--dss-card-background, var(--bg-gray)) 65%,
                transparent
            )
        ),
        url(../../images/crosseu_icon-light.svg);
    background-position:
        center,
        right -360px bottom -410px;
    background-size: auto, 900px;
    background-repeat: no-repeat;
}

.dss-guide .button {
    flex-shrink: 0;
}

.dss-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    background: var(--main-color-yellow-light);
    color: var(--main-color-Darkblue);
    font-size: 0.8rem;
    font-weight: 600;
}

.dss-infrastructure {
    color: white;
    background: var(--main-color-deepblue) url(../../images/backg1\ 1.webp)
        center/cover;
}

.dss-infrastructure h2,
.dss-infrastructure strong {
    color: white;
}

.dss-page a:focus-visible {
    outline: 3px solid #1268c4;
    outline-offset: 5px;
}

.dss-hero a:focus-visible,
.dss-page header a:focus-visible {
    outline-color: var(--main-color-yellow);
}

.dss-skip {
    position: absolute;
    top: 10px;
    left: 10px;
    transform: translateY(-200%);
    z-index: 2000;
    padding: 12px 20px;
    background: white;
    color: var(--main-color-deepblue);
}

.dss-skip:focus {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .dss-hero-inner {
        padding: 40px 24px 44px;
    }

    .dss-section {
        padding: 48px 24px;
    }

    .dss-section-nav .container {
        padding: 18px 24px;
    }

    .dss-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dss-pathways-table th,
    .dss-pathways-table td {
        padding: 0.875rem 0.75rem;
    }

    .dss-pathways-table caption {
        padding: 1rem 0.75rem;
    }

    .dss-card,
    .dss-guide {
        padding: 24px 24px 48px;
    }

    .dss-guide {
        flex-direction: column;
        align-items: flex-start;
    }

    .dss-detail {
        margin-top: 40px;
    }

    .dss-page .dss-subheading {
        gap: 0.625rem;
        padding: 0.625rem 1.125rem;
        border-radius: 24px;
    }
}
