/* SK homepage visual refresh — page-specific compositions.
   Shared SK tokens/header live in /css/sk-shell.css (loaded by header.js).
   This file keeps homepage-only sticky search + featured/hero treatments.
   Scoped to .page-home so CZ / other markets stay untouched. */

.page-home {
    /* Inherit shared --sh-* from html.sk-market; keep local aliases for older rules */
    background-color: var(--sh-bg, #f5f8fc);
    color: var(--sh-navy, #0f274d);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

.page-home .container {
    max-width: 1200px;
}

/* SK homepage only — keep Späť on pages that still need it. */
.page-home .back-button-container {
    display: none !important;
}

/* ── Homepage sticky search (page-specific; base header is shared) ── */

.page-home .header.is-scrolled,
.page-home.is-discovery-compact .header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(15, 39, 77, 0.06);
}

@media (min-width: 1200px) {
    .page-home header.header:not(.is-header-compact) .header-content {
        display: grid;
        grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
        align-items: center;
        gap: 0.75rem;
    }

    .page-home header.header:not(.is-header-compact) .header-brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        z-index: 2;
    }

    .page-home header.header:not(.is-header-compact) .logo {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
        z-index: 2;
    }

    .page-home header.header:not(.is-header-compact) .main-nav-wrap {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        z-index: 1;
        min-width: 0;
    }

    .page-home header.header:not(.is-header-compact) .mobile-nav-toggle {
        display: none;
    }

    .page-home header.header:not(.is-header-compact) .header-auth-slot {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        z-index: 2;
    }

    .page-home header.header:not(.is-header-compact) .header-auth-slot .nav-auth-item {
        position: static;
        transform: none;
    }

    .page-home .sk-home-sticky-search {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        width: min(44rem, calc(100% - 20rem));
        max-width: 44rem;
        margin: 0;
        z-index: 1;
    }

    .page-home.is-discovery-compact .main-nav-wrap {
        width: 0;
        min-width: 0;
        overflow: visible;
        pointer-events: none;
    }

    .page-home.is-discovery-compact .nav-auth-item {
        pointer-events: auto;
    }
}

.page-home .sk-home-sticky-search {
    display: none;
    position: relative;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 44rem;
    margin: 0 auto;
}

.page-home.is-discovery-compact .sk-home-sticky-search {
    display: flex;
}

.page-home.is-discovery-compact .main-nav-wrap .nav-list > li:not(.nav-auth-item) {
    display: none;
}

.page-home .sk-home-sticky-search__desktop {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 2.65rem;
    padding: 0.15rem 0.15rem 0.15rem 0.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.page-home .sk-home-sticky-search__seg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0.2rem 0.7rem;
    border: 0;
    border-right: 1px solid #eef2f7;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.page-home .sk-home-sticky-search__seg:focus-visible,
.page-home .sk-home-sticky-search__go:focus-visible,
.page-home .sk-home-sticky-search__mobile:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.page-home .sk-home-sticky-search__seg span {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.page-home .sk-home-sticky-search__seg input,
.page-home .sk-home-sticky-search__seg strong,
.page-home .sk-home-sticky-search__seg select {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.page-home .sk-home-sticky-search__query {
    flex: 2.15 1 0;
    cursor: text;
}

.page-home .sk-home-sticky-search__query input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.page-home .sk-home-sticky-search__locality,
.page-home .sk-home-sticky-search__category {
    flex: 0.82 1 0;
}

.page-home .sk-home-sticky-search__go {
    flex: 0 0 auto;
    min-width: 5.5rem;
    margin-left: 0.1rem;
    padding: 0 0.95rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-blue);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.page-home .sk-home-sticky-search__go:hover {
    background: var(--primary-blue-dark);
}

.page-home .sk-home-sticky-search__mobile {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #ffffff;
    color: var(--primary-blue);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.page-home .sk-home-sticky-locality {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    z-index: 1200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    width: min(28rem, calc(100vw - 2rem));
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    transform: translateX(-50%);
}

.page-home .sk-home-sticky-locality[hidden] {
    display: none;
}

.page-home .sk-home-sticky-locality label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.page-home .sk-home-sticky-locality select {
    min-height: 2.4rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.55rem;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.page-home .sk-home-sticky-search__category select {
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .page-home .header,
    .page-home .sk-home-sticky-search,
    .page-home .sk-home-sticky-search__desktop,
    .page-home .home-featured-card.provider-card--home-preview {
        transition: none !important;
    }
}

@media (min-width: 769px) {
    .page-home .sk-home-sticky-search__mobile {
        display: none !important;
    }
}

/* ── Hero ───────────────────────────────────────────────────────── */

.page-home .hero.hero--home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--sh-bg);
    background-image:
        radial-gradient(ellipse 70% 80% at 88% 18%, rgba(37, 99, 235, 0.12), transparent 58%),
        radial-gradient(ellipse 55% 70% at 12% 0%, rgba(239, 35, 60, 0.05), transparent 52%),
        linear-gradient(105deg, #ffffff 0%, #f7faff 42%, #eef4fc 100%);
    color: var(--sh-navy);
    text-align: center;
    padding: 1.35rem 0 1.15rem;
}

.page-home .hero.hero--home::after {
    content: '';
    position: absolute;
    inset: auto -8% -35% 42%;
    height: 70%;
    background:
        radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08), transparent 68%);
    pointer-events: none;
    z-index: -1;
}

.page-home .hero--home .hero-preheading,
.page-home .hero--home .hero-usp,
.page-home .hero--home .hero-usp--above-search {
    display: none !important;
}

.page-home .hero--home h1 {
    max-width: 46rem;
    margin: 0.35rem auto 1.05rem;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.035em;
    color: var(--sh-navy);
}

.page-home .hero--home h1 .sk-home-usp-accent {
    color: var(--sh-red);
}

.page-home .hero--home .hero-trust-badges {
    margin: 0.55rem auto 0;
    max-width: 34rem;
    gap: 0.45rem 0.75rem;
    justify-content: center;
}

.page-home .hero--home .hero-trust-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.28rem 0.75rem;
    border: 1px solid var(--sh-border);
    border-radius: 999px;
    background: var(--sh-white);
    box-shadow: var(--sh-shadow-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sh-body);
}

.page-home .hero--home .hero-trust-badges li::before {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sh-blue);
}

.page-home .hero--home .hero-trust-badges li:nth-child(2)::before {
    color: var(--sh-red);
}

/* ── Search control ─────────────────────────────────────────────── */

.page-home .hero--home .search-bar {
    max-width: 62rem;
    margin: 0 auto;
    padding: 0.35rem;
    background: var(--sh-white);
    border: 1px solid var(--sh-border);
    border-radius: 999px;
    box-shadow:
        var(--sh-shadow-sm),
        var(--sh-shadow-md);
}

.page-home .hero--home .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(7.5rem, 0.9fr) minmax(7.5rem, 0.9fr) minmax(8.5rem, 1.05fr) auto;
    gap: 0;
    align-items: stretch;
}

