/*
==============================================================================
SavvyGreat Material 3 home experience
Copyright (c) 2026 SavvyGreat. All rights reserved.

A dependency-free, adaptive feed built on the canonical SavvyGreat M3 shell.
==============================================================================
*/

body[data-sgcv-controller="Home"][data-sgcv-action="Index"] .sgcv-m3-page {
    width: 100%;
    max-width: none;
    padding: clamp(12px, 1.8vw, 28px);
}

.sghome-m3,
.sghome-m3 * {
    box-sizing: border-box;
}

.sghome-m3 {
    --sghome-primary: var(--md-sys-color-primary, #6750a4);
    --sghome-on-primary: var(--md-sys-color-on-primary, #ffffff);
    --sghome-primary-container: var(--md-sys-color-primary-container, #eaddff);
    --sghome-on-primary-container: var(--md-sys-color-on-primary-container, #21005d);
    --sghome-secondary-container: var(--md-sys-color-secondary-container, #e8def8);
    --sghome-on-secondary-container: var(--md-sys-color-on-secondary-container, #1d192b);
    --sghome-tertiary-container: var(--md-sys-color-tertiary-container, #ffd8e4);
    --sghome-on-tertiary-container: var(--md-sys-color-on-tertiary-container, #31111d);
    --sghome-surface: var(--md-sys-color-surface, #fff7ff);
    --sghome-surface-container: var(--md-sys-color-surface-container, #f3edf7);
    --sghome-surface-container-low: var(--md-sys-color-surface-container-low, #f7f2fa);
    --sghome-surface-container-high: var(--md-sys-color-surface-container-high, #ece6f0);
    --sghome-on-surface: var(--md-sys-color-on-surface, #1d1b20);
    --sghome-on-surface-variant: var(--md-sys-color-on-surface-variant, #49454f);
    --sghome-outline: var(--md-sys-color-outline, #79747e);
    --sghome-outline-variant: var(--md-sys-color-outline-variant, #cac4d0);
    --sghome-error: var(--md-sys-color-error, #b3261e);
    --sghome-error-container: var(--md-sys-color-error-container, #f9dedc);
    --sghome-on-error: var(--md-sys-color-on-error, #ffffff);
    --sghome-on-error-container: var(--md-sys-color-on-error-container, #410e0b);
    width: min(100%, 1600px);
    margin: 0 auto;
    color: var(--sghome-on-surface);
    font-family: var(--m3-font-plain, "Segoe UI", sans-serif);
}

.sghome-m3 a {
    color: inherit;
    text-decoration: none;
}

.sghome-m3 button,
.sghome-m3 a {
    -webkit-tap-highlight-color: transparent;
}

.sghome-m3 button:focus-visible,
.sghome-m3 a:focus-visible,
.sghome-m3 [tabindex="0"]:focus-visible {
    outline: 3px solid var(--sghome-primary);
    outline-offset: 3px;
}

.sghome-m3-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sghome-primary);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .1em;
    line-height: 18px;
    text-transform: uppercase;
}

.sghome-m3-eyebrow .material-symbols-rounded {
    font-size: 19px;
    font-variation-settings: "FILL" 1, "wght" 650, "GRAD" 0, "opsz" 20;
}

.sghome-m3-breaking {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
    min-height: 52px;
    margin-bottom: clamp(12px, 1.4vw, 20px);
    padding: 4px;
    overflow: hidden;
    border: 1px solid var(--sghome-error);
    border-radius: 27px;
    background: var(--sghome-error-container);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}

.sghome-m3-breaking-label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 17px;
    border-radius: 22px;
    background: var(--sghome-error);
    color: var(--sghome-on-error);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sghome-m3-breaking-label .material-symbols-rounded {
    font-size: 20px;
    font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 20;
}

.sghome-m3-breaking-window {
    min-width: 0;
    overflow: hidden;
    border-radius: 0 22px 22px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.sghome-m3-breaking-track {
    --sghome-marquee-duration: 28s;
    display: flex;
    width: max-content;
    min-width: 100%;
    animation: sghomeM3Marquee var(--sghome-marquee-duration) linear infinite;
    will-change: transform;
}

.sghome-m3-breaking-group {
    display: flex;
    flex: none;
    align-items: center;
    min-width: max-content;
}

.sghome-m3-breaking-group a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 25px;
    color: var(--sghome-on-error-container);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 20px;
}

.sghome-m3-breaking-group a::after {
    position: absolute;
    right: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sghome-error);
    content: "";
    opacity: .72;
}

.sghome-m3-breaking-group a:hover {
    background: rgba(179, 38, 30, .08);
}

@keyframes sghomeM3Marquee {
    to { transform: translate3d(-50%, 0, 0); }
}

.sghome-m3-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: clamp(24px, 4vw, 72px);
    align-items: center;
    min-height: clamp(290px, 27vw, 430px);
    padding: clamp(28px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid var(--sghome-outline-variant);
    border-radius: clamp(28px, 3vw, 44px);
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 216, 228, .88) 0 13%, transparent 14%),
        radial-gradient(circle at 76% 70%, rgba(234, 221, 255, .95) 0 26%, transparent 27%),
        linear-gradient(135deg, var(--sghome-surface-container-low), var(--sghome-surface-container));
    box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
}

.sghome-m3-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 790px;
}

.sghome-m3-hero h1 {
    max-width: 16ch;
    margin: 14px 0 18px;
    font-family: var(--m3-font-brand, "Segoe UI", sans-serif);
    font-size: clamp(42px, 5.2vw, 78px);
    font-weight: 650;
    letter-spacing: -.045em;
    line-height: .98;
}

.sghome-m3-hero-copy > p {
    max-width: 64ch;
    margin: 0;
    color: var(--sghome-on-surface-variant);
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.55;
}

.sghome-m3-hero-actions,
.sghome-m3-heading-actions,
.sghome-m3-section-tools,
.sghome-m3-inline-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.sghome-m3-hero-actions {
    margin-top: 26px;
}

.sghome-m3-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .01em;
    transition: transform 180ms cubic-bezier(.2, 0, 0, 1), box-shadow 180ms cubic-bezier(.2, 0, 0, 1), background 180ms linear;
}

.sghome-m3-button .material-symbols-rounded {
    font-size: 21px;
}

.sghome-m3-button-filled {
    background: var(--sghome-primary);
    color: var(--sghome-on-primary) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.sghome-m3-button-tonal {
    background: var(--sghome-secondary-container);
    color: var(--sghome-on-secondary-container) !important;
}

.sghome-m3-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 9px rgba(0, 0, 0, .16);
}

.sghome-m3-destination-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.sghome-m3-destination-grid > a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 12px;
    align-items: center;
    min-height: 76px;
    padding: 12px 14px;
    border: 1px solid var(--sghome-outline-variant);
    border-radius: 24px;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(10px);
    transition: transform 180ms cubic-bezier(.2, 0, 0, 1), background 180ms linear;
}

.sghome-m3-destination-grid > a > .material-symbols-rounded:first-child {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 18px;
    background: var(--sghome-primary-container);
    color: var(--sghome-on-primary-container);
    font-size: 24px;
    font-variation-settings: "FILL" 1;
}

.sghome-m3-destination-grid b,
.sghome-m3-destination-grid small {
    display: block;
}

.sghome-m3-destination-grid b {
    font-size: 16px;
}

.sghome-m3-destination-grid small {
    margin-top: 3px;
    color: var(--sghome-on-surface-variant);
    font-size: 12px;
}

.sghome-m3-destination-grid > a:hover {
    transform: translateX(4px);
    background: #fff;
}

.sghome-m3-feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(310px, .72fr);
    gap: clamp(18px, 2vw, 28px);
    margin-top: clamp(28px, 4vw, 56px);
}

.sghome-m3-feature-primary,
.sghome-m3-supporting-pane,
.sghome-m3-section {
    min-width: 0;
}

.sghome-m3-supporting-pane {
    padding: clamp(18px, 2vw, 26px);
    border: 1px solid var(--sghome-outline-variant);
    border-radius: 30px;
    background: var(--sghome-surface-container-low);
}

.sghome-m3-section,
.sghome-m3-rating-section {
    margin-top: clamp(42px, 6vw, 82px);
}

.sghome-m3-section-tonal {
    padding: clamp(22px, 3.5vw, 46px);
    border-radius: 34px;
    background: var(--sghome-surface-container-low);
}

.sghome-m3-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.sghome-m3-section-heading h2 {
    margin: 7px 0 0;
    font-family: var(--m3-font-brand, "Segoe UI", sans-serif);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.sghome-m3-section-heading p {
    max-width: 62ch;
    margin: 8px 0 0;
    color: var(--sghome-on-surface-variant);
    font-size: 14px;
    line-height: 1.5;
}

.sghome-m3-section-heading-compact {
    align-items: center;
    margin-bottom: 12px;
}

.sghome-m3-section-heading-compact h2 {
    font-size: clamp(25px, 2vw, 34px);
}

.sghome-m3-icon-link,
.sghome-m3-carousel-controls button,
.sghome-m3-scroll-controls button {
    display: inline-grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--sghome-surface-container-high);
    color: var(--sghome-on-surface);
    cursor: pointer;
    transition: transform 180ms cubic-bezier(.2, 0, 0, 1), background 180ms linear;
}

.sghome-m3-icon-link:hover,
.sghome-m3-carousel-controls button:hover,
.sghome-m3-scroll-controls button:hover {
    transform: scale(1.06);
    background: var(--sghome-secondary-container);
}

.sghome-m3-carousel-controls,
.sghome-m3-scroll-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sghome-m3-carousel-controls > span {
    min-width: 46px;
    text-align: center;
    color: var(--sghome-on-surface-variant);
    font-size: 13px;
    font-weight: 700;
}

.sghome-m3-carousel-viewport {
    position: relative;
    width: 100%;
    height: clamp(360px, 35vw, 530px);
    overflow: hidden;
    border-radius: clamp(26px, 3vw, 38px);
    background: var(--sghome-surface-container-high);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
    isolation: isolate;
    touch-action: pan-y;
}

.sghome-m3-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(.985);
    transition: opacity 420ms cubic-bezier(.2, 0, 0, 1), transform 520ms cubic-bezier(.2, 0, 0, 1);
}

.sghome-m3-carousel-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.sghome-m3-carousel-slide > a {
    position: absolute;
    inset: 0;
    display: block;
}

.sghome-m3-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms cubic-bezier(.2, 0, 0, 1);
}

.sghome-m3-carousel-slide.is-active:hover img {
    transform: scale(1.025);
}

.sghome-m3-carousel-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, .18) 44%, rgba(0, 0, 0, .9) 100%);
}

.sghome-m3-carousel-content {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 10px;
    padding: clamp(22px, 3.4vw, 48px);
    color: #fff;
}

.sghome-m3-carousel-meta,
.sghome-m3-card-meta,
.sghome-m3-top-story small,
.sghome-m3-snapic-card small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sghome-m3-carousel-meta {
    width: max-content;
    padding: 7px 11px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .54);
    font-size: 12px;
    font-weight: 700;
}

.sghome-m3-carousel-meta .material-symbols-rounded,
.sghome-m3-card-meta .material-symbols-rounded,
.sghome-m3-top-story small .material-symbols-rounded,
.sghome-m3-snapic-card small .material-symbols-rounded {
    font-size: 17px;
}

.sghome-m3-carousel-content h3 {
    display: -webkit-box;
    max-width: 24ch;
    margin: 0;
    overflow: hidden;
    font-family: var(--m3-font-brand, "Segoe UI", sans-serif);
    font-size: clamp(28px, 3.25vw, 48px);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.04;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sghome-m3-carousel-content p {
    display: -webkit-box;
    max-width: 65ch;
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sghome-m3-carousel-action,
.sghome-m3-text-link {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 750;
}

.sghome-m3-carousel-action {
    margin-top: 3px;
    padding: 11px 15px;
    border-radius: 20px;
    background: #fff;
    color: #21005d;
}

.sghome-m3-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 13px;
}

.sghome-m3-carousel-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--sghome-outline-variant);
    cursor: pointer;
    transition: width 220ms cubic-bezier(.2, 0, 0, 1), background 220ms linear;
}

.sghome-m3-carousel-dots button.is-active {
    width: 28px;
    background: var(--sghome-primary);
}

.sghome-m3-top-stories {
    display: grid;
    gap: 7px;
}

.sghome-m3-top-story {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    gap: 12px;
    align-items: center;
    min-height: 82px;
    padding: 8px;
    border-radius: 20px;
    transition: background 160ms linear, transform 180ms cubic-bezier(.2, 0, 0, 1);
}

.sghome-m3-top-story:hover {
    background: var(--sghome-secondary-container);
    transform: translateX(3px);
}

.sghome-m3-top-story img {
    width: 72px;
    height: 64px;
    border-radius: 15px;
    object-fit: cover;
    background: var(--sghome-surface-container-high);
}

.sghome-m3-top-story b {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sghome-m3-top-story small {
    margin-top: 7px;
    color: var(--sghome-on-surface-variant);
    font-size: 11px;
}

.sghome-m3-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
}

.sghome-m3-news-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sghome-outline-variant);
    border-radius: 28px;
    background: var(--sghome-surface-container-low);
    transition: transform 220ms cubic-bezier(.2, 0, 0, 1), box-shadow 220ms cubic-bezier(.2, 0, 0, 1);
}

.sghome-m3-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}

.sghome-m3-news-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--sghome-surface-container-high);
}

