/*
 * AtlasStore.Outlet - Public Coverage Page Styles
 * "Our Outlets" customer-facing page with interactive map and outlet cards.
 * Designed to match the Tasty Treat brand: warm reds, clean whites, rounded cards.
 */

/* ============================================================
   Hero Section
   ============================================================ */
.otl-pub-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 50%, #880e4f 100%);
    color: #fff;
    text-align: center;
}

.otl-pub-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.otl-pub-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.otl-pub-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.otl-pub-hero__badge-icon {
    font-size: 1rem;
}

.otl-pub-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.otl-pub-hero__subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    margin: 0 0 1.75rem;
    line-height: 1.5;
}

.otl-pub-hero__stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.otl-pub-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.otl-pub-stat__number {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
}

.otl-pub-stat__label {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============================================================
   Map Section
   ============================================================ */
.otl-pub-map-section {
    margin-bottom: 2.5rem;
}

.otl-pub-map-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.otl-pub-map-header__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.otl-pub-map-header__icon {
    font-size: 1.3rem;
}

.otl-pub-map-header__desc {
    font-size: 0.92rem;
    color: #666;
    margin: 0;
}

.otl-pub-map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 4px 24px -6px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    background: #f0f0f0;
}

.otl-pub-map-canvas {
    width: 100%;
    height: 480px;
}

.otl-pub-map-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.85rem;
    font-size: 0.85rem;
    color: #555;
}

.otl-pub-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.otl-pub-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.otl-pub-legend-dot--delivery {
    background: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.2);
}

.otl-pub-legend-dot--pickup {
    background: #8d9ba9;
    box-shadow: 0 0 0 3px rgba(141, 155, 169, 0.2);
}

/* ============================================================
   Search Section
   ============================================================ */
.otl-pub-search-section {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    /* Side padding so the pill never touches the viewport edge on small
       screens where the page has no container gutter. */
    padding-inline: 1rem;
}

.otl-pub-search {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    max-width: 520px;
    min-height: 48px;
    padding: 0.4rem 1.125rem;
    border-radius: 3rem;
    /* Frosted glass pill */
    background: rgba(var(--otl-surface-rgb), 0.65);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    backdrop-filter: blur(14px) saturate(170%);
    border: 2px solid rgba(var(--otl-accent-rgb), 0.75);
    box-shadow: 0 8px 24px -10px rgba(var(--otl-brand-rgb), 0.4);
}

.otl-pub-search:focus-within {
    border-color: var(--otl-brand);
    box-shadow: 0 0 0 3px rgba(var(--otl-accent-rgb), 0.55);
}

.otl-pub-search__icon {
    font-size: 1rem;
    line-height: 1;
    color: var(--otl-brand);
    flex-shrink: 0;
}

.otl-pub-search__input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9375rem;
    width: 100%;
    color: var(--otl-ink);
}

.otl-pub-search__input::placeholder {
    color: var(--otl-muted);
}

/* ============================================================
   Cards Grid
   ============================================================
   Colours come from the active theme's runtime CSS variables so every
   store renders in its own palette. Each theme compiles its _custom.scss
   brand colours (primary / secondary / accent) into these :root custom
   properties; the fallbacks only apply if a theme omits a token. No brand
   hex is hard-coded here.
   ------------------------------------------------------------ */
/* Theme-driven design tokens shared by the search pill and the cards.
   Defined on the page wrapper so both sibling sections inherit them;
   each theme feeds its own palette in through the :root custom properties. */