.page-home .hero--home .search-form .form-group {
    position: relative;
    margin: 0;
    min-width: 0;
    padding: 0.35rem 0.85rem 0.4rem 2.15rem;
    text-align: left;
}

.page-home .hero--home .search-form .form-group--keyword {
    grid-column: auto;
}

.page-home .hero--home .search-form .form-group:not(.form-group--submit) {
    border-right: 1px solid var(--sh-border-soft);
}

.page-home .sk-home-field-icon {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    margin-top: -0.05rem;
    transform: translateY(-50%);
    color: var(--sh-blue);
    pointer-events: none;
}

.page-home .sk-home-field-icon--red {
    color: var(--sh-red);
}

.page-home .sk-home-field-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.page-home .hero--home .hero-search-label {
    margin-bottom: 0.12rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sh-navy);
}

.page-home .hero--home .search-form .form-select {
    width: 100%;
    min-height: 2.35rem;
    padding: 0.2rem 0.15rem 0.15rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--sh-navy);
    box-shadow: none;
}

.page-home .hero--home .search-form .form-select:focus {
    border-color: transparent;
    outline: none;
}

.page-home .hero--home .search-form .form-select:disabled {
    background-color: transparent;
    color: #94a3b8;
}

.page-home .hero--home .search-form .form-group--submit {
    display: flex;
    align-items: stretch;
    padding: 0.15rem 0.15rem 0.15rem 0.35rem;
    border-right: 0;
}