.sghome-m3-news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(.2, 0, 0, 1);
}

.sghome-m3-news-card:hover .sghome-m3-news-card-media img {
    transform: scale(1.035);
}

.sghome-m3-news-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
}

.sghome-m3-card-meta {
    color: var(--sghome-on-surface-variant);
    font-size: 12px;
    font-weight: 650;
}

.sghome-m3-news-card h3 {
    display: -webkit-box;
    margin: 10px 0 8px;
    overflow: hidden;
    font-size: clamp(18px, 1.5vw, 22px);
    letter-spacing: -.015em;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sghome-m3-news-card h3 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.sghome-m3-news-card-body {
    position: relative;
}

.sghome-m3-news-card p {
    display: -webkit-box;
    margin: 0 0 16px;
    overflow: hidden;
    color: var(--sghome-on-surface-variant);
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.sghome-m3-text-link {
    position: relative;
    z-index: 1;
    margin-top: auto;
    color: var(--sghome-primary) !important;
}

.sghome-m3-horizontal-rail {
    display: grid;
    grid-auto-columns: minmax(250px, 290px);
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 3px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.sghome-m3-horizontal-rail::-webkit-scrollbar {
    display: none;
}

.sghome-m3-biz-card,
.sghome-m3-rating-card {
    scroll-snap-align: start;
    transition: transform 200ms cubic-bezier(.2, 0, 0, 1), box-shadow 200ms cubic-bezier(.2, 0, 0, 1), background 160ms linear;
}

.sghome-m3-biz-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    gap: 13px;
    align-items: center;
    min-height: 96px;
    padding: 12px;
    border: 1px solid var(--sghome-outline-variant);
    border-radius: 24px;
    background: var(--sghome-surface);
}

.sghome-m3-biz-card:hover,
.sghome-m3-rating-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 13px rgba(0, 0, 0, .12);
}

.sghome-m3-biz-card-media {
    display: block;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--sghome-primary-container);
}

