:root{
    --navy:#071a2d;
    --red:#d90d2f;
    --red-dark:#bd0828;
    --blue:#1f5d92;
    --text:#172238;
    --muted:#68758a;
    --bg:#f3f5f8;
    --white:#fff;
    --border:#e4e8ee;
    --shadow:0 12px 25px rgba(12,28,48,.07);
    --radius:20px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body.news-detail-page{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Arial,Helvetica,sans-serif;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    color:inherit;
}


/* =========================
   ÜMUMİ KONTEYNER
   ========================= */

.container{
    width:min(1600px,calc(100% - 48px));
    margin:0 auto;
}


/* =========================
   YUXARI BAR
   ========================= */

.topbar{
    background:var(--navy);
    color:#fff;
    font-size:14px;
    font-weight:600;
}

.topbar-inner{
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}


/* =========================
   HEADER
   ========================= */

.site-header{
    background:#fff;
    border-bottom:1px solid var(--border);
}

.site-header-inner{
    min-height:165px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
}

.site-logo{
    font-size:50px;
    line-height:1;
    font-weight:900;
    letter-spacing:-2.5px;
    color:#24649a;
    white-space:nowrap;
}

.site-logo span{
    color:var(--red);
}

.site-tagline{
    flex:1;
    text-align:center;
    color:#54708f;
    font-size:20px;
    line-height:1.5;
}

.site-tagline strong{
    display:block;
    margin-top:5px;
    font-size:21px;
}

.header-tools{
    display:flex;
    align-items:center;
    gap:10px;
}

.header-tools button,
.header-tools a{
    min-width:64px;
    height:64px;
    padding:0 16px;
    border:1px solid var(--border);
    border-radius:16px;
    background:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-weight:800;
    font-size:17px;
}

.header-tools .login-btn{
    background:var(--red);
    color:#fff;
    border-color:var(--red);
    min-width:100px;
}

.search-toggle{
    font-size:25px;
}


/* =========================
   NAVİQASİYA
   ========================= */

.nav{
    background:var(--red);
    color:#fff;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.nav-inner{
    display:flex;
    align-items:stretch;
    overflow-x:auto;
    scrollbar-width:none;
}

.nav-inner::-webkit-scrollbar{
    display:none;
}

.nav-inner a{
    padding:16px 22px;
    color:#fff;
    text-decoration:none;
    font-weight:800;
    white-space:nowrap;
    border-left:1px solid rgba(255,255,255,.08);
}

.nav-inner a:hover,
.nav-inner a.active{
    background:var(--red-dark);
}


/* =========================
   ƏSAS HİSSƏ
   ========================= */

.detail-main{
    padding:28px 0 50px;
}

.breadcrumbs{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 22px;
    color:var(--muted);
    font-size:14px;
}

.breadcrumbs a{
    color:#536b86;
    text-decoration:none;
}

.breadcrumbs a:hover{
    text-decoration:underline;
}


/* =========================
   İKİ SÜTUN
   ========================= */

.page-grid{
    display:grid;
    grid-template-columns:minmax(0,2.35fr) minmax(280px,.78fr);
    gap:24px;
    align-items:start;
}


/* =========================
   XƏBƏR KARTI
   ========================= */

.article,
.sidebar-box{
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
}


/* =========================
   BAŞLIQ HİSSƏSİ
   ========================= */

.article-head{
    padding:28px 38px 22px;
}

.category{
    display:inline-flex;
    align-items:center;
    padding:7px 14px;
    background:#fff1f4;
    color:var(--red);
    border-radius:999px;
    font-weight:800;
    text-decoration:none;
    margin-bottom:14px;
}


/*
   ƏSAS DÜZƏLİŞ:
   Başlıq əvvəlki kimi 44-50px deyil.
*/

.article h1,
.article-head h1{
    margin:0;
    max-width:100%;
    font-size:38px;
    line-height:1.12;
    letter-spacing:-.8px;
    color:#182238;
    font-weight:800;
    overflow-wrap:break-word;
    word-break:normal;
}


/* =========================
   META
   ========================= */

.meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:18px;
    color:#63728a;
    margin-top:16px;
    font-size:14px;
}

.author{
    margin-top:10px;
    font-size:15px;
    color:#4e5f75;
}

.author strong{
    color:#172238;
}


/* =========================
   ƏSAS ŞƏKİL
   ========================= */

.main-image-wrap{
    margin:0;
    background:#eef1f5;
}

.main-image{
    width:100%;
    height:auto;
    max-height:480px;
    object-fit:cover;
}