.outlet-coverage-public-page {
    /* Brand + accent, both as hex and rgb (rgb needed for translucent glass) */
    --otl-brand: var(--primary, #c62828);
    --otl-brand-rgb: var(--primary-rgb, 198, 40, 40);
    --otl-accent: var(--warning, #e0a800);
    --otl-accent-rgb: var(--warning-rgb, 224, 168, 0);
    --otl-ok: var(--success, #2e7d32);
    --otl-ok-rgb: var(--success-rgb, 46, 125, 50);
    --otl-second-rgb: var(--secondary-rgb, 141, 155, 169);
    /* Neutral ink / surfaces */
    --otl-ink: var(--body-color, #2d2d2d);
    --otl-muted: var(--gray-700, #596167);
    --otl-surface-rgb: 255, 255, 255;
    --otl-radius: var(--border-radius-lg, 0.75rem);
    --otl-fs: 0.875rem;
    --otl-fs-sm: 0.8125rem;
}

.otl-pub-cards-section {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 1.25rem;
    /* Scroll the list inside a glass pane. Firefox uses the two-value
       scrollbar-color (thumb + track); WebKit/Chromium use the pseudo
       elements below. Thumb colours come from the theme tokens. */
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--otl-brand-rgb), 0.55) rgba(var(--otl-surface-rgb), 0.25);
    /* Brand-tinted glow the frosted glass sits over. Fades out inside the
       tile so the vertical repeat has no visible seam on long lists. */
    background:
        radial-gradient(ellipse 55% 35% at 8% 25%, rgba(var(--otl-brand-rgb), 0.20) 0%, transparent 100%),
        radial-gradient(ellipse 50% 35% at 92% 50%, rgba(var(--otl-accent-rgb), 0.26) 0%, transparent 100%),
        radial-gradient(ellipse 55% 30% at 35% 85%, rgba(var(--otl-brand-rgb), 0.12) 0%, transparent 100%),
        var(--gray-100, #f7f7f9);
    background-size: 100% 52rem;
}

/* Custom glass scrollbar (WebKit / Chromium) */
.otl-pub-cards-section::-webkit-scrollbar {
    width: 12px;
}

.otl-pub-cards-section::-webkit-scrollbar-track {
    margin-block: 0.75rem;
    background: rgba(var(--otl-surface-rgb), 0.25);
    border-radius: 999px;
}

.otl-pub-cards-section::-webkit-scrollbar-thumb {
    border-radius: 999px;
    /* Translucent brand-to-accent pill with a glossy top highlight */
    background:
        linear-gradient(180deg, rgba(var(--otl-surface-rgb), 0.5) 0%, rgba(var(--otl-surface-rgb), 0) 35%),
        linear-gradient(180deg, rgba(var(--otl-brand-rgb), 0.75) 0%, rgba(var(--otl-accent-rgb), 0.75) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.otl-pub-cards-section::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, rgba(var(--otl-surface-rgb), 0.55) 0%, rgba(var(--otl-surface-rgb), 0) 35%),
        linear-gradient(180deg, rgba(var(--otl-brand-rgb), 0.9) 0%, rgba(var(--otl-accent-rgb), 0.9) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.otl-pub-cards-grid {
    display: grid;
    /* min() guards the track against overflowing on phones narrower than the
       track's minimum (e.g. 320px viewports). */
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    gap: 1rem;
}

/* ============================================================
   City Group Headers
   ============================================================ */
.otl-pub-city-group {
    margin-bottom: 1.75rem;
}

.otl-pub-city-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.5rem 0.55rem 1rem;
    margin-bottom: 0.875rem;
    /* Translucent brand glass banner */
    background: linear-gradient(90deg, rgba(var(--otl-brand-rgb), 0.92) 0%, rgba(var(--otl-brand-rgb), 0.68) 100%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
    border-radius: var(--otl-radius);
    border-block-end: 3px solid var(--otl-accent);
    box-shadow: 0 8px 20px -10px rgba(var(--otl-brand-rgb), 0.6);
}

.otl-pub-city-header__name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
}

.otl-pub-city-header__count {
    min-width: 1.75rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--otl-ink);
    background: var(--otl-accent);
    padding: 0.125rem 0.6rem;
    border-radius: 1rem;
    font-weight: 700;
}

/* ============================================================
   Individual Card  (frosted glass)
   ============================================================ */
.otl-pub-card {
    position: relative;
    /* Liquid glass: a diagonal gloss sheen baked over a highly translucent,
       heavily blurred fill. Both layers sit under the content so text stays
       crisp and no extra stacking context is needed. */
    background:
        linear-gradient(135deg, rgba(var(--otl-surface-rgb), 0.55) 0%, rgba(var(--otl-surface-rgb), 0.14) 32%, rgba(var(--otl-surface-rgb), 0) 60%),
        radial-gradient(120% 80% at 50% -10%, rgba(var(--otl-surface-rgb), 0.35) 0%, rgba(var(--otl-surface-rgb), 0) 60%),
        rgba(var(--otl-surface-rgb), 0.4);
    -webkit-backdrop-filter: blur(22px) saturate(185%);
    backdrop-filter: blur(22px) saturate(185%);
    border-radius: 1.25rem;
    border: 1px solid rgba(var(--otl-surface-rgb), 0.55);
    box-shadow:
        0 16px 40px -16px rgba(var(--otl-brand-rgb), 0.4),
        inset 0 1px 1px rgba(var(--otl-surface-rgb), 0.9),
        inset 0 -14px 24px -18px rgba(var(--otl-brand-rgb), 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    content-visibility: auto;
    contain-intrinsic-size: auto 12rem;
}

/* Brand-to-accent accent edge */
.otl-pub-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--otl-brand) 0%, rgba(var(--otl-brand-rgb), 0.6) 45%, var(--otl-accent) 100%);
}

.otl-pub-card:hover {
    border-color: rgba(var(--otl-accent-rgb), 0.9);
    box-shadow:
        0 22px 48px -16px rgba(var(--otl-brand-rgb), 0.5),
        inset 0 1px 1px rgba(var(--otl-surface-rgb), 0.95),
        inset 0 -16px 28px -18px rgba(var(--otl-brand-rgb), 0.3);
}

.otl-pub-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.5rem;
}

.otl-pub-card__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius-sm, 0.5rem);
    background:
        linear-gradient(150deg, rgba(var(--otl-surface-rgb), 0.45) 0%, rgba(var(--otl-surface-rgb), 0) 45%),
        linear-gradient(135deg, var(--otl-brand) 0%, rgba(var(--otl-brand-rgb), 0.72) 100%);
    box-shadow:
        0 0 0 2px var(--otl-accent),
        0 6px 14px -4px rgba(var(--otl-brand-rgb), 0.55),
        inset 0 1px 1px rgba(var(--otl-surface-rgb), 0.6);
    flex-shrink: 0;
}