.sghome-m3-biz-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sghome-m3-biz-card-copy b,
.sghome-m3-biz-card-copy small {
    display: block;
}

.sghome-m3-biz-card-copy b {
    font-size: 15px;
    line-height: 1.28;
}

.sghome-m3-biz-card-copy small {
    margin-top: 5px;
    color: var(--sghome-on-surface-variant);
    font-size: 11px;
}

.sghome-m3-inline-links {
    margin-top: 12px;
}

.sghome-m3-inline-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 20px;
    color: var(--sghome-primary);
    font-size: 13px;
    font-weight: 750;
}

.sghome-m3-inline-links a:hover {
    background: var(--sghome-secondary-container);
}

.sghome-m3-snapic-rail {
    grid-auto-columns: minmax(230px, 290px);
}

.sghome-m3-snapic-card {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 28px;
    background: var(--sghome-surface-container-high);
    scroll-snap-align: start;
}

.sghome-m3-snapic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 550ms cubic-bezier(.2, 0, 0, 1);
}

.sghome-m3-snapic-card:hover img {
    transform: scale(1.045);
}

.sghome-m3-snapic-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .82) 100%);
}

.sghome-m3-snapic-card-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 7px;
    padding: 18px;
    color: #fff;
}

.sghome-m3-snapic-card-copy b {
    display: -webkit-box;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sghome-m3-snapic-card-copy small {
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
}

.sghome-m3-rating-section {
    padding: clamp(24px, 4vw, 52px);
    border-radius: 36px;
    background: linear-gradient(135deg, var(--sghome-primary-container), var(--sghome-tertiary-container));
}

.sghome-m3-rating-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sghome-m3-rating-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    gap: 13px;
    align-items: center;
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(121, 116, 126, .42);
    border-radius: 26px;
    background: rgba(255, 255, 255, .72);
}

