.news-item {
    margin-bottom: 130px !important;
}

.news-item:nth-child(even) {
    flex-direction: row-reverse;
}

.news-item-info {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.news-item-info .read-more {
    width: 183px;
    height: 55px;
    background: transparent;
    justify-content: flex-start;
}
.news-item-info .read-more img{
    width: 16px;
    height: 16px;
}

.news-item-info h4 {
    margin-bottom: 50px;
    padding-top: 30px;
    font-size: 26px;
    font-weight: 600;
    color: var(--main-color);
}

.news-item-info p {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 34px;
    color: #424242;
}

.news-item-img {
    width: 580px;
    height: 400px;
    border-radius: 20px;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}


.single-news .swiper {
    width: 100%;
    height: 100%;
}

.single-news .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-news .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-news  .swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.single-news .swiper-slide {
    background-size: cover;
    background-position: center;
}

.single-news .mySwiper2 {
    height: 530px;
    width: 100%;
}

.single-news .mySwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 40px;
}

.single-news .mySwiper .swiper-slide {
    width: 143px !important;
    height: 100px !important;
    opacity: 0.4;
    border-radius: 16px;
}

.single-news .mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.single-news .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.swiper-button-next, .swiper-button-prev{
    background: #D9D9D963;
    width: 60px !important;
    height: 60px !important;
    border-radius: 10px;
}
.swiper-pagination-bullet {
    width: 15px !important;
    height: 15px !important;
    background: #fff !important;
    opacity: 1 !important;
}
.swiper-pagination-bullet-active{
    background: #347BB3 !important;
}
.single-news-title {
    margin-bottom: 45px;
    margin-top: 84px;
    font-size: 38px;
    font-weight: 700;
    line-height: 64px;
}

.other-news {
    margin-top: 120px;

}

.other-news h3 {
    font-size: 41px;
    font-weight: 700;
    margin-bottom: 30px;
}


.other-news-item {
    width: 280px;
    height: 235px;
    border-radius: 15px;
}

.other-news-item img {
    height: 230px;
    object-fit: cover;
    margin-bottom: 18px;
    border-radius: 15px;
}

.other-news-item span {
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    color: #122036;
}

@media only screen and (max-width:1400px){
    .news-item-img {
        width: 500px;
        height: 360px;
    }
    .news-item-info h4 {
        margin-bottom: 20px;
    }
    .other-news-item {
        width: 250px;
    }
}

@media only screen and (max-width:1200px){
    .news-item-img{
        margin: 0 auto;
    }
    .news-item-info{
        align-items: center;
    }
    .news-item-info h4 {

    }
}

@media only screen and (max-width:768px){
    .other-news-item {
        width: 230px;
    }
}


@media only screen and (max-width:576px){
    .news-item-img{
        width: 100%;
        height: 330px;
    }
    .news-item-info{
        align-items: flex-start;
    }
    .news-item{
        margin-bottom: 50px !important;
    }
    .single-news-img {
        height: 350px;
        margin-bottom: 25px;
    }
    .single-news-title {
        margin-bottom: 15px;
        font-size: 22px;
        line-height: 30px;
    }
    .other-news h3{
        text-align: center;
    }
    .other-news-item{
        margin: 0 auto;
    }
    .single-news .mySwiper2 {
        height: 400px;
    }
    .other-news {
        margin-top: 30px;
    }
    }


@media only screen and (max-width:500px) {
    .single-news .mySwiper2 {
        height: 300px;
    }
}

/* ==========================================================================
   XƏBƏR / MƏQALƏ SİYAHISI — vahid şəkil qutusu və sıxlaşdırılmış boşluqlar
   (spesifiklik front.css-dəki .my-news-item-img qaydasını üstələyir)
   ========================================================================== */

.news-item.row {
    align-items: center;
    margin-bottom: 56px !important;
}

.news-item .news-item-img.my-news-item-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(160deg, #eef3f8 0%, #e2eaf2 100%);
}

.news-item .news-item-img.my-news-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
}

.news-item .news-item-info {
    justify-content: center;
}

.news-item .news-item-info h4 {
    padding-top: 0;
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
}

.news-item .news-item-info p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.7;
    color: #55606d;
}

@media only screen and (max-width: 1200px) {
    .news-item .news-item-img.my-news-item-img {
        margin-bottom: 22px;
    }
}

@media only screen and (max-width: 576px) {
    .news-item.row {
        margin-bottom: 38px !important;
    }

    .news-item .news-item-info h4 {
        font-size: 20px;
    }

    .news-item .news-item-info p {
        font-size: 15px;
    }
}

/* ==========================================================================
   MƏQALƏ SƏHİFƏSİ — müəllif, məzmun tipoqrafiyası, cədvəllər, FAQ
   ========================================================================== */

