/* ===== BLOG DETAIL PREMIUM STYLE ===== */

.blog-hero {
    max-width: 1000px;
    margin: auto;
    padding-top: 1rem;
}

.blog-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
}

.blog-author-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.blog-author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.blog-meta small {
    color: #6c757d;
}

.blog-content {
    font-size: 1.18rem;
    line-height: 1.85;
    max-width: 760px;
    margin: auto;
}

.blog-tags a {
    font-size: 0.85rem;
    border-radius: 30px;
    padding: 4px 10px;
}

.share-buttons a {
    border-radius: 50px;
    padding: 6px 14px;
}





/* ----------------------------------------------- */
/*               RELATED POSTS SLIDER              */
/* ----------------------------------------------- */

/* Dış kart zaten container genişliğinde → değişiklik yok */

/* İç kart: daha dar + ortalanmış */
.related-inner-card {
    max-width: 600px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}


/* Force high visibility arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100%, 100%;
    filter: invert(1) brightness(200%) !important;  /* FULL WHITE */
    opacity: 1 !important;
}

/* Modern arrow */
.related-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

.related-arrow:hover {
    background: rgba(0,0,0,0.75);
    transform: scale(1.07);
}

.related-arrow span {
    filter: invert(1);
}

/* Slider positioning container */
.related-slider-wrapper {
    position: relative;
    padding: 0 10px;
}

/* Arrow positioning (dış kart hizası) */
.related-slider-wrapper .carousel-control-prev,
.related-slider-wrapper .carousel-control-next {
    width: auto;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

/* MOBILE: hide arrows fully */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
}

/* Hover effect */
.related-card:hover {
    transform: translateY(-3px);
    transition: 0.2s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
}

.related-card {
    border-radius: 12px !important;
}


/* ========== POST HERO IMAGE FIXED SIZE & SCALED ========== */

.post-hero-wrapper {
    width: 100%;
    max-width: 900px;   /* ortalanmış genişlik */
    height: 420px;      /* sabit yükseklik → çok iyi görünür */
    margin: 20px auto;
    border-radius: 16px;
    overflow: hidden;   /* dışa taşmayı kes */
    background: #ffffff;  /* boş alan arka planı */
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;      /* Görseli kırparak karta tam yerleştirir */
    object-position: center;
    display: block;
}





/* ================================
   RELATED POST THUMBNAILS (CONTAIN)
================================ */

.related-thumb-wrapper {
    width: 110px;
    height: 80px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;      /* ✔ Kırpma yok */
    object-position: center;
    display: block;
}
