@charset "UTF-8";

/* Trebinje24 portal skin — dense, edge-to-edge city infrastructure homepage. */

.page-home {
    --portal-shell: 1540px;
    --portal-gutter: clamp(14px, 2.4vw, 38px);
    background: #edf2f5;
}

.page-home .shell {
    width: min(calc(100% - (var(--portal-gutter) * 2)), var(--portal-shell));
}

.page-home .site-header {
    border-top: 4px solid var(--t24-red);
    border-bottom-color: #cbd6dc;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 4px 18px rgba(5, 20, 34, .1);
}

.page-home .header-inner {
    max-width: var(--portal-shell);
}

.page-home .desktop-nav a {
    border-radius: 3px;
    color: #273c4c;
    font-size: .9rem;
    font-weight: 850;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.page-home .desktop-nav a:hover {
    background: var(--t24-navy);
    color: #fff;
}

.page-home .header-actions .button {
    border-radius: 5px;
}

.city-pulse-strip {
    position: relative;
    z-index: 20;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    background: linear-gradient(90deg, #071422 0%, #102b40 68%, #173e59 100%);
    color: #fff;
}

.city-pulse-strip::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: max(8px, calc((100vw - var(--portal-shell)) / 2));
    background: var(--t24-red);
    content: "";
}

.city-pulse-strip__inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 18px;
    font-size: .7rem;
}

.city-pulse-strip__inner > strong {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.city-pulse-strip__signals {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: stretch;
    align-self: stretch;
    overflow: hidden;
}

.city-pulse-strip__signals a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-inline: 18px;
    border-left: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .72);
    white-space: nowrap;
}

.city-pulse-strip__signals a:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.city-pulse-strip__signals b {
    color: #fff;
    font-size: .78rem;
}

.city-pulse-strip__signals span {
    color: #3de19f;
    font-size: .55rem;
}

.city-pulse-strip time {
    flex: 0 0 auto;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, .17);
    color: #98ddf5;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: .08em;
}

.page-home .hero-home {
    min-height: 0;
    padding: 38px 0 40px;
    border-bottom: 5px solid var(--t24-red);
    background:
        linear-gradient(90deg, rgba(231, 71, 52, .13), transparent 25%),
        radial-gradient(circle at 77% 0%, rgba(42, 172, 224, .25), transparent 27%),
        linear-gradient(116deg, #071321 0%, #0a2033 56%, #0b3b55 100%);
}

.page-home .hero-home::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
    content: "";
}

.page-home .hero-home::after {
    right: 5%;
    bottom: -260px;
    width: 520px;
    height: 520px;
}

.page-home .hero-home__inner {
    display: grid;
    grid-template-areas:
        "copy"
        "live"
        "briefing";
    gap: 16px;
    align-items: stretch;
}

.page-home .hero-home__copy {
    grid-area: copy;
    padding: 8px 0;
}

.page-home .live-city-line {
    margin-bottom: 12px;
}

.page-home .hero-home h1 {
    max-width: 720px;
    margin-bottom: 12px;
    font-size: clamp(2.55rem, 8vw, 4.65rem);
    line-height: .94;
    letter-spacing: -.065em;
}

.page-home .hero-home__copy > p {
    max-width: 680px;
    margin-bottom: 17px;
    font-size: clamp(.96rem, 2vw, 1.1rem);
    line-height: 1.55;
}

.page-home .hero-search {
    max-width: 740px;
    border: 2px solid #fff;
    border-radius: 7px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}

.page-home .hero-search input {
    min-height: 58px;
}

.page-home .hero-search button {
    border-left: 1px solid rgba(255,255,255,.3);
    background: linear-gradient(135deg, #ef523f, #c92f25);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.page-home .hero-trends {
    margin-top: 10px;
}

.page-home .hero-live-card {
    grid-area: live;
    border-radius: 8px;
    background: rgba(16, 46, 68, .86);
    box-shadow: 0 20px 56px rgba(0, 0, 0, .28);
    transform: none;
}

.page-home .hero-live-card__head {
    min-height: 42px;
    padding: 10px 13px;
    background: rgba(4, 18, 31, .55);
}

.page-home .hero-live-card__visual {
    min-height: 106px;
    background:
        linear-gradient(135deg, rgba(42, 172, 224, .92), rgba(79, 66, 180, .72)),
        var(--t24-navy-2);
}

.page-home .hero-live-card__body {
    padding: 15px;
}

.page-home .hero-live-card__body h2 {
    margin-bottom: 6px;
    font-size: 1.28rem;
}

.page-home .hero-live-card__body p {
    margin-bottom: 12px;
}

.page-home .hero-live-card .button {
    min-height: 43px;
    border-radius: 4px;
}

.portal-briefing {
    grid-area: briefing;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(6, 20, 33, .8);
    box-shadow: 0 20px 56px rgba(0, 0, 0, .25);
}

.portal-briefing__head {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.portal-briefing__head .eyebrow {
    color: #8edcf7;
}

.portal-briefing__head h2 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 1.16rem;
}

.portal-briefing__head > a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-weight: 900;
}

.portal-briefing__list {
    display: grid;
}

