:root {
    --destination-wide-width: 980px;
    --destination-text-width: 860px;
}

.destination-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--destination-wide-width, 980px);
    margin: 0 auto;
    padding: 0 16px;
}

main .section:has(.destination-shell),
main .section:has(.destination-content),
main .section:has(.destination-gallery),
main .section:has(.destination-steps),
main .section.internal-links-section {
    max-width: none;
}

main .section:has(.destination-shell) > .section-header,
main .section:has(.destination-gallery) > .section-header,
main .section:has(.destination-steps) > .section-header,
main .section.internal-links-section > .section-header {
    width: 100%;
    max-width: var(--destination-wide-width, 980px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

main .section:has(.destination-shell) > .cta-button,
main .section:has(.destination-content) > .cta-button,
main .section:has(.destination-gallery) > .cta-button,
main .section:has(.destination-steps) > .cta-button,
main .section.internal-links-section > .cta-button {
    max-width: var(--destination-text-width, 860px);
}

main .section.internal-links-section > .services-list {
    width: 100%;
    max-width: var(--destination-wide-width, 980px);
    margin-left: auto;
    margin-right: auto;
}

.destination-hero {
    padding-bottom: 56px;
}

.destination-overview {
    margin-top: -34px;
}

.destination-overview-grid {
    display: grid;
    gap: 18px;
    align-items: start;
    justify-content: center;
}

.destination-photo {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .12);
}

.destination-photo img {
    display: block;
    width: 100%;
    height: clamp(240px, 42vw, 430px);
    object-fit: cover;
    background: #f1f5f9;
}

.destination-photo figcaption {
    padding: 12px 16px;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.destination-panel {
    min-width: 0;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.destination-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: #0f172a;
    color: #fff;
}

.destination-panel-header h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}

.destination-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #0055a4;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.destination-facts {
    display: grid;
}

.destination-fact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-top: 1px solid #e2e8f0;
}

.destination-fact:first-child {
    border-top: 0;
}

.destination-fact span {
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
}

.destination-fact strong {
    color: #0055a4;
    font-size: 20px;
    text-align: right;
}

.destination-note {
    margin: 0;
    padding: 16px 20px;
    border-top: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1e3a5f;
    font-size: 14px;
    line-height: 1.55;
}

.destination-note strong {
    display: block;
    margin-bottom: 4px;
    color: #0055a4;
}

.destination-content {
    width: 100%;
    max-width: var(--destination-wide-width, 980px);
    margin: 0 auto;
    padding: 28px;
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}

.destination-content > h2,
.destination-content > h3,
.destination-content > p,
.destination-content > ul,
.destination-content > ol {
    max-width: var(--destination-text-width, 860px);
    margin-left: auto;
    margin-right: auto;
}

.destination-content h2 {
    margin: 28px auto 10px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.25;
}

.destination-content h2:first-child {
    margin-top: 0;
}

.destination-content h3 {
    margin: 20px auto 8px;
    color: #1e293b;
    font-size: 18px;
}

.destination-content p {
    margin: 0 0 14px;
    color: #475569;
    font-size: 16px;
    line-height: 1.75;
}

.destination-content p:last-child,
.destination-content ul:last-child,
.destination-content ol:last-child {
    margin-bottom: 0;
}

.destination-content a {
    color: #0055a4;
    font-weight: 800;
}

.destination-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: var(--destination-wide-width, 980px);
    margin-left: auto;
    margin-right: auto;
}

.destination-info {
    padding: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}

.destination-info h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 17px;
}

.destination-info p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.destination-table-wrap {
    max-width: var(--destination-wide-width, 980px);
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}

.destination-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.destination-table th,
.destination-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.destination-table th {
    background: #0f172a;
    color: #fff;
    font-weight: 800;
}

.destination-table tr:last-child td {
    border-bottom: 0;
}

.destination-table td {
    color: #334155;
}

.destination-table strong {
    color: #0055a4;
}

.destination-map-placeholder {
    max-width: var(--destination-wide-width, 980px);
    margin: 0 auto;
    padding: 22px;
    border: 1px dashed #94a3b8;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 68%);
    color: #1e3a5f;
}

.section:has(.destination-table-wrap) .destination-shell,
.section:has(.destination-map-placeholder) .destination-shell,
.section:has(.destination-grid) .destination-shell,
.section:has(.destination-steps) .destination-shell {
    display: block;
}

.destination-map-placeholder h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 22px;
}

.destination-map-placeholder p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
}

.destination-reassurance {
    max-width: var(--destination-text-width, 860px);
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #eff6ff;
    color: #1e3a5f;
}

.destination-reassurance h2 {
    margin: 0 0 8px;
    color: #0055a4;
    font-size: 22px;
}

.destination-reassurance p {
    margin: 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
}

.destination-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: var(--destination-wide-width, 980px);
    margin: 0 auto;
}

.destination-gallery figure {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}

.destination-gallery img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f1f5f9;
}

.destination-gallery figcaption {
    padding: 10px 12px;
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

.destination-steps {
    counter-reset: step;
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: var(--destination-wide-width, 980px);
    margin-left: auto;
    margin-right: auto;
}

.destination-step {
    position: relative;
    padding: 18px 18px 18px 58px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.destination-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0055a4;
    color: #fff;
    font-weight: 800;
}

.destination-step h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 16px;
}

.destination-step p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

@media (min-width: 780px) {
    .destination-overview-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    }

    .destination-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .destination-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .destination-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1100px) {
    .destination-photo img {
        height: 430px;
    }
}

@media (max-width: 520px) {
    html,
    body,
    main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    main .section {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    main .page-hero {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .destination-hero {
        padding-bottom: 42px;
    }

    .destination-overview {
        margin-top: -22px;
    }

    .destination-shell {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    main .section:has(.destination-shell) > .section-header,
    main .section:has(.destination-gallery) > .section-header,
    main .section:has(.destination-steps) > .section-header,
    main .section.internal-links-section > .section-header {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    main .section:has(.destination-content),
    main .section.internal-links-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .destination-overview-grid,
    .destination-grid,
    .destination-gallery,
    .destination-steps,
    .destination-table-wrap,
    .destination-map-placeholder,
    .destination-reassurance {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .destination-photo img {
        height: 240px;
    }

    .destination-content {
        padding: 16px;
        border-radius: 12px;
    }

    .destination-content h2 {
        font-size: 18px;
        line-height: 1.25;
        margin-top: 18px;
    }

    .destination-content h3 {
        font-size: 15px;
    }

    .destination-content p,
    .destination-content li {
        font-size: 13px;
        line-height: 1.6;
    }

    .destination-panel-header,
    .destination-fact {
        padding-left: 16px;
        padding-right: 16px;
    }

    .destination-panel-header {
        flex-wrap: wrap;
    }

    .destination-fact {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .destination-fact strong {
        text-align: left;
        font-size: 18px;
    }

    .destination-photo figcaption,
    .destination-note {
        overflow-wrap: anywhere;
    }
}
