/* === Marmaris Dergi Premium Blog Design System === */

:root {
    --blog-primary: #d7b877;
    --blog-dark: #0f172a;
    --blog-navy: #1e293b;
    --blog-text: #1a1a1a;
    --blog-text-light: #64748b;
    --blog-bg: #fafafa;
    --blog-white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
}

/* Base Wrapper Adjustments */
.blog-detail-wrapper,
.blog-list-page {
    padding-top: 103px !important; /* Fixed Header Height */
    background: var(--blog-bg);
    min-height: 100vh;
}

/* Premium Hero Section for Detail Page */
.blog-hero-section {
    padding: 80px 0 60px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 60px;
    text-align: left;
}

.hero-content {
    max-width: 900px;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: var(--blog-dark);
    line-height: 1.2;
    font-weight: 700;
    margin: 25px 0 35px;
    letter-spacing: -0.5px;
}

.blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--blog-text-light);
    margin-top: 20px;
}

.blog-breadcrumbs a {
    color: var(--blog-text-light);
    text-decoration: none;
    transition: 0.3s;
}

.blog-breadcrumbs a:hover {
    color: var(--blog-primary);
}

.blog-breadcrumbs i {
    font-size: 9px;
    opacity: 0.5;
}

.blog-breadcrumbs .current {
    color: var(--blog-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Meta Data */
.post-meta-badges {
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-badge {
    background: var(--blog-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(215, 184, 119, 0.3);
}

.meta-item {
    font-size: 13px;
    color: var(--blog-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.meta-item i {
    color: var(--blog-primary);
}

/* Header Correction */
header.fixed, 
#header {
    background: var(--blog-dark) !important;
    height: 103px !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2) !important;
    z-index: 10000 !important;
}

/* Layout */
.blog-flex-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.blog-content-column {
    flex: 1;
    max-width: 850px;
}

.blog-sidebar-column {
    width: 320px;
}

/* Post Content */
.post-featured-image {
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-lead {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 45px;
    padding: 30px 40px;
    background: #fff;
    border-radius: 16px;
    border-left: 6px solid var(--blog-primary);
    box-shadow: var(--shadow-sm);
}

.post-content-inner {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 2;
    color: #333;
}

.post-content-inner p {
    margin-bottom: 35px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.sidebar-widget h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li { margin-bottom: 10px; }

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    background: #f8fafc;
    transition: 0.3s;
}

.sidebar-categories a:hover {
    background: var(--blog-primary);
    color: #fff;
}

/* Related Section */
.related-articles-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid #e2e8f0;
}

.related-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 40px;
}

/* Grid & Cards */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}

.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.article-image { height: 200px; position: relative; }
.article-image img { width: 100%; height: 100%; object-fit: cover; }

.article-content { padding: 20px; }
.article-content h2 { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }

/* Social */
.post-share-section { margin-top: 80px; padding-top: 40px; border-top: 1px solid #eee; }
.share-buttons { display: flex; gap: 15px; }
.share-btn { padding: 10px 20px; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }

/* Promo Box (Newsletter/Ads) */
.promo-box {
    background: var(--blog-dark);
    color: #fff;
    text-align: center;
}
.promo-box h4 { font-family: 'Playfair Display', serif; color: var(--blog-primary); font-size: 22px; margin: 15px 0; }
.promo-box p { font-size: 14px; color: #94a3b8; margin-bottom: 20px; }
.promo-box input { width: 100%; padding: 12px; border-radius: 8px; border: none; margin-bottom: 10px; }
.promo-box button { width: 100%; padding: 12px; border-radius: 8px; border: none; background: var(--blog-primary); color: #fff; font-weight: 700; cursor: pointer; }

@media (max-width: 1100px) {
    .blog-flex-container { flex-direction: column; }
    .blog-content-column, .blog-sidebar-column { width: 100%; max-width: none; }
    .post-title { font-size: 32px; }
}

@media (max-width: 768px) {
    .blog-hero-section { padding: 40px 0 30px; margin-bottom: 30px; }
    .post-title { font-size: 26px; }
    .post-lead { padding: 20px; font-size: 18px; margin-bottom: 25px; }
    .post-content-inner { font-size: 16px; line-height: 1.8; }
    .post-content-inner p { margin-bottom: 25px; }
    
    .share-buttons { flex-direction: column; width: 100%; }
    .share-btn { justify-content: center; }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr; /* Full width on tiny screens */
    }
}
