.download-detail-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 126px 0 84px;
}

.download-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 38px;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 750;
}

.download-breadcrumbs a { color: var(--ink); text-decoration: none; }
.download-breadcrumbs a:hover { color: var(--teal); }
.download-detail-heading { margin-bottom: 36px; }
.download-detail-heading h1 {
    max-width: 1050px;
    margin: 0 0 22px;
    font-size: clamp(2.5rem, 5.4vw, 4.65rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.download-detail-heading h1 span { color: var(--teal); }
.download-detail-heading > p:last-child {
    max-width: 890px;
    margin: 0;
    color: #b6c3d0;
    font-size: 1.1rem;
    line-height: 1.75;
}

.download-package {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}
.download-map-panel {
    position: relative;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(53, 230, 214, .2);
    border-radius: 14px;
    background: radial-gradient(ellipse at 50% 45%, #123137, #09151e 78%);
}
.download-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.download-map-heading strong { color: #ebfffc; font-size: 1.05rem; }
.download-map-heading span { color: #a6cfcc; font-size: .78rem; letter-spacing: .1em; }
.download-map-panel img { display: block; width: 100%; height: auto; }
.download-map-panel figcaption { padding-top: 10px; color: #9aafb8; font-size: .78rem; line-height: 1.5; }
.download-map-panel figcaption a { color: inherit; }
.download-package-info { min-width: 0; }
.download-region {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 18px;
    margin-bottom: 22px;
    border: 1px solid rgba(53, 230, 214, .22);
    border-radius: 10px;
    background: rgba(53, 230, 214, .045);
}
.download-region span { color: var(--muted); font-size: .88rem; }
.download-region strong { color: var(--teal); font-size: 1.05rem; }
.download-package-info h2 { font-size: clamp(1.5rem, 2.3vw, 1.85rem); line-height: 1.2; margin: 0 0 14px; }
.download-package-info > p { color: var(--muted); line-height: 1.7; margin: 0 0 20px; }
.download-facts { margin: 0 0 22px; }
.download-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.download-facts dt { color: var(--muted); font-size: .9rem; }
.download-facts dd { margin: 0; text-align: right; color: var(--ink); font-size: .94rem; font-weight: 750; }
.download-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 14px 20px;
    border-radius: 9px;
    background: var(--teal);
    color: #041717;
    text-decoration: none;
    font-weight: 900;
    text-align: center;
    transition: background .2s ease;
}
.download-primary:hover { background: #7ffff0; }
.download-primary svg { width: 22px; height: 22px; flex: 0 0 auto; }
.download-package-info .download-file-note { margin: 12px 0 0; font-size: .79rem; line-height: 1.6; overflow-wrap: anywhere; }
.download-primary:focus-visible,
.download-countries summary:focus-visible,
.download-breadcrumbs a:focus-visible { outline: 3px solid #f7b94b; outline-offset: 5px; }
.download-content-section { margin-top: 48px; }
.download-content-section > h2 { margin: 0 0 20px; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; }
.download-explanation { padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.download-explanation p { color: #b7c5d0; line-height: 1.8; margin: 0 0 14px; }
.download-explanation p:last-child { margin-bottom: 0; }
.download-faq { display: grid; gap: 12px; }
.download-faq a { color: var(--teal); text-underline-offset: 3px; }
.download-section-intro { color: #b7c5d0; line-height: 1.75; margin: 0 0 22px; }
.download-category-note { color: var(--muted); font-size: .85rem; line-height: 1.7; margin: 18px 0 0; }
.download-countries { padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.download-countries summary { cursor: pointer; font-size: 1.1rem; font-weight: 800; color: #e9f8f6; }
.download-countries summary::marker { color: var(--teal); }
.download-countries p { color: #b7c5d0; font-size: .95rem; line-height: 1.85; }
.download-countries .download-coverage-note { color: var(--muted); font-size: .85rem; margin-bottom: 0; }
.download-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.download-guide article { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.download-guide-number { color: var(--teal); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.download-guide h3 { margin: 16px 0 12px; font-size: 1.12rem; }
.download-guide p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .94rem; }
.download-help { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 32px; padding: 28px; border: 1px solid rgba(53, 230, 214, .24); border-radius: 10px; background: rgba(53, 230, 214, .04); }
.download-help h2 { font-size: 1.45rem; margin: 0 0 10px; }
.download-help p { margin: 0; color: var(--muted); line-height: 1.7; max-width: 650px; }
.download-help .btn { flex-shrink: 0; }
.download-back { display: inline-flex; margin-top: 32px; color: var(--teal); font-weight: 800; text-underline-offset: 5px; }

.download-share { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.download-share-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.download-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid rgba(53, 230, 214, .25);
    border-radius: 8px;
    background: rgba(53, 230, 214, .04);
    color: #cef8f1;
    font: inherit;
    font-size: .86rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.download-share-button:hover { background: rgba(53, 230, 214, .12); border-color: var(--teal); }
.download-share-button:disabled { opacity: .65; cursor: wait; }
.download-share-button:focus-visible, .download-share-fallback input:focus-visible { outline: 3px solid #f7b94b; outline-offset: 3px; }
.download-share .download-share-status { margin: 10px 0 0; color: #b9d7d2; font-size: .82rem; line-height: 1.5; }
.download-share .download-share-status:empty { margin: 0; }
.download-share-fallback { display: block; margin-top: 12px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.download-share-fallback input { display: block; width: 100%; min-width: 0; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #0b1a23; color: var(--ink); font: inherit; }
.download-share [hidden] { display: none; }
.download-share noscript a { display: inline-block; margin-top: 10px; color: var(--teal); }

/* Featured download in the listing. */
.download-card-p470 {
    grid-column: 1 / -1;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
    gap: 34px;
    padding: 30px;
    align-items: center;
}
.download-card-p470-visual { position: relative; margin: 0; min-width: 0; border-radius: 10px; background: radial-gradient(ellipse, #193c40, #0b1a23); }
.download-card-p470-visual img { display: block; width: 100%; height: auto; }
.download-card-p470-visual strong { position: absolute; top: 20px; left: 20px; color: var(--ink); font-size: 1.1rem; letter-spacing: .06em; }
.download-card-p470-content { display: grid; min-width: 0; gap: 18px; }
.download-card-p470 h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.2; }
.download-card-p470 .download-action { justify-self: start; min-width: 220px; padding: 14px 24px; }
.download-card-p470 .download-share { margin-top: 0; }

@media (max-width: 900px) {
    .download-package { grid-template-columns: 1fr; gap: 26px; }
    .download-map-panel img { max-height: 440px; }
    .download-guide { grid-template-columns: 1fr; }
    .download-help { flex-direction: column; align-items: stretch; }
}
@media (max-width: 680px) {
    .download-detail-shell { width: calc(100% - 28px); padding-top: 106px; padding-bottom: 52px; }
    .download-breadcrumbs { margin-bottom: 26px; }
    .download-detail-heading h1 { font-size: clamp(2.15rem, 10vw, 3.25rem); }
    .download-detail-heading > p:last-child { font-size: 1rem; }
    .download-map-panel { padding: 18px; }
    .download-map-heading span { font-size: .7rem; }
    .download-content-section { margin-top: 34px; }
    .download-countries, .download-guide article, .download-help { padding: 20px; }
    .download-card-p470 { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
    .download-card-p470-visual img { max-height: 260px; }
    .download-card-p470 .download-action { width: 100%; min-width: 0; }
    .download-share-button { flex: 1 1 auto; }
}