.otl-pub-card__icon {
    font-size: 1.05rem;
    line-height: 1;
    color: #fff;
}

.otl-pub-card__title-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.otl-pub-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--otl-ink);
    margin: 0;
    line-height: 1.3;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.otl-pub-card__code {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--otl-ink);
    background: rgba(var(--otl-accent-rgb), 0.28);
    padding: 0.05rem 0.5rem;
    border-radius: 1rem;
}

.otl-pub-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.625rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.otl-pub-card__badge--delivery {
    background: rgba(var(--otl-ok-rgb), 0.18);
    color: var(--otl-ok);
}

.otl-pub-card__badge--pickup {
    background: rgba(var(--otl-second-rgb), 0.22);
    color: var(--otl-muted);
}

.otl-pub-card__body {
    padding: 0.25rem 1rem 0.75rem;
    flex: 1;
}

.otl-pub-card__row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--otl-fs);
    color: var(--otl-ink);
    margin-bottom: 0.5rem;
    line-height: 1.45;
}

.otl-pub-card__row-icon {
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
    color: var(--otl-brand);
    line-height: 1.45;
}

.otl-pub-card__address {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
}

.otl-pub-card__link {
    color: var(--otl-ink);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.otl-pub-card__link--email span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.otl-pub-card__link:hover {
    color: var(--otl-brand);
    text-decoration: underline;
}

/* Labelled delivery stats, glass tiles */
.otl-pub-card__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
    gap: 1px;
    margin: 0 1rem 0.875rem;
    overflow: hidden;
    border-radius: 0.875rem;
    border: 1px solid rgba(var(--otl-accent-rgb), 0.55);
    background: rgba(var(--otl-accent-rgb), 0.35);
}

.otl-pub-card__stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.5rem 0.625rem;
    background:
        linear-gradient(160deg, rgba(var(--otl-surface-rgb), 0.5) 0%, rgba(var(--otl-surface-rgb), 0) 55%),
        rgba(var(--otl-surface-rgb), 0.55);
    -webkit-backdrop-filter: blur(8px) saturate(160%);
    backdrop-filter: blur(8px) saturate(160%);
    min-width: 0;
}

.otl-pub-card__stat dt {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--otl-muted);
}

.otl-pub-card__stat dd {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--otl-ink);
}

/* Primary CTA, solid brand for contrast + tap clarity */
.otl-pub-card__locate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border: none;
    border-top: 3px solid var(--otl-accent);
    background: linear-gradient(135deg, var(--otl-brand) 0%, rgba(var(--otl-brand-rgb), 0.82) 100%);
    color: #fff;
    font-size: var(--otl-fs);
    font-weight: 700;
    cursor: pointer;
}