.sghome-m3-rating-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 20px;
    background: var(--sghome-primary);
    color: var(--sghome-on-primary);
}

.sghome-m3-rating-icon .material-symbols-rounded {
    font-size: 27px;
    font-variation-settings: "FILL" 1;
}

.sghome-m3-rating-card b,
.sghome-m3-rating-card small {
    display: block;
}

.sghome-m3-rating-card b {
    font-size: 17px;
}

.sghome-m3-rating-card small {
    margin-top: 6px;
    color: var(--sghome-on-surface-variant);
    font-size: 12px;
    line-height: 1.45;
}

.sghome-m3-empty-state {
    display: grid;
    min-height: 220px;
    padding: 28px;
    place-items: center;
    align-content: center;
    text-align: center;
    border: 1px dashed var(--sghome-outline);
    border-radius: 28px;
    background: var(--sghome-surface-container-low);
}

.sghome-m3-empty-state > .material-symbols-rounded {
    margin-bottom: 10px;
    color: var(--sghome-primary);
    font-size: 38px;
}

.sghome-m3-empty-state h3,
.sghome-m3-empty-state p {
    margin: 0;
}

.sghome-m3-empty-state p {
    max-width: 48ch;
    margin-top: 7px;
    color: var(--sghome-on-surface-variant);
    line-height: 1.5;
}