/* =========================
   MƏQALƏ MƏTNİ
   ========================= */

.article-content{
    padding:28px 38px 35px;
}

.short-description{
    margin-bottom:25px;
    padding:17px 19px;
    background:#f7f8fa;
    border-left:4px solid var(--red);
    border-radius:10px;
    font-weight:700;
    color:#35445a;
}

.news-text{
    font-size:18px;
    line-height:1.85;
    color:#273449;
    overflow-wrap:anywhere;
}

.news-text br + br{
    line-height:2.3;
}


/* =========================
   BÖLMƏLƏR
   ========================= */

.content-section,
.share-section{
    margin-top:36px;
}

.section-title{
    margin:0 0 16px;
    padding-bottom:10px;
    border-bottom:2px solid #eef1f4;
    font-size:23px;
    line-height:1.25;
}


/* =========================
   QALEREYA
   ========================= */

.gallery{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-top:18px;
}

.gallery a{
    display:block;
    overflow:hidden;
    border-radius:12px;
}

.gallery img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    transition:transform .25s ease;
}

.gallery a:hover img{
    transform:scale(1.03);
}


/* =========================
   VİDEO
   ========================= */

.video-frame{
    position:relative;
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:14px;
    background:#000;
}

.video-frame iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
}


/* =========================
   MƏNBƏ
   ========================= */

.source-box{
    margin-top:20px;
    padding:15px 18px;
    background:#f8f9fb;
    border:1px solid var(--border);
    border-radius:12px;
}

.source-box span{
    color:var(--muted);
    margin-right:6px;
}

.source-box a{
    color:var(--red);
    font-weight:800;
    text-decoration:none;
}


/* =========================
   PAYLAŞIM
   ========================= */

.share-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.share-links a,
.share-links button{
    border:0;
    border-radius:10px;
    padding:11px 15px;
    text-decoration:none;
    font-weight:800;
    color:#fff;
    cursor:pointer;
}

.facebook{
    background:#2457a5;
}

.whatsapp{
    background:#168f64;
}

.copy{
    background:#263449;
}


/* =========================
   SIDEBAR
   ========================= */

.sidebar{
    position:sticky;
    top:20px;
}

.sidebar-box{
    margin-bottom:20px;
}

.sidebar-heading{
    padding:25px 24px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    border-bottom:1px solid var(--border);
}

.sidebar-heading h2{
    margin:0;
    font-size:26px;
    line-height:1.2;
}

.sidebar-heading a{
    color:var(--red);
    text-decoration:none;
    font-weight:800;
    white-space:nowrap;
}

.related-list{
    padding:18px 24px 24px;
}

.related-item{
    display:grid;
    grid-template-columns:105px 1fr;
    gap:14px;
    padding:14px 0;
    border-bottom:1px solid var(--border);
    text-decoration:none;
}

.related-item:last-child{
    border-bottom:0;
}

.related-image,
.related-placeholder{
    width:105px;
    height:76px;
    border-radius:10px;
    object-fit:cover;
    background:#edf0f4;
}

.related-info strong{
    display:block;
    font-size:15px;
    line-height:1.35;
}

.related-date{
    display:block;
    margin-top:6px;
    color:#7b8798;
    font-size:12px;
}

.related-empty{
    padding:25px 0;
    color:#728198;
}


/* =========================
   FOOTER
   ========================= */

.footer{
    margin-top:40px;
    background:var(--navy);
    color:#dce5ee;
    padding:35px 0;
}

.footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.footer strong{
    color:#fff;
}

.footer a{
    color:#dce5ee;
    text-decoration:none;
}


/* =========================================================
   LAPTOP / ORTA EKRAN
   ========================================================= */

