﻿:root {
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f3f4f6;
    --card: #fff;
    --navy: #0b1220;
    --accent: #e11d48;
    --serif: Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.page {
    padding-top: 20px;
    padding-bottom: 40px;
}

/* Üst zolaq */
.topbar {
    background: var(--navy);
    color: #cbd5e1;
    font-size: .8rem;
}

    .topbar .wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 34px;
    }

    .topbar a {
        color: #fff;
        font-weight: 600;
    }

        .topbar a:hover {
            color: #fda4af;
        }

/* Başlıq */
.masthead {
    background: #fff;
}

    .masthead .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 10px;
    height: 34px;
    background: var(--accent);
    border-radius: 2px;
}

.brand-name {
    font-family: var(--serif);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -.5px;
    text-transform: uppercase;
}

    .brand-name.small {
        font-size: 1.1rem;
        color: #fff;
    }

.search {
    display: flex;
    width: 100%;
    max-width: 320px;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    background: #f8fafc;
}

    .search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        padding: .55rem .8rem;
        font-size: .95rem;
        color: var(--ink);
    }

    .search button {
        border: 0;
        background: var(--navy);
        color: #fff;
        padding: 0 .9rem;
        cursor: pointer;
    }

        .search button:hover {
            background: var(--accent);
        }

/* Kateqoriya naviqasiyası */
.catnav {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

    .catnav .wrap {
        display: flex;
        gap: 2px;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .catnav .wrap::-webkit-scrollbar {
            display: none;
        }

    .catnav a {
        padding: .8rem 1rem;
        font-weight: 700;
        font-size: .85rem;
        text-transform: uppercase;
        letter-spacing: .03em;
        white-space: nowrap;
        border-bottom: 3px solid transparent;
    }

        .catnav a:hover {
            color: var(--accent);
        }

        .catnav a.active {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }

/* Ümumi */
.tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .15rem .5rem;
    border-radius: 2px;
}

.kicker {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--accent);
}

.time {
    font-size: .78rem;
    color: var(--muted);
}

.box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 16px;
}

.sec-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 1.02rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

    .sec-title::before {
        content: "";
        width: 6px;
        height: 20px;
        background: var(--accent);
        border-radius: 2px;
        flex-shrink: 0;
    }

    .sec-title small {
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0;
        color: var(--muted);
    }

.empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--muted);
}

    .empty a {
        color: var(--accent);
        font-weight: 700;
    }

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 480px;
    margin-bottom: 28px;
}

    .hero.n1 {
        grid-template-columns: 1fr;
    }

.hero-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(135deg, #1e293b, #475569);
}

    .hero-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
    }

    .hero-card:hover img {
        transform: scale(1.04);
    }

    .hero-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(2,6,23,.9) 0%, rgba(2,6,23,.3) 55%, rgba(2,6,23,0) 100%);
    }

.hero-lead {
    grid-row: span 2;
}

.hero.n2 .hero-side {
    grid-row: span 2;
}

.hero-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

    .hero-text h2 {
        margin: 0;
        font-family: var(--serif);
        font-weight: 800;
        line-height: 1.2;
        font-size: 1.15rem;
    }

.hero-lead .hero-text h2 {
    font-size: 1.9rem;
}

.hero .time {
    color: #cbd5e1;
}

.hero-card:hover h2 {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
}

/* Əsas bölmə */
.main-grid, .article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
}

.row-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 12px;
    transition: border-color .15s, box-shadow .15s;
}

    .row-card:hover {
        border-color: #cbd5e1;
        box-shadow: 0 6px 18px rgba(15,23,42,.08);
    }

