/* Shared visual layer for the five location detail pages. */
.dc-location-page {
    --hgc-blue: #006eff;
    --hgc-blue-dark: #0056cc;
    --hgc-blue-soft: #8fc3ff;
    --hgc-red: #006eff;
    --hgc-canvas: #f4f7fb;
    --hgc-border: #dbe5f0;
    --dc-accent: #006eff;
    --dc-accent-text: #0056cc;
    --dc-accent-wash: #eaf3ff;
    position: relative;
}

.dc-location-page .common-layout {
    width: min(var(--max-width, 1400px), calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.dc-location-page .hgc-hero::before {
    background-image:
        linear-gradient(90deg, rgba(7, 20, 38, 0.98) 0%, rgba(7, 20, 38, 0.86) 48%, rgba(7, 20, 38, 0.5) 100%),
        url('../../images/server/server-bg.avif');
    background-position: center, center;
    background-size: cover, cover;
}

.dc-location-page .hgc-hero::after {
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(166, 205, 246, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 205, 246, 0.12) 1px, transparent 1px);
}

.dc-location-page .hgc-eyebrow span {
    background: var(--dc-accent);
}

.dc-location-page .hgc-hero h1 strong,
.dc-location-page .hgc-heading-light h2 em,
.dc-location-page .hgc-network-copy h2 em {
    color: var(--hgc-blue-soft);
}

.dc-location-page .hgc-hero-media figure {
    border-color: color-mix(in srgb, var(--hgc-blue-soft) 48%, transparent);
}

.dc-location-page .hgc-hero-media figure::after {
    background: linear-gradient(180deg, rgba(7, 20, 38, 0.04) 42%, rgba(7, 20, 38, 0.84) 100%);
}

.dc-location-page .hgc-hero-status {
    border-color: color-mix(in srgb, var(--hgc-blue-soft) 50%, transparent);
}

.dc-location-page .hgc-hero-status > div + div {
    border-left-color: color-mix(in srgb, var(--hgc-blue-soft) 28%, transparent);
}

.dc-location-page .hgc-hero-status span,
.dc-location-page .hgc-hero-media-index,
.dc-location-page .hgc-gallery-slide figcaption > span {
    color: var(--hgc-blue-soft);
}

.dc-location-page .hgc-btn-primary {
    color: #ffffff;
    background: var(--hgc-blue);
}

.dc-location-page .hgc-btn-primary:hover {
    background: var(--hgc-blue-dark);
}

.dc-location-page .hgc-proof-item strong span,
.dc-location-page .hgc-proof-item sup {
    color: var(--dc-accent-text);
}

.dc-location-page .hgc-section-heading h2 em {
    color: var(--hgc-blue);
}

.dc-location-page .hgc-overview-section {
    background: var(--hgc-canvas);
}

.dc-location-page .hgc-overview-note {
    border-left-color: var(--dc-accent);
    background: #ffffff;
}

.dc-location-page .hgc-overview-note > i {
    color: var(--dc-accent-text);
}

.dc-location-page .hgc-image-mosaic figure {
    border-radius: 4px;
}

.dc-location-page .hgc-facilities-section {
    background: #ffffff;
}

.dc-location-page .dc-facility-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dc-location-page .dc-facility-grid .hgc-facility-card {
    min-height: 0;
    height: 100%;
    padding: 26px 24px 24px;
    border-top-width: 3px;
}

.dc-location-page .dc-facility-grid .hgc-facility-card > p {
    min-height: 0;
}

.dc-location-page .dc-facility-grid .hgc-facility-card:nth-child(3n + 2) {
    border-top-color: var(--dc-accent);
}

.dc-location-page .dc-facility-grid .hgc-facility-card:nth-child(3n + 2) .hgc-card-top > i {
    color: var(--dc-accent-text);
    background: var(--dc-accent-wash);
}

.dc-location-page .dc-facility-grid .hgc-facility-card:nth-child(3n + 2) li i {
    color: var(--dc-accent-text);
}

.dc-location-page .hgc-card-top > i {
    color: var(--hgc-blue);
    background: #eaf3ff;
}

.dc-location-page .dc-gallery-section {
    background: #08182d;
}

.dc-location-page .hgc-gallery-progress span,
.dc-location-page .hgc-gallery-thumbs button[aria-selected="true"]::after {
    background: var(--hgc-blue-soft);
}

.dc-location-page .hgc-gallery-thumbs button:hover,
.dc-location-page .hgc-gallery-thumbs button[aria-selected="true"] {
    border-color: var(--hgc-blue-soft);
}

.dc-location-page .hgc-gallery-thumbs button {
    height: auto !important;
    min-height: 0;
}

.dc-location-page .hgc-gallery-thumbs img {
    height: auto !important;
    max-height: none;
    aspect-ratio: 3 / 2;
}

.dc-location-page .hgc-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dc-location-page .dc-network-section {
    background: #0c2a48;
}

.dc-location-page .hgc-network-node-hk {
    border-color: var(--hgc-blue-soft);
    background: #0e3a61;
}

.dc-location-page .hgc-network-node-hk i,
.dc-location-page .hgc-network-node-hk small,
.dc-location-page .hgc-network-copy .hgc-kicker,
.dc-location-page .hgc-network-pills span {
    color: #b8ddff;
}

.dc-location-page .hgc-network-line {
    background: var(--hgc-blue-soft);
}

.dc-location-page .dc-cta-section {
    background: var(--hgc-blue-dark);
}

.dc-location-page .hgc-btn-white {
    color: var(--hgc-blue-dark);
}

/* Location block: a compact, unframed detail band rather than another card stack. */
.dc-location-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 42px;
    align-items: center;
    margin-top: 64px;
    padding: 28px 30px;
    border-top: 1px solid var(--hgc-border);
    border-bottom: 1px solid var(--hgc-border);
    background: rgba(255, 255, 255, 0.68);
}

.dc-location-panel-copy h3 {
    margin: 9px 0 8px;
    color: var(--hgc-ink);
    font-size: 26px;
    line-height: 1.3;
}

.dc-location-panel-copy p {
    max-width: 560px;
    margin: 0;
    color: var(--hgc-copy);
    font-size: 14px;
    line-height: 1.75;
}

.dc-location-checklist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dc-location-checklist li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
    color: var(--hgc-copy);
    font-size: 13px;
    line-height: 1.65;
}

.dc-location-checklist li > i {
    margin-top: 3px;
    color: var(--dc-accent-text);
    font-size: 16px;
}

.dc-location-checklist strong {
    display: block;
    margin-bottom: 3px;
    color: var(--hgc-ink);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .dc-location-page .dc-facility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dc-location-panel {
        gap: 28px;
    }
}

@media (max-width: 820px) {
    .dc-location-page .dc-facility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dc-location-panel {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 48px;
        padding: 24px 0;
        background: transparent;
    }

    .dc-location-checklist {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .dc-location-page .dc-facility-grid {
        grid-template-columns: 1fr;
    }

    .dc-location-page .dc-facility-grid .hgc-facility-card {
        padding: 24px 22px 22px;
    }

    .dc-location-checklist {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dc-location-checklist li {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .dc-location-page .hgc-gallery-toolbar {
        padding-right: 0;
    }

    .dc-location-page .hgc-hero-media-index {
        right: 2px;
    }
}