.sghome-m3-empty-state .sghome-m3-button {
    margin-top: 16px;
}

.sghome-m3-empty-state-compact {
    min-height: 160px;
}

.sghome-m3-ownership {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: clamp(42px, 6vw, 76px) 0 6px;
    color: var(--sghome-on-surface-variant);
    font-size: 12px;
    font-weight: 650;
}

.sghome-m3-ownership .material-symbols-rounded {
    color: var(--sghome-primary);
    font-size: 19px;
    font-variation-settings: "FILL" 1;
}

.sghome-m3 img[data-sghome-image].is-unavailable {
    object-fit: contain;
    padding: 20px;
    background: var(--sghome-surface-container-high);
}

@media (max-width: 1199px) {
    .sghome-m3-hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    }

    .sghome-m3-feature-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sghome-m3-supporting-pane {
        display: grid;
    }

    .sghome-m3-top-stories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 839px) {
    body[data-sgcv-controller="Home"][data-sgcv-action="Index"] .sgcv-m3-page {
        padding: 12px;
    }

    .sghome-m3-hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding: 30px;
    }

    .sghome-m3-hero h1 {
        max-width: 18ch;
        font-size: clamp(40px, 8vw, 62px);
    }

    .sghome-m3-destination-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sghome-m3-destination-grid > a {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .sghome-m3-destination-grid > a > .material-symbols-rounded:last-child {
        display: none;
    }

    .sghome-m3-carousel-viewport {
        height: clamp(370px, 62vw, 470px);
    }

    .sghome-m3-news-grid,
    .sghome-m3-rating-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sghome-m3-rating-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 599px) {
    .sghome-m3-breaking {
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: 48px;
        padding: 3px;
        border-radius: 24px;
    }

    .sghome-m3-breaking-label {
        justify-content: center;
        width: 42px;
        min-height: 42px;
        padding: 0;
        border-radius: 21px;
    }

    .sghome-m3-breaking-label span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .sghome-m3-breaking-group a {
        min-height: 42px;
        padding: 0 19px;
        font-size: 13px;
    }

    .sghome-m3-hero {
        padding: 24px 20px;
        border-radius: 28px;
    }

    .sghome-m3-hero h1 {
        margin-top: 11px;
        font-size: clamp(37px, 11vw, 52px);
    }

    .sghome-m3-hero-actions,
    .sghome-m3-heading-actions,
    .sghome-m3-section-tools {
        align-items: stretch;
    }

    .sghome-m3-hero-actions .sghome-m3-button {
        flex: 1 1 100%;
    }

    .sghome-m3-destination-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sghome-m3-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .sghome-m3-section-heading h2 {
        font-size: clamp(28px, 9vw, 38px);
    }

    .sghome-m3-carousel-controls {
        align-self: flex-end;
    }

    .sghome-m3-carousel-viewport {
        height: 370px;
        border-radius: 26px;
    }

    .sghome-m3-carousel-content {
        padding: 21px;
    }

    .sghome-m3-carousel-content h3 {
        font-size: clamp(25px, 8vw, 34px);
    }

    .sghome-m3-carousel-content p {
        display: none;
    }

    .sghome-m3-top-stories,
    .sghome-m3-news-grid,
    .sghome-m3-rating-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sghome-m3-rating-card:last-child {
        grid-column: auto;
    }

    .sghome-m3-supporting-pane,
    .sghome-m3-section-tonal,
    .sghome-m3-rating-section {
        padding: 18px;
        border-radius: 27px;
    }

    .sghome-m3-horizontal-rail {
        grid-auto-columns: minmax(225px, 82vw);
    }

    .sghome-m3-scroll-controls {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sghome-m3 *,
    .sghome-m3 *::before,
    .sghome-m3 *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .sghome-m3-breaking-window {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .sghome-m3-breaking-track {
        animation: none;
    }

    .sghome-m3-breaking-group[aria-hidden="true"] {
        display: none;
    }
}

@media (forced-colors: active) {
    .sghome-m3-breaking,
    .sghome-m3-hero,
    .sghome-m3-supporting-pane,
    .sghome-m3-news-card,
    .sghome-m3-biz-card,
    .sghome-m3-rating-card {
        border: 1px solid CanvasText;
    }
}
