:root {
    --demo-ink: #0f172a;
    --demo-muted: #64748b;
    --demo-line: rgba(148, 163, 184, 0.22);
    --demo-panel: rgba(255, 255, 255, 0.58);
    --demo-panel-strong: rgba(255, 255, 255, 0.78);
    --demo-green: var(--brand-green);
    --demo-amber: #b45309;
    --demo-teal: #0f766e;
}

body.news-demo-body {
    background: linear-gradient(135deg, #edf7ff 0%, #eefdf7 45%, #f8fbff 100%);
    color: var(--demo-ink);
}

.news-hero-scene {
    position: relative;
    isolation: isolate;
    padding-top: 4rem;
}

.news-hero-copy {
    position: relative;
    z-index: 2;
}

.news-hero-icons {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.news-hero-icon {
    position: absolute;
    width: var(--size, 96px);
    height: auto;
    opacity: 0.42;
    filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.18));
    mix-blend-mode: screen;
    animation: newsHeroFloat var(--duration, 8.8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    will-change: transform;
}

@keyframes newsHeroFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(var(--rot-start, -4deg));
    }
    50% {
        transform: translate3d(var(--drift-x, 8px), var(--drift-y, -10px), 0) rotate(var(--rot-end, 4deg));
    }
}

.news-hero-icon.icon-a {
    top: 88px;
    left: 12%;
    --size: 122px;
    --duration: 8.4s;
    --delay: -0.8s;
    --drift-x: 7px;
    --drift-y: -10px;
    --rot-start: -4deg;
    --rot-end: 4deg;
}

.news-hero-icon.icon-b {
    top: 0;
    left: 35%;
    --size: 68px;
    --duration: 9.1s;
    --delay: -1.6s;
    --drift-x: 8px;
    --drift-y: -12px;
    --rot-start: -5deg;
    --rot-end: 5deg;
}

.news-hero-icon.icon-c {
    top: 12px;
    left: 60%;
    --size: 76px;
    --duration: 8.8s;
    --delay: -2.1s;
    --drift-x: -7px;
    --drift-y: -9px;
    --rot-start: 4deg;
    --rot-end: -4deg;
}

.news-hero-icon.icon-d {
    top: 90px;
    left: 77%;
    --size: 162px;
    --duration: 9.7s;
    --delay: -1.2s;
    --drift-x: -8px;
    --drift-y: -10px;
    --rot-start: 5deg;
    --rot-end: -5deg;
}

.demo-shell {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

body.news-demo-body .demo-hero {
    padding: 9.5rem 0 2rem;
}

body.news-demo-body .demo-hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 1.4rem;
}

body.news-demo-body .demo-hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -12% -46% 48%;
    height: 18rem;
    border-radius: 999px;
    background: rgba(0, 209, 102, 0.16);
    filter: blur(52px);
    pointer-events: none;
}

.demo-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
}

.demo-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(0, 209, 102, 0.18);
    background: rgba(240, 253, 244, 0.72);
    padding: 0.42rem 0.72rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #047857;
}

.demo-title {
    margin-top: 1rem;
    max-width: 780px;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

.demo-lede {
    margin-top: 1rem;
    max-width: 680px;
    color: var(--demo-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.demo-hero-actions {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.demo-hero-side {
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.86);
    color: white;
    padding: 1.2rem;
}

.demo-side-stat {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.demo-side-stat div {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.8rem;
}

.demo-section {
    padding: 1rem 0;
}

.demo-section:last-of-type {
    padding-bottom: 4rem;
}

.demo-board {
    border-radius: 28px;
    padding: 1rem;
}

.demo-board + .demo-board {
    margin-top: 1rem;
}

.demo-board-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.demo-board-title {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0;
}

.demo-board-copy {
    margin-top: 0.25rem;
    color: var(--demo-muted);
    font-size: 0.86rem;
}

.demo-carousel-controls {
    display: flex;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.demo-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.82);
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.demo-icon-btn:hover {
    transform: translateY(-1px);
    background: white;
}

.demo-carousel-window {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}

.demo-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 82%);
    gap: 0.85rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
}

.demo-carousel-track::-webkit-scrollbar {
    display: none;
}

.demo-feature-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 22px;
    scroll-snap-align: start;
    background: #0f172a;
    color: white;
    text-decoration: none;
}

.demo-feature-card img,
.demo-feature-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.28) 45%, rgba(15, 23, 42, 0.88) 100%);
}

.demo-feature-copy {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 1rem;
}

.demo-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 700;
}

.demo-feature-title {
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.35;
}

.demo-feature-excerpt {
    margin-top: 0.45rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    line-height: 1.55;
}

.demo-news-layout {
    display: grid;
    gap: 1rem;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.news-main-column,
.news-sidebar {
    min-width: 0;
}

.news-sidebar-sticky {
    position: sticky;
    top: 104px;
}

.news-filter-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.58);
    padding: 1.25rem;
    backdrop-filter: blur(20px);
}