.page-home .hero--home .search-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    align-self: stretch;
    min-width: 7.25rem;
    height: auto;
    min-height: 3rem;
    padding: 0.6rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: var(--sh-blue);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.page-home .hero--home .search-form .btn:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.34);
    background-color: var(--sh-blue-dark);
}

.page-home .hero--home .search-form .btn:focus-visible {
    outline: 2px solid var(--sh-blue);
    outline-offset: 2px;
}

.page-home .sk-home-search-arrow {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.95;
}

/* ── Category shortcuts ─────────────────────────────────────────── */

.page-home .home-category-shortcuts {
    position: relative;
    margin: 0.95rem auto 0;
    max-width: none;
}

.page-home .home-category-shortcuts__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-home .home-category-shortcuts__link {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.35rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--sh-border);
    border-radius: 999px;
    background: var(--sh-white);
    color: var(--sh-navy);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--sh-shadow-sm);
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.page-home .home-category-shortcuts__link:hover {
    border-color: #c7d7ef;
    background: var(--sh-blue-soft);
    color: var(--sh-blue-dark);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.page-home .home-category-shortcuts__link:focus-visible {
    outline: 2px solid var(--sh-blue);
    outline-offset: 2px;
}

.page-home .sk-home-shortcut-icon {
    display: inline-flex;
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.page-home .sk-home-shortcut-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.page-home .sk-home-shortcut-icon--blue {
    color: var(--sh-blue);
}

.page-home .sk-home-shortcut-icon--red {
    color: var(--sh-red);
}

.page-home .home-category-shortcuts__link--all {
    border-color: #bfd3f3;
    color: var(--sh-blue);
    font-weight: 600;
}

.page-home .home-category-shortcuts__link--all[aria-expanded="true"] {
    background: var(--sh-blue-soft);
    border-color: #93c5fd;
    color: var(--sh-blue-dark);
}

/* ── Category browser / mega-menu ───────────────────────────────── */

.page-home .home-category-browser {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.55rem);
    z-index: 1100;
    padding: 1.15rem 1.25rem 1.3rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    text-align: left;
}

.page-home .home-category-browser[hidden] {
    display: none;
}

.page-home .home-category-browser__title {
    margin: 0 0 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.page-home .home-category-browser__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem 1.35rem;
}

.page-home .home-category-browser__group {
    min-width: 0;
}

.page-home .home-category-browser__heading {
    margin: 0 0 0.4rem;
}

.page-home .home-category-browser__toggle {
    appearance: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    cursor: default;
}

.page-home .home-category-browser__subs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-home .home-category-browser__link {
    display: block;
    padding: 0.28rem 0;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.35;
    text-decoration: none;
}

.page-home .home-category-browser__link:hover {
    color: var(--primary-blue-dark);
}

.page-home .home-category-browser__link:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ── Featured provider rows ─────────────────────────────────────── */

.page-home .home-seo-links {
    padding: 0.45rem 0 clamp(1.15rem, 3vw, 2.05rem);
    background: #ffffff;
}

.page-home .home-seo-links > .container > .home-seo-links__title {
    display: none;
}

.page-home .home-seo-links__title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    text-align: left;
    color: #0f172a;
}

.page-home .home-featured-services {
    gap: 1.15rem;
}

.page-home .home-featured-services__loading,
.page-home .home-featured-services__error {
    color: #64748b;
}

.page-home .home-featured-row__header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
}

.page-home .home-featured-row__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: clamp(1.125rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--sh-navy);
}

.page-home .sk-home-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    flex-shrink: 0;
    border-radius: 0.45rem;
    background: var(--sh-blue-soft);
    color: var(--sh-blue);
}

.page-home .sk-home-section-icon--red {
    background: var(--sh-red-soft);
    color: var(--sh-red);
}

.page-home .sk-home-section-icon svg {
    width: 0.95rem;
    height: 0.95rem;
    display: block;
}

