/* ═══════════════════════════════════════════════════════════
   QERBXEBER ANA SƏHİFƏ v1.2
   Primary  #1c4074   Accent  #fc6a03   Text  #474548
   Font: Inter
   ═══════════════════════════════════════════════════════════ */

/* ─── GP OVERRIDE ─── */
body.home .site-content .page-header,
body.home .site-content .paging-navigation,
body.home .site-content .posts-navigation,
body.home .site-content nav.navigation,
body.page .site-content .page-header,
body.page .site-content .paging-navigation,
body.page .site-content .posts-navigation,
body.page .site-content nav.navigation {
    display: none !important;
}

body.home .site-content .inside-article,
body.home #content .site-main,
body.home .site-content,
body.page .site-content .inside-article,
body.page #content .site-main,
body.page .site-content {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    overflow: visible !important;
}

body.home #page .grid-container,
body.home .grid-container,
body.page #page .grid-container,
body.page .grid-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    overflow: visible !important;
}

body.home #page,
body.page #page {
    overflow: visible !important;
}

body.home #primary,
body.page #primary {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

body.home #right-sidebar,
body.home #left-sidebar,
body.page #right-sidebar,
body.page #left-sidebar {
    display: none !important;
}

/* ── Ana konteyner ── */
.qxh-home {
    font-family: var(--qx-font, 'Inter', sans-serif);
    color: var(--qx-text, #474548);
    overflow-x: clip;
    width: 100%;
}

.qxh-home *,
.qxh-home *::before,
.qxh-home *::after {
    box-sizing: border-box;
}

.qxh-home img,
.qxh-home video,
.qxh-home iframe {
    max-width: 100%;
}

.qxh-home .qx-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ═══════════════════════════════════════
   SECTION 1 — HERO AD (mərkəzləşdirilmiş)
   ═══════════════════════════════════════ */
.qxh-s1 {
    padding: 20px 0;
    text-align: center;
}
/* S1 içindəki hər şey block-centered olsun */
.qxh-s1 .qx-wrap {
    display: flex;
    justify-content: center;
}
.qxh-hero-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}
.qxh-hero-ad__single {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/* Embed kodlar da mərkəzləşsin */
.qxh-hero-ad__single > * {
    margin-left: auto;
    margin-right: auto;
}
.qxh-hero-ad__single iframe,
.qxh-hero-ad__single img,
.qxh-hero-ad__single video {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: var(--qx-radius, 8px);
    margin: 0 auto;
}
.qxh-hero-ad__duo {
    display: flex;
    gap: 16px;
    justify-content: center;
    max-width: 1016px;
    width: 100%;
}
.qxh-hero-ad__duo .qxh-hero-ad__item {
    flex: 1;
    max-width: 500px;
}
.qxh-hero-ad__duo img,
.qxh-hero-ad__duo video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--qx-radius, 8px);
}

/* Ümumi reklam stili */
.qxh-ad {
    display: flex;
    align-items: center;
    justify-content: center;
}
.qxh-ad img,
.qxh-ad video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ═══════════════════════════════════════
   STICKY WRAPPER — 3 Sütunlu Layout
   Sol 160px | Main | Sağ 160px
   ═══════════════════════════════════════ */
.qxh-sticky-wrap {
    padding-bottom: 40px;
}
.qxh-page-grid {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}

/* ── Sticky sütunlar — position:sticky fix ── */
.qxh-sticky-col {
    width: 160px;
    flex-shrink: 0;
    align-self: stretch; /* bütün hündürlüyü tutsun */
}
.qxh-sticky-inner {
    position: sticky;
    top: 150px; /* header(62) + tags(42) + ticker(38) + gap(8) = 150px */
}
.qxh-sticky-ad {
    width: 160px;
}
.qxh-sticky-ad img,
.qxh-sticky-ad video {
    width: 160px;
    border-radius: var(--qx-radius, 8px);
}

/* Əsas content sütunu */
.qxh-main-col {
    flex: 1;
    min-width: 0;
}

/* ═══════════════════════════════════════
   BLOCK HEADING
   ═══════════════════════════════════════ */