.news-filter-title {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.news-filter-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

.analyst-filter-list,
.column-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.analyst-filter-btn {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.72rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0.62rem;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.22s ease;
}

.analyst-filter-btn:hover {
    border-color: rgba(0, 209, 102, 0.32);
    background: rgba(255, 255, 255, 0.95);
}

.analyst-filter-btn.is-selected {
    border-color: rgba(0, 209, 102, 0.52);
    background: rgba(240, 253, 244, 0.88);
    box-shadow: 0 0 0 3px rgba(0, 209, 102, 0.12);
}

.analyst-filter-avatar {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9999px;
    border: 1px solid rgba(203, 213, 225, 0.86);
    background: #f8fafc;
}

.analyst-filter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-filter-btn {
    width: 100%;
    border-radius: 0.92rem;
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(255, 255, 255, 0.88);
    padding: 0.68rem 0.88rem;
    color: #1e293b;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.22s ease;
}

.column-filter-btn:hover {
    border-color: rgba(0, 209, 102, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.column-filter-btn.is-selected {
    border-color: rgba(0, 209, 102, 0.5);
    background: rgba(240, 253, 244, 0.85);
    color: #065f46;
    box-shadow: 0 0 0 3px rgba(0, 209, 102, 0.1);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pagination button {
    display: flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid rgba(203, 213, 225, 0.72);
    background: rgba(255, 255, 255, 0.48);
    padding: 0 0.85rem;
    color: #334155;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination button.active {
    border-color: transparent;
    background: var(--demo-green);
    color: white;
}

.pagination button:not(.active):not(:disabled):hover {
    background: rgba(255, 255, 255, 0.5);
}

.pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.newsletter-strip-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.newsletter-strip-input {
    min-width: 0;
    flex: 1 1 14rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.84);
    padding: 0.78rem 0.95rem;
    color: #0f172a;
    font-size: 0.92rem;
    outline: none;
}

.newsletter-strip-input:focus {
    border-color: rgba(0, 209, 102, 0.75);
    box-shadow: 0 0 0 3px rgba(0, 209, 102, 0.12);
}

.newsletter-feedback {
    display: none;
    margin-top: 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.demo-list-panel {
    border-radius: 28px;
    padding: 1rem;
}

.news-demo-hub {
    border-radius: 28px;
    padding: 1rem;
}

.news-demo-duo-grid {
    margin-top: 1rem;
}

.demo-compact-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.demo-compact-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: stretch;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.66);
    padding: 0.65rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, background 0.2s ease;
}

.demo-compact-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.9);
}

.demo-compact-thumb {
    min-height: 82px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
}

.demo-compact-thumb img,
.demo-compact-thumb .demo-feature-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-compact-thumb .demo-feature-fallback {
    position: static;
    display: block;
}

.demo-compact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
}

.demo-compact-title {
    margin-top: 0.3rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 900;
}

.demo-compact-excerpt {
    margin-top: 0.28rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--demo-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.demo-sidebar-stack {
    display: grid;
    gap: 1rem;
}

.demo-filter-panel {
    border-radius: 24px;
    padding: 1rem;
}

.demo-filter-list {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.demo-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.72);
    padding: 0.46rem 0.72rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 800;
}

.demo-filter-btn.is-selected {
    border-color: rgba(0, 209, 102, 0.36);
    background: rgba(220, 252, 231, 0.8);
    color: #047857;
}

.demo-filter-avatar {
    width: 24px;
    height: 24px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.demo-filter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-pagination {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.demo-pagination button {
    min-width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.78);
    color: #334155;
    font-weight: 800;
}

.demo-pagination button.is-active {
    border-color: transparent;
    background: var(--demo-green);
    color: white;
}

.demo-pagination button:disabled {
    opacity: 0.44;
    cursor: not-allowed;
}

.demo-status {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.62);
    padding: 1rem;
    color: var(--demo-muted);
    text-align: center;
}

.home-inline-carousel {
    margin-bottom: 1rem;
}

.home-inline-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
}

.home-inline-controls .demo-icon-btn {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(12px);
}

.home-inline-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-inline-track::-webkit-scrollbar {
    display: none;
}

.home-inline-card {
    position: relative;
    min-height: clamp(250px, 32vw, 390px);
    overflow: hidden;
    border-radius: 1.65rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #0f172a;
    color: white;
    text-decoration: none;
}

.home-inline-card > img,
.home-inline-card > .demo-feature-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-inline-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.16) 42%, rgba(15, 23, 42, 0.86) 100%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.04) 62%);
}

.home-inline-author-badge {
    position: absolute;
    top: auto;
    bottom: clamp(7.2rem, 13vw, 8.8rem);
    left: clamp(1rem, 1.8vw, 1.2rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    max-width: min(72%, 16.8rem);
    padding: 0.5rem 0.88rem 0.5rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.3);
    backdrop-filter: blur(12px);
}

.home-inline-author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