.page-home .home-featured-row__all {
    flex-shrink: 0;
    margin-left: auto;
    color: var(--sh-blue);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.page-home .home-featured-row__all:hover {
    color: var(--sh-blue-dark);
    text-decoration: underline;
}

.page-home .home-featured-row__nav {
    display: none;
}

.page-home .home-featured-row__arrow {
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid var(--sh-border);
    border-radius: 999px;
    background: var(--sh-white);
    color: var(--sh-navy);
    font-size: 1.15rem;
    box-shadow: var(--sh-shadow-sm);
}

.page-home .home-featured-row__arrow:hover {
    border-color: #bfd3f3;
    background: var(--sh-blue-soft);
    color: var(--sh-blue-dark);
}

.page-home .home-featured-row__track {
    gap: 0.75rem;
    padding: 0.05rem 0.05rem 0.35rem;
}

.page-home .home-featured-card.provider-card--home-preview,
.page-home .home-featured-card--view-all {
    flex: 0 0 10.25rem;
}

.page-home .home-featured-card.provider-card--home-preview {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: var(--sh-white);
    border: 1px solid var(--sh-border);
    border-radius: 1rem;
    box-shadow: var(--sh-shadow-card);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-home .home-seo-links .home-featured-card.provider-card:hover {
    border-color: var(--sh-border);
    box-shadow: none;
    transform: none;
}

.page-home .home-seo-links .home-featured-card.provider-card--home-preview:hover,
.page-home .home-featured-card.provider-card--home-preview:hover {
    border-color: #c7d7ef;
    box-shadow: 0 8px 22px rgba(15, 39, 77, 0.1);
    transform: none;
}

.page-home .home-featured-card__media {
    position: relative;
    height: auto;
    min-height: 0;
    /* ~+11% image height vs prior 4/3 while keeping 6 cards @ ~1440 */
    aspect-ratio: 6 / 5;
    padding: 0;
    overflow: hidden;
    background: #e8eef5;
    border-bottom: 0;
    border-radius: 1rem 1rem 0 0;
}

.page-home .home-featured-card__img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-home .home-featured-card__fav {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(15, 39, 77, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--sh-navy);
    box-shadow: 0 1px 4px rgba(15, 39, 77, 0.08);
    cursor: pointer;
    appearance: none;
}

.page-home .home-featured-card__fav svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}

.page-home .home-featured-card__fav:hover {
    background: rgba(255, 255, 255, 0.78);
    color: var(--sh-red);
}

.page-home .home-featured-card__fav.is-saved,
.page-home .home-featured-card__fav[aria-pressed='true'] {
    color: var(--sh-red);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(239, 35, 60, 0.28);
}

.page-home .home-featured-card__fav:focus-visible {
    outline: 2px solid var(--sh-blue);
    outline-offset: 2px;
}

.page-home .home-featured-card__photo-rating {
    position: absolute;
    left: 0.45rem;
    bottom: 0.45rem;
    z-index: 1;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(15, 39, 77, 0.78);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.page-home .home-featured-card__body {
    position: relative;
    gap: 0.08rem;
    padding: 0.42rem 0.65rem 0.55rem;
    padding-right: 2rem;
}

.page-home .home-featured-card__name {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--sh-navy);
}

.page-home .home-featured-card__subtitle,
.page-home .home-featured-card__desc {
    display: none;
}

.page-home .home-featured-card__location,
.page-home .home-featured-card__service,
.page-home .home-featured-card__rating {
    font-size: 0.75rem;
}

.page-home .home-featured-card__service {
    color: var(--sh-body);
    font-weight: 500;
}

.page-home .home-featured-card__location {
    display: flex;
    align-items: flex-start;
    gap: 0.28rem;
    color: var(--sh-body);
}

.page-home .home-featured-card__pin {
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.2rem;
    border-radius: 50% 50% 50% 0;
    background: var(--sh-red);
    transform: rotate(-45deg);
}

.page-home .home-featured-card__go {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: var(--sh-blue-soft);
    color: var(--sh-blue);
    font-size: 0.8rem;
    line-height: 1;
}

.page-home .home-featured-card__desc:empty {
    display: none;
}

.page-home .home-featured-card__rating-text {
    font-weight: 500;
    color: #334155;
}

.page-home .home-featured-card--view-all {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--primary-blue-dark);
    box-shadow: none;
    align-self: stretch;
}

.page-home .home-featured-card--view-all:hover {
    border-color: #bfdbfe;
    background: #f8fbff;
    color: var(--primary-blue-dark);
    box-shadow: none;
    transform: none;
}

.page-home .home-featured-card__view-all-inner {
    min-height: 12.75rem;
    padding: 1rem 0.7rem;
}

.page-home .home-featured-card__view-all-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: inherit;
}

