/*
 * Yayın listeleri ve içerik gövdesi (Faz 1, 2026-12).
 * Yalnız yayın/bilgi bankası liste ve detay sayfalarında @push('styles') ile yüklenir.
 * Yön (RTL) farkları rtl.css'te, [dir="rtl"] ile sınırlı.
 */

/* ---------- Kitap listesi ---------- */
.book-item {
    margin-bottom: 70px;
    align-items: center;
}

/* Kapaklar farklı oranlarda yüklenmiş (yatay/dikey). Kutu sabit 2:3, görsel kırpılmadan sığar. */
.book-image img,
.book-image .ap-kitap-yer-tutucu {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 2 / 3;
    object-fit: contain;
    background: #f4f5f8;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
    transition: all .3s ease;
}

.book-image .ap-kitap-yer-tutucu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #c3c8d6;
}

.book-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.book-content h3 {
    font-size: 30px;
    line-height: 1.35;
    margin-bottom: 20px;
    font-weight: 700;
}

.book-content h3 a {
    color: #111;
    text-decoration: none;
}

.book-content ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.book-content ul li {
    display: inline-block;
    margin-right: 20px;
    color: #666;
    font-size: 14px;
}

.book-content ul li i {
    color: #263C86;
    margin-right: 6px;
}

.book-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
}

.book-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #263C86;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    transition: .3s;
    font-weight: 600;
}

.book-btn:hover {
    background: #1b2d66;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .book-item {
        margin-bottom: 50px;
    }

    .book-content {
        margin-top: 30px;
        text-align: center;
    }

    .book-content h3 {
        font-size: 24px;
    }

    .book-image {
        text-align: center;
    }

    .book-image img,
    .book-image .ap-kitap-yer-tutucu {
        max-width: 280px;
    }
}

/* ---------- Kart görselleri (Basında Biz, Eğitim ve diğerleri) ---------- */
/* Büronun yüklediği 480×270 logolar 16:9; farklı orandaki görsel de kırpılmadan ortalanır. */
.blog-item a img.ap-kart-gorsel {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #fff;
    margin-bottom: 15px;
}

/* ---------- İçerik gövdesi ---------- */
/* Tema .blog-details-img altındaki tüm ul/li'leri satır içi ve işaretsiz yapıyor
   (tarih/yazar satırı için). Gövdedeki listeler bu yüzden yan yana akıyordu. */
.blog-details-item .blog-details-img .ap-content ul,
.blog-details-item .blog-details-img .ap-content ol {
    margin: 0 0 15px;
    padding-left: 1.5em;
}

.blog-details-item .blog-details-img .ap-content ul > li,
.blog-details-item .blog-details-img .ap-content ol > li {
    display: list-item;
    font-size: inherit;
    color: inherit;
    margin: 0 0 6px;
}

.blog-details-item .blog-details-img .ap-content ul > li {
    list-style-type: disc;
}

.blog-details-item .blog-details-img .ap-content ul ul > li {
    list-style-type: circle;
}

.blog-details-item .blog-details-img .ap-content ol > li {
    list-style-type: decimal;
}

.blog-details-item .blog-details-img .ap-content li a {
    display: inline;
    color: #263C86;
    text-decoration: underline;
}

.ap-content img {
    max-width: 100%;
    height: auto;
}

/* ---------- Gömülü video ---------- */
.ap-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 15px 0;
    background: #000;
}

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

.ap-content video {
    max-width: 100%;
    height: auto;
}

/* ---------- Sağdan sola (yalnız Arapça) ----------
   Bu dosya yalnız yayın sayfalarında yüklendiği için yön farkları burada,
   [dir="rtl"] ile sınırlı tutuldu; Türkçe ve İngilizce sayfalar etkilenmez. */
[dir="rtl"] .blog-details-item .blog-details-img .ap-content ul,
[dir="rtl"] .blog-details-item .blog-details-img .ap-content ol {
    padding-left: 0;
    padding-right: 1.5em;
}

[dir="rtl"] .book-content ul li {
    margin-right: 0;
    margin-left: 20px;
}

/* ---------- Basında Biz grupları (talep notu 10) ---------- */
.ap-grup-cipleri {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 0 40px;
}

.ap-grup-cipleri a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #263C86;
    border-radius: 999px;
    color: #263C86;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.ap-grup-cipleri a:hover {
    background: #263C86;
    color: #fff;
}

.ap-grup-cipleri a span {
    font-weight: 400;
    opacity: .8;
}

.ap-basin-grubu {
    margin-bottom: 30px;
    scroll-margin-top: calc(var(--ap-header-h, 100px) + 20px);
}

.ap-grup-baslik {
    font-size: 28px;
    margin: 0 0 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D1AD53;
}

/* ---------- Hizmet sayfası: Sık Sorulan Sorular (talep notu 8) ---------- */
.ap-sss {
    margin-top: 35px;
    text-align: start;
}

.ap-sss-baslik {
    font-size: 24px;
    margin-bottom: 18px;
}

.ap-sss-oge {
    border: 1px solid #e3e5ec;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fff;
}

.ap-sss-oge summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 48px 14px 18px;
    position: relative;
}

.ap-sss-oge summary::-webkit-details-marker {
    display: none;
}

.ap-sss-oge summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #263C86;
}

.ap-sss-oge[open] summary::after {
    content: "−";
}

.ap-sss-soru {
    font-size: 17px !important;
    line-height: 1.5;
    margin: 0 !important;
    color: #111;
}

.ap-sss-cevap {
    padding: 0 18px 14px;
}

.ap-sss-cevap p {
    margin: 0;
    color: #464646;
}

[dir="rtl"] .ap-sss-oge summary {
    padding: 14px 18px 14px 48px;
}

[dir="rtl"] .ap-sss-oge summary::after {
    right: auto;
    left: 18px;
}