.row-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 3px;
    background: #e2e8f0;
}

    .row-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.row-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

    .row-body h3 {
        margin: 0;
        font-family: var(--serif);
        font-size: 1.25rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .row-body p {
        margin: 0;
        color: #475569;
        font-size: .92rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .row-body .time {
        margin-top: auto;
    }

.row-card:hover h3 {
    color: var(--accent);
}

/* Yan panel */
.side {
    position: sticky;
    top: 56px;
}

.latest {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .latest li {
        display: grid;
        grid-template-columns: 56px 1fr;
        gap: 10px;
        padding: 10px 0;
        border-bottom: 1px dashed var(--line);
    }

        .latest li:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

    .latest time {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

        .latest time b {
            color: var(--accent);
            font-size: .92rem;
        }

        .latest time small {
            color: var(--muted);
            font-size: .7rem;
        }

    .latest a {
        font-weight: 600;
        font-size: .93rem;
        line-height: 1.35;
    }

        .latest a:hover {
            color: var(--accent);
        }

/* Səhifələmə */
.pager {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin: 22px 0 6px;
}

    .pager a {
        min-width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        background: #fff;
        border: 1px solid var(--line);
        font-weight: 700;
    }

        .pager a:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .pager a.active {
            background: var(--navy);
            border-color: var(--navy);
            color: #fff;
        }

/* Oxu səhifəsi */
.crumbs {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 12px;
}

    .crumbs a:hover {
        color: var(--accent);
    }

.article-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
}

.article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px 32px;
}

.headline {
    margin: .5rem 0 .8rem;
    font-family: var(--serif);
    font-size: 2.3rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.5px;
}

.byline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 10px 0;
    margin-bottom: 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .88rem;
}

    .byline b {
        color: var(--ink);
    }

.cover {
    margin: 0 0 16px;
}

    .cover img {
        width: 100%;
        max-height: 480px;
        object-fit: cover;
        border-radius: 3px;
    }

.share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: .85rem;
    color: var(--muted);
}

    .share a, .share button {
        border: 1px solid var(--line);
        background: #f8fafc;
        color: var(--ink);
        border-radius: 3px;
        padding: .3rem .8rem;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }

        .share a:hover, .share button:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

.body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1e293b;
    overflow-wrap: anywhere;
}

    .body p {
        margin: 0 0 1.1rem;
    }

    .body h2, .body h3, .body h4 {
        font-family: var(--serif);
        margin: 1.6rem 0 .6rem;
        line-height: 1.25;
    }

    .body img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
    }

    .body a {
        color: var(--accent);
        text-decoration: underline;
    }

    .body blockquote {
        margin: 1.2rem 0;
        padding: .4rem 1.2rem;
        border-left: 4px solid var(--accent);
        color: #334155;
        background: #f8fafc;
    }

    .body table {
        border-collapse: collapse;
        width: 100%;
        margin-bottom: 1.1rem;
    }

    .body th, .body td {
        border: 1px solid #cbd5e1;
        padding: .45rem .7rem;
    }

.related {
    margin-top: 30px;
}

.cards3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mini {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .15s;
}

    .mini:hover {
        box-shadow: 0 6px 18px rgba(15,23,42,.1);
    }

.mini-img {
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
    overflow: hidden;
}

    .mini-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.mini-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .mini-body h4 {
        margin: 0;
        font-family: var(--serif);
        font-size: 1.02rem;
        line-height: 1.3;
    }

.mini:hover h4 {
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--navy);
    color: #94a3b8;
    font-size: .88rem;
    padding: 22px 0;
}

    footer .wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

/* ===================== v2 ===================== */

/* Üst zolaq: hava + sosial */
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.weather {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,.2);
}

    .weather b {
        color: #fff;
    }

.social {
    display: flex;
    gap: 6px;
}

    .social a {
        width: 26px;
        height: 26px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        color: #fff;
        transition: .15s;
    }

        .social a:hover {
            background: var(--accent);
            color: #fff;
        }