.page-home .home-featured-card__view-all-arrow {
    color: var(--primary-blue);
}

.page-home .home-featured-row__empty p {
    color: #64748b;
}

.page-home .home-featured-noscript-links a {
    color: var(--primary-blue);
}

.page-home .home-seo-links--promoted {
    padding: clamp(1.35rem, 2.8vw, 2rem) 0 clamp(1.5rem, 3vw, 2.15rem);
    background: var(--sh-white);
    border-top: 1px solid var(--sh-border-soft);
}

.page-home .home-seo-links--promoted .home-seo-links__title {
    margin-bottom: 0.85rem;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--sh-navy);
}

.page-home .home-seo-links--promoted .home-seo-links__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1.75rem;
}

.page-home .home-seo-links--promoted .home-seo-links__card {
    min-height: 2.55rem;
    padding: 0.5rem 0.15rem;
    border: 0;
    border-bottom: 1px solid var(--sh-border-soft);
    border-radius: 0;
    background: transparent;
    color: var(--sh-navy);
    box-shadow: none;
}

.page-home .home-seo-links--promoted .home-seo-links__card:hover {
    transform: none;
    border-color: transparent;
    border-bottom-color: rgba(37, 99, 235, 0.35);
    background: transparent;
    color: var(--sh-blue);
    box-shadow: none;
}

.page-home .home-seo-links--promoted .home-seo-links__card-title {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
}

.page-home .home-seo-links--promoted .home-seo-links__card-arrow {
    color: var(--sh-body);
    font-size: 0.875rem;
}

/* ── Lower homepage ─────────────────────────────────────────────── */

.page-home .home-video-teaser {
    background: var(--sh-bg);
    padding: clamp(1.55rem, 3.2vw, 2.35rem) 0;
    border-top: 1px solid var(--sh-border-soft);
}

.page-home .home-video-teaser__inner {
    gap: 1rem;
}

.page-home .home-video-teaser__title,
.page-home .home-why__title {
    font-size: clamp(1.3rem, 2.3vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--sh-navy);
}

.page-home .home-video-teaser__lead,
.page-home .home-why__subtitle {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--sh-body);
    max-width: 40rem;
}

.page-home .home-video-teaser__channels {
    gap: 0.75rem;
}

.page-home .home-video-teaser__channels:not(:empty) {
    min-height: 4.35rem;
}

.page-home .home-video-teaser__card {
    min-height: 4.25rem;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--sh-border);
    border-radius: 1rem;
    background: var(--sh-white);
    box-shadow: var(--sh-shadow-card);
}

.page-home .home-video-teaser__card:hover {
    border-color: #c7d7ef;
    box-shadow: 0 6px 18px rgba(15, 39, 77, 0.08);
}

.page-home .home-video-teaser__logo {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.65rem;
}

.page-home .home-video-teaser__card-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sh-navy);
}

.page-home .home-video-teaser__card-count {
    font-size: 0.8125rem;
    color: var(--sh-body);
}

.page-home .home-why {
    background: var(--sh-white);
    padding: clamp(1.55rem, 3.2vw, 2.35rem) 0 clamp(1.75rem, 3.4vw, 2.6rem);
    border-top: 1px solid var(--sh-border-soft);
}

.page-home .home-why__header {
    margin-bottom: 1.15rem;
}

.page-home .home-why__card {
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--sh-border);
    border-radius: 1rem;
    background: var(--sh-bg-alt);
    box-shadow: var(--sh-shadow-sm);
}

.page-home .home-why__card:first-child {
    border-top: 3px solid var(--sh-blue);
}

.page-home .home-why__card:last-child {
    border-top: 3px solid var(--sh-red);
}

.page-home .home-why__card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--sh-navy);
}

.page-home .home-why__card-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--sh-body);
}

/* ── Breakpoints ────────────────────────────────────────────────── */

@media (min-width: 641px) {
    .page-home .home-featured-row__nav {
        display: flex;
    }

    .page-home .home-featured-card.provider-card--home-preview,
    .page-home .home-featured-card--view-all {
        flex-basis: 10.5rem;
    }

    .page-home .home-featured-card__media {
        height: auto;
        min-height: 0;
        padding: 0;
    }
}