.otl-pub-card__locate-btn:hover {
    background: var(--otl-accent);
    color: var(--otl-ink);
}

.otl-pub-card a:focus-visible,
.otl-pub-card button:focus-visible {
    outline: 2px solid var(--otl-brand);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
    .otl-pub-card {
        transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

    .otl-pub-card:hover {
        transform: translateY(-3px);
    }

    .otl-pub-card__locate-btn {
        transition: background 0.2s ease, color 0.2s ease;
    }
}

/* Touch: links get a 44px tap target */
@media (pointer: coarse) {
    .otl-pub-card__link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

   Empty State
  /* ============================================================ */
.otl-pub-empty {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #5f6368;
}

.otl-pub-empty__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

/* ============================================================
   Marker Cluster (brand color) - Glossy sexy style
   ============================================================ */
.otl-pub-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: otl-cluster-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.2s ease;
}

@keyframes otl-cluster-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.otl-pub-cluster:hover {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.otl-pub-cluster:active {
    transform: scale(0.95);
}

/* ============================================================
   Default Pin (fallback) - uses brand color
   ============================================================ */
.otl-pub-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    background: #8d9ba9;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.otl-pub-pin--delivery {
    background: #e53935;
}

.otl-pub-pin:hover {
    transform: rotate(-45deg) scale(1.15);
}

.otl-pub-pin__body {
    transform: rotate(45deg);
    font-size: 1rem;
}

/* ============================================================
   Custom Branded Pin (Marker.png in teardrop) - brand color
   ============================================================ */
.otl-pub-pin-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 8px rgba(229, 57, 53, 0.4));
}

.otl-pub-pin-custom:hover {
    transform: scale(1.2) translateY(-4px);
    filter: drop-shadow(0 6px 12px rgba(229, 57, 53, 0.5));
}

.otl-pub-pin-custom__body {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e53935 0%, #b71c1c 100%);
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.3),
        0 2px 12px rgba(229, 57, 53, 0.4);
    position: relative;
    z-index: 1;
}

.otl-pub-pin-custom--pickup .otl-pub-pin-custom__body {
    background: linear-gradient(145deg, #3d3d3d 0%, #555555 100%);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.3),
        0 2px 12px rgba(0, 0, 0, 0.2);
}

.otl-pub-pin-custom__img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.otl-pub-pin-custom--pickup .otl-pub-pin-custom__img {
    filter: grayscale(0.4) opacity(0.7);
}

.otl-pub-pin-custom__tail {
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid #b71c1c;
    margin-top: -3px;
    position: relative;
    z-index: 0;
}

.otl-pub-pin-custom--pickup .otl-pub-pin-custom__tail {
    border-top-color: #3d3d3d;
}

/* ============================================================
   Info Window
   ============================================================ */
.otl-pub-iw {
    padding: 0.75rem;
    max-width: 260px;
    font-family: inherit;
}

.otl-pub-iw__name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
}

.otl-pub-iw__addr,
.otl-pub-iw__phone {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.25rem;
}

.otl-pub-iw__status {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2e7d32;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .otl-pub-hero {
        padding: 2rem 1.25rem;
        border-radius: 0.75rem;
    }

    .otl-pub-hero__stats {
        gap: 1.25rem;
    }

    .otl-pub-stat__number {
        font-size: 1.4rem;
    }

    .otl-pub-map-canvas {
        height: 350px;
    }

    .otl-pub-cards-grid {
        gap: 0.5rem;
    }

    .otl-pub-map-legend {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .otl-pub-hero {
        padding: 1.5rem 1rem;
    }

    .otl-pub-hero__title {
        font-size: 1.4rem;
    }

    /* Three stats stay on one readable row on narrow phones instead of
       crowding or forcing a horizontal scroll. */
    .otl-pub-hero__stats {
        gap: 0.75rem 1rem;
    }

    .otl-pub-stat {
        min-width: 64px;
    }

    .otl-pub-map-canvas {
        height: 280px;
    }

    /* 16px prevents iOS zoom-on-focus */
    .otl-pub-search__input {
        font-size: 1rem;
    }
}
