/* ==========================================================================
   Seashore Steel - Blog Article Details CSS
   ========================================================================== */

:root {
    /* Brand & Visual Identity */
    --primary-color: #071d43;      /* Deep Iron Navy */
    --accent-color: #1d5fd8;       /* Seashore Steel Blue */
    --accent-hover: #2d74f5;       /* Vibrant Accent Blue */
    --accent-soft: rgba(29, 95, 216, 0.06);
    
    /* Neutral Palette */
    --text-dark: #0f172a;          /* Slate 900 */
    --text-body: #334155;          /* Slate 700 */
    --text-muted: #64748b;         /* Slate 500 */
    --bg-light: #f8fafc;           /* Slate 50 */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;       /* Slate 200 */
    
    /* Design Tokens */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 30px;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 40px rgba(7, 29, 67, 0.08);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Split Hero Section (Exactly like reference image layout)
   ========================================================================== */
.sre-bd-split-hero {
    display: flex;
    min-height: 520px;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.sre-bd-hero-left {
    width: 58%;
    background-color: var(--primary-color);
    padding: 130px 4% 90px 10%;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.sre-bd-hero-right {
    width: 42%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 520px;
}

.sre-bd-hero-content-wrap {
    max-width: 680px;
    width: 100%;
    text-align: left;
}

/* Breadcrumbs (Gold Accent / Slashing separator) */
.sre-bd-breadcrumbs {
    font-size: 14px;
    font-weight: 500;
    color: #dfb76c; /* Light gold/beige color */
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.sre-bd-breadcrumbs a {
    color: #dfb76c;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.sre-bd-breadcrumbs a:hover {
    opacity: 0.8;
}

.sre-bd-breadcrumbs .sep {
    margin: 0 8px;
    opacity: 0.5;
}

/* Hero Title */
.sre-bd-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

/* Metadata Row */
.sre-bd-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.sre-bd-read-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sre-bd-meta-divider-bullet {
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.sre-bd-meta-text-sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 4px;
}

.sre-bd-meta-text {
    font-weight: 500;
}

/* ==========================================================================
   Overlapping Author Card
   ========================================================================== */
.sre-bd-author-section-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -36px;
}

.sre-bd-author-overlap-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--border-color);
    max-width: 850px;
    width: 100%;
}

.sre-bd-avatar-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sre-bd-avatar-overlap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
    margin-right: -12px;
    background-color: var(--bg-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sre-bd-avatar-overlap:last-child {
    margin-right: 0;
}

.sre-bd-author-meta-info {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-body);
}

.sre-bd-author-written {
    margin-bottom: 2px;
    color: var(--text-muted);
}

.sre-bd-author-written strong,
.sre-bd-author-reviewed strong {
    color: var(--text-dark);
}

.sre-bd-author-reviewed {
    color: var(--text-muted);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.sre-bd-main-section {
    padding: 70px 0 100px;
    background-color: var(--bg-white);
}

/* Left Column Article Content */
.sre-bd-article {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-body);
}

.sre-bd-lead-callout {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-body);
    border: 1px solid var(--border-color);
}

.sre-bd-lead-callout p {
    margin-bottom: 0;
}

.sre-bd-lead-callout a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
}

.sre-bd-lead-callout a:hover {
    color: var(--accent-hover);
}

.sre-bd-article p {
    margin-bottom: 26px;
}

.sre-bd-article h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 45px;
    margin-bottom: 18px;
    letter-spacing: -0.4px;
}

/* ==========================================================================
   Right Column Sidebar Widgets
   ========================================================================== */
.sre-bd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Table of Contents Aligned layout */
.sre-bd-toc-widget-aligned {
    margin-bottom: 20px;
}

.sre-bd-toc-title-aligned {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.sre-bd-toc-list-aligned {
    list-style: none;
    padding-left: 0;
    margin: 0;
    border-left: 1px solid var(--border-color);
}

.sre-bd-toc-item-aligned {
    margin-bottom: 14px;
}

.sre-bd-toc-item-aligned:last-child {
    margin-bottom: 0;
}

.sre-bd-toc-link-aligned {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding-left: 20px;
    display: block;
    line-height: 1.4;
    border-left: 2px solid transparent;
    margin-left: -1px;
    transition: var(--transition-smooth);
}

.sre-bd-toc-link-aligned:hover,
.sre-bd-toc-link-aligned.active {
    color: var(--primary-color);
    font-weight: 700;
    border-left-color: var(--accent-color);
}

/* Newsletter Subscription Card (Peach style exactly like image) */
.sre-bd-sub-card-aligned {
    background-color: #fceadb; /* Warm peach background matching the image */
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(253, 186, 116, 0.25);
    box-shadow: var(--shadow-sm);
}

.sre-bd-sub-icon-aligned {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.sre-bd-sub-title-aligned {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.sre-bd-sub-desc-aligned {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-body);
    margin-bottom: 26px;
}

.sre-bd-sub-btn-aligned {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
    transition: opacity 0.25s ease;
}

.sre-bd-sub-btn-aligned:hover {
    opacity: 0.9;
    color: #ffffff;
}

/* ==========================================================================
   Responsive Overrides (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1199px) {
    .sre-bd-title {
        font-size: 36px;
    }
    .sre-bd-hero-left {
        padding-left: 6%;
        padding-top: 100px;
        padding-bottom: 70px;
    }
}

@media (max-width: 991px) {
    .sre-bd-split-hero {
        flex-direction: column; /* Stack naturally: Navy content on top, Featured Image below */
        min-height: auto;
    }
    
    .sre-bd-hero-left {
        width: 100%;
        padding: 50px 24px 60px 24px;
        justify-content: center;
        order: 1;
    }
    
    .sre-bd-hero-right {
        width: 100%;
        height: 320px;
        min-height: auto;
        order: 2;
    }
    
    .sre-bd-hero-content-wrap {
        max-width: 100%;
    }
    
    .sre-bd-author-section-wrapper {
        margin-top: -30px;
        padding: 0 15px;
    }
    
    .sre-bd-author-overlap-card {
        box-sizing: border-box;
        padding: 16px 20px;
        gap: 16px;
    }

    .sre-bd-main-section {
        padding: 50px 0;
    }
    
    .sre-bd-sidebar {
        margin-top: 50px;
    }
}

@media (max-width: 767px) {
    .sre-bd-breadcrumbs {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .sre-bd-title {
        font-size: 28px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .sre-bd-meta-row {
        gap: 12px;
        font-size: 13px;
    }
    
    .sre-bd-read-badge {
        padding: 4px 12px;
    }
    
    .sre-bd-author-overlap-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 18px;
    }

    .sre-bd-lead-callout {
        padding: 20px;
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .sre-bd-article {
        font-size: 16px;
    }
    
    .sre-bd-article h2 {
        font-size: 21px;
        margin-top: 35px;
        margin-bottom: 14px;
    }
}

@media (max-width: 480px) {
    .sre-bd-hero-right {
        height: 240px;
    }
    
    .sre-bd-title {
        font-size: 24px;
    }
}