.qxh-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--qx-primary, #1c4074);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 3px solid rgba(0,0,0,.06);
    position: relative;
}
.qxh-heading::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--qx-accent, #fc6a03);
    border-radius: 2px;
}
.qxh-heading i {
    color: var(--qx-accent, #fc6a03);
    font-size: 20px;
}
.qxh-heading h2 {
    font: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}
.qxh-heading__all {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--qx-accent, #fc6a03);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all .28s cubic-bezier(.4,0,.2,1);
}
.qxh-heading__all:hover {
    gap: 10px;
    color: var(--qx-primary, #1c4074);
}
.qxh-heading__all i {
    font-size: 11px;
    color: inherit;
}
/* Live heading */
.qxh-heading--live::after { display: none; }
.qxh-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e53e3e;
    animation: qxh-live-pulse 1.5s ease infinite;
    flex-shrink: 0;
}
@keyframes qxh-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229,62,62,.6); }
    50% { box-shadow: 0 0 0 8px rgba(229,62,62,0); }
}

/* ═══════════════════════════════════════
   SECTION 2 — SLIDER + SIDEBAR ADS
   4 sütun: sol sticky | slider | sidebar ads | sağ sticky
   ═══════════════════════════════════════ */
.qxh-s2 {
    margin-bottom: 32px;
}

/* Section 2 layout — slider + sağ tərəfdə reklamlar */
.qxh-s2-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.qxh-s2-slider {
    flex: 1;
    min-width: 0;
}
.qxh-s2-aside {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.qxh-s2-ads__item {
    border-radius: var(--qx-radius, 8px);
    overflow: hidden;
}
.qxh-s2-ads__item img,
.qxh-s2-ads__item video {
    display: block;
    width: 100%;
    border-radius: var(--qx-radius, 8px);
}

/* ═══════════════════════════════════════
   SLIDER — reference sayta uyğun dizayn
   ═══════════════════════════════════════ */
.qxh-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--qx-primary, #1c4074);
}

.qxh-slider__track {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10; /* Track özü hündürlüyü saxlayır */
}

/* Slaydlar — hamısı absolute, track aspect-ratio ilə hündürlüyü verir */
.qxh-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s;
    z-index: 1;
}
.qxh-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Şəkil — track ilə eyni ölçüdə */
.qxh-slide__img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.qxh-slide__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}
.qxh-slide.is-active .qxh-slide__img img {
    transform: scale(1.05);
}
.qxh-slide__img--empty {
    background: linear-gradient(135deg, #1c4074 0%, #2d5a9e 100%);
    width: 100%;
    height: 100%;
}

/* Overlay — aşağıdan güclü, yuxarı tərəfə şəffaf */
.qxh-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.55) 35%,
        rgba(0,0,0,.1) 65%,
        transparent 100%
    );
    z-index: 3;
}

/* ── Slayd Content ── */
.qxh-slide__content {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    padding: 0 30px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Yuxarı sətir: kateqoriya + tarix/baxış */
.qxh-slide__topline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.qxh-slide__cat {
    display: inline-block;
    color: var(--qx-accent, #fc6a03);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .6px;
    transition: color .25s;
}
.qxh-slide__cat:hover {
    color: #fff;
}
.qxh-slide__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.55);
    font-size: 12.5px;
    font-weight: 500;
}
.qxh-slide__meta i {
    font-size: 11px;
    margin-right: 2px;
}

/* Format badge-ləri */
.qxh-slide__formats {
    display: flex;
    gap: 6px;
}
.qxh-slide__fbadge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.qxh-slide__fbadge--video {
    background: rgba(252,106,3,.85);
}
.qxh-slide__fbadge--gallery {
    background: rgba(40,167,69,.8);
}
.qxh-slide__fbadge i {
    font-size: 10px;
}

/* Title */
.qxh-slide__link {
    text-decoration: none;
    display: block;
}
.qxh-slide__title {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.qxh-slide__link:hover .qxh-slide__title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ═══ Alt Naviqasiya — slayderdən kənarda, təmiz ═══ */
.qxh-slider__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 0 4px;
}

