/* Comprehensive F1 news feed — hotspot.html */
.all-news-center {
    margin-bottom: 76px;
}

.all-news-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 1100px) {
    .all-news-head {
        padding-right: 315px;
    }
}

.all-news-head h2 {
    margin: 6px 0 8px;
}

.all-news-head p {
    max-width: 760px;
    margin: 0;
    color: #9299a9;
}

.all-news-live {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 205px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.all-news-live i {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #ff173c;
    box-shadow: 0 0 0 5px rgba(255, 23, 60, 0.11), 0 0 18px rgba(255, 23, 60, 0.7);
}

.all-news-live strong,
.all-news-live small {
    display: block;
}

.all-news-live strong {
    color: #f4f5f8;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.all-news-live small {
    color: #767d8c;
    font-size: 9px;
}

.all-news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 15px;
    background: rgba(16, 18, 27, 0.86);
    position: sticky;
    top: 12px;
    z-index: 8;
    backdrop-filter: blur(18px);
}

.news-filter-list {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.news-filter-list::-webkit-scrollbar {
    display: none;
}

.news-filter {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #8e95a5;
    background: transparent;
    cursor: pointer;
    font: 800 10px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.news-filter:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
}

.news-filter.is-active {
    border-color: rgba(255, 23, 60, 0.32);
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 23, 60, 0.22), rgba(255, 23, 60, 0.07));
    box-shadow: 0 8px 22px rgba(245, 5, 55, 0.12);
}

.news-count {
    flex: 0 0 auto;
    padding: 0 8px;
    color: #737a89;
    font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    white-space: nowrap;
}

.all-news-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(290px, 0.78fr);
    min-height: 330px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 19px;
    background: #151823;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

.all-news-feature[hidden] {
    display: none;
}

.all-news-feature-visual {
    min-height: 330px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 48% 90%, rgba(255, 116, 0, 0.46), transparent 32%),
        linear-gradient(135deg, #0d1018, #252d3c);
}

.all-news-feature-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 62%, #151823 100%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 36px);
}

.all-news-feature-visual img {
    width: min(390px, 65%);
    height: 92%;
    position: absolute;
    right: 8%;
    bottom: 0;
    object-fit: contain;
    object-position: bottom;
    filter: saturate(0.96) contrast(1.04);
}

.all-news-feature-round {
    position: absolute;
    z-index: 2;
    left: 25px;
    top: 22px;
    color: rgba(255, 255, 255, 0.1);
    font: 900 clamp(58px, 8vw, 110px)/0.8 "Arial Black", sans-serif;
    letter-spacing: -0.08em;
}

.all-news-feature-tag {
    position: absolute;
    z-index: 3;
    left: 24px;
    bottom: 25px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #fff;
    background: rgba(8, 10, 15, 0.56);
    backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.all-news-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 34px 32px 16px;
}

.all-news-feature-copy h3 {
    margin: 11px 0 13px;
    color: #fff;
    font-size: clamp(23px, 2.3vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.all-news-feature-copy p {
    margin: 0 0 20px;
    color: #969dad;
    font-size: 13px;
    line-height: 1.72;
}

.all-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #737b8b;
    font: 800 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.all-news-category {
    padding: 5px 8px;
    border-radius: 6px;
    color: var(--accent, #ff173c);
    background: color-mix(in srgb, var(--accent, #ff173c) 13%, transparent);
}

.all-news-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    color: #f5f6f8;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.all-news-link b {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    color: #101219;
    background: #ff173c;
}

.all-news-link:hover {
    color: #ff405c;
}

.all-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.all-news-card {
    --accent: #ff173c;
    display: flex;
    min-height: 330px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(25, 27, 39, 0.98), rgba(15, 17, 25, 0.99));
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.all-news-card:hover {
    border-color: color-mix(in srgb, var(--accent) 38%, rgba(255, 255, 255, 0.1));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.all-news-card[hidden] {
    display: none;
}

.all-news-card a {
    display: flex;
    width: 100%;
    color: inherit;
    flex-direction: column;
    text-decoration: none;
}

.all-news-card-media {
    height: 138px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    background:
        radial-gradient(circle at 78% 95%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 43%),
        linear-gradient(135deg, #0e1119, #202432);
}

.all-news-card-media::after {
    content: attr(data-index);
    position: absolute;
    left: 13px;
    top: 10px;
    color: rgba(255, 255, 255, 0.09);
    font: 900 56px/1 "Arial Black", sans-serif;
    letter-spacing: -0.08em;
}

.all-news-card-media img {
    width: 150px;
    height: 124px;
    position: absolute;
    z-index: 2;
    right: 5px;
    bottom: 0;
    object-fit: contain;
    object-position: bottom;
}

.all-news-card-media img.is-track {
    width: 190px;
    height: 118px;
    right: 11px;
    bottom: 8px;
    opacity: 0.9;
    filter: brightness(1.6) contrast(0.75);
}

.all-news-card-media img.is-team {
    width: 132px;
    height: 84px;
    right: 16px;
    bottom: 24px;
    object-fit: contain;
}

.all-news-card-copy {
    display: flex;
    flex: 1;
    padding: 18px 19px 19px;
    flex-direction: column;
}

.all-news-card-copy h3 {
    margin: 12px 0 10px;
    color: #f5f6f9;
    font-size: 16px;
    line-height: 1.36;
    letter-spacing: -0.015em;
}

.all-news-card-copy p {
    margin: 0;
    color: #8f97a8;
    font-size: 11.5px;
    line-height: 1.65;
}

.all-news-card-source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    color: #6e7686;
    font: 800 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.all-news-card-source b {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    color: #11131a;
    background: var(--accent);
}

.all-news-empty {
    padding: 30px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #848b9a;
    text-align: center;
}

@media (max-width: 1050px) {
    .all-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .all-news-head {
        grid-template-columns: 1fr;
    }

    .all-news-live {
        min-width: 0;
    }

    .all-news-toolbar {
        align-items: stretch;
        flex-direction: column;
        top: 6px;
    }

    .news-count {
        padding: 0 7px 3px;
    }

    .all-news-feature {
        grid-template-columns: 1fr;
    }

    .all-news-feature-visual {
        min-height: 250px;
    }

    .all-news-feature-copy {
        padding: 25px 23px 26px;
    }
}

@media (max-width: 570px) {
    .all-news-grid {
        grid-template-columns: 1fr;
    }

    .all-news-card {
        min-height: 310px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .all-news-card {
        transition: none;
    }
}