/* Xəbər lenti (soldan sağa) */
.ticker {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

    .ticker .wrap {
        display: flex;
        align-items: center;
        gap: 12px;
        height: 42px;
    }

.ticker-label {
    flex-shrink: 0;
    background: var(--accent);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .3rem .7rem;
    border-radius: 2px;
    white-space: nowrap;
}

.ticker-viewport {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: tickerRTL 70s linear infinite;
}

    .ticker-track:hover {
        animation-play-state: paused;
    }

    .ticker-track a {
        padding: 0 26px;
        font-size: .88rem;
        font-weight: 600;
    }

        .ticker-track a b {
            color: var(--accent);
            margin-right: 7px;
        }

        .ticker-track a::after {
            content: "•";
            margin-left: 26px;
            color: #cbd5e1;
        }

        .ticker-track a:hover {
            color: var(--accent);
        }

@keyframes tickerRTL {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

/* Hamburger */
.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .burger span, .burger span::before, .burger span::after {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
    }

    .burger span {
        position: relative;
    }

        .burger span::before, .burger span::after {
            content: "";
            position: absolute;
            left: 0;
        }

        .burger span::before {
            top: -6px;
        }

        .burger span::after {
            top: 6px;
        }

.nav-close, .nav-social, .nav-overlay {
    display: none;
}

/* Reklamlar */
.ad {
    margin: 0 0 16px;
    text-align: center;
    max-width: 100%;
}

    .ad img {
        margin: 0 auto;
        max-width: 100%;
        height: auto;
    }

.ad-label {
    display: block;
    margin-top: 2px;
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    border: 1px dashed #cbd5e1;
    border-radius: 3px;
    background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 10px, #e8edf3 10px, #e8edf3 20px);
    color: #94a3b8;
    font-size: .8rem;
    font-weight: 600;
}

.ad-wrap {
    padding-top: 14px;
}

    .ad-wrap .ad {
        margin-bottom: 0;
    }

.rail {
    display: none;
    position: fixed;
    top: 170px;
    width: 160px;
    z-index: 5;
}

@media (min-width: 1560px) {
    .rail {
        display: block;
    }

    .rail-left {
        left: calc(50% - 590px - 176px);
    }

    .rail-right {
        left: calc(50% + 590px + 16px);
    }
}

/* Yan panel */
.box-gap {
    margin-top: 16px;
}

.side .ad {
    margin-bottom: 16px;
}

.mostread {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .mostread li {
        display: grid;
        grid-template-columns: 30px 1fr;
        gap: 10px;
        padding: 10px 0;
        border-bottom: 1px dashed var(--line);
    }

        .mostread li:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

.rank {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
}

.mostread li:nth-child(-n+3) .rank {
    background: var(--accent);
}

.mostread a {
    font-weight: 600;
    font-size: .93rem;
    line-height: 1.35;
}

    .mostread a:hover {
        color: var(--accent);
    }

.mostread small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .75rem;
}

/* Scroll pagination */
#sentinel {
    height: 1px;
}

.scroll-status {
    text-align: center;
    color: var(--muted);
    font-size: .88rem;
    padding: 14px 0;
    min-height: 40px;
}

.btn-more, .btn {
    display: inline-block;
    border: 0;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: .65rem 1.4rem;
    cursor: pointer;
}

    .btn:hover, .btn-more:hover {
        background: var(--accent);
        color: #fff;
    }

.main-grid .ad {
    margin: 0 0 12px;
}

/* Telefon slayderi */
.m-slider {
    display: none;
    position: relative;
    margin: -4px -16px 20px;
}

.m-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

    .m-track::-webkit-scrollbar {
        display: none;
    }

.m-slide {
    position: relative;
    flex: 0 0 100%;
    height: 300px;
    scroll-snap-align: start;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1e293b, #475569);
}

    .m-slide img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .m-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(2,6,23,.92) 0%, rgba(2,6,23,.25) 60%, rgba(2,6,23,0) 100%);
    }

    .m-slide .hero-text {
        padding: 16px 16px 34px;
    }

        .m-slide .hero-text h2 {
            font-size: 1.2rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

.m-dots {
    position: absolute;
    left: 16px;
    bottom: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

    .m-dots i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,.5);
        transition: .2s;
    }

        .m-dots i.on {
            width: 22px;
            border-radius: 4px;
            background: #fff;
        }

/* Rəylər */
.comments {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.comment {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.comment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
}

    .comment-head small, .muted {
        color: var(--muted);
    }

.comment-text {
    margin: .25rem 0 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.c-form {
    display: grid;
    gap: 8px;
    margin-top: 20px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 4px;
}

    .c-form h4 {
        margin: 0 0 4px;
        font-family: var(--serif);
    }

    .c-form input, .c-form textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 4px;
        padding: .65rem .8rem;
        font: inherit;
        background: #fff;
    }

        .c-form input:focus, .c-form textarea:focus {
            outline: 2px solid rgba(225,29,72,.25);
            border-color: var(--accent);
        }

    .c-form .btn {
        justify-self: start;
    }

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.field-err {
    color: var(--accent);
    font-size: .82rem;
}

.alert-ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: .7rem 1rem;
    border-radius: 4px;
    margin-bottom: 12px;
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .main-grid, .article-grid {
        grid-template-columns: 1fr;
    }

    .side {
        position: static;
    }

    .burger {
        display: inline-flex;
    }

    .masthead {
        position: sticky;
        top: 0;
        z-index: 30;
        border-bottom: 1px solid var(--line);
    }

        .masthead .wrap {
            flex-wrap: wrap;
            gap: 10px;
            padding-top: 10px;
            padding-bottom: 10px;
        }

    .brand {
        flex: 1;
    }

    .brand-name {
        font-size: 1.35rem;
    }

    .search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .catnav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 290px;
        max-width: 85vw;
        z-index: 50;
        border: 0;
        transform: translateX(-100%);
        transition: transform .25s ease;
        overflow-y: auto;
        box-shadow: 8px 0 30px rgba(0,0,0,.25);
    }

        .catnav.open {
            transform: none;
        }

        .catnav .wrap {
            flex-direction: column;
            gap: 0;
            padding: 0;
            overflow: visible;
        }

        .catnav a {
            padding: .95rem 1.2rem;
            border-bottom: 1px solid var(--line);
            border-left: 3px solid transparent;
            margin: 0;
        }

            .catnav a.active {
                border-bottom-color: var(--line);
                border-left-color: var(--accent);
            }

    .nav-close {
        display: block;
        border: 0;
        background: var(--navy);
        color: #fff;
        font: inherit;
        font-weight: 700;
        padding: .9rem 1.2rem;
        text-align: left;
        cursor: pointer;
    }

    .nav-social {
        display: block;
        padding: 1rem 1.2rem;
    }

        .nav-social .social a {
            background: #f1f5f9;
            color: var(--ink);
        }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 40;
        background: rgba(2,6,23,.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s;
    }

    body.nav-open .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .hero {
        display: none;
    }

    .m-slider {
        display: block;
    }

    .topbar-right .social {
        display: none;
    }

    .w-desc {
        display: none;
    }

    .ad-placeholder {
        height: auto !important;
        min-height: 60px;
    }

    .row-card {
        grid-template-columns: 120px 1fr;
        gap: 12px;
    }

    .row-body h3 {
        font-size: 1.05rem;
    }

    .row-body p {
        display: none;
    }

    .article {
        padding: 18px;
    }

    .headline {
        font-size: 1.7rem;
    }

    .cards3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .w-city {
        display: none;
    }

    .ticker-label {
        font-size: .65rem;
        padding: .25rem .5rem;
    }
}