.portal-briefing__list > a {
    display: grid;
    min-width: 0;
    grid-template-columns: 54px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.portal-briefing__list > a:hover {
    background: rgba(42, 172, 224, .12);
}

.portal-briefing__list time {
    display: flex;
    min-height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.portal-briefing__list time b {
    font-size: .82rem;
}

.portal-briefing__list time small {
    color: rgba(255,255,255,.52);
    font-size: .6rem;
}

.portal-briefing__list > a > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.portal-briefing__list > a > span b {
    overflow: hidden;
    color: #fff;
    font-size: .8rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-briefing__list > a > span small {
    overflow: hidden;
    margin-top: 3px;
    color: rgba(255,255,255,.53);
    font-size: .67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-briefing__list > a > i {
    color: #58c6ef;
    font-style: normal;
}

.portal-briefing__footer {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    color: rgba(255,255,255,.56);
    font-size: .64rem;
}

.portal-briefing__footer b {
    color: #fff;
    text-transform: uppercase;
}

.page-home .quick-dock.shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 var(--portal-gutter);
    border: 0;
    border-bottom: 1px solid #213b50;
    border-radius: 0;
    background: #0b1728;
    box-shadow: 0 10px 28px rgba(8, 24, 37, .16);
}

.page-home .quick-dock__head {
    width: min(100%, var(--portal-shell));
    margin: 0 auto;
    padding: 10px 0 7px;
    color: #fff;
}

.page-home .quick-dock__head h2 {
    color: #fff;
    font-size: .77rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.page-home .quick-dock__head span {
    color: rgba(255,255,255,.46);
}

.page-home .quick-grid {
    width: min(100%, var(--portal-shell));
    margin: 0 auto;
    padding-bottom: 12px;
    gap: 1px;
    overflow-x: auto;
    background: rgba(255,255,255,.12);
    scrollbar-width: thin;
}

.page-home .quick-item {
    min-width: 102px;
    min-height: 76px;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 8px;
    padding: 9px;
    border: 0;
    border-radius: 0;
    background: #12283b;
}

.page-home .quick-item:hover {
    z-index: 1;
    background: #173951;
    box-shadow: inset 0 -3px var(--quick);
    transform: none;
}

.page-home .quick-item > span {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    font-size: .85rem;
}

.page-home .quick-item b {
    color: #fff;
    font-size: .82rem;
    line-height: 1.24;
    letter-spacing: -.01em;
}

.page-home .city-stats.shell {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding-inline: max(var(--portal-gutter), calc((100vw - var(--portal-shell)) / 2));
    border: 0;
    border-bottom: 1px solid #cbd8de;
    border-radius: 0;
    background: #fff;
}

.page-home .city-stats > div {
    min-height: 78px;
    padding: 13px 16px;
}

.page-home .city-stats strong {
    font-size: 1.52rem;
}

.page-home .city-stats span {
    margin-top: 4px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.page-home .section {
    padding-block: 34px;
}

.page-home .home-section.shell {
    width: 100%;
    max-width: none;
    padding-inline: max(var(--portal-gutter), calc((100vw - var(--portal-shell)) / 2));
}

.page-home .home-section,
.page-home .home-band {
    border-bottom: 1px solid #cfdae0;
}

.page-home .home-section:nth-of-type(odd) {
    background: #f8fafb;
}

.page-home .section-heading {
    min-height: 64px;
    align-items: center;
    margin-bottom: 17px;
    padding: 0 0 11px 14px;
    border-bottom: 2px solid #cbd8de;
    border-left: 5px solid var(--t24-red);
}

.page-home .section-heading h2 {
    margin: 1px 0 3px;
    font-size: clamp(1.55rem, 2.7vw, 2.25rem);
}

.page-home .section-heading p {
    font-size: .82rem;
}

.page-home .section-link {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid currentColor;
    border-radius: 3px;
    font-size: .75rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.page-home .home-section--events {
    background:
        linear-gradient(90deg, rgba(42,172,224,.045), transparent 32%),
        #f7fafb;
}

.page-home .event-rail {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.page-home .event-rail .event-card {
    display: grid;
    min-height: 154px;
    grid-template-columns: 108px minmax(0, 1fr);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(12, 33, 50, .06);
}

.page-home .event-rail .event-card__visual {
    min-height: 100%;
}

.page-home .event-rail .event-card__date {
    top: 10px;
    left: 10px;
    width: 54px;
    height: 54px;
    border-radius: 7px;
}

.page-home .event-rail .event-card__glyph {
    right: 9px;
    bottom: 8px;
    font-size: 3rem;
}

.page-home .event-rail .event-card__body {
    padding: 13px;
}

.page-home .event-rail .event-card__body h3 {
    font-size: .98rem;
}

.page-home .event-rail .event-card__venue {
    min-height: 0;
}

.page-home .event-rail .event-card__footer {
    margin-top: 8px;
    padding-top: 8px;
}

.page-home .home-band--deals {
    background:
        linear-gradient(110deg, rgba(231,71,52,.13), transparent 35%),
        linear-gradient(180deg, #e8f1f5, #f5f8fa);
}

.page-home .home-band > .shell {
    max-width: var(--portal-shell);
}

.page-home .deal-grid {
    gap: 10px;
}

.page-home .deal-card,
.page-home .business-card,
.page-home .apartment-card,
.page-home .community-card {
    border-radius: 6px;
}

.page-home .deal-card__top {
    min-height: 78px;
}

.page-home .deal-card__body {
    padding: 14px;
}

.page-home .deal-card__body h3 {
    font-size: 1rem;
}

.page-home .home-section--compare {
    gap: 0;
    padding-block: 0;
    background: #fff;
}

.page-home .home-section--compare .compare-showcase__copy {
    border-radius: 0;
    background:
        linear-gradient(145deg, rgba(42,172,224,.13), transparent 50%),
        var(--t24-navy);
}

.page-home .compare-list {
    border-radius: 0;
}

.page-home .compare-row {
    min-height: 62px;
    border-radius: 0;
}

.page-home .home-section--businesses {
    background: #f1f5f7;
}

.page-home .business-grid {
    gap: 10px;
}

.page-home .business-card__visual {
    min-height: 132px;
}

.page-home .business-card__body {
    padding: 14px;
}

.page-home .business-card__body > p {
    min-height: 38px;
    margin-bottom: 9px;
    font-size: .79rem;
}

.page-home .home-section--appointment {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.page-home .home-section--appointment .appointment-spotlight__visual {
    min-height: 360px;
    border-radius: 0;
}

.page-home .home-section--appointment .appointment-spotlight__copy {
    padding: clamp(26px, 4vw, 58px);
    background: #fff;
}

.page-home .home-band--apartments {
    border-top: 5px solid var(--t24-blue);
}

.page-home .apartment-grid {
    gap: 10px;
}

.page-home .apartment-card__visual {
    min-height: 158px;
}

.page-home .services-index {
    background: #fff;
}

.page-home .service-pills {
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--t24-line);
    background: var(--t24-line);
}

.page-home .service-pills a {
    min-height: 66px;
    border: 0;
    border-radius: 0;
}


.page-home .home-section--community {
    background: #f8fafb;
}

.page-home .community-grid {
    gap: 8px;
}

.page-home .community-card {
    padding: 13px;
    box-shadow: none;
}

.page-home .community-card__body h3 {
    font-size: .93rem;
}

.page-home .community-card__body p {
    margin-bottom: 7px;
    font-size: .78rem;
    -webkit-line-clamp: 2;
}

.page-home .home-section--photo {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.page-home .home-section--photo .photo-feature__visual {
    min-height: 460px;
}

.page-home .home-section--photo .photo-feature__copy {
    background: #fff;
}

.page-home .home-section--always-full {
    min-height: 110px;
    padding-block: 22px;
    background: #eaf1f4;
}

.page-home .business-cta {
    border-top: 6px solid var(--t24-red);
}

.page-home .business-cta__inner {
    max-width: var(--portal-shell);
}

@media (max-width: 680px) {
    .city-pulse-strip__signals {
        display: none;
    }

    .city-pulse-strip__inner {
        justify-content: space-between;
    }

    .page-home .hero-home {
        padding-block: 28px 30px;
    }

    .page-home .hero-home h1 {
        font-size: clamp(2.45rem, 13vw, 3.65rem);
    }

    .page-home .hero-search {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .page-home .hero-search button {
        grid-column: 1 / -1;
    }

    .page-home .quick-grid {
        display: flex;
    }

    .page-home .quick-item {
        flex: 0 0 132px;
    }

    .page-home .section {
        padding-block: 26px;
    }

    .page-home .section-heading {
        min-height: 0;
        padding-left: 10px;
    }

    .page-home .section-heading p {
        display: none;
    }

    .page-home .section-heading h2 {
        font-size: 1.45rem;
    }

    .page-home .home-section--appointment {
        grid-template-columns: 1fr;
    }

    .page-home .home-section--photo .photo-feature__visual {
        min-height: 300px;
    }
}

@media (min-width: 681px) {
    .page-home .hero-home__inner {
        grid-template-areas:
            "copy live"
            "briefing briefing";
        grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    }

    .page-home .portal-briefing__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .page-home .portal-briefing__list > a {
        border-right: 1px solid rgba(255,255,255,.1);
        border-bottom: 0;
    }

    .page-home .portal-briefing__list > a:last-child {
        border-right: 0;
    }

    .page-home .quick-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .page-home .city-stats.shell {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .page-home .event-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 901px) {
    .page-home .event-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: minmax(168px, auto);
    }

    .page-home .event-rail .event-card:first-child {
        min-height: 346px;
        grid-row: span 2;
        grid-column: span 2;
        grid-template-columns: minmax(260px, 1.1fr) minmax(240px, .9fr);
    }

    .page-home .event-rail .event-card:first-child .event-card__visual {
        min-height: 346px;
    }

    .page-home .event-rail .event-card:first-child .event-card__date {
        width: 72px;
        height: 72px;
    }

    .page-home .event-rail .event-card:first-child .event-card__date b {
        font-size: 1.8rem;
    }

    .page-home .event-rail .event-card:first-child .event-card__glyph {
        right: 24px;
        bottom: 16px;
        font-size: 7rem;
    }

    .page-home .event-rail .event-card:first-child .event-card__body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 24px;
    }

    .page-home .event-rail .event-card:first-child h3 {
        font-size: 1.55rem;
    }
}

@media (min-width: 1181px) {
    .page-home .hero-home__inner {
        grid-template-areas: "copy live briefing";
        grid-template-columns: minmax(460px, 1.25fr) minmax(300px, .66fr) minmax(300px, .66fr);
        gap: 18px;
    }

    .page-home .hero-home__copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-right: clamp(10px, 2vw, 32px);
    }

    .page-home .hero-live-card,
    .page-home .portal-briefing {
        min-height: 392px;
    }

    .page-home .portal-briefing__list {
        grid-template-columns: 1fr;
    }

    .page-home .portal-briefing__list > a {
        min-height: 82px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .page-home .quick-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        overflow-x: hidden;
    }

    .page-home .quick-item {
        min-width: 0;
    }

    .page-home .deal-grid,
    .page-home .business-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1500px) {
    .page-home .hero-home h1 {
        font-size: 4.9rem;
    }

    .page-home .hero-home__inner {
        grid-template-columns: minmax(560px, 1.3fr) 390px 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .pulse-dot,
    .page-home .sound-wave i {
        animation: none;
    }
}

/* 2026-08-10c — Trebinje Today desk + finished shortcut matrix */
.page-home .quick-dock.shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px max(var(--portal-gutter), calc((100vw - var(--portal-shell)) / 2));
    border: 0;
    border-top: 4px solid var(--t24-red);
    border-bottom: 1px solid #203a4f;
    border-radius: 0;
    background: #0b1728;
    box-shadow: 0 10px 28px rgba(8, 24, 37, .16);
}

.page-home .quick-grid {
    display: flex;
    width: 100%;
    max-width: var(--portal-shell);
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0;
    gap: 1px;
    overflow: hidden;
    background: rgba(255,255,255,.11);
}

.page-home .quick-item {
    --quick: #278fc6;
    position: relative;
    flex: 1 1 calc(20% - 1px);
    min-width: 205px;
    min-height: 68px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 0;
    border-radius: 0;
    background: #12283b;
    transition: background .16s ease, box-shadow .16s ease;
}

.page-home .quick-item::after {
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: var(--quick);
    opacity: .65;
    content: "";
}

.page-home .quick-item:hover {
    z-index: 1;
    background: #173951;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
    transform: none;
}

.page-home .quick-item > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 5px;
    background: var(--quick);
    color: #fff;
    font-size: .84rem;
    font-weight: 900;
    line-height: 1;
}

.page-home .quick-item b {
    min-width: 0;
    color: #fff;
    font-size: .79rem;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.page-home .quick-item > i {
    display: block;
    color: rgba(255,255,255,.34);
    font-size: .78rem;
    font-style: normal;
    font-weight: 900;
    transition: color .16s ease, transform .16s ease;
}

.page-home .quick-item:hover > i {
    color: #fff;
    transform: translateX(2px);
}

.page-home .city-services.shell {
    width: min(calc(100% - (var(--portal-gutter) * 2)), var(--portal-shell));
    margin: 32px auto 36px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #cbd8de;
    border-top: 4px solid var(--t24-red);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(13,37,56,.08);
}

.page-home .city-services__head {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    padding: 18px 24px;
    border-bottom: 1px solid #d7e1e6;
    background: #f9fbfc;
}

.page-home .city-services__title {
    padding-left: 13px;
    border-left: 5px solid var(--t24-red);
}

.page-home .city-services__title .eyebrow {
    color: #71828f;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .11em;
}

.page-home .city-services__head h2 {
    margin: 2px 0 0;
    color: #0d2233;
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.page-home .city-services__live {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1px solid #d7e1e6;
    border-radius: 3px;
    background: #fff;
    color: #5d707e;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.page-home .city-services__live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2f9b67;
    box-shadow: 0 0 0 4px rgba(47,155,103,.11);
}

.page-home .city-services__overview {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 1px;
    background: #d5e0e6;
}

.page-home .service-weather {
    position: relative;
    min-height: 244px;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(42,172,224,.22), transparent 28%),
        linear-gradient(125deg, #0a1d2e 0%, #103149 100%);
    color: #fff;
}

.page-home .service-weather::after {
    position: absolute;
    right: -75px;
    bottom: -105px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 70px rgba(255,255,255,.018);
    content: "";
}

.page-home .service-weather__top,
.page-home .service-weather__meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.page-home .service-kicker {
    color: #8ed9f4;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .11em;
}

.page-home .service-weather__mark {
    color: rgba(255,255,255,.22);
    font-size: 2.3rem;
    font-weight: 300;
    line-height: 1;
}

.page-home .service-weather__main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    gap: 23px;
    margin: 25px 0 24px;
}

.page-home .service-weather__main > strong {
    color: #fff;
    font-size: clamp(4.1rem, 6vw, 6rem);
    font-weight: 850;
    line-height: .8;
    letter-spacing: -.085em;
}

.page-home .service-weather__main > strong sup {
    position: relative;
    top: -.36em;
    font-size: .32em;
    font-weight: 650;
}

.page-home .service-weather__main h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1;
}

.page-home .service-weather__main p,
.page-home .service-weather__empty p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: .78rem;
}

.page-home .service-weather__meta {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    gap: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.74);
    font-size: .84rem;
}

.page-home .service-weather__meta b {
    margin-left: 6px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 850;
}

.page-home .service-weather__empty {
    position: relative;
    z-index: 1;
    margin-top: 45px;
}

.page-home .service-weather__empty h3 {
    color: #fff;
}

.page-home .service-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #d5e0e6;
}

.page-home .service-metric {
    position: relative;
    min-height: 121px;
    padding: 18px 19px 16px;
    overflow: hidden;
    background: #fff;
}

.page-home .service-metric::after {
    position: absolute;
    right: -28px;
    bottom: -36px;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(17,57,82,.06);
    border-radius: 50%;
    content: "";
}

.page-home .service-metric > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-home .service-metric__badge {
    display: grid;
    min-width: 31px;
    height: 25px;
    place-items: center;
    padding: 0 6px;
    border-radius: 3px;
    background: #eaf5fa;
    color: #15506f;
    font-size: .61rem;
    font-weight: 950;
    letter-spacing: .02em;
}

.page-home .service-metric > div small {
    color: #71838f;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.page-home .service-metric > strong {
    display: block;
    margin: 10px 0 2px;
    color: #0c273a;
    font-size: 1.65rem;
    line-height: 1;
    letter-spacing: -.045em;
}

.page-home .service-metric h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #203848;
    font-size: .84rem;
    line-height: 1.25;
}

.page-home .service-metric p {
    position: relative;
    z-index: 1;
    margin: 4px 0 0;
    color: #7a8a95;
    font-size: .64rem;
    line-height: 1.3;
}

.page-home .service-metric--uv .service-metric__badge { background: #fff0df; color: #9a580b; }
.page-home .service-metric--air .service-metric__badge { background: #e7f6ef; color: #196a4d; }
.page-home .service-metric--pollen .service-metric__badge { background: #f1edf9; color: #67509e; }
.page-home .service-metric--sun .service-metric__badge { background: #fff5db; color: #8a6408; }

.page-home .service-metric--sun {
    background: linear-gradient(135deg, #f7fbff 0%, #eef7ff 55%, #ffffff 100%);
}

.page-home .service-sun__headline {
    margin: 12px 0 0;
    color: #17324a;
    font-size: .96rem;
    line-height: 1.3;
}

.page-home .service-sun__visual {
    height: 74px;
    margin: 8px 0 10px;
}

.page-home .service-sun__visual svg {
    display: block;
    width: 100%;
    height: 100%;
}

.page-home .service-sun__svg-path {
    fill: none;
    stroke: rgba(25, 65, 102, .22);
    stroke-width: 4;
    stroke-linecap: round;
}

.page-home .service-sun__svg-horizon {
    stroke: rgba(24, 56, 86, .24);
    stroke-width: 2;
}

.page-home .service-sun__svg-orb {
    fill: #ffd35e;
    stroke: #fff;
    stroke-width: 3;
}

.page-home .service-sun__times {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
    color: #637685;
    font-size: .67rem;
}

.page-home .service-sun__times b {
    display: block;
    margin-top: 2px;
    color: #112c40;
    font-size: .92rem;
}

.page-home .service-forecast {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
    margin: 1px 0 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #d5e0e6;
}

.page-home .service-forecast > .service-forecast__day {
    position: relative;
    display: flex;
    min-width: 0;
    aspect-ratio: 215.2174 / 262.6956;
    align-items: flex-end;
    overflow: hidden;
    background-color: #1d658f;
    isolation: isolate;
}

.page-home .service-forecast__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.page-home .service-forecast > .service-forecast__day::after {
    position: absolute;
    inset: 50% 0 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6,24,40,0) 0%, rgba(6,24,40,.18) 18%, rgba(6,24,40,.82) 100%);
    content: "";
}

.page-home .service-forecast__content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 50%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px 16px 17px;
    text-shadow: 0 1px 8px rgba(0,0,0,.34);
}

.page-home .service-forecast small {
    color: #fff;
    font-size: .88rem;
    font-weight: 950;
    letter-spacing: .005em;
    line-height: 1.08;
}

.page-home .service-forecast b {
    margin-top: 5px;
    color: rgba(255,255,255,.82);
    font-size: .76rem;
    font-weight: 800;
}

.page-home .service-forecast em {
    overflow: hidden;
    margin-top: 14px;
    color: #fff;
    font-size: .88rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-home .service-forecast strong {
    margin-top: 9px;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 950;
    line-height: .96;
}

.page-home .service-forecast i {
    margin-left: 8px;
    color: rgba(255,255,255,.78);
    font-size: 1.08rem;
    font-style: normal;
    font-weight: 750;
}

.page-home .city-services__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 1px;
    background: #d5e0e6;
}

.page-home .service-detail {
    min-height: 176px;
    padding: 20px 22px;
    background: #fff;
}

.page-home .service-detail__head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
}

.page-home .service-detail__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 4px;
    background: #102f46;
    color: #fff;
    font-size: .7rem;
    font-weight: 950;
}

.page-home .service-detail__head small {
    display: block;
    margin-bottom: 2px;
    color: #85939d;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.page-home .service-detail__head h3 {
    margin: 0;
    color: #102a3d;
    font-size: .94rem;
}

.page-home .service-detail__primary {
    margin: 0 0 8px;
    color: #1b3547;
    font-size: .82rem;
    font-weight: 780;
    line-height: 1.45;
}

.page-home .service-detail__source,
.page-home .service-detail__empty {
    color: #7a8a95;
    font-size: .66rem;
    line-height: 1.4;
}

.page-home .service-detail--alert .service-detail__icon { background: var(--t24-red); }
.page-home .service-detail--orthodox { background: linear-gradient(110deg, #f8f5ee, #fff 66%); }
.page-home .service-detail--orthodox .service-detail__icon { background: #9b7a3d; }

.page-home .service-rates {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #dbe4e8;
    background: #dbe4e8;
}

.page-home .service-rates > span {
    display: grid;
    gap: 2px;
    padding: 10px;
    background: #f9fbfc;
}

.page-home .service-rates b {
    color: #536d7e;
    font-size: .62rem;
    letter-spacing: .06em;
}

.page-home .service-rates strong {
    overflow: hidden;
    color: #102b3e;
    font-size: .83rem;
    letter-spacing: -.025em;
    text-overflow: ellipsis;
}

.page-home .service-rates small {
    color: #8a98a3;
    font-size: .58rem;
}

@media (max-width: 1180px) and (min-width: 681px) {
    .page-home .quick-item {
        flex-basis: calc(33.333% - 1px);
        min-width: 180px;
    }

    .page-home .city-services__overview {
        grid-template-columns: 1fr;
    }

    .page-home .service-weather {
        min-height: 220px;
    }

    .page-home .service-forecast {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .page-home .service-forecast > span:nth-last-child(-n+3) {
        min-width: 0;
    }
}

@media (max-width: 680px) {
    .page-home .quick-dock.shell {
        padding: 1px 0;
        border-top-width: 3px;
    }

    .page-home .quick-grid {
        width: 100%;
    }

    .page-home .quick-item {
        flex-basis: calc(50% - 1px);
        min-width: 0;
        min-height: 64px;
        grid-template-columns: 30px minmax(0,1fr);
        gap: 8px;
        padding: 9px 10px;
    }

    .page-home .quick-item > span {
        width: 30px;
        height: 30px;
        font-size: .74rem;
    }

    .page-home .quick-item b {
        font-size: .71rem;
    }

    .page-home .quick-item > i {
        display: none;
    }

    .page-home .city-services.shell {
        width: 100%;
        margin: 14px 0 22px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .page-home .city-services__head {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
        padding: 18px 14px 16px;
    }

    .page-home .city-services__head h2 {
        font-size: 2rem;
    }

    .page-home .city-services__live {
        padding: 5px 8px;
        font-size: .58rem;
    }

    .page-home .city-services__overview {
        grid-template-columns: 1fr;
    }

    .page-home .service-weather {
        min-height: 212px;
        padding: 20px 16px;
        background-position: 62% center;
    }

    .page-home .service-weather__main {
        gap: 16px;
        margin: 22px 0 22px;
    }

    .page-home .service-weather__main > strong {
        font-size: 4.2rem;
    }

    .page-home .service-weather__main h3 {
        font-size: 1.2rem;
    }

    .page-home .service-weather__meta {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .page-home .service-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-home .service-metric {
        min-height: 126px;
        padding: 15px 13px;
    }

    .page-home .service-metric > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .page-home .service-metric > strong {
        margin-top: 8px;
        font-size: 1.45rem;
    }

    .page-home .service-metric h3 {
        font-size: .76rem;
    }

    .page-home .service-metric p {
        font-size: .59rem;
    }

    .page-home .service-sun__headline {
        font-size: .84rem;
    }

    .page-home .service-sun__times {
        font-size: .61rem;
    }

    .page-home .service-sun__times b {
        font-size: .84rem;
    }

    .page-home .service-forecast {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .page-home .service-forecast > .service-forecast__day {
        flex: 0 0 172px;
        min-height: 0;
        scroll-snap-align: start;
    }

    .page-home .service-forecast__content {
        padding: 14px 13px 14px;
    }

    .page-home .service-forecast small {
        font-size: .82rem;
    }

    .page-home .service-forecast b {
        font-size: .72rem;
    }

    .page-home .service-forecast em {
        font-size: .82rem;
    }

    .page-home .service-forecast strong {
        font-size: 1.5rem;
    }

    .page-home .service-forecast i {
        font-size: 1rem;
    }

    .page-home .service-forecast em {
        white-space: normal;
    }

    .page-home .city-services__details {
        grid-template-columns: 1fr;
    }

    .page-home .service-detail {
        min-height: 0;
        padding: 18px 14px;
    }

    .page-home .service-rates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 360px) {
    .page-home .quick-item {
        flex-basis: 100%;
    }

    .page-home .service-metrics {
        grid-template-columns: 1fr;
    }
}

/* 2026-08-10d — compact service panel refinements */
.page-home .service-weather {
    min-height: 218px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 24px;
}

.page-home .service-weather__main {
    align-items: center;
    gap: 20px;
    margin: 0 0 19px;
}

.page-home .service-weather__main p {
    margin-top: 6px;
    font-size: .82rem;
}

.page-home .service-weather__meta {
    gap: 0;
    padding-top: 14px;
    font-size: .82rem;
}

.page-home .service-weather__meta span {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
}

.page-home .service-weather__meta b {
    margin-left: 0;
    font-size: 1rem;
    letter-spacing: -.02em;
}

.page-home .service-forecast small {
    font-size: .69rem;
    letter-spacing: .015em;
    text-transform: none;
}

.page-home .service-detail__head {
    display: block;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5ecef;
}

.page-home .service-detail__head h3 {
    margin: 0;
    color: #0d2739;
    font-size: 1.14rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.page-home .service-detail--orthodox .service-detail__head {
    border-bottom-color: #e9e0ce;
}

.page-home .service-detail__fasting {
    font-weight: 800;
}

@media (max-width: 680px) {
    .page-home .service-weather {
        min-height: 190px;
        padding: 18px 16px;
    }

    .page-home .service-weather__main {
        gap: 14px;
        margin: 0 0 17px;
    }

    .page-home .service-weather__meta {
        padding-top: 12px;
        font-size: .78rem;
    }

    .page-home .service-weather__meta b {
        font-size: .94rem;
    }

    .page-home .service-forecast small {
        white-space: normal;
        line-height: 1.12;
    }

    .page-home .service-detail__head h3 {
        font-size: 1.08rem;
    }
}


/* 2026-08-11 — mobile shortcuts, gauges, sun/moon path and hourly forecast */
.page-home .city-services__overview {
    align-items: stretch;
}

.page-home .service-weather {
    min-height: 353px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px 22px 15px;
}

.page-home .service-weather__main {
    align-items: center;
    gap: 18px;
    margin: 2px 0 10px;
}

.page-home .service-weather__main > strong {
    font-size: clamp(4.1rem, 5.8vw, 5.7rem);
}

.page-home .service-weather__main p {
    margin-top: 4px;
}

.page-home .service-weather__meta {
    padding-top: 10px;
    padding-bottom: 11px;
    font-size: .8rem;
}

.page-home .service-weather__meta b {
    font-size: 1rem;
}

.page-home .service-hourly {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, minmax(66px, 1fr));
    gap: 1px;
    margin: 14px -6px 0;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255,255,255,.12);
}

.page-home .service-hourly__item {
    display: grid;
    min-width: 0;
    min-height: 145px;
    align-content: start;
    justify-items: center;
    gap: 4px;
    padding: 9px 5px 8px;
    background: rgba(255,255,255,.98);
    color: #163048;
    text-align: center;
}

.page-home .service-hourly__item time {
    color: #6a7d8f;
    font-size: .67rem;
    font-weight: 800;
}

.page-home .service-hourly__item img {
    display: block;
    width: 43px;
    height: 43px;
    margin: 1px 0 2px;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
}

.page-home .service-hourly__item em {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #163048;
    font-size: .58rem;
    font-style: normal;
    font-weight: 750;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-home .service-hourly__item strong {
    color: #15324a;
    font-size: 1.08rem;
    line-height: 1;
}

.page-home .service-hourly__item small {
    color: #497ca8;
    font-size: .58rem;
    font-weight: 750;
}

.page-home .service-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 176px);
    grid-auto-rows: 176px;
}

.page-home .service-metric {
    min-height: 0;
    height: 176px;
    padding: 14px 18px 12px;
}

.page-home .service-metric__heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-home .service-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 220px);
    margin: 4px auto 0;
}

.page-home .service-gauge svg {
    display: block;
    width: 100%;
    height: 112px;
    overflow: visible;
}

.page-home .service-gauge svg text {
    fill: #6e7f8b;
    font-family: inherit;
    font-size: 8px;
    font-weight: 800;
}

.page-home .service-gauge__track,
.page-home .service-gauge__scale {
    fill: none;
    stroke-linecap: butt;
    stroke-width: 13;
}

.page-home .service-gauge__track {
    stroke: #e8edf0;
}

.page-home .service-gauge__scale--uv {
    stroke: url(#uv-gauge-gradient);
}

.page-home .service-gauge__scale--aqi {
    stroke: url(#aqi-gauge-gradient);
}

.page-home .service-gauge__needle {
    stroke: #111820;
    stroke-linecap: round;
    stroke-width: 4;
}

.page-home .service-gauge__hub {
    fill: #111820;
}

.page-home .service-metric--uv .service-gauge,
.page-home .service-metric--air .service-gauge {
    margin-top: 6px;
}

.page-home .service-metric--uv,
.page-home .service-metric--air {
    display: flex;
    flex-direction: column;
}

.page-home .service-metric--uv > h3,
.page-home .service-metric--air > h3 {
    margin-top: auto;
}

.page-home .service-gauge__reading {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-top: -2px;
    white-space: nowrap;
}

.page-home .service-gauge__reading strong {
    color: #0d2639;
    font-size: 1.9rem;
    font-weight: 950;
    line-height: .95;
}

.page-home .service-gauge__reading span {
    color: #314b5d;
    font-size: .82rem;
    font-weight: 850;
    text-transform: lowercase;
}

.page-home .service-metric--air > p {
    position: static;
    margin: 6px 0 0;
    text-align: center;
}

.page-home .service-metric--pollen > strong {
    margin-top: 18px;
    font-size: 2.15rem;
}

.page-home .service-metric--pollen h3 {
    margin-top: 3px;
    font-size: .92rem;
}

.page-home .service-metric--sun {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f7fbff 0%, #edf7ff 58%, #fff 100%);
}

.page-home .service-sun__headline {
    margin: 0;
    color: #15324a;
    font-size: .92rem;
    font-weight: 900;
    line-height: 1.2;
}

.page-home .service-sun__visual {
    width: 100%;
    height: 79px;
    margin: 1px 0 0;
}

.page-home .service-sun__visual svg {
    display: block;
    width: 100%;
    height: 100%;
}

.page-home .service-sun__svg-path {
    fill: none;
    stroke: #b9c9d8;
    stroke-width: 4;
    stroke-linecap: round;
}

.page-home .service-sun__svg-horizon {
    stroke: #aebfce;
    stroke-width: 2;
}

.page-home .service-sun__svg-orb {
    fill: #ffd25c;
    stroke: #fff;
    stroke-width: 3;
}

.page-home .service-sun__svg-moon {
    fill: #f4f7ff;
    stroke: #8ba0bb;
    stroke-width: 2;
}

.page-home .service-sun__svg-moon-cut {
    fill: #edf7ff;
}

.page-home .service-sun__times {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    margin: -2px 0 0;
    color: #697e8f;
    font-size: .61rem;
}

.page-home .service-sun__times span:last-child {
    text-align: right;
}

.page-home .service-sun__times b {
    display: block;
    margin-top: 2px;
    color: #0f2a3e;
    font-size: .93rem;
    font-weight: 900;
}

.page-home .service-metric--sun > p {
    margin-top: auto;
    margin-bottom: 0;
    font-size: .59rem;
}

@media (max-width: 680px) {
    .page-home .quick-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
    }

    .page-home .quick-item {
        width: auto;
        min-width: 0;
        min-height: 62px;
        grid-template-columns: 31px minmax(0, 1fr);
        padding: 9px 10px;
    }

    .page-home .quick-item > i {
        display: none;
    }

    .page-home .service-weather {
        min-height: 345px;
        padding: 14px 14px 13px;
    }

    .page-home .service-weather__main {
        gap: 13px;
        margin: 0 0 7px;
    }

    .page-home .service-weather__main > strong {
        font-size: 4.35rem;
    }

    .page-home .service-weather__meta {
        padding-top: 8px;
        padding-bottom: 9px;
    }

    .page-home .service-hourly {
        grid-template-columns: repeat(6, 76px);
        margin: 14px 0 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .page-home .service-hourly::-webkit-scrollbar {
        display: none;
    }

    .page-home .service-hourly__item {
        min-height: 137px;
        scroll-snap-align: start;
        padding-right: 4px;
        padding-left: 4px;
    }

    .page-home .service-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, 166px);
        grid-auto-rows: 166px;
    }

    .page-home .service-metric {
        height: 166px;
        min-height: 166px;
        padding: 12px 10px 10px;
    }

    .page-home .service-metric > div.service-metric__heading {
        align-items: center;
        flex-direction: row;
        gap: 6px;
    }

    .page-home .service-gauge {
        width: min(100%, 190px);
        margin-top: 2px;
    }

    .page-home .service-gauge__reading strong {
        font-size: 1.42rem;
    }

    .page-home .service-gauge__reading span {
        font-size: .74rem;
    }

    .page-home .service-metric--air > p {
        right: 8px;
        bottom: 6px;
        left: 8px;
        font-size: .52rem;
    }

    .page-home .service-metric--pollen > strong {
        margin-top: 16px;
        font-size: 1.9rem;
    }

    .page-home .service-sun__headline {
        font-size: .79rem;
    }

    .page-home .service-sun__visual {
        height: 76px;
    }

    .page-home .service-sun__times {
        font-size: .56rem;
    }

    .page-home .service-sun__times b {
        font-size: .82rem;
    }
}

@media (max-width: 360px) {
    .page-home .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-home .quick-item {
        min-width: 0;
        padding-right: 7px;
        padding-left: 7px;
    }

    .page-home .quick-item b {
        font-size: .66rem;
    }

    .page-home .service-metric {
        padding-right: 8px;
        padding-left: 8px;
    }

    .page-home .service-sun__headline {
        font-size: .73rem;
    }
}


/* 2026-08-11b — tighter hourly panel, cleaner gauges and aligned sun path */
.page-home .service-weather {
    padding-top: 25px;
}

.page-home .service-weather__main {
    margin-top: 8px;
    margin-bottom: 9px;
}

.page-home .service-weather__meta {
    padding-top: 9px;
    padding-bottom: 7px;
}

.page-home .service-hourly {
    margin: 14px -6px 0;
    border-color: #d8e2e8;
    background: #d8e2e8;
}

.page-home .service-hourly__item {
    min-height: 137px;
    background: #fff;
    color: #0d2a3f;
}

.page-home .service-hourly__item time {
    color: #5d7180;
}

.page-home .service-hourly__item img {
    border-color: #d6e0e6;
}

.page-home .service-hourly__item em {
    color: #3d5667;
}

.page-home .service-hourly__item strong {
    color: #0c2a40;
}

.page-home .service-hourly__item small {
    color: #3d789e;
}

.page-home .service-gauge {
    display: grid;
    width: min(100%, 184px);
    height: auto;
    grid-template-rows: 82px auto;
    justify-items: center;
    margin: 3px auto 0;
}

.page-home .service-gauge svg {
    width: 100%;
    height: 82px;
}

.page-home .service-gauge__reading {
    position: static;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-top: -3px;
    transform: none;
    white-space: nowrap;
}

.page-home .service-gauge__reading strong {
    font-size: 1.55rem;
    line-height: 1;
}

.page-home .service-gauge__reading span {
    font-size: .68rem;
    line-height: 1.05;
}

.page-home .service-metric--air > p {
    bottom: 7px;
}

.page-home .service-sun__visual {
    height: 76px;
    margin-top: 3px;
}

.page-home .service-sun__times {
    align-items: start;
    justify-content: space-between;
    gap: 0;
    margin-top: -1px;
}

.page-home .service-sun__times span {
    width: 28%;
    text-align: center;
}

.page-home .service-sun__times span:last-child {
    text-align: center;
}

@media (max-width: 680px) {
    .page-home .service-weather {
        min-height: 0;
        padding-top: 20px;
    }

    .page-home .service-weather__main {
        margin-top: 6px;
        margin-bottom: 7px;
    }

    .page-home .service-weather__meta {
        padding-top: 7px;
        padding-bottom: 6px;
    }

    .page-home .service-hourly {
        margin-top: 11px;
        margin-right: 0;
        margin-left: 0;
    }

    .page-home .service-hourly__item {
        min-height: 132px;
    }

    .page-home .service-gauge {
        width: min(100%, 150px);
        grid-template-rows: 73px auto;
    }

    .page-home .service-gauge svg {
        height: 73px;
    }

    .page-home .service-gauge__reading {
        gap: 5px;
        margin-top: -2px;
    }

    .page-home .service-gauge__reading strong {
        font-size: 1.28rem;
    }

    .page-home .service-gauge__reading span {
        max-width: 74px;
        font-size: .57rem;
        white-space: normal;
    }

    .page-home .service-sun__visual {
        height: 72px;
    }

    .page-home .service-sun__times span {
        width: 28%;
    }
}

/* 2026-08-11b — final tune: large gauges and hourly spacing */
.page-home .service-hourly {
    margin-top: 18px;
}

.page-home .service-hourly__item img {
    border: 0;
    box-shadow: none;
}

.page-home .service-gauge {
    display: grid;
    width: min(100%, 220px);
    height: auto;
    grid-template-rows: 100px auto;
    justify-items: center;
    margin: 6px auto 0;
}

.page-home .service-gauge svg {
    width: 100%;
    height: 100px;
}

.page-home .service-gauge__reading {
    position: static;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-top: -1px;
    transform: none;
    white-space: nowrap;
}

.page-home .service-gauge__reading strong {
    font-size: 1.85rem;
    line-height: 1;
}

.page-home .service-gauge__reading span {
    font-size: .82rem;
    line-height: 1.05;
}

@media (max-width: 680px) {
    .page-home .service-hourly {
        margin-top: 18px;
    }

    .page-home .service-gauge {
        width: min(100%, 188px);
        grid-template-rows: 88px auto;
    }

    .page-home .service-gauge svg {
        height: 88px;
    }

    .page-home .service-gauge__reading {
        gap: 6px;
        margin-top: -1px;
    }

    .page-home .service-gauge__reading strong {
        font-size: 1.45rem;
    }

    .page-home .service-gauge__reading span {
        max-width: none;
        font-size: .7rem;
        white-space: nowrap;
    }
}

/* 2026-08-11c — gauge reading layout fix */
.page-home .service-gauge {
    display: grid;
    width: min(100%, 220px);
    height: auto;
    grid-template-rows: 26px 100px;
    justify-items: center;
    align-items: start;
    margin: 6px auto 0;
}

.page-home .service-gauge svg {
    grid-row: 2;
    width: 100%;
    height: 100px;
}

.page-home .service-gauge__reading {
    grid-row: 1;
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 0;
    padding: 0 10px;
    white-space: nowrap;
}

.page-home .service-gauge__reading strong {
    font-size: 1.9rem;
    line-height: .95;
}

.page-home .service-gauge__reading span {
    font-size: .82rem;
    line-height: 1.05;
    text-align: right;
}

@media (max-width: 680px) {
    .page-home .service-gauge {
        width: min(100%, 188px);
        grid-template-rows: 24px 88px;
    }

    .page-home .service-gauge svg {
        height: 88px;
    }

    .page-home .service-gauge__reading {
        padding: 0 8px;
    }

    .page-home .service-gauge__reading strong {
        font-size: 1.45rem;
    }

    .page-home .service-gauge__reading span {
        font-size: .7rem;
        white-space: nowrap;
    }
}

/* 2026-08-11d — gauge like reference: value and status under needle */
.page-home .service-gauge {
    display: block;
    width: min(100%, 220px);
    height: 122px;
    margin: 5px auto 0;
}

.page-home .service-gauge svg {
    display: block;
    width: 100%;
    height: 122px;
    overflow: visible;
}

.page-home .service-gauge svg text {
    font-family: inherit;
}

.page-home .service-gauge__value {
    fill: #0d2639;
    font-size: 22px;
    font-weight: 950;
    text-anchor: middle;
}

.page-home .service-gauge__label {
    fill: #263f52;
    font-size: 9px;
    font-weight: 900;
    text-anchor: middle;
    text-transform: uppercase;
}

.page-home .service-gauge__end {
    fill: #667a89;
    font-size: 8px;
    font-weight: 800;
}

.page-home .service-gauge__end--left {
    text-anchor: start;
}

.page-home .service-gauge__end--right {
    text-anchor: end;
}

.page-home .service-metric--air > p {
    margin-top: -2px;
    font-size: .54rem;
}

@media (max-width: 680px) {
    .page-home .service-gauge {
        width: min(100%, 190px);
        height: 110px;
        margin-top: 4px;
    }

    .page-home .service-gauge svg {
        height: 110px;
    }

    .page-home .service-gauge__value {
        font-size: 20px;
    }

    .page-home .service-gauge__label {
        font-size: 8px;
    }
}


/* 2026-08-11f — authoritative gauge/pollen fix */
.page-home .service-metrics {
    grid-template-rows: repeat(2, 176px);
    grid-auto-rows: 176px;
}

.page-home .service-metric {
    height: 176px;
    min-height: 176px;
    overflow: hidden;
}

.page-home .service-metric--uv,
.page-home .service-metric--air {
    display: flex;
    flex-direction: column;
}

.page-home .service-gauge {
    display: block;
    width: min(100%, 228px);
    height: 120px;
    margin: 2px auto 0;
}

.page-home .service-gauge svg {
    display: block;
    width: 100%;
    height: 120px;
    overflow: visible;
}

.page-home .service-gauge__track,
.page-home .service-gauge__scale {
    fill: none;
    stroke-width: 13;
    stroke-linecap: butt;
}

.page-home .service-gauge__needle {
    stroke: #121b24;
    stroke-width: 4;
    stroke-linecap: round;
}

.page-home .service-gauge__hub {
    fill: #121b24;
}

.page-home .service-gauge__value {
    fill: #0c2639;
    font-family: inherit;
    font-size: 25px;
    font-weight: 950;
    text-anchor: middle;
}

.page-home .service-gauge__label {
    fill: #263f52;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 900;
    text-anchor: middle;
    text-transform: uppercase;
}

.page-home .service-gauge__end {
    fill: #667a89;
    font-family: inherit;
    font-size: 8.5px;
    font-weight: 800;
}

.page-home .service-gauge__end--left {
    text-anchor: start;
}

.page-home .service-gauge__end--right {
    text-anchor: end;
}

.page-home .service-metric--air > p {
    display: none !important;
}

.page-home .service-metric--pollen > strong.service-pollen__level {
    margin-top: 18px;
    color: #0d2639;
    font-size: 1.72rem;
    font-weight: 950;
    line-height: 1;
}

.page-home .service-metric--pollen h3 {
    margin-top: 5px;
    font-size: .95rem;
}

.page-home .service-metric--pollen p {
    margin-top: 6px;
    color: #728492;
    font-size: .64rem;
}

@media (max-width: 680px) {
    .page-home .service-metrics {
        grid-template-rows: repeat(2, 166px);
        grid-auto-rows: 166px;
    }

    .page-home .service-metric {
        height: 166px;
        min-height: 166px;
    }

    .page-home .service-gauge {
        width: min(100%, 194px);
        height: 112px;
        margin-top: 1px;
    }

    .page-home .service-gauge svg {
        height: 112px;
    }

    .page-home .service-gauge__value {
        font-size: 23px;
    }

    .page-home .service-gauge__label {
        font-size: 9.5px;
    }

    .page-home .service-metric--pollen > strong.service-pollen__level {
        margin-top: 15px;
        font-size: 1.48rem;
    }
}
