/* ------------------------------------------------------------
 * 19. BLOG & SINGLE POST STYLES (MODERN REDESIGN)
 * ------------------------------------------------------------ */

/* --- Genel Yapı --- */
.fanchaty-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    min-height: 80vh;
}

/* --- Blog Liste Sayfası (Home.php için) --- */
.blog-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.blog-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #dd4791 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.blog-subtitle {
    color: #aaa;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(221, 71, 145, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(221, 71, 145, 0.1);
}

.blog-card-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: #dd4791;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-title {
    font-size: 1.5rem;
    margin: 0 0 15px;
    line-height: 1.3;
    font-weight: 700;
}

.blog-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: #dd4791;
}

.blog-excerpt {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-top: auto;
}

.blog-read-more i {
    transition: transform 0.3s;
}

.blog-read-more:hover {
    color: #dd4791;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* --- SINGLE POST (YENİ TASARIM) --- */

.fanchaty-single-article {
    width: 100%;
}

/* Hero Bölümü */
.single-hero {
    position: relative;
    height: 60vh; /* Ekranın %60'ı */
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    margin-bottom: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 13, 15, 0.3) 0%, rgba(13, 13, 15, 0.9) 60%, #0d0d0f 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeSlideUp 0.8s ease-out;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #dd4791;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-meta i { margin-right: 5px; }

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-submeta {
    color: #ccc;
    font-size: 1rem;
}

/* İçerik Alanı */
.single-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 100px;
    position: relative;
    z-index: 4;
}

.entry-content {
    font-size: 1.15rem; /* Okuma kolaylığı için büyük font */
    line-height: 1.8;
    color: #e0e0e0; /* Tam beyaz değil, göz yormayan gri */
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2 {
    font-size: 2rem;
    color: #fff;
    margin: 50px 0 25px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: linear-gradient(to bottom, #dd4791, #534fe0);
    border-radius: 4px;
}

.entry-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin: 40px 0 20px;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.entry-content li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.entry-content blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: #fff;
    margin: 40px 0;
    padding: 0;
    text-align: center;
    line-height: 1.4;
    background: none;
    border: none;
}

.entry-content blockquote::before {
    content: '"';
    display: block;
    font-size: 4rem;
    color: #dd4791;
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.5;
}

.entry-content strong {
    color: #fff;
}

.entry-content a {
    color: #dd4791;
    text-decoration: none;
    border-bottom: 1px solid rgba(221, 71, 145, 0.3);
    transition: all 0.3s;
}

.entry-content a:hover {
    border-bottom-color: #dd4791;
    background: rgba(221, 71, 145, 0.1);
}

/* CTA Kutusu */
.blog-cta-box {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(221, 71, 145, 0.1) 0%, rgba(83, 79, 224, 0.1) 100%);
    border: 1px solid rgba(221, 71, 145, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin: 0;
    color: #fff;
}

.cta-content p {
    color: #ccc;
    margin: 0;
    font-size: 1.1rem;
}

.fanchaty-btn-glow {
    background: linear-gradient(135deg, #dd4791 0%, #534fe0 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(221, 71, 145, 0.4);
    transition: all 0.3s;
    display: inline-block;
}

.fanchaty-btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(221, 71, 145, 0.6);
    color: #fff;
}

/* Paylaşım Butonları */
.post-share {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-share span {
    color: #888;
    font-weight: 500;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #dd4791;
    transform: translateY(-3px);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .single-hero {
        height: 50vh;
    }
    .entry-content {
        font-size: 1.05rem;
    }
    .blog-cta-box {
        padding: 30px 20px;
    }
}