.home-inline-author-avatar img {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-inline-author-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 10px 24px rgba(2, 6, 23, 0.4);
}

.home-inline-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-width: 760px;
    padding: clamp(1.1rem, 3vw, 2rem);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: clamp(1.35rem, 3vw, 2.45rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0;
    text-shadow: 0 12px 34px rgba(2, 6, 23, 0.42);
}

.home-image-title-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
}

.home-news-duo-grid {
    display: grid;
    gap: 1rem;
}

.home-news-duo-column {
    min-width: 0;
}

.home-news-duo-title {
    margin: 0.2rem 0 0.7rem;
    font-size: 0.85rem;
    font-weight: 900;
    color: #0f172a;
}

.home-image-title-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: stretch;
    min-height: 98px;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.56);
    padding: 0.55rem;
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-image-title-card:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.84);
}

.home-image-title-card img {
    width: 100%;
    height: 86px;
    border-radius: 0.95rem;
    object-fit: cover;
}

.home-image-title-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-image-title-heading {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.35;
}

.home-image-title-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
}

.demo-detail-layout {
    display: grid;
    gap: 1rem;
}

.demo-article-shell {
    border-radius: 28px;
    padding: 1rem;
}

.demo-article-hero {
    position: relative;
    aspect-ratio: 21 / 9;
    min-height: 220px;
    overflow: hidden;
    border-radius: 24px;
    background: #0f172a;
}

.demo-article-hero img,
.demo-article-hero .demo-feature-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-article-title {
    margin-top: 1rem;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.demo-article-excerpt {
    margin-top: 0.85rem;
    color: var(--demo-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.demo-author-card {
    margin-top: 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 0.8rem;
}

.demo-author-card img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
}

.demo-article-content {
    margin-top: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 1rem;
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.85;
}

.demo-video-wrap {
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #020617;
}

.demo-video-wrap.is-hidden {
    display: none;
}

.demo-video-wrap iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.demo-article-content p,
.demo-article-content ul,
.demo-article-content ol,
.demo-article-content table {
    margin-bottom: 1.2rem;
}

.demo-article-content h2,
.demo-article-content h3 {
    margin: 1.5rem 0 0.7rem;
    color: #0f172a;
    font-weight: 900;
}

.demo-article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.demo-article-content th,
.demo-article-content td {
    border: 1px solid rgba(148, 163, 184, 0.28);
    padding: 0.65rem;
    vertical-align: top;
}

.demo-article-content img {
    max-width: 100%;
    border-radius: 18px;
}

.demo-related-grid {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 760px) {
    .demo-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .demo-carousel-track {
        grid-auto-columns: calc((100% - 1.7rem) / 3);
    }

    .demo-board,
    .demo-list-panel,
    .demo-filter-panel,
    .demo-article-shell {
        padding: 1.25rem;
    }

    .home-image-title-card img {
        height: 86px;
    }
}

@media (min-width: 1024px) {
    .demo-hero-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
        align-items: stretch;
    }

    .demo-news-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
    }

    .news-layout {
        grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
        align-items: start;
    }

    .demo-sidebar-stack {
        position: sticky;
        top: 104px;
    }

    .demo-detail-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .demo-carousel-track {
        grid-auto-columns: calc((100% - 2.55rem) / 4);
    }

    .home-inline-track {
        grid-auto-columns: 100%;
    }

    .home-news-duo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .demo-shell {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .news-filter-card {
        padding: 1rem;
    }

    .newsletter-strip-form {
        flex-direction: column;
    }

    .newsletter-strip-input,
    .newsletter-strip-form button {
        width: 100%;
    }

    .newsletter-strip-input {
        flex-basis: auto;
    }

    body.news-demo-body .demo-hero {
        padding-top: 8.8rem;
    }

    .demo-board-head {
        align-items: start;
    }

    .demo-compact-item {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .demo-feature-card {
        min-height: 210px;
    }

    .home-inline-card {
        min-height: 238px;
        border-radius: 1.35rem;
    }

    .home-inline-author-badge {
        top: auto;
        bottom: 7rem;
        left: 0.8rem;
        max-width: calc(100% - 1.6rem);
        gap: 0.58rem;
        padding: 0.46rem 0.78rem 0.46rem 0.46rem;
    }

    .home-inline-author-avatar {
        width: 2.35rem;
        height: 2.35rem;
    }

    .home-inline-author-name {
        font-size: 0.92rem;
    }

    .home-inline-controls {
        top: 0.65rem;
        right: 0.65rem;
    }
}

@media (max-width: 1024px) {
    .news-hero-icon.icon-d {
        display: none;
    }
}

@media (max-width: 768px) {
    .news-hero-scene {
        padding-top: 2.75rem;
    }

    .news-hero-icon {
        width: calc(var(--size, 96px) * 0.68);
    }

    .news-hero-icon.icon-c,
    .news-hero-icon.icon-d {
        display: none;
    }
}

@media (max-width: 640px) {
    .news-hero-icons {
        display: none;
    }
}
