/*
============================
Name: Vexon - Modern Blog Template 
Version: 2.0.0
Description: Vexon - Modern Blog Template 
Author: AliThemes
Author URI: https://themeforest.net/user/aliThemes
Location:
============================
*/

/* SSS accordion - site tema rengiyle uyumlu (theme-btn1 / --vtc-bg-main1 kırmızısı) */
.accordion {
    --bs-accordion-active-bg: #c81e1e;
    --bs-accordion-active-color: #ffffff;
    --bs-accordion-border-color: #eee9f8;
    --bs-accordion-btn-focus-border-color: #c81e1e;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(200, 30, 30, 0.25);
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

/* Çerez onay banner'ı */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #0a0d12;
    color: #fff;
    padding: 16px 24px;
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-inner p {
    margin: 0;
    font-size: 14px;
    color: #d3d5d9;
}

.cookie-consent-inner a {
    color: #ff5252;
    text-decoration: underline;
}

.cookie-consent-inner button {
    white-space: nowrap;
}

/* Kitap detay sayfası - alıntı sayfaları kenar listesi */
.excerpt-sidebar {
    border: 1px solid var(--vtc-border-2, #d8dade);
    border-radius: 12px;
    overflow: hidden;
}

.excerpt-sidebar-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--vtc-border-2, #d8dade);
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.excerpt-sidebar-item:last-child {
    border-bottom: none;
}

.excerpt-sidebar-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--vtc-text-black1, #0a0d12);
}

.excerpt-sidebar-item span {
    display: block;
    font-size: 13px;
    color: var(--vtc-text-gray1, #6b7280);
    margin-top: 4px;
    line-height: 1.4;
}

.excerpt-sidebar-item:hover {
    background: var(--vtc-bg-common-3, #f6f4fc);
}

.excerpt-sidebar-item.active {
    border-left-color: #c81e1e;
    background: #fdf3f3;
}

.excerpt-sidebar-item.active strong {
    color: #c81e1e;
}

/* 404 - Sayfa Bulunamadı */
.error-page-image img {
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    display: block;
    margin: 0 auto;
}

.error-page-content {
    text-align: left;
}

.error-page-code {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c81e1e;
    background: #fdf3f3;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.error-page-content p {
    color: var(--vtc-text-gray1, #6b7280);
    max-width: 480px;
}

@media (max-width: 991px) {
    .error-page-content {
        text-align: center;
        margin-top: 30px;
    }

    .error-page-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Makale/kitap/kategori kart görselleri artık <a> linki (eskiden <div>) —
   <a> varsayılan olarak display:inline olduğu için köşe yuvarlaklığı ve
   overflow:hidden kırpması çalışmıyor, hover efekti taşıyordu. Blok
   olarak render edilmesini sağlıyoruz. */
a.thumbnail.image-anime,
a.image.image-anime {
    display: block;
}

/* Üst menüde yönetim panelinden eklenen alt menüler (dropdown) için
   görünürlük kontrolü — temanın kendi CSS'i bu durumu tanımlamadığından
   burada güvence altına alıyoruz. */
.header-area1 .main-menu-ex.main-menu-ex1 > ul > li {
    position: relative;
}

.header-area1 .main-menu-ex.main-menu-ex1 ul li ul {
    opacity: 0;
    visibility: hidden;
    margin: 0;
    list-style: none;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.header-area1 .main-menu-ex.main-menu-ex1 ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}