.cl-city-hero {
    --cl-hero-ink: #071226;
    --cl-hero-muted: #526176;
    --cl-hero-line: rgba(12, 24, 44, 0.12);
    --cl-hero-blue: #1848d8;
    --cl-hero-mint: #15b981;
    --cl-hero-gold: #f4b84d;
    background:
        radial-gradient(circle at 10% 8%, rgba(21, 185, 129, 0.24), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(244, 184, 77, 0.25), transparent 28%),
        radial-gradient(circle at 72% 82%, rgba(24, 72, 216, 0.14), transparent 34%),
        linear-gradient(135deg, #f5fff9 0%, #f8fbff 48%, #fff8ea 100%);
    border: 1px solid var(--cl-hero-line);
    border-radius: clamp(26px, 4vw, 42px);
    box-shadow: 0 30px 90px rgba(8, 24, 46, 0.12);
    box-sizing: border-box;
    color: var(--cl-hero-ink);
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
    isolation: isolate;
    margin: 28px 0 34px 50%;
    max-width: min(1400px, calc(100vw - 64px));
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    position: relative;
    transform: translateX(-50%);
    width: min(1400px, calc(100vw - 64px));
}

.cl-city-hero::before {
    background:
        linear-gradient(rgba(24, 72, 216, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 72, 216, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    inset: 0;
    mask-image: radial-gradient(circle at 68% 38%, #000 0%, transparent 62%);
    opacity: 0.55;
    pointer-events: none;
    position: absolute;
    z-index: -2;
}

.cl-city-hero::after {
    background:
        repeating-radial-gradient(circle at 74% 40%, rgba(7, 18, 38, 0.14) 0 1px, transparent 1px 18px);
    content: "";
    height: 360px;
    opacity: 0.22;
    pointer-events: none;
    position: absolute;
    right: -90px;
    top: -52px;
    width: 360px;
    z-index: -1;
}

.cl-city-hero__grid,
.cl-city-hero__glow {
    pointer-events: none;
    position: absolute;
}

.cl-city-hero__glow {
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
}

.cl-city-hero__glow--mint {
    background: rgba(21, 185, 129, 0.22);
    height: 160px;
    left: -44px;
    top: 24%;
    width: 160px;
}

.cl-city-hero__glow--gold {
    background: rgba(244, 184, 77, 0.2);
    bottom: -60px;
    height: 220px;
    right: 14%;
    width: 220px;
}

.cl-city-hero__inner {
    align-items: center;
    display: grid;
    gap: clamp(24px, 4vw, 42px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.36fr);
    position: relative;
    z-index: 1;
}

.cl-city-hero__copy {
    max-width: 900px;
}

.cl-city-hero__eyebrow {
    align-items: center;
    color: #1d5f50;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 850;
    gap: 9px;
    letter-spacing: 0.16em;
    line-height: 1.2;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.cl-city-hero__eyebrow::before {
    background: linear-gradient(135deg, var(--cl-hero-mint), var(--cl-hero-blue));
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(21, 185, 129, 0.12);
    content: "";
    height: 9px;
    width: 9px;
}

.cl-city-hero__title {
    color: var(--cl-hero-ink);
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: clamp(2.45rem, 5vw, 4.45rem);
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
    max-width: 1040px;
    text-wrap: balance;
    word-spacing: 0.04em;
}

.cl-city-hero__subheadline {
    color: #14233a;
    font-size: clamp(1.15rem, 2.1vw, 1.48rem);
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.24;
    margin: 24px 0 0;
    max-width: 760px;
}

.cl-city-hero__support {
    color: var(--cl-hero-muted);
    font-size: clamp(0.98rem, 1.7vw, 1.12rem);
    line-height: 1.72;
    margin: 16px 0 0;
    max-width: 760px;
}

.cl-city-hero__insight-card {
    align-self: stretch;
    background:
        radial-gradient(circle at 4% 0%, rgba(91, 239, 230, 0.18), transparent 34%),
        radial-gradient(circle at 100% 4%, rgba(244, 184, 77, 0.16), transparent 30%),
        linear-gradient(145deg, rgba(10, 24, 43, 0.95), rgba(18, 35, 56, 0.88));
    border: 1px solid rgba(150, 230, 225, 0.34);
    border-radius: 30px;
    box-shadow: 0 22px 60px rgba(8, 24, 46, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 16px;
    min-height: 270px;
    overflow: hidden;
    padding: 22px;
    position: relative;
}

.cl-city-hero__insight-card::before {
    background: linear-gradient(90deg, #5beee6, rgba(244, 184, 77, 0.76));
    content: "";
    height: 5px;
    left: 22px;
    position: absolute;
    right: 22px;
    top: 22px;
}

.cl-city-hero__insight-card p {
    color: rgba(231, 239, 250, 0.74);
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.45;
    margin: 0;
}

.cl-city-hero__rankings-header {
    padding-top: 12px;
    text-align: center;
}

.cl-city-hero__rankings-header span {
    color: rgba(231, 239, 250, 0.62);
    display: block;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.cl-city-hero__rankings-header strong {
    color: #ffffff;
    display: block;
    font-size: clamp(1.15rem, 2vw, 1.42rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.cl-city-hero__ranking-list {
    border: 1px solid rgba(160, 178, 202, 0.22);
    border-radius: 20px;
    overflow: hidden;
}

.cl-city-hero__ranking-row {
    align-items: center;
    border-bottom: 1px solid rgba(160, 178, 202, 0.18);
    column-gap: 12px;
    display: grid;
    grid-template-areas:
        "mark rank score"
        ". name score";
    grid-template-columns: 50px minmax(0, 1fr) minmax(86px, auto);
    grid-template-rows: 68px auto;
    padding: 10px 14px 12px;
    row-gap: 2px;
}

.cl-city-hero__ranking-row:last-child {
    border-bottom: 0;
}

.cl-city-hero__carrier-mark {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    color: #ffffff;
    display: flex;
    font-size: 0.74rem;
    font-weight: 950;
    height: 50px;
    justify-content: center;
    letter-spacing: -0.04em;
    width: 50px;
    align-self: center;
    grid-area: mark;
    justify-self: center;
}

.cl-city-hero__ranking-row--att .cl-city-hero__carrier-mark {
    color: #42d9ff;
}

.cl-city-hero__ranking-row--verizon .cl-city-hero__carrier-mark {
    color: #ff4a4a;
    font-size: 1.45rem;
}

.cl-city-hero__ranking-row--tmobile .cl-city-hero__carrier-mark {
    color: #ff3fbe;
    font-size: 1.5rem;
}

.cl-city-hero__carrier-name {
    align-self: start;
    grid-area: name;
    justify-self: center;
    min-width: 0;
    text-align: center;
}

.cl-city-hero__carrier-name strong,
.cl-city-hero__carrier-name > span,
.cl-city-hero__score strong,
.cl-city-hero__score span {
    display: block;
}

.cl-city-hero__carrier-name strong {
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.12;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cl-city-hero__carrier-name > span {
    color: rgba(231, 239, 250, 0.58);
    font-size: 0.68rem;
    font-weight: 800;
    margin-top: 3px;
    text-transform: uppercase;
}

.cl-city-hero__rank-icon {
    --cl-trophy-light: #ffe98c;
    --cl-trophy-mid: #f6c84f;
    --cl-trophy-dark: #a76508;
    --cl-trophy-shadow: rgba(246, 200, 79, 0.24);
    align-items: center;
    align-self: center;
    grid-area: rank;
    display: grid;
    height: 68px;
    justify-content: center;
    justify-self: center;
    place-items: center;
    width: 66px;
}

.cl-city-hero__rank-icon--2 {
    --cl-trophy-light: #f8fafc;
    --cl-trophy-mid: #cbd5e1;
    --cl-trophy-dark: #64748b;
    --cl-trophy-shadow: rgba(203, 213, 225, 0.2);
}

.cl-city-hero__rank-icon--3 {
    --cl-trophy-light: #ffc18a;
    --cl-trophy-mid: #cd7f32;
    --cl-trophy-dark: #7c3f13;
    --cl-trophy-shadow: rgba(205, 127, 50, 0.2);
}

.cl-city-hero__trophy-icon {
    display: block;
    filter: drop-shadow(0 10px 16px var(--cl-trophy-shadow));
    height: 68px;
    width: 66px;
}

.cl-city-hero__trophy-cup,
.cl-city-hero__trophy-stem,
.cl-city-hero__trophy-base,
.cl-city-hero__trophy-handle {
    fill: var(--cl-trophy-mid);
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 1;
}

.cl-city-hero__trophy-cup {
    fill: var(--cl-trophy-mid);
}

.cl-city-hero__trophy-stem,
.cl-city-hero__trophy-base {
    fill: var(--cl-trophy-dark);
}

.cl-city-hero__trophy-highlight {
    fill: rgba(255, 255, 255, 0.5);
}

.cl-city-hero__trophy-number {
    color: #fff5c9;
    dominant-baseline: central;
    fill: #fff5c9;
    font-size: 21px;
    font-weight: 950;
    text-shadow: 0 1px 2px rgba(79, 41, 6, 0.58);
}

.cl-city-hero__rank-badge {
    align-items: center;
    aspect-ratio: 1;
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.9), transparent 20%),
        linear-gradient(145deg, var(--cl-trophy-light), var(--cl-trophy-mid) 58%, var(--cl-trophy-dark));
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    box-shadow: 0 10px 18px var(--cl-trophy-shadow), inset 0 -4px 9px rgba(7, 18, 38, 0.22);
    color: #ffffff;
    display: flex;
    font-size: 1.05rem;
    font-weight: 950;
    height: 42px;
    justify-content: center;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 1px 2px rgba(7, 18, 38, 0.34);
}

.cl-city-hero__score {
    align-self: stretch;
    display: grid;
    grid-area: score;
    grid-template-rows: 68px auto auto;
    justify-self: end;
    min-width: 86px;
    text-align: right;
}

.cl-city-hero__score strong {
    align-self: center;
    color: #ffffff;
    font-size: clamp(1.72rem, 2.4vw, 2.28rem);
    font-weight: 950;
    justify-self: end;
    letter-spacing: -0.06em;
    line-height: 0.95;
    white-space: nowrap;
}

.cl-city-hero__score span {
    color: rgba(231, 239, 250, 0.66);
    font-size: 0.66rem;
    font-weight: 800;
    justify-self: end;
    line-height: 1.2;
    margin-top: -18px;
    white-space: nowrap;
}

.cl-city-hero__score em {
    color: rgba(91, 238, 230, 0.86);
    display: block;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
    justify-self: end;
    letter-spacing: 0.08em;
    line-height: 1.05;
    margin-top: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.cl-city-hero__map-panel {
    background:
        linear-gradient(rgba(24, 72, 216, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 72, 216, 0.09) 1px, transparent 1px),
        radial-gradient(circle at 24% 28%, rgba(21, 185, 129, 0.22), transparent 28%),
        radial-gradient(circle at 74% 60%, rgba(24, 72, 216, 0.18), transparent 30%),
        rgba(255, 255, 255, 0.08);
    background-size: 22px 22px, 22px 22px, auto, auto, auto;
    border: 1px solid rgba(24, 72, 216, 0.12);
    border-radius: 24px;
    min-height: 150px;
    overflow: hidden;
    position: relative;
}

.cl-city-hero__map-panel::before {
    background:
        radial-gradient(circle at center, transparent 0 36%, rgba(24, 72, 216, 0.16) 37% 38%, transparent 39%),
        radial-gradient(circle at center, transparent 0 58%, rgba(21, 185, 129, 0.16) 59% 60%, transparent 61%);
    content: "";
    inset: -28px -34px -12px 30px;
    position: absolute;
}

.cl-city-hero__map-route {
    border-bottom: 3px solid rgba(24, 72, 216, 0.56);
    border-left: 3px solid rgba(24, 72, 216, 0.56);
    border-radius: 0 0 0 36px;
    height: 64px;
    left: 31%;
    position: absolute;
    top: 28%;
    transform: rotate(-16deg);
    width: 42%;
}

.cl-city-hero__map-pin {
    background: #ffffff;
    border: 5px solid var(--cl-hero-blue);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(8, 24, 46, 0.18), 0 0 0 12px rgba(24, 72, 216, 0.1);
    height: 24px;
    position: absolute;
    width: 24px;
}

.cl-city-hero__map-pin--primary {
    border-color: var(--cl-hero-blue);
    left: 28%;
    top: 25%;
}

.cl-city-hero__map-pin--secondary {
    border-color: var(--cl-hero-mint);
    right: 23%;
    top: 50%;
}

.cl-city-hero__map-pin--tertiary {
    border-color: var(--cl-hero-gold);
    bottom: 20%;
    left: 44%;
}

.cl-city-hero__insight-list {
    display: grid;
    gap: 9px;
}

.cl-city-hero__insight-list span {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    font-size: 0.78rem;
    font-weight: 850;
    gap: 8px;
    line-height: 1.2;
    padding: 9px 11px;
}

.cl-city-hero__insight-list span::before {
    background: linear-gradient(135deg, var(--cl-hero-blue), var(--cl-hero-mint));
    border-radius: 999px;
    content: "";
    height: 7px;
    width: 7px;
}

.cl-city-hero--empty {
    background:
        radial-gradient(circle at 12% 0%, rgba(244, 184, 77, 0.2), transparent 32%),
        linear-gradient(135deg, #fffaf0, #ffffff);
}

@media (max-width: 800px) {
    .cl-city-hero {
        border-radius: 28px;
        margin: 20px 0 28px;
        max-width: 100%;
        transform: none;
        width: 100%;
    }

    .cl-city-hero__inner {
        grid-template-columns: 1fr;
    }

    .cl-city-hero__insight-card {
        min-height: 210px;
    }

    .cl-city-hero__ranking-row {
        column-gap: 10px;
        grid-template-columns: 46px minmax(0, 1fr) minmax(78px, auto);
        grid-template-rows: 64px auto;
    }

    .cl-city-hero__score {
        grid-template-rows: 64px auto auto;
    }

    .cl-city-hero__rank-icon {
        height: 64px;
        width: 62px;
    }

    .cl-city-hero__trophy-icon {
        height: 64px;
        width: 62px;
    }
}

@media (max-width: 520px) {
    .cl-city-hero {
        padding: 24px;
    }

    .cl-city-hero__title {
        font-size: clamp(2.35rem, 14vw, 3.7rem);
    }

    .cl-city-hero__subheadline {
        margin-top: 20px;
    }

    .cl-city-hero__ranking-row {
        column-gap: 8px;
        grid-template-columns: 40px minmax(0, 1fr) minmax(60px, auto);
        grid-template-rows: 56px auto;
        padding: 12px 10px;
    }

    .cl-city-hero__carrier-mark {
        border-radius: 14px;
        height: 40px;
        width: 40px;
    }

    .cl-city-hero__score strong {
        font-size: 1.55rem;
    }

    .cl-city-hero__score {
        grid-template-rows: 56px auto auto;
    }

    .cl-city-hero__rank-icon {
        height: 56px;
        width: 54px;
    }

    .cl-city-hero__trophy-icon {
        height: 56px;
        width: 54px;
    }

    .cl-city-hero__rank-badge {
        height: 38px;
    }
}
