/* ============================================================
   Location Hub — Who We Serve
   File: assets/css/hub/hub-wws.css
   Scope: .hub-wws__* classes only
   Figma: "Who We Serve Block" node 2109:456 — navy bg, city photo
   grid (Swiper) + pill button row.
   ============================================================ */

.hub-wws {
    background: var(--hub-navy);
    color: var(--hub-cream);
    padding: var(--hub-section-pad) 0;
}

.hub-wws__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.hub-wws__heading {
    font-family: var(--hub-font-serif);
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--hub-cream);
    margin: 0 0 16px;
}

.hub-wws__body {
    font-family: var(--hub-font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 22.5px;
    color: var(--hub-stat-label);
    margin: 0;
}

.hub-wws__cities {
    position: relative; /* contains the absolutely-positioned nav arrows */
    margin-bottom: 40px;
    overflow: hidden;
}

.hub-wws__city-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    background: var(--hub-white);
    border-radius: var(--hub-radius-card);
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.hub-wws__city-image,
.hub-wws__city-image--placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: var(--hub-radius-img);
    object-fit: cover;
    background: rgba(3, 0, 47, 0.06);
}

.hub-wws__city-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 4px 0;
    text-align: left;
}

.hub-wws__city-name {
    font-family: var(--hub-font-serif);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.3;
    color: var(--hub-navy);
    text-align: left;
}

.hub-wws__city-tag {
    font-family: var(--hub-font-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.0112em;
    color: var(--hub-blue);
    text-align: left;
}

/* Carousel nav arrows — Swiper's default button, restyled as a solid
   circle. Positioned to sit over the image row (not the full card height,
   which also includes the name/tag text below). Hidden on mobile, where
   the row relies on touch/swipe only. */
.hub-wws__cities .swiper-button-next,
.hub-wws__cities .swiper-button-prev {
    top: 42%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    background: var(--hub-blue);
    border-radius: 50%;
    --swiper-navigation-color: var(--hub-white);
    --swiper-navigation-size: 16px;
    transition: opacity 0.15s;
}

.hub-wws__cities .swiper-button-next {
    right: 0;
}

.hub-wws__cities .swiper-button-prev {
    left: 0;
}

.hub-wws__cities .swiper-button-next:hover,
.hub-wws__cities .swiper-button-prev:hover {
    opacity: 0.88;
}

.hub-wws__cities .swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.hub-wws__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--hub-gap-cards);
    margin-bottom: 48px;
}

.hub-wws__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border: 1px solid rgba(245, 240, 236, 0.35);
    border-radius: var(--hub-radius-btn);
    font-family: var(--hub-font-sans);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--hub-cream);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.hub-wws__button:hover {
    background: var(--hub-blue);
    border-color: var(--hub-blue);
    color: var(--hub-white);
}

.hub-wws__footer-cta {
    text-align: center;
}

.hub-wws__footer-text {
    font-family: var(--hub-font-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--hub-stat-label);
    margin: 0 0 20px;
}


/* ============================
   RESPONSIVE — WHO WE SERVE
   ============================ */

@media (max-width: 768px) {
    .hub-wws__heading {
        font-size: 32px;
    }

    .hub-wws__city-card {
        padding: 12px;
    }

    .hub-wws__city-name {
        font-size: 20px;
    }

    .hub-wws__button {
        padding: 13px 28px;
        font-size: 17px;
    }

    /* Mobile relies on touch/swipe scrolling, not the arrow controls */
    .hub-wws__cities .swiper-button-next,
    .hub-wws__cities .swiper-button-prev {
        display: none;
    }
}