.post-article {
    --post-text: #2b3440;
    --post-muted: #6b7785;
    --post-border: #e3e8ef;
    --post-accent: var(--button-and-icon-bg-color, #347BB3);
    --post-heading: var(--main-color, #134270);
    max-width: 860px;
    margin: 0 auto;
}

/* ---------- Məqalənin əsas şəkli (qalereya olmayanda) ---------- */

.post-hero {
    max-width: 860px;
    margin: 0 auto 34px;
    aspect-ratio: 3 / 2;
    background: linear-gradient(160deg, #eef3f8 0%, #e2eaf2 100%);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---------- Müəllif / tarix sətri ---------- */

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 26px;
    padding: 0 0 20px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--post-border, #e3e8ef);
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--post-muted, #6b7785);
    font-weight: 400;
}

.post-meta-item i {
    font-size: 14px;
    color: var(--post-accent, #347BB3);
}

.post-meta-label {
    color: var(--post-muted, #6b7785);
}

.post-meta-author .post-meta-value {
    font-weight: 600;
    color: var(--post-heading, #134270);
}

/* ---------- Digər xəbərlər karuseli ---------- */

.single-news .other-news {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.single-news .other-news h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--main-color, #134270);
    margin-bottom: 24px;
}

.single-news .other-news .item {
    height: auto;
}

.single-news .other-news-item {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.single-news .other-news-item img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 14px;
    background: #eef3f8;
}

.single-news .other-news-item span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--main-color, #134270);
}

.single-news .other-news .owl-nav button.owl-prev,
.single-news .other-news .owl-nav button.owl-next {
    color: var(--main-color, #134270);
}

/* ---------- Məqalə FAQ akkordeonu ---------- */

.post-faq {
    max-width: 860px;
    margin: 64px auto 0;
}

.post-faq-head {
    margin-bottom: 28px;
}

.post-faq-head h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--main-color, #134270);
    margin: 0 0 8px;
}

.post-faq-head p {
    margin: 0;
    font-size: 16px;
    color: #6b7785;
}

.post-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-faq-item {
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.post-faq-item.is-open {
    border-color: var(--button-and-icon-bg-color, #347BB3);
    box-shadow: 0 6px 24px rgba(19, 66, 112, 0.08);
}

.post-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 20px 24px;
    background: transparent;
    border: 0;
    text-align: left;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--main-color, #134270);
    cursor: pointer;
    transition: background .25s ease;
}

.post-faq-question:hover {
    background: #f4f8fb;
}

.post-faq-question:focus-visible {
    outline: 2px solid var(--button-and-icon-bg-color, #347BB3);
    outline-offset: -2px;
}

.post-faq-icon {
    position: relative;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef3f8;
    transition: background .25s ease, transform .25s ease;
}

.post-faq-icon::before,
.post-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--button-and-icon-bg-color, #347BB3);
    transform: translate(-50%, -50%);
    transition: opacity .25s ease, background .25s ease;
}

.post-faq-icon::before {
    width: 11px;
    height: 2px;
}

.post-faq-icon::after {
    width: 2px;
    height: 11px;
}

.post-faq-item.is-open .post-faq-icon {
    background: var(--button-and-icon-bg-color, #347BB3);
}

.post-faq-item.is-open .post-faq-icon::before {
    background: #fff;
}

.post-faq-item.is-open .post-faq-icon::after {
    opacity: 0;
}

.post-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.post-faq-answer-inner {
    padding: 0 24px 22px;
    font-size: 16px;
    line-height: 1.75;
}

/* JS işləmədikdə cavablar yenə də oxunaqlı olsun */
.no-js .post-faq-answer {
    max-height: none;
}

/* ---------- Responsive ---------- */

@media only screen and (max-width: 992px) {
    .post-faq-head h2 {
        font-size: 27px;
    }
}

@media only screen and (max-width: 576px) {
    .post-hero {
        aspect-ratio: 4 / 3;
        border-radius: 14px;
        margin-bottom: 22px;
    }

    .post-meta {
        gap: 8px 18px;
        padding-bottom: 16px;
        margin-bottom: 24px;
    }

    .post-meta-item {
        font-size: 14px;
    }

    .single-news .other-news h3 {
        font-size: 22px;
        text-align: left;
        margin-bottom: 18px;
    }

    .single-news .other-news-item img {
        height: 200px;
    }

    .post-faq {
        margin-top: 44px;
    }

    .post-faq-head {
        margin-bottom: 20px;
    }

    .post-faq-head h2 {
        font-size: 22px;
    }

    .post-faq-head p {
        font-size: 15px;
    }

    .post-faq-question {
        padding: 16px 18px;
        font-size: 16px;
        gap: 12px;
    }

    .post-faq-answer-inner {
        padding: 0 18px 18px;
        font-size: 15px;
    }

    .post-faq-icon {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
    }
}