@media (min-width: 1100px) {
    .page-home .home-category-browser__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .page-home .home-featured-row__track {
        gap: 0.75rem;
    }

    .page-home .home-featured-card.provider-card--home-preview {
        flex: 0 0 calc((100% - 5 * 0.75rem) / 6);
        max-width: calc((100% - 5 * 0.75rem) / 6);
    }

    .page-home .home-featured-card--view-all {
        display: none;
    }

    .page-home .home-featured-card__media {
        height: auto;
        min-height: 0;
        padding: 0;
    }
}

@media (max-width: 1100px) {
    .page-home .hero--home .search-form {
        grid-template-columns: minmax(0, 1.4fr) minmax(7rem, 0.85fr) minmax(7rem, 0.85fr) auto;
    }

    .page-home .hero--home .search-form .form-group--keyword {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 1px solid #eef2f7;
    }
}

@media (max-width: 900px) {
    .page-home .home-seo-links--promoted .home-seo-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1.25rem;
    }
}

@media (max-width: 768px) {
    .page-home .sk-home-sticky-search__desktop,
    .page-home .sk-home-sticky-locality {
        display: none !important;
    }

    .page-home.is-discovery-compact .sk-home-sticky-search {
        flex: 1 1 auto;
        max-width: none;
        justify-content: center;
        margin: 0 0.35rem;
    }

    .page-home.is-discovery-compact .sk-home-sticky-search__mobile {
        display: inline-flex;
    }

    .page-home .hero.hero--home {
        padding: 0.65rem 0 0.75rem;
        text-align: left;
    }

    .page-home .hero--home h1,
    .page-home .hero--home .hero-usp,
    .page-home .hero--home .hero-usp--above-search {
        max-width: none;
        text-align: left;
    }

    .page-home .hero--home h1 {
        max-width: none;
        margin: 0.45rem 0 0.75rem;
        font-size: 1.0625rem;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: 0;
        color: #334155;
    }

    .page-home .hero--home .search-bar {
        border-radius: 1.15rem;
        padding: 0.65rem;
    }

    .page-home .hero--home .search-form {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .page-home .hero--home .search-form .form-group,
    .page-home .hero--home .search-form .form-group--keyword {
        grid-column: auto;
        padding: 0.4rem 0.55rem 0.4rem 2.15rem;
        border-right: 0;
        border-bottom: 1px solid var(--sh-border-soft);
    }

    .page-home .hero--home .search-form .form-group--submit {
        padding: 0.45rem 0 0;
        border-bottom: 0;
    }

    .page-home .hero--home .search-form .form-select {
        min-height: 2.75rem;
        font-size: 1rem;
    }

    .page-home .hero--home .search-form .btn {
        width: 100%;
        min-width: 0;
        min-height: 3rem;
        border-radius: 0.9rem;
    }

    .page-home .hero--home .hero-trust-badges {
        justify-content: center;
        margin-top: 0.35rem;
    }

    .page-home .hero--home .hero-trust-badges li {
        font-size: 0.6875rem;
    }

    .page-home .home-category-shortcuts {
        margin-top: 0.55rem;
    }

    .page-home .home-category-shortcuts__list {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -0.25rem;
        padding: 0.1rem 0.25rem 0.35rem;
    }

    .page-home .home-category-shortcuts__list::-webkit-scrollbar {
        display: none;
    }

    .page-home .home-category-shortcuts__link {
        min-height: 2.5rem;
        padding: 0.45rem 0.95rem;
        font-size: 0.8125rem;
    }

    .page-home .home-category-browser {
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        z-index: 10060;
        max-height: min(82vh, 36rem);
        overflow: auto;
        padding: 1.1rem 1rem 1.5rem;
        border-radius: 1rem 1rem 0 0;
        box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.16);
    }

    .page-home .home-category-browser__grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .page-home .home-category-browser__group {
        border-bottom: 1px solid #eef2f7;
    }

    .page-home .home-category-browser__heading {
        margin: 0;
    }

    .page-home .home-category-browser__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 2.85rem;
        padding: 0.45rem 0.15rem;
        cursor: pointer;
        font-size: 0.9375rem;
    }

    .page-home .home-category-browser__toggle::after {
        content: '';
        width: 0.45rem;
        height: 0.45rem;
        margin-left: 0.75rem;
        border-right: 2px solid #94a3b8;
        border-bottom: 2px solid #94a3b8;
        transform: rotate(45deg);
        transition: transform 0.15s ease;
    }

    .page-home .home-category-browser__group.is-open .home-category-browser__toggle::after {
        transform: rotate(-135deg);
        margin-top: 0.35rem;
    }

    .page-home .home-category-browser__subs {
        display: none;
        padding: 0 0 0.65rem;
    }

    .page-home .home-category-browser__group.is-open .home-category-browser__subs {
        display: block;
    }

    .page-home .home-category-browser__link {
        padding: 0.45rem 0.15rem;
        font-size: 0.9375rem;
    }

    .page-home .home-seo-links__title {
        text-align: left;
        font-size: 1.25rem;
    }

    .page-home .home-featured-row__all {
        font-size: 0.8125rem;
    }

    .page-home .home-featured-card.provider-card--home-preview,
    .page-home .home-featured-card--view-all {
        flex-basis: 10.5rem;
    }

    .page-home .home-featured-card__media {
        height: auto;
        min-height: 0;
        padding: 0;
    }

    .page-home .home-featured-card__view-all-inner {
        min-height: 10.5rem;
    }

    .page-home .home-why__card-btn {
        width: 100%;
        text-align: center;
    }

    .page-home .home-seo-links--promoted .home-seo-links__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-home .home-seo-links--promoted .home-seo-links__card {
        min-height: 2.75rem;
        padding: 0.55rem 0;
    }

    .page-home .home-seo-links--promoted .home-seo-links__card-title {
        font-size: 0.9375rem;
    }
}

