/* China Supply Base / China Industry Atlas page */
.supply-base-page {
    background: var(--light-gray);
    color: var(--navy);
}

.supply-base-page h1,
.supply-base-page h2,
.supply-base-page h3,
.supply-base-page p {
    text-wrap: pretty;
}

.supply-base-hero {
    min-height: clamp(600px, 52vw, 740px);
}

.supply-base-hero .page-visual-hero__grid {
    min-height: clamp(600px, 52vw, 740px);
}

.supply-base-hero__copy {
    max-width: 720px !important;
    padding-top: clamp(7rem, 12vw, 10rem) !important;
    padding-bottom: clamp(5rem, 8vw, 7rem) !important;
}

.supply-base-hero__copy h1 {
    max-width: 680px;
    font-size: clamp(2.8rem, 5.2vw, 5.15rem) !important;
}

.supply-base-hero__copy p {
    max-width: 650px !important;
}

.supply-base-eyebrow,
.supply-base-kicker {
    color: var(--primary-light);
    display: inline-block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.supply-base-eyebrow {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.supply-base-hero__actions,
.atlas-feature__actions,
.supply-base-cta__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.75rem;
}

.supply-base-hero .btn-flat-outline-light {
    background: rgba(6, 26, 58, .25);
    border: 1px solid rgba(255, 255, 255, .48);
    color: #fff;
}

.supply-base-hero .btn-flat-outline-light:hover,
.supply-base-hero .btn-flat-outline-light:focus {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
}

.supply-base-hero__signals {
    align-items: center;
    color: rgba(255, 255, 255, .72);
    display: flex;
    flex-wrap: wrap;
    font-size: .78rem;
    gap: 1rem 1.25rem;
    margin-top: 1.6rem;
}

.supply-base-hero__signals span {
    align-items: center;
    display: inline-flex;
    gap: .42rem;
}

.supply-base-hero__signals i {
    color: var(--primary-light);
    font-size: .9rem;
}

.supply-base-hero__media img {
    object-position: center;
}

.supply-base-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.supply-base-section--soft {
    background: #eef3f8;
}

.supply-base-section__heading {
    margin-bottom: 2.8rem;
    max-width: 820px;
}

.supply-base-section__heading--wide {
    max-width: 940px;
}

.supply-base-section__heading--row {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.supply-base-section__heading h2 {
    font-size: clamp(2rem, 3.7vw, 3.5rem);
    line-height: 1.05;
    margin: .7rem 0 1rem;
}

.supply-base-section__heading p {
    color: var(--dark-gray);
    font-size: 1.06rem;
    line-height: 1.72;
    margin: 0;
    max-width: 780px;
}

.supply-base-principles {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.supply-base-principles article {
    background: #fff;
    border: 1px solid var(--medium-gray);
    min-height: 220px;
    padding: 1.7rem;
    position: relative;
}

.supply-base-principles article::after {
    background: var(--gradient-accent);
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.supply-base-principles__number {
    color: var(--primary-color);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em;
    position: absolute;
    right: 1.5rem;
    top: 1.35rem;
}

.supply-base-principles article > i {
    color: var(--primary-color);
    display: block;
    font-size: 1.9rem;
    margin-bottom: 1.25rem;
}

.supply-base-principles h3 {
    font-size: 1.25rem;
    margin-bottom: .55rem;
}

.supply-base-principles p {
    color: var(--dark-gray);
    font-size: .92rem;
    line-height: 1.6;
    margin: 0;
}

.supply-base-atlas-section {
    background: var(--navy-deep);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.supply-base-atlas-section::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 84px 84px;
    content: '';
    inset: 0;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .75), transparent 85%);
    pointer-events: none;
    position: absolute;
}

.supply-base-atlas-section .container {
    position: relative;
    z-index: 1;
}

.atlas-feature {
    align-items: center;
    background: linear-gradient(135deg, rgba(17, 50, 88, .96), rgba(6, 26, 58, .92));
    border: 1px solid rgba(255, 181, 46, .38);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(170px, .34fr) minmax(0, 1fr);
    padding: clamp(1.4rem, 4vw, 3.4rem);
}

.atlas-feature__cover {
    justify-self: center;
    max-width: 230px;
    position: relative;
    transform: rotate(-2deg);
}

.atlas-feature__cover::after {
    border: 1px solid rgba(255, 181, 46, .45);
    content: '';
    inset: 9px -9px -9px 9px;
    position: absolute;
    z-index: -1;
}

.atlas-feature__cover img {
    box-shadow: 18px 22px 36px rgba(0, 0, 0, .38);
    display: block;
    height: auto;
    width: 100%;
}

.atlas-feature__content h2 {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
    margin: .65rem 0 1rem;
}

.atlas-feature__content p {
    color: rgba(255, 255, 255, .76);
    line-height: 1.7;
    max-width: 720px;
}

.atlas-feature__lead {
    color: #fff !important;
    font-size: 1.18rem;
}

.atlas-feature__topics {
    display: grid;
    gap: .65rem 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.4rem;
}

.atlas-feature__topics span {
    align-items: center;
    color: rgba(255, 255, 255, .84);
    display: flex;
    font-size: .84rem;
    gap: .55rem;
}

.atlas-feature__topics i {
    color: var(--primary-light);
}

.supply-base-source-section {
    background: #fff;
    padding: 1.25rem 0 0;
}

.supply-base-sourcebar {
    align-items: stretch;
    background: #f4f7fa;
    border: 1px solid var(--medium-gray);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(150px, .7fr) minmax(240px, 1.6fr) minmax(170px, .8fr) auto;
}

.supply-base-sourcebar__item {
    border-right: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    gap: .28rem;
    justify-content: center;
    min-height: 94px;
    padding: 1rem 1.15rem;
}

.supply-base-sourcebar__item small {
    color: var(--primary-dark);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.supply-base-sourcebar__item strong,
.supply-base-sourcebar__item span {
    color: var(--navy);
    font-size: .82rem;
    line-height: 1.45;
}

.supply-base-sourcebar__link {
    align-items: center;
    color: var(--primary-dark);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    justify-content: center;
    padding: 1rem 1.15rem;
    text-decoration: none;
    white-space: nowrap;
}

.supply-base-sourcebar__link:hover,
.supply-base-sourcebar__link:focus {
    background: var(--navy);
    color: #fff;
}

.supply-base-sourcebar__scope {
    color: var(--dark-gray);
    font-size: .78rem;
    line-height: 1.55;
    margin: .7rem 0 0;
}

.supply-base-sourcebar__scope i {
    color: var(--primary-dark);
}

.category-lane-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-lane-card {
    background: #fff;
    border: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.category-lane-card {
    --category-lane-media-height: 190px;
}

.category-lane-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.category-lane-card__media {
    height: var(--category-lane-media-height);
    overflow: hidden;
    position: relative;
}

.category-lane-card__media::after {
    background: linear-gradient(0deg, rgba(3, 17, 39, .48), transparent 58%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.category-lane-card__media img {
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    width: 100%;
}

.category-lane-card:hover .category-lane-card__media img {
    transform: scale(1.045);
}

.category-lane-card__icon {
    align-items: center;
    background: var(--primary-color);
    border: 3px solid #fff;
    border-radius: 50%;
    color: var(--navy);
    display: flex;
    height: 46px;
    justify-content: center;
    position: absolute;
    right: 1.25rem;
    top: calc(var(--category-lane-media-height) - 23px);
    width: 46px;
    z-index: 2;
}

.category-lane-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

.category-lane-card__topline {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.category-lane-card__badge {
    color: var(--primary-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.category-lane-card__index {
    color: #a5b1bf;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.category-lane-card h3 {
    font-size: 1.35rem;
    line-height: 1.1;
    margin-bottom: .65rem;
}

.category-lane-card__body > p {
    color: var(--dark-gray);
    font-size: .9rem;
    line-height: 1.58;
    margin-bottom: 1.1rem;
}

.category-lane-card__question,
.category-lane-card__route {
    border-top: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding-top: .8rem;
}

.category-lane-card__route {
    margin-top: .8rem;
}

.category-lane-card__question small,
.category-lane-card__route small {
    color: var(--primary-dark);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.category-lane-card__question span,
.category-lane-card__route span {
    color: var(--dark-gray);
    font-size: .8rem;
    line-height: 1.5;
}

.category-lane-card__link,
.text-link {
    color: var(--primary-dark);
    font-size: .82rem;
    font-weight: 800;
    margin-top: auto;
    padding-top: 1.2rem;
    text-decoration: none;
}

.category-lane-card__link:hover,
.text-link:hover {
    color: var(--navy);
}

.custom-project-note {
    align-items: center;
    background: var(--navy);
    color: #fff;
    display: grid;
    gap: 1.2rem 1.5rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin-top: 1.25rem;
    padding: 1.45rem 1.7rem;
}

.custom-project-note__icon {
    align-items: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--navy);
    display: flex;
    font-size: 1.35rem;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.custom-project-note .supply-base-kicker {
    color: var(--primary-light);
}

.custom-project-note h3 {
    color: #fff;
    font-size: 1.25rem;
    margin: .35rem 0 .3rem;
}

.custom-project-note p {
    color: rgba(255, 255, 255, .72);
    font-size: .86rem;
    line-height: 1.55;
    margin: 0;
}

.custom-project-note .btn-flat-outline {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    white-space: nowrap;
}

.custom-project-note .btn-flat-outline:hover,
.custom-project-note .btn-flat-outline:focus {
    background: #fff;
    color: var(--navy);
}

.cluster-section {
    background: var(--navy-deep);
    color: #fff;
}

.cluster-section .supply-base-section__heading h2 {
    color: #fff;
}

.cluster-section .supply-base-section__heading p {
    color: rgba(255, 255, 255, .72);
}

.cluster-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cluster-card {
    background: rgba(17, 50, 88, .74);
    border: 1px solid rgba(255, 255, 255, .15);
    min-height: 300px;
    padding: 1.5rem;
    position: relative;
}

.cluster-card::before {
    background: var(--primary-color);
    content: '';
    height: 3px;
    left: 1.5rem;
    position: absolute;
    right: 1.5rem;
    top: 0;
}

.cluster-card__topline {
    align-items: center;
    color: var(--primary-light);
    display: flex;
    font-size: .67rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cluster-card__topline i {
    font-size: 1.35rem;
}

.cluster-card h3 {
    color: #fff;
    font-size: 1.55rem;
    margin: 1rem 0 .35rem;
}

.cluster-card__cities {
    color: rgba(255, 255, 255, .62);
    font-size: .78rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.cluster-card__field {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: .75rem;
}

.cluster-card__field + .cluster-card__field {
    margin-top: .8rem;
}

.cluster-card__field small {
    color: var(--primary-light);
    display: block;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cluster-card__field p {
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    line-height: 1.55;
    margin: .28rem 0 0;
}

.cluster-disclaimer {
    align-items: flex-start;
    border: 1px solid rgba(255, 181, 46, .35);
    color: rgba(255, 255, 255, .7);
    display: flex;
    font-size: .82rem;
    gap: .65rem;
    line-height: 1.55;
    margin-top: 1.5rem;
    padding: .85rem 1rem;
}

.cluster-disclaimer i {
    color: var(--primary-light);
    flex: 0 0 auto;
    margin-top: .16rem;
}

.decision-path {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.decision-step {
    background: #fff;
    border: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 1.4rem;
    position: relative;
}

.decision-step::after {
    color: var(--primary-color);
    content: '\F138';
    font-family: bootstrap-icons;
    font-size: 1.25rem;
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
}

.decision-step:last-child::after {
    content: '\F26A';
}

.decision-step__number {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -.06em;
}

.decision-step__body h3 {
    font-size: 1.25rem;
    line-height: 1.15;
    margin: 1.1rem 0 .65rem;
}

.decision-step__body > p {
    color: var(--dark-gray);
    font-size: .86rem;
    line-height: 1.6;
    margin-bottom: 1.15rem;
}

.decision-step__meta {
    border-top: 1px solid var(--medium-gray);
    display: grid;
    gap: .75rem;
    margin-top: auto;
    padding-top: .85rem;
}

.decision-step__meta span {
    color: var(--navy);
    display: block;
    font-size: .77rem;
    line-height: 1.45;
}

.decision-step__meta small {
    color: var(--primary-dark);
    display: block;
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .1em;
    margin-bottom: .2rem;
    text-transform: uppercase;
}

.supply-base-proof {
    background: #fff;
}

.proof-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card {
    border: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.proof-card > img {
    height: 190px;
    object-fit: cover;
    width: 100%;
}

.proof-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.proof-card__body > span {
    color: var(--primary-dark);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.proof-card h3 {
    font-size: 1.23rem;
    line-height: 1.18;
    margin: .7rem 0 .6rem;
}

.proof-card p {
    color: var(--dark-gray);
    font-size: .86rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.proof-card .text-link {
    margin-top: auto;
}

.supply-base-boundary {
    background: #eef3f8;
    padding-top: 3rem;
}

.boundary-panel {
    align-items: center;
    background: #fff;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
    padding: clamp(1.5rem, 4vw, 2.8rem);
}

.boundary-panel h2 {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.08;
    margin: .65rem 0 .8rem;
}

.boundary-panel p {
    color: var(--dark-gray);
    line-height: 1.65;
    margin: 0;
}

.boundary-panel__list {
    display: grid;
    gap: .8rem;
}

.boundary-panel__list span {
    align-items: flex-start;
    color: var(--navy);
    display: flex;
    font-size: .86rem;
    gap: .55rem;
    line-height: 1.45;
}

.boundary-panel__list i {
    color: var(--primary-dark);
    flex: 0 0 auto;
}

.supply-base-cta {
    background: var(--navy);
    color: #fff;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.supply-base-cta h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.05;
    margin: .7rem auto 1rem;
    max-width: 760px;
}

.supply-base-cta p {
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 720px;
}

.supply-base-cta__actions {
    justify-content: center;
}

.supply-base-cta .btn-flat-outline {
    border-color: rgba(255, 255, 255, .42);
    color: #fff;
}

.supply-base-cta .btn-flat-outline:hover,
.supply-base-cta .btn-flat-outline:focus {
    background: #fff;
    color: var(--navy);
}

@media (max-width: 1100px) {
    .category-lane-grid,
    .cluster-grid,
    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .decision-path {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .supply-base-hero__copy {
        padding-top: 6.5rem !important;
    }

    .atlas-feature {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .boundary-panel {
        grid-template-columns: 1fr;
    }

    .supply-base-sourcebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .supply-base-sourcebar__item:nth-child(2) {
        border-right: 0;
    }

    .supply-base-sourcebar__link {
        border-top: 1px solid var(--medium-gray);
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .supply-base-principles,
    .category-lane-grid,
    .cluster-grid,
    .decision-path,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .atlas-feature {
        grid-template-columns: 1fr;
    }

    .atlas-feature__cover {
        max-width: 190px;
    }

    .atlas-feature__topics {
        grid-template-columns: 1fr;
    }

    .custom-project-note {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .custom-project-note .btn {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .supply-base-section__heading--row {
        align-items: flex-start;
        flex-direction: column;
        gap: .7rem;
    }

    .supply-base-sourcebar {
        grid-template-columns: 1fr;
    }

    .supply-base-sourcebar__item,
    .supply-base-sourcebar__item:nth-child(2) {
        border-bottom: 1px solid var(--medium-gray);
        border-right: 0;
    }

    .supply-base-sourcebar__link {
        grid-column: auto;
    }
}

@media (max-width: 576px) {
    .supply-base-hero,
    .supply-base-hero .page-visual-hero__grid {
        min-height: 640px;
    }

    .supply-base-hero__copy {
        padding-bottom: 4.7rem !important;
        padding-top: 5.3rem !important;
    }

    .supply-base-hero__copy h1 {
        font-size: 2.55rem !important;
    }

    .supply-base-hero__actions,
    .atlas-feature__actions,
    .supply-base-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .supply-base-hero__actions .btn,
    .atlas-feature__actions .btn,
    .supply-base-cta__actions .btn {
        width: 100%;
    }

    .supply-base-hero__signals {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }

    .supply-base-principles article {
        min-height: auto;
    }

    .custom-project-note {
        padding: 1.2rem;
    }

    .cluster-card,
    .decision-step {
        min-height: auto;
    }
}

/* The shared full-bleed Hero stacks copy above the image on narrow screens.
   Remove the older fixed-height category rules so that the stack does not
   leave an empty navy block between the two zones. */
@media (max-width: 991.98px) {
    .supply-base-hero,
    .supply-base-hero .page-visual-hero__grid,
    .category-detail-hero,
    .category-detail-hero .page-visual-hero__grid {
        min-height: auto;
    }
}

/* Category capability detail pages */
.category-detail-page {
    background: var(--light-gray);
}

.category-detail-hero {
    min-height: clamp(600px, 52vw, 740px);
}

.category-detail-hero .page-visual-hero__grid {
    min-height: clamp(600px, 52vw, 740px);
}

.category-detail-hero__copy {
    max-width: 720px !important;
    padding-bottom: clamp(5rem, 8vw, 7rem) !important;
    padding-top: clamp(7rem, 12vw, 10rem) !important;
}

.category-detail-hero__copy h1 {
    font-size: clamp(2.65rem, 5vw, 4.8rem) !important;
    line-height: .98;
    max-width: 680px;
}

.category-detail-hero__copy > p {
    max-width: 650px !important;
}

.category-detail-hero__copy .lead {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.65;
}

.category-detail-back {
    color: rgba(255, 255, 255, .72);
    display: inline-flex;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.category-detail-back:hover,
.category-detail-back:focus {
    color: #fff;
}

.category-detail-hero__media img {
    object-position: center;
}

.category-detail-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.category-detail-section--soft {
    background: #eef3f8;
}

.category-detail-section--ink {
    background: var(--navy-deep);
    color: #fff;
}

.category-detail-section--ink .supply-base-section__heading h2,
.category-detail-section--ink h2 {
    color: #fff;
}

.category-detail-section--ink .supply-base-section__heading p,
.category-detail-section--ink p {
    color: rgba(255, 255, 255, .74);
}

.category-detail-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-panel {
    background: #fff;
    border: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.35rem, 3vw, 2rem);
}

.detail-panel__heading {
    align-items: center;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--navy);
    display: flex;
    font-size: 1.05rem;
    font-weight: 800;
    gap: .65rem;
    padding-bottom: 1rem;
}

.detail-panel__heading i {
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.detail-panel ul {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
}

.detail-panel li {
    color: var(--dark-gray);
    font-size: .92rem;
    line-height: 1.6;
    padding-left: 1.35rem;
    position: relative;
}

.detail-panel li + li {
    margin-top: .75rem;
}

.detail-panel li::before {
    color: var(--primary-dark);
    content: '\F26A';
    font-family: bootstrap-icons;
    font-size: .82rem;
    left: 0;
    position: absolute;
    top: .12rem;
}

.category-detail-map {
    align-items: stretch;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
}

.category-detail-map h2 {
    font-size: clamp(2rem, 3.7vw, 3.4rem);
    line-height: 1.05;
    margin: .7rem 0 1rem;
}

.category-detail-map > div:first-child p {
    max-width: 680px;
}

.category-detail-map__cities {
    align-self: stretch;
    background: rgba(17, 50, 88, .72);
    border: 1px solid rgba(255, 255, 255, .17);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.3rem, 3vw, 2rem);
    position: relative;
}

.category-detail-map__cities::before {
    background: var(--primary-color);
    content: '';
    height: 3px;
    left: 1.5rem;
    position: absolute;
    right: 1.5rem;
    top: 0;
}

.category-detail-map__cities small {
    color: var(--primary-light);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.category-detail-map__cities strong {
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.35;
    margin-top: .7rem;
}

.category-detail-path {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-detail-path article {
    background: #fff;
    border: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 1.45rem;
}

.category-detail-path article > span {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.06em;
}

.category-detail-path h3 {
    font-size: 1.2rem;
    line-height: 1.15;
    margin: 1rem 0 .6rem;
}

.category-detail-path p {
    color: var(--dark-gray);
    font-size: .86rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-detail-path small {
    border-top: 1px solid var(--medium-gray);
    color: var(--primary-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-top: auto;
    padding-top: .8rem;
    text-transform: uppercase;
}

.detail-boundary {
    align-items: center;
    background: #fff;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1.2rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: clamp(1.4rem, 3vw, 2.25rem);
}

.detail-boundary__icon {
    align-items: center;
    background: var(--navy);
    border-radius: 50%;
    color: var(--primary-light);
    display: flex;
    font-size: 1.45rem;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.detail-boundary h2 {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.1;
    margin: .45rem 0 .7rem;
}

.detail-boundary p {
    color: var(--dark-gray);
    line-height: 1.65;
    margin: 0;
    max-width: 880px;
}

@media (max-width: 991.98px) {
    .category-detail-hero__copy {
        padding-top: 6.5rem !important;
    }

    .category-detail-map {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .category-detail-grid,
    .category-detail-path {
        grid-template-columns: 1fr;
    }

    .category-detail-hero,
    .category-detail-hero .page-visual-hero__grid {
        min-height: auto;
    }

    .category-detail-hero__copy {
        padding-bottom: 4.7rem !important;
        padding-top: 5.3rem !important;
    }

    .category-detail-hero__copy h1 {
        font-size: 2.55rem !important;
    }

    .category-detail-hero__copy .supply-base-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .category-detail-hero__copy .supply-base-hero__actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .detail-boundary {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }
}