@media (max-width:1200px){

    .container{
        width:min(100% - 36px,1400px);
    }

    .site-header-inner{
        min-height:145px;
    }

    .site-logo{
        font-size:42px;
    }

    .site-tagline{
        font-size:17px;
    }

    .site-tagline strong{
        font-size:18px;
    }

    .header-tools button,
    .header-tools a{
        min-width:58px;
        height:58px;
        padding:0 13px;
    }

    .nav-inner a{
        padding:15px 18px;
    }

    .page-grid{
        grid-template-columns:minmax(0,2fr) minmax(270px,.75fr);
        gap:20px;
    }

    .article-head{
        padding:25px 30px 20px;
    }

    .article h1,
    .article-head h1{
        font-size:36px;
    }

    .article-content{
        padding:25px 30px 32px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:900px){

    .site-header-inner{
        min-height:120px;
        gap:20px;
    }

    .site-logo{
        font-size:34px;
        letter-spacing:-1.8px;
    }

    .site-tagline{
        font-size:15px;
    }

    .site-tagline strong{
        font-size:16px;
    }

    .header-tools{
        gap:6px;
    }

    .header-tools button,
    .header-tools a{
        min-width:50px;
        width:50px;
        height:50px;
        padding:0;
        border-radius:13px;
    }

    .header-tools .login-btn{
        min-width:75px;
        width:75px;
        font-size:14px;
    }

    .page-grid{
        grid-template-columns:1fr;
    }

    .sidebar{
        position:static;
    }

    .article h1,
    .article-head h1{
        font-size:34px;
    }

    .main-image{
        max-height:430px;
    }
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width:768px){

    .container{
        width:calc(100% - 24px);
    }

    .topbar-inner{
        min-height:42px;
        font-size:12px;
    }

    .site-header-inner{
        min-height:auto;
        padding:20px 0;
        flex-wrap:wrap;
    }

    .site-logo{
        font-size:31px;
    }

    .site-tagline{
        order:3;
        flex-basis:100%;
        text-align:left;
        font-size:14px;
    }

    .site-tagline strong{
        font-size:15px;
    }

    .header-tools button,
    .header-tools a{
        width:44px;
        min-width:44px;
        height:44px;
        border-radius:11px;
        font-size:14px;
    }

    .header-tools .login-btn{
        width:70px;
        min-width:70px;
    }

    .nav-inner a{
        padding:13px 15px;
        font-size:14px;
    }

    .detail-main{
        padding:18px 0 35px;
    }

    .breadcrumbs{
        font-size:12px;
        margin-bottom:16px;
    }

    .article-head{
        padding:22px 20px 18px;
    }

    .category{
        margin-bottom:11px;
        padding:6px 12px;
    }

    .article h1,
    .article-head h1{
        font-size:32px;
        line-height:1.12;
        letter-spacing:-.5px;
    }

    .meta{
        gap:10px;
        font-size:13px;
    }

    .author{
        font-size:14px;
    }

    .main-image{
        max-height:none;
        aspect-ratio:16/10;
    }

    .article-content{
        padding:24px 20px 28px;
    }

    .news-text{
        font-size:17px;
        line-height:1.8;
    }

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

    .related-item{
        grid-template-columns:95px 1fr;
    }

    .related-image,
    .related-placeholder{
        width:95px;
        height:70px;
    }

    .footer-inner{
        flex-direction:column;
        align-items:flex-start;
    }
}


/* =========================================================
   KİÇİK TELEFON
   ========================================================= */

@media (max-width:480px){

    .site-logo{
        font-size:27px;
    }

    .header-tools .login-btn{
        font-size:13px;
        padding:0 10px;
    }

    .article h1,
    .article-head h1{
        font-size:29px;
        line-height:1.13;
    }

    .article-head{
        padding:20px 17px 17px;
    }

    .article-content{
        padding:22px 17px 26px;
    }

    .gallery{
        grid-template-columns:1fr;
    }

    .sidebar-heading{
        padding:20px 18px 15px;
    }

    .related-list{
        padding:0 18px 18px;
    }
}
s-detail-page .article h1,
    body.news-detail-page .article-head h1 {
        font-size: 29px !important;
        line-height: 1.13 !important;
    }
}

/* =========================================================
   ASXEBER.AZ — YEKUN ŞRİFT
   ========================================================= */

.news-detail-page {
    font-family: Arial, Helvetica, sans-serif;
}

/* Xəbər başlığı */
.news-detail-page .article-head h1 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Kateqoriya */
.news-detail-page .category {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Tarix / baxış */
.news-detail-page .meta {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Xəbər mətni */
.news-detail-page .news-text,
.news-detail-page .news-text *,
.news-detail-page .article-content,
.news-detail-page .article-content * {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Oxşar xəbərlər */
.news-detail-page .sidebar,
.news-detail-page .sidebar * {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Breadcrumb */
.news-detail-page .breadcrumbs,
.news-detail-page .breadcrumbs * {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Menyu */
.news-detail-page .asx-public-header,
.news-detail-page .asx-public-header * {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Header */
.news-detail-page .asx-public-topbar,
.news-detail-page .asx-public-topbar *,
.news-detail-page .asx-public-brand,
.news-detail-page .asx-public-brand * {
    font-family: Arial, Helvetica, sans-serif !important;
}