/* ===================== v3 ===================== */

/* Hero slayder (kompüter): sol tərəfdə 5 slayd, sağda başlıq siyahısı */
.hs {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 420px;
    margin-bottom: 28px;
}

.hs-stage {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #1e293b;
}

.hs-slide.hero-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s;
    border-radius: 0;
}

    .hs-slide.hero-card.on {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

.hs .hero-text {
    padding: 22px 24px 26px;
}

    .hs .hero-text h2 {
        font-size: 1.75rem;
    }

.hs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: .2s;
}

.hs-stage:hover .hs-arrow {
    opacity: 1;
}

.hs-prev {
    left: 12px;
}

.hs-next {
    right: 12px;
}

.hs-arrow:hover {
    background: var(--accent);
    color: #fff;
}

.hs-tabs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}

.hs-tab {
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;
    text-align: left;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 4px;
    padding: .4rem .8rem;
    cursor: pointer;
    font: inherit;
    color: var(--ink);
    transition: .15s;
}

    .hs-tab:hover {
        border-color: #cbd5e1;
    }

    .hs-tab.on {
        border-color: var(--accent);
        background: #fff1f2;
    }

.hs-num {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .85rem;
}

.hs-tab.on .hs-num {
    background: var(--accent);
}

.hs-ttl {
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hs-tab.on::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--accent);
    transform-origin: left;
    animation: hsProgress 5.5s linear forwards;
}

.hs.paused .hs-tab.on::after {
    animation-play-state: paused;
}

@keyframes hsProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs-tab.on::after {
        animation: none;
    }
}

/* Tablet və telefon: slayder əvəzinə sürüşən 5 xəbər */
@media (max-width: 992px) {
    .hs {
        display: none;
    }

    .m-slider {
        display: block;
    }
}

/* ===================== v4 ===================== */

/* Sponsorlu xəbər */
.sponsor-badge {
    display: inline-block;
    margin-left: 8px;
    padding: .1rem .5rem;
    border: 1px solid #f59e0b;
    color: #b45309;
    background: #fffbeb;
    border-radius: 2px;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.sponsor-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: .5rem .8rem;
    border-radius: 4px;
    font-size: .85rem;
    margin-bottom: 12px;
}

/* Etiketlər */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0 4px;
}

    .tags a {
        background: #f1f5f9;
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: .2rem .75rem;
        font-size: .82rem;
        font-weight: 600;
        color: #334155;
    }

        .tags a:hover {
            background: var(--accent);
            border-color: var(--accent);
            color: #fff;
        }
/* bildirişlər */
.push-bell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.1);
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: .15s;
}

    .push-bell:hover, .push-bell.on {
        background: var(--accent);
    }

    .push-bell[hidden] {
        display: none;
    }

.push-banner {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 60;
    max-width: 380px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    box-shadow: 0 12px 34px rgba(15,23,42,.22);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .push-banner[hidden] {
        display: none;
    }

.push-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: .92rem;
}

    .push-banner-text span {
        color: var(--muted);
        font-size: .85rem;
    }

.push-banner-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .push-banner-actions .btn {
        padding: .5rem 1rem;
    }

.push-no {
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .push-no:hover {
        color: var(--ink);
    }

@media (max-width: 480px) {
    .push-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        max-width: none;
    }
}