@media (max-width: 768px) {
    body.sk-home-category-open::after {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 10050;
        background: rgba(15, 23, 42, 0.38);
    }
}

@media (max-width: 390px) {
    .page-home .hero--home .search-form .form-select,
    .page-home .hero--home .search-form .btn {
        font-size: 1rem;
    }

    .page-home .home-featured-card.provider-card--home-preview,
    .page-home .home-featured-card--view-all {
        flex-basis: 10.15rem;
    }
}

/* Reference-match coherence for lower homepage CTAs / SEO */
.page-home .home-seo-links--promoted .home-seo-links__card-title {
    color: var(--sh-navy);
}

.page-home .home-seo-links--promoted .home-seo-links__card:hover .home-seo-links__card-title {
    color: var(--sh-blue);
}

.page-home .home-seo-links--promoted .home-seo-links__card:hover .home-seo-links__card-arrow {
    color: var(--sh-blue);
}

.page-home .home-video-teaser__cta,
.page-home .home-why__card-btn.btn-primary {
    background: var(--sh-blue);
    border-color: var(--sh-blue);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22);
}

.page-home .home-why__card-btn.btn-outline {
    border-color: var(--sh-border);
    color: var(--sh-navy);
    border-radius: 999px;
    background: var(--sh-white);
}

.page-home .home-why__card-btn.btn-outline:hover {
    border-color: var(--sh-blue);
    color: var(--sh-blue);
    background: var(--sh-blue-soft);
}

/* Homepage-only footer readability (do not touch shared footer globally) */
.page-home footer.footer {
    margin-top: 0;
    padding: clamp(1.75rem, 3.2vw, 2.5rem) 0 clamp(1.5rem, 2.8vw, 2.1rem);
    border-top: 1px solid var(--sh-border);
    background: var(--sh-navy);
    color: #f8fafc;
}

.page-home .footer-logo {
    color: #f8fafc;
}

.page-home .footer-logo-img--matte {
    mix-blend-mode: normal;
    filter: brightness(1.05);
}

.page-home .footer-link {
    color: #e8eef8;
    font-weight: 500;
    opacity: 1;
}

.page-home .footer-link:hover,
.page-home .footer-link:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.page-home .footer-legal-nav .footer-link {
    color: #f1f5fb;
    font-size: 0.875rem;
    font-weight: 600;
}

.page-home .footer-content .copyright,
.page-home .footer .copyright {
    color: rgba(226, 232, 240, 0.82);
}

.page-home .footer-instagram-link svg {
    opacity: 1;
    color: #f8fafc;
}

@media (min-width: 769px) {
    .page-home .nav-link.sk-home-nav-link--icon {
        white-space: nowrap;
    }
}

.page-home {
    overflow-x: clip;
}
