.breaking-bar {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.breaking-bar__inner {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 16px;
}

.breaking-bar strong {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 4px;
    background: var(--brand-2);
    color: var(--bg);
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
}

.breaking-bar__track {
    display: flex;
    min-width: 0;
    gap: 22px;
    overflow: hidden;
    white-space: nowrap;
}

.breaking-bar__track a {
    color: var(--text);
    font-weight: 750;
}

.design-switcher {
    background: var(--bg);
}

.design-switcher__inner {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.design-switcher span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.design-switcher nav {
    display: flex;
    gap: 8px;
}

.design-switcher a {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 900;
}

.design-switcher a.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #111111;
}

.hero {
    padding: 18px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4px;
}

.lead-story {
    position: relative;
    min-height: 526px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
}

.lead-story__image {
    position: absolute;
    inset: 0;
}

.lead-story__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76));
}

.lead-story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead-story__content {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    color: #ffffff;
    padding: 32px;
}

.lead-story h1 {
    max-width: 760px;
    margin: 14px 0 12px;
    font-size: 42px;
    line-height: 1.06;
}

.lead-story p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
}

.lead-story .news-card__meta {
    color: rgba(255, 255, 255, 0.76);
}

.hero-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

.hero-stack .news-card:first-child {
    grid-column: 1 / -1;
}

.dashboard-hero {
    padding: 18px 0 44px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 18px;
}

.live-panel,
.market-panel,
.dashboard-lead,
.sidebar-widget {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.live-panel,
.market-panel {
    padding: 16px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.panel-heading span {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.live-item {
    display: grid;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}

.live-item span {
    color: var(--muted);
    font-size: 12px;
}

.dashboard-lead {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.dashboard-lead img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.dashboard-lead > div {
    padding: 24px;
}

.dashboard-lead h1 {
    margin: 12px 0;
    font-size: 36px;
    line-height: 1.08;
}

.dashboard-lead p {
    margin: 0 0 12px;
    color: var(--muted);
}

.ranked-item {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}

.ranked-item span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.ranked-item strong {
    font-size: 14px;
    line-height: 1.3;
}

.magazine-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: #ffffff;
}

.magazine-hero__image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.magazine-hero__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
}

.magazine-hero__content {
    position: relative;
    z-index: 1;
    padding: 0 0 64px;
}

.magazine-hero h1 {
    max-width: 820px;
    margin: 16px 0;
    font-size: 56px;
    line-height: 1.02;
}

.magazine-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

.exclusive-showcase {
    padding: 18px 0 38px;
}

.exclusive-showcase__heading {
    margin-bottom: 18px;
}

.exclusive-showcase__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.exclusive-showcase__actions button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
}

.exclusive-showcase__actions button:hover {
    border-color: var(--brand);
    background: var(--brand);
    color: #111111;
}

.exclusive-showcase__viewport {
    overflow: hidden;
    border-radius: var(--radius);
}

.exclusive-showcase__track {
    display: flex;
    transition: transform 320ms ease;
}

.exclusive-slide {
    display: grid;
    min-width: 100%;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
    gap: 4px;
}

.exclusive-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background: var(--surface-2);
    color: #ffffff;
}

.exclusive-card--lead {
    min-height: 430px;
}

.exclusive-card__image {
    position: absolute;
    inset: 0;
}

.exclusive-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.exclusive-card:hover .exclusive-card__image img {
    transform: scale(1.035);
}

.exclusive-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.78));
}

.exclusive-card__body {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 22px;
}

.exclusive-card h3 {
    margin: 10px 0 0;
    font-size: 22px;
    line-height: 1.12;
}

.exclusive-card--lead h3 {
    max-width: 720px;
    font-size: 34px;
}

.exclusive-card p {
    max-width: 720px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.exclusive-card .news-card__meta {
    color: rgba(255, 255, 255, 0.74);
}

.exclusive-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.exclusive-dots button {
    width: 30px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: var(--line);
}

.exclusive-dots button.is-active {
    background: var(--brand);
}

.home-content {
    padding: 20px 0 0;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.content-main {
    display: grid;
    gap: 42px;
}

.latest-feed {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
}

.latest-feed--dense {
    grid-template-columns: 1fr;
}

.content-sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 18px;
}

.sidebar-widget {
    padding: 18px;
}

.sidebar-widget h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.sidebar-widget--newsletter {
    background: var(--brand-2);
    color: var(--bg);
}

.sidebar-widget--newsletter p {
    color: rgba(255, 255, 255, 0.72);
}

.sidebar-widget--newsletter form {
    display: grid;
    gap: 8px;
}

.sidebar-widget--newsletter input,
.sidebar-widget--newsletter button {
    min-height: 42px;
    border-radius: var(--radius);
}

.sidebar-widget--newsletter input {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 0 12px;
}

.sidebar-widget--newsletter button {
    border: 0;
    background: var(--brand);
    color: #111111;
    font-weight: 900;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 800;
}

.tag-cloud span {
    color: var(--muted);
}

@media (max-width: 1120px) {
    .dashboard-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .lead-story {
        min-height: 440px;
    }

    .dashboard-grid {
        gap: 12px;
    }

    .magazine-hero {
        min-height: 540px;
    }

    .magazine-hero h1 {
        font-size: 42px;
    }

    .exclusive-slide {
        grid-template-columns: 1fr 1fr;
    }

    .exclusive-card--lead {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .breaking-bar__inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
    }

    .design-switcher__inner,
    .design-switcher nav {
        align-items: stretch;
        flex-direction: column;
    }

    .hero {
        padding-top: 8px;
    }

    .hero-stack,
    .latest-feed,
    .content-sidebar {
        grid-template-columns: 1fr;
    }

    .lead-story {
        min-height: 420px;
    }

    .lead-story__content {
        padding: 22px;
    }

    .lead-story h1,
    .dashboard-lead h1 {
        font-size: 30px;
    }

    .magazine-hero {
        min-height: 500px;
    }

    .magazine-hero h1 {
        font-size: 34px;
    }

    .exclusive-showcase {
        padding-top: 8px;
    }

    .exclusive-showcase__actions {
        width: 100%;
        justify-content: space-between;
    }

    .exclusive-slide {
        grid-template-columns: 1fr;
    }

    .exclusive-card,
    .exclusive-card--lead {
        min-height: 360px;
    }

    .exclusive-card__body {
        padding: 20px;
    }

    .exclusive-card h3,
    .exclusive-card--lead h3 {
        font-size: 26px;
    }
}