/* Oxlar */
.qxh-slider__arrow {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(0,0,0,.12);
    border-radius: 50%;
    background: transparent;
    color: var(--qx-primary, #1c4074);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    flex-shrink: 0;
}
.qxh-slider__arrow:hover {
    background: var(--qx-accent, #fc6a03);
    border-color: var(--qx-accent, #fc6a03);
    color: #fff;
}

/* Dot indikatorlar — reference saytdakı rəngli barlar */
.qxh-slider__dots {
    display: flex;
    align-items: center;
    gap: 5px;
}
.qxh-slider__dot {
    width: 26px;
    height: 4px;
    border: none;
    border-radius: 3px;
    background: rgba(0,0,0,.12);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: all .3s ease;
    position: relative;
}
.qxh-slider__dot:hover {
    background: rgba(0,0,0,.25);
}
.qxh-slider__dot.is-active {
    width: 38px;
    background: var(--qx-accent, #fc6a03);
}
.qxh-slider__dot-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(255,255,255,.35);
    border-radius: 3px;
}
.qxh-slider__dot.is-active .qxh-slider__dot-fill {
    animation: qxh-dot-progress 6s linear forwards;
}
@keyframes qxh-dot-progress {
    from { width: 0; }
    to   { width: 100%; }
}

/* ═══════════════════════════════════════
   SECTION 3 — QərbXəbər TV
   ═══════════════════════════════════════ */
.qxh-s3 {
    margin-bottom: 32px;
}
.qxh-tv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.qxh-tv-card {
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.qxh-tv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.qxh-tv-card__link {
    display: block;
    text-decoration: none;
}
.qxh-tv-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--qx-primary, #1c4074);
}
.qxh-tv-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.qxh-tv-card:hover .qxh-tv-card__thumb img {
    transform: scale(1.06);
}
.qxh-tv-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(252,106,3,.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 24px rgba(252,106,3,.4);
    transition: all .32s;
    z-index: 2;
}
.qxh-tv-card__play i {
    margin-left: 3px;
}
.qxh-tv-card:hover .qxh-tv-card__play {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 6px 30px rgba(252,106,3,.5);
}
.qxh-tv-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}
.qxh-tv-card__body {
    padding: 16px 18px 20px;
}
.qxh-tv-card__cat {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--qx-accent, #fc6a03);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.qxh-tv-card__cat:hover {
    color: var(--qx-primary, #1c4074);
}
.qxh-tv-card__tlink {
    text-decoration: none;
}
.qxh-tv-card__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--qx-text, #474548);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.qxh-tv-card__tlink:hover .qxh-tv-card__title {
    color: var(--qx-primary, #1c4074);
}
.qxh-tv-card__date {
    font-size: 12px;
    color: #aaa;
}

/* ═══════════════════════════════════════
   SECTION 4 — Yazarlar + İndi Oxuyurlar
   ═══════════════════════════════════════ */
.qxh-s4 {
    margin-bottom: 32px;
}
.qxh-s4-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.qxh-s4-left {
    flex: 0 0 65%;
    min-width: 0;
}
.qxh-s4-right {
    flex: 1;
    min-width: 0;
}

/* Yazarlar grid — 2 sütun, 2 sətir */
.qxh-yazarlar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Yazar kartı — author info */
.qxh-card__author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--qx-primary, #1c4074);
}
.qxh-card__author-photo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}
.qxh-card__author i {
    font-size: 11px;
    color: var(--qx-accent, #fc6a03);
}

/* ── İndi Oxuyurlar ── */
.qxh-reading {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.qxh-reading__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    text-decoration: none;
    border-radius: 10px;
    transition: all .28s cubic-bezier(.4,0,.2,1);
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.qxh-reading__item:last-child {
    border-bottom: none;
}
.qxh-reading__item:hover {
    background: var(--qx-white, #fff);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transform: translateX(4px);
}
.qxh-reading__rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--qx-primary, #1c4074);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.qxh-reading__item:nth-child(1) .qxh-reading__rank { background: var(--qx-accent, #fc6a03); }
.qxh-reading__item:nth-child(2) .qxh-reading__rank { background: #e55e00; }
.qxh-reading__item:nth-child(3) .qxh-reading__rank { background: var(--qx-primary, #1c4074); }
.qxh-reading__thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.qxh-reading__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qxh-reading__body {
    flex: 1;
    min-width: 0;
}
.qxh-reading__title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--qx-text, #474548);
    margin: 0 0 5px;
}
.qxh-reading__views {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #aaa;
}
.qxh-reading__views i {
    color: var(--qx-accent, #fc6a03);
    font-size: 11px;
}
.qxh-reading__count {
    font-weight: 700;
    color: var(--qx-primary, #1c4074);
    font-variant-numeric: tabular-nums;
    min-width: 24px;
    display: inline-block;
    transition: all .4s ease;
}
.qxh-reading__count.is-changing {
    animation: qxh-count-pop .4s ease;
}
@keyframes qxh-count-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.3); color: var(--qx-accent, #fc6a03); }
    100% { transform: scale(1); }
}
.qxh-reading__item {
    transition: all .5s cubic-bezier(.4,0,.2,1);
}

/* ═══════════════════════════════════════
   BEFORE LATEST — Hero Ad Tekrarı
   ═══════════════════════════════════════ */
.qxh-before-latest-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
}
.qxh-before-latest-ad > * {
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════
   SECTION 5 — Son Xəbərlər
   ═══════════════════════════════════════ */
.qxh-s5 {
    margin-bottom: 20px;
}
.qxh-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Inline reklam — gridə tam genişliyində oturan */
.qxh-latest-inline-ad {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 16px 0;
}
.qxh-inline-ad img,
.qxh-inline-ad video {
    max-width: 100%;
    height: auto;
    border-radius: var(--qx-radius, 8px);
}

/* Loader */
.qxh-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px;
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
}
.qxh-loader.is-hidden { display: none; }
.qxh-loader__spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0,0,0,.08);
    border-top-color: var(--qx-accent, #fc6a03);
    border-radius: 50%;
    animation: qxh-spin .7s linear infinite;
}
@keyframes qxh-spin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════
   SHARED — Xəbər Kartı
   ═══════════════════════════════════════ */
.qxh-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.qxh-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.qxh-card__link {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}
.qxh-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.qxh-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.qxh-card:hover .qxh-card__thumb img {
    transform: scale(1.05);
}
.qxh-card__thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: #f5f5f5;
    color: #ddd;
    font-size: 28px;
}

/* Format badge */
.qxh-card__format {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.qxh-card__format--video {
    background: rgba(252,106,3,.85);
}
.qxh-card__format--gallery {
    background: rgba(28,64,116,.85);
}

/* Kateqoriya badge */
.qxh-card__badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 4px;
    background: rgba(28,64,116,.85);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2px;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Body */
.qxh-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.qxh-card__tlink {
    text-decoration: none;
    color: inherit;
}
.qxh-card__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: #222;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s ease;
}
.qxh-card:hover .qxh-card__title {
    color: #1c4074;
}
.qxh-card__excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: #999;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qxh-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}
.qxh-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #bbb;
}
.qxh-card__meta i {
    font-size: 11px;
}

/* Card size — large */
.qxh-card--large .qxh-card__thumb {
    aspect-ratio: 16 / 9;
}
.qxh-card--large .qxh-card__title {
    font-size: 18px;
}

/* Card size — small */
.qxh-card--small .qxh-card__thumb {
    aspect-ratio: 1 / 1;
}
.qxh-card--small .qxh-card__title {
    font-size: 13.5px;
}
.qxh-card--small .qxh-card__body {
    padding: 12px 14px;
}

/* ═══════════════════════════════════════
   MOBİL REKLAM SLOTLARI
   Yalnız mobil ekranlarda görünür
   ═══════════════════════════════════════ */
.qxh-mobile-ad {
    display: none;
}

/* ═══════════════════════════════════════
   HAQQIMIZDA BLOKU
   ═══════════════════════════════════════ */
.qxh-about {
    padding: 48px 0 56px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.qxh-about__inner {
    max-width: 960px;
    margin: 0 auto;
}
.qxh-about__header {
    text-align: center;
    margin-bottom: 36px;
}
.qxh-about__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--qx-primary, #1c4074);
    margin: 0 0 8px;
}
.qxh-about__subtitle {
    font-size: 14px;
    color: #999;
    margin: 0;
    font-weight: 500;
}
.qxh-about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
}
.qxh-about__col h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--qx-primary, #1c4074);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--qx-accent, #fc6a03);
    display: inline-block;
}
.qxh-about__col p {
    font-size: 13.5px;
    line-height: 1.75;
    color: #666;
    margin: 0 0 16px;
}
.qxh-about__col p:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

/* ── Masaüstü-only reklamlar: mobil gizlətmə siniflər ── */
.qxh-desktop-only {
    display: block;
}
.qxh-mobile-only {
    display: none;
}

/* 1200px — s2 sidebar gizlənir, slider full genişlik */
@media (max-width: 1200px) {
    .qxh-s2-aside {
        display: none;
    }
    .qxh-s2-layout {
        gap: 0;
    }
}

/* 1100px — sticky adlar gizlənir */
@media (max-width: 1100px) {
    .qxh-sticky-col {
        display: none;
    }
    .qxh-page-grid {
        gap: 0;
    }
    .qxh-slide__title {
        font-size: 22px;
    }
    .qxh-slide__content {
        padding: 0 24px;
        bottom: 14px;
    }
}

/* 1024px — gridlər 2 sütuna */
@media (max-width: 1024px) {
    .qxh-latest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .qxh-yazarlar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .qxh-tv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .qxh-s4-left {
        flex: 0 0 60%;
    }
}

/* 900px — section 4 alt-alta */
@media (max-width: 900px) {
    .qxh-s4-grid {
        flex-direction: column;
    }
    .qxh-s4-left {
        flex: none;
        width: 100%;
    }
    .qxh-s4-right {
        width: 100%;
    }
    .qxh-yazarlar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════
   768px — MOBİL
   Tam responsiv: desktop reklamlar gizlənir,
   layoutlar stack olur, elementlər kiçilir
   ═══════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Ümumi ── */
    .qxh-home .qx-wrap {
        padding: 0 16px;
    }

    /* ── Desktop reklamları GİZLƏ ── */
    .qxh-s1 {
        display: none !important;
    }
    .qxh-before-latest-ad {
        display: none !important;
    }
    .qxh-latest-inline-ad {
        display: none !important;
    }
    .qxh-desktop-only {
        display: none !important;
    }

    /* ── Mobil reklamlar GÖSTƏR ── */
    .qxh-mobile-only {
        display: block !important;
    }
    .qxh-mobile-ad {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 16px 0;
        text-align: center;
    }
    .qxh-mobile-ad__inner {
        max-width: 100%;
        width: 100%;
    }
    .qxh-mobile-ad__inner img,
    .qxh-mobile-ad__inner video,
    .qxh-mobile-ad__inner iframe {
        max-width: 100%;
        height: auto;
        border-radius: var(--qx-radius, 8px);
    }

    /* ── Slider ── */
    .qxh-slider {
        border-radius: 10px;
    }
    .qxh-slider__track {
        aspect-ratio: 16 / 10;
    }
    .qxh-slide__title {
        font-size: 18px;
    }
    .qxh-slide__content {
        padding: 0 20px;
        bottom: 12px;
    }
    .qxh-slider__arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .qxh-slider__nav {
        padding: 10px 16px;
        gap: 10px;
    }
    .qxh-slider__dot {
        width: 22px;
        height: 3px;
    }
    .qxh-slider__dot.is-active {
        width: 32px;
    }
    .qxh-slide__cat {
        font-size: 11px;
    }
    .qxh-slide__meta {
        font-size: 11px;
    }
    .qxh-slide__formats {
        gap: 4px;
    }
    .qxh-slide__fbadge {
        padding: 3px 8px;
        font-size: 10px;
    }

    /* ── Blok Başlıqları ── */
    .qxh-heading {
        font-size: 16px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    .qxh-heading i { font-size: 17px; }

    /* ── Section 2 ── */
    .qxh-s2 {
        margin-bottom: 24px;
    }

    /* ── Section 3 — TV ── */
    .qxh-s3 {
        margin-bottom: 24px;
    }
    .qxh-tv-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .qxh-tv-card {
        border-radius: 10px;
    }
    .qxh-tv-card__play {
        width: 46px;
        height: 46px;
        font-size: 15px;
    }
    .qxh-tv-card__body {
        padding: 14px 16px 16px;
    }
    .qxh-tv-card__title {
        font-size: 14px;
    }
    .qxh-tv-card__date {
        font-size: 11px;
    }
    .qxh-tv-card__cat {
        font-size: 11px;
    }

    /* ── Section 4 — Yazarlar + Oxuyurlar ── */
    .qxh-s4 {
        margin-bottom: 24px;
    }
    .qxh-s4-grid {
        flex-direction: column;
        gap: 24px;
    }
    .qxh-s4-left {
        flex: none;
        width: 100%;
    }
    .qxh-s4-right {
        width: 100%;
    }
    .qxh-yazarlar-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ── Xəbər Kartları ── */
    .qxh-latest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .qxh-card__body {
        padding: 14px 16px 16px;
    }
    .qxh-card__title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .qxh-card__meta span {
        font-size: 11px;
    }
    .qxh-card__badge {
        height: 22px;
        padding: 0 8px;
        font-size: 10px;
    }
    .qxh-card__format {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }
    .qxh-card__excerpt {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    /* ── İndi Oxuyurlar ── */
    .qxh-reading__item {
        padding: 12px 8px;
    }
    .qxh-reading__rank {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    .qxh-reading__thumb {
        width: 44px;
        height: 44px;
    }
    .qxh-reading__title {
        font-size: 13px;
    }
    .qxh-reading__views {
        font-size: 11px;
    }

    /* ── Section 5 — Son Xəbərlər ── */
    .qxh-s5 {
        margin-bottom: 16px;
    }

    /* ── Loader ── */
    .qxh-loader {
        padding: 32px 0 16px;
    }

    /* ── Haqqımızda ── */
    .qxh-about {
        padding: 32px 0 40px;
    }
    .qxh-about__content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .qxh-about__title {
        font-size: 19px;
    }
    .qxh-about__col h3 {
        font-size: 14px;
    }
    .qxh-about__col p {
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════
   480px — Kiçik Mobil
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
    .qxh-home .qx-wrap {
        padding: 0 12px;
    }

    /* ── Slider ── */
    .qxh-slider {
        border-radius: 8px;
    }
    .qxh-slider__track {
        aspect-ratio: 4 / 3;
    }
    .qxh-slide__title {
        font-size: 16px;
        -webkit-line-clamp: 2;
    }
    .qxh-slide__content {
        padding: 0 14px;
        bottom: 10px;
        gap: 5px;
    }
    .qxh-slider__arrow {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .qxh-slider__nav {
        padding: 8px 12px;
        gap: 8px;
    }
    .qxh-slider__dot {
        width: 18px;
        height: 3px;
    }
    .qxh-slider__dot.is-active {
        width: 26px;
    }
    .qxh-slide__topline {
        gap: 8px;
    }
    .qxh-slide__cat {
        font-size: 10px;
    }
    .qxh-slide__meta {
        font-size: 10px;
    }

    /* ── Başlıqlar ── */
    .qxh-heading {
        font-size: 15px;
    }

    /* ── Son Xəbərlər 1 sütuna düşür ── */
    .qxh-latest-grid {
        grid-template-columns: 1fr;
    }

    /* ── Kartlar ── */
    .qxh-card__title {
        font-size: 13.5px;
    }
    .qxh-card__excerpt {
        font-size: 12px;
    }
    .qxh-card__body {
        padding: 12px 14px 14px;
    }

    /* ── TV ── */
    .qxh-tv-card__body {
        padding: 12px 14px 16px;
    }
    .qxh-tv-card__title {
        font-size: 13.5px;
    }
    .qxh-tv-card__play {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    /* ── Yazarlar ── */
    .qxh-card__author {
        font-size: 12px;
    }
    .qxh-card__author-photo {
        width: 20px;
        height: 20px;
    }

    /* ── İndi Oxuyurlar ── */
    .qxh-reading__rank {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    .qxh-reading__thumb {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }
    .qxh-reading__title {
        font-size: 12.5px;
    }

    /* ── Haqqımızda ── */
    .qxh-about {
        padding: 24px 0 32px;
    }
    .qxh-about__title {
        font-size: 17px;
    }
    .qxh-about__subtitle {
        font-size: 12.5px;
    }
    .qxh-about__header {
        margin-bottom: 24px;
    }
    .qxh-about__col h3 {
        font-size: 13.5px;
    }
    .qxh-about__col p {
        font-size: 12.5px;
        line-height: 1.7;
    }

    /* ── Section arası boşluq ── */
    .qxh-s2 {
        margin-bottom: 20px;
    }
    .qxh-s3 {
        margin-bottom: 20px;
    }
    .qxh-s4 {
        margin-bottom: 20px;
    }
    .qxh-s5 {
        margin-bottom: 12px;
    }
    .qxh-sticky-wrap {
        padding-bottom: 20px;
    }
}

/* ═══════════════════════════════════════
   360px — Çox Kiçik Ekranlar
   ═══════════════════════════════════════ */
@media (max-width: 360px) {
    .qxh-home .qx-wrap {
        padding: 0 10px;
    }
    .qxh-slide__title {
        font-size: 14px;
    }
    .qxh-slide__content {
        padding: 0 12px;
        bottom: 8px;
    }
    .qxh-card__title {
        font-size: 13px;
    }
    .qxh-heading {
        font-size: 14px;
    }
}
