/*
Theme Name:   SBDHM Child Theme
Theme URI:    https://swamibhishm.in
Description:  Child theme for the Swami Bhishm Digital Heritage Museum, extending GeneratePress Premium.
Author:       Swami Bhishm Shodh Sansthan
Author URI:   https://swamibhishm.in
Template:     generatepress
Version:      1.1.0
Text Domain:  sbdhm-child
*/

/* ==========================================================================
   0. FONTS IMPORT (Tiro Devanagari Hindi & Inter)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Tiro+Devanagari+Hindi&display=swap');

/* ==========================================================================
   1. CSS VARIABLES (Design System Tokens)
   ========================================================================== */
:root {
    --sbdhm-bg: #F6F3EB;                 /* Warm aged paper/parchment background */
    --sbdhm-text: #2C1E16;               /* High-contrast charcoal text for readability */
    --sbdhm-border: #4E3629;             /* Fine dark sepia borders */
    --sbdhm-gold: #C5A059;               /* Museum gold highlight branding */
    --sbdhm-saffron: #E25822;            /* Focus accent and badge brand tint */
    --sbdhm-card-bg: #FFFDF9;            /* Ivory manuscript card sheet background */
    --sbdhm-font-headings: 'Tiro Devanagari Hindi', Georgia, serif;
    --sbdhm-font-body: 'Inter', Arial, sans-serif;
    --sbdhm-border-radius: 2px;          /* Sharp, blocky, traditional book layouts */
    --sbdhm-transition: 0.25s ease-in-out;
}

/* ==========================================================================
   2. BODY STYLES
   ========================================================================== */
body {
    background-color: var(--sbdhm-bg);
    color: var(--sbdhm-text);
    font-family: var(--sbdhm-font-body);
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sbdhm-font-headings);
    color: var(--sbdhm-text);
    font-weight: bold;
    margin-top: 0;
    line-height: 1.3;
}

h1 {
    font-size: 38px;
    margin-bottom: 20px;
}

h2 {
    font-size: 30px;
    margin-bottom: 18px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

h6 {
    font-size: 16px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 1.6em;
}

/* ==========================================================================
   4. LINKS
   ========================================================================== */
a {
    color: var(--sbdhm-gold);
    text-decoration: none;
    transition: color var(--sbdhm-transition);
}

a:hover {
    color: var(--sbdhm-saffron);
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.site-header {
    background-color: var(--sbdhm-card-bg);
    border-bottom: 2px solid var(--sbdhm-gold);
    padding: 15px 0;
}

.main-navigation a {
    font-family: var(--sbdhm-font-headings);
    font-weight: bold;
    color: var(--sbdhm-text);
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item a {
    color: var(--sbdhm-saffron);
    background-color: transparent;
}

.sbdhm-header-logo img {
    max-height: 80px;
    width: auto;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.site-footer {
    background-color: #2C1E16;
    color: #F6F3EB;
    border-top: 3px solid var(--sbdhm-gold);
    padding: 60px 0 40px 0;
}

.site-footer a {
    color: #FFFDF9;
    transition: color var(--sbdhm-transition);
}

.site-footer a:hover {
    color: var(--sbdhm-gold);
}

.site-footer h3 {
    color: #FFFDF9;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
}

.sbdhm-footer-info {
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
.sbdhm-hero {
    background-color: var(--sbdhm-card-bg);
    border-bottom: 1px solid var(--sbdhm-gold);
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.sbdhm-hero-title {
    font-family: var(--sbdhm-font-headings);
    font-size: 48px;
    color: var(--sbdhm-text);
    margin-bottom: 15px;
    font-weight: bold;
}

.sbdhm-hero-subtitle {
    font-size: 20px;
    color: var(--sbdhm-border);
    font-style: italic;
    margin-bottom: 0;
}

/* ==========================================================================
   8. TIMELINE
   ========================================================================== */
.sbdhm-timeline {
    position: relative;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.sbdhm-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--sbdhm-gold);
}

.sbdhm-timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 50px;
}

.sbdhm-timeline-badge {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--sbdhm-saffron);
    border: 3px solid var(--sbdhm-bg);
    z-index: 2;
}

.sbdhm-timeline-date {
    font-family: var(--sbdhm-font-headings);
    font-weight: bold;
    font-size: 22px;
    color: var(--sbdhm-saffron);
    margin-bottom: 8px;
}

.sbdhm-timeline-content {
    background-color: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-gold);
    padding: 25px;
    border-radius: var(--sbdhm-border-radius);
    box-shadow: 4px 4px 0px rgba(197, 160, 89, 0.15);
}

/* ==========================================================================
   9. BIOGRAPHY
   ========================================================================== */
.sbdhm-bio-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sbdhm-bio-chapter {
    background-color: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-gold);
    padding: 40px;
    margin-bottom: 50px;
    border-radius: var(--sbdhm-border-radius);
    box-shadow: 4px 4px 0px rgba(197, 160, 89, 0.1);
}

.sbdhm-bio-chapter-title {
    border-bottom: 2px solid var(--sbdhm-gold);
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-family: var(--sbdhm-font-headings);
    font-size: 28px;
}

.sbdhm-bio-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px dashed var(--sbdhm-gold);
    padding-top: 25px;
}

/* ==========================================================================
   10. PHOTO ARCHIVE
   ========================================================================== */
.sbdhm-photo-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.sbdhm-photo-item {
    background-color: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-border);
    padding: 20px;
    box-shadow: 3px 3px 0px rgba(78, 54, 41, 0.15);
    transition: transform var(--sbdhm-transition);
}

.sbdhm-photo-item:hover {
    transform: translateY(-4px);
}

.sbdhm-photo-wrapper {
    position: relative;
    border: 1px solid var(--sbdhm-gold);
    margin-bottom: 15px;
    overflow: hidden;
}

.sbdhm-photo-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.sbdhm-photo-caption {
    font-family: var(--sbdhm-font-headings);
    font-size: 16px;
    color: var(--sbdhm-text);
    margin-bottom: 5px;
}

/* ==========================================================================
   11. QUOTE BLOCKS
   ========================================================================== */
.sbdhm-blockquote {
    border-left: 4px solid var(--sbdhm-saffron);
    background-color: #FAF7F0;
    padding: 30px;
    margin: 40px 0;
    font-family: var(--sbdhm-font-headings);
    font-size: 20px;
    line-height: 1.6;
    position: relative;
}

.sbdhm-blockquote::before {
    content: '“';
    position: absolute;
    left: 10px;
    top: -10px;
    font-size: 60px;
    color: rgba(226, 88, 34, 0.15);
    font-family: serif;
}

.sbdhm-quote-citation {
    display: block;
    margin-top: 15px;
    font-size: 15px;
    font-family: var(--sbdhm-font-body);
    font-style: normal;
    color: var(--sbdhm-border);
    font-weight: bold;
}

/* ==========================================================================
   12. MANUSCRIPT CARDS
   ========================================================================== */
.sbdhm-manuscript {
    background-color: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-gold);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: var(--sbdhm-border-radius);
    box-shadow: 4px 4px 0px rgba(197, 160, 89, 0.1);
    position: relative;
}

.sbdhm-manuscript-title {
    font-family: var(--sbdhm-font-headings);
    font-size: 22px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
}

/* ==========================================================================
   13. RELIABILITY BADGES
   ========================================================================== */
.sbdhm-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: var(--sbdhm-border-radius);
    border: 1px solid transparent;
    font-family: var(--sbdhm-font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sbdhm-badge-verified {
    background-color: #E2F0D9;
    border-color: #385723;
    color: #385723;
}

.sbdhm-badge-likely {
    background-color: #FEF2CB;
    border-color: #806000;
    color: #806000;
}

.sbdhm-badge-traditional {
    background-color: #FAF7F0;
    border-color: var(--sbdhm-border);
    color: var(--sbdhm-border);
}

/* ==========================================================================
   14. FEATURED CONNECTIONS
   ========================================================================== */
.sbdhm-featured-connections-section {
    background-color: #FAF7F0;
    border: 1px solid var(--sbdhm-gold);
    border-radius: 4px;
    padding: 30px;
    margin: 40px 0;
}

.sbdhm-connection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sbdhm-connection-item {
    background-color: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-border);
    padding: 20px;
    border-radius: var(--sbdhm-border-radius);
    transition: transform var(--sbdhm-transition), box-shadow var(--sbdhm-transition);
}

.sbdhm-connection-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(78, 54, 41, 0.1);
}

/* ==========================================================================
   14.5. HOMEPAGE SPECIFIC STYLING CLASSES
   ========================================================================== */
.sbdhm-homepage-main {
    overflow: hidden;
}

.sbdhm-hero-wrapper {
    padding: 100px 20px;
    border-bottom: 3px solid var(--sbdhm-gold);
    position: relative;
    color: var(--sbdhm-text);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sbdhm-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(246, 243, 235, 0.94);
    z-index: 1;
}

.sbdhm-hero-container-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.sbdhm-hero-profile-container {
    margin-bottom: 25px;
}

.sbdhm-hero-profile-container img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--sbdhm-gold);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(44, 30, 22, 0.2);
}

.sbdhm-hero-lifespan {
    font-family: var(--sbdhm-font-headings);
    font-size: 22px;
    color: var(--sbdhm-saffron);
    font-weight: bold;
    margin-bottom: 20px;
}

.sbdhm-hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.sbdhm-hero-actions .button-primary {
    background-color: var(--sbdhm-saffron);
    border-color: var(--sbdhm-saffron);
    color: #FFFDF9;
    font-weight: bold;
    padding: 12px 28px;
}

.sbdhm-hero-actions .button-secondary {
    background-color: transparent;
    border: 2px solid var(--sbdhm-gold);
    color: var(--sbdhm-text);
    font-weight: bold;
    padding: 12px 28px;
}

.sbdhm-section-title {
    text-align: center;
    font-family: var(--sbdhm-font-headings);
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}

.sbdhm-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--sbdhm-gold);
    margin: 15px auto 0 auto;
}

.sbdhm-moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.sbdhm-moment-card {
    border: 1px solid var(--sbdhm-gold);
    padding: 25px;
    background: var(--sbdhm-bg);
    border-radius: var(--sbdhm-border-radius);
    transition: transform var(--sbdhm-transition);
    text-align: center;
}

.sbdhm-moment-card:hover {
    transform: translateY(-5px);
}

.sbdhm-moment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid var(--sbdhm-gold);
    margin-bottom: 15px;
}

.sbdhm-moment-card h3 {
    font-family: var(--sbdhm-font-headings);
    font-size: 22px;
    color: var(--sbdhm-saffron);
    margin-bottom: 15px;
}

.sbdhm-moment-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--sbdhm-text);
    margin: 0;
}

.sbdhm-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.sbdhm-collection-item-box {
    background: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-border);
    padding: 30px;
    box-shadow: 3px 3px 0 rgba(78, 54, 41, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.sbdhm-collection-item-box h3 {
    font-family: var(--sbdhm-font-headings);
    font-size: 24px;
    color: var(--sbdhm-text);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
}

.sbdhm-collection-item-box p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.sbdhm-collection-item-box a {
    font-family: var(--sbdhm-font-headings);
    font-weight: bold;
    color: var(--sbdhm-saffron);
}

.sbdhm-era-timeline-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sbdhm-era-timeline-row {
    display: flex;
    gap: 20px;
    background: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-gold);
    padding: 20px;
    border-radius: var(--sbdhm-border-radius);
    transition: transform var(--sbdhm-transition);
}

.sbdhm-era-timeline-row:hover {
    transform: translateX(5px);
}

.sbdhm-era-number {
    font-family: var(--sbdhm-font-headings);
    font-size: 28px;
    font-weight: bold;
    color: var(--sbdhm-saffron);
    width: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid rgba(197, 160, 89, 0.3);
}

.sbdhm-era-details {
    flex-grow: 1;
}

.sbdhm-era-details h3 {
    font-family: var(--sbdhm-font-headings);
    font-size: 20px;
    margin-bottom: 5px;
}

.sbdhm-era-details h3 a {
    color: var(--sbdhm-text);
}

.sbdhm-era-link {
    display: flex;
    align-items: center;
}

.sbdhm-research-flex {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.sbdhm-research-text {
    flex: 1 1 500px;
}

.sbdhm-research-text h2 {
    font-family: var(--sbdhm-font-headings);
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--sbdhm-text);
}

.sbdhm-research-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sbdhm-research-image {
    flex: 1 1 400px;
    text-align: center;
}

.sbdhm-research-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border: 3px solid var(--sbdhm-gold);
    padding: 10px;
    background: var(--sbdhm-card-bg);
    box-shadow: 4px 4px 15px rgba(0,0,0,0.1);
}

.sbdhm-research-image p {
    font-size: 13px;
    font-style: italic;
    color: var(--sbdhm-border);
    margin-top: 10px;
}

.sbdhm-footer-cta-wrapper {
    padding: 100px 20px;
    text-align: center;
    border-top: 2px solid var(--sbdhm-gold);
    position: relative;
    color: var(--sbdhm-text);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sbdhm-footer-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 30, 22, 0.95);
    z-index: 1;
}

.sbdhm-footer-cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: #FFFDF9;
}

.sbdhm-footer-cta-container h2 {
    font-family: var(--sbdhm-font-headings);
    font-size: 36px;
    color: var(--wp--preset--color--sbdhm-gold);
    margin-bottom: 20px;
}

.sbdhm-footer-cta-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #EAE5D9;
}

/* ==========================================================================
   14.6. HERITAGE & MUSEUM VISUAL DESIGN COMPONENTS
   ========================================================================== */
.sbdhm-era-ribbon {
    background: linear-gradient(90deg, var(--sbdhm-saffron) 0%, var(--sbdhm-gold) 50%, var(--sbdhm-saffron) 100%);
    height: 4px;
    width: 100%;
    margin-bottom: 25px;
}

.sbdhm-legacy-plaque {
    display: inline-block;
    background-color: var(--sbdhm-card-bg);
    border: 3px double var(--sbdhm-gold);
    color: var(--sbdhm-text);
    padding: 12px 24px;
    font-family: var(--sbdhm-font-headings);
    font-weight: bold;
    border-radius: var(--sbdhm-border-radius);
    box-shadow: 0 4px 8px rgba(78, 54, 41, 0.1);
    margin: 20px auto;
}

.sbdhm-museum-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    width: 100%;
    max-width: 300px;
}

.sbdhm-museum-separator::before,
.sbdhm-museum-separator::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: var(--sbdhm-gold);
}

.sbdhm-museum-separator-symbol {
    color: var(--sbdhm-saffron);
    padding: 0 15px;
    font-size: 20px;
    font-family: serif;
}

/* Structural Spacing Containers */
.sbdhm-section-padding {
    padding: 80px 20px;
}

.sbdhm-container-medium {
    max-width: 900px;
    margin: 0 auto;
}

.sbdhm-container-large {
    max-width: 1200px;
    margin: 0 auto;
}

.sbdhm-text-center {
    text-align: center;
}

.sbdhm-text-justify {
    text-align: justify;
}

/* Generic Heritage Button Styles */
.sbdhm-btn-primary {
    background-color: var(--sbdhm-saffron);
    border: 1px solid var(--sbdhm-saffron);
    color: #FFFDF9;
    font-weight: bold;
    padding: 12px 28px;
    font-family: var(--sbdhm-font-headings);
    display: inline-block;
    transition: all var(--sbdhm-transition);
    border-radius: var(--sbdhm-border-radius);
    text-decoration: none;
}

.sbdhm-btn-primary:hover {
    background-color: var(--sbdhm-gold);
    border-color: var(--sbdhm-gold);
    color: var(--sbdhm-text);
}

.sbdhm-btn-secondary {
    background-color: transparent;
    border: 2px solid var(--sbdhm-gold);
    color: var(--sbdhm-text);
    font-weight: bold;
    padding: 12px 28px;
    font-family: var(--sbdhm-font-headings);
    display: inline-block;
    transition: all var(--sbdhm-transition);
    border-radius: var(--sbdhm-border-radius);
    text-decoration: none;
}

.sbdhm-btn-secondary:hover {
    background-color: var(--sbdhm-gold);
    color: #FFFDF9;
}

.sbdhm-cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================================
   14.7. QUICK MUSEUM NAVIGATION
   ========================================================================== */
.sbdhm-quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.sbdhm-quick-nav-item {
    background: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-gold);
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(78, 54, 41, 0.1);
    border-radius: var(--sbdhm-border-radius);
    transition: transform var(--sbdhm-transition), box-shadow var(--sbdhm-transition);
    text-decoration: none;
    color: var(--sbdhm-text);
    font-family: var(--sbdhm-font-headings);
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sbdhm-quick-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(78, 54, 41, 0.15);
    color: var(--sbdhm-saffron);
    border-color: var(--sbdhm-saffron);
}

.sbdhm-quick-nav-label {
    margin-top: 5px;
    font-size: 16px;
}

/* ==========================================================================
   14.8. ALTERNATING TIMELINE LAYOUT STYLES
   ========================================================================== */
.sbdhm-timeline-wrapper {
    position: relative;
    padding: 60px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.sbdhm-timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--sbdhm-gold);
    transform: translateX(-50%);
}

.sbdhm-timeline-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 5;
    background-color: var(--sbdhm-bg);
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--sbdhm-gold);
    margin-left: auto;
    margin-right: auto;
}

.sbdhm-timeline-era-block {
    margin-bottom: 80px;
}

.sbdhm-timeline-era-heading {
    text-align: center;
    font-family: var(--sbdhm-font-headings);
    font-size: 28px;
    color: var(--sbdhm-saffron);
    margin-bottom: 10px;
    font-weight: bold;
}

.sbdhm-timeline-era-range {
    text-align: center;
    font-family: var(--sbdhm-font-headings);
    font-size: 18px;
    color: var(--sbdhm-border);
    margin-bottom: 30px;
    font-weight: bold;
}

.sbdhm-timeline-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.sbdhm-timeline-col {
    width: 45%;
}

.sbdhm-timeline-col-spacer {
    width: 45%;
}

.sbdhm-timeline-node-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--sbdhm-saffron);
    border: 3px solid var(--sbdhm-bg);
    transform: translateX(-50%);
    z-index: 10;
}

.sbdhm-timeline-card-content {
    background-color: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-gold);
    padding: 30px;
    border-radius: var(--sbdhm-border-radius);
    box-shadow: 4px 4px 0px rgba(197, 160, 89, 0.15);
    position: relative;
    transition: transform var(--sbdhm-transition);
}

.sbdhm-timeline-card-content:hover {
    transform: translateY(-5px);
}

.sbdhm-timeline-card-date {
    font-family: var(--sbdhm-font-headings);
    font-size: 20px;
    color: var(--sbdhm-saffron);
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sbdhm-timeline-card-title {
    font-family: var(--sbdhm-font-headings);
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--sbdhm-text);
    font-weight: bold;
}

.sbdhm-timeline-card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border: 1px solid var(--sbdhm-gold);
    margin-bottom: 15px;
    border-radius: var(--sbdhm-border-radius);
}

.sbdhm-timeline-meta-box {
    margin-top: 20px;
    border-top: 1px dashed rgba(197, 160, 89, 0.4);
    padding-top: 15px;
    font-size: 14px;
}

.sbdhm-timeline-meta-label {
    font-weight: bold;
    color: var(--sbdhm-border);
}

.sbdhm-timeline-meta-links {
    margin-bottom: 8px;
}

.sbdhm-timeline-meta-links a {
    color: var(--sbdhm-gold);
    margin-right: 8px;
    font-family: var(--sbdhm-font-headings);
    font-weight: bold;
}

.sbdhm-timeline-meta-links a:hover {
    color: var(--sbdhm-saffron);
}

/* ==========================================================================
   14.9. ERA HEADER & FEATURED CONNECTIONS STYLES
   ========================================================================== */
.sbdhm-era-header-card {
    display: flex;
    flex-direction: row;
    background: var(--sbdhm-card-bg);
    border: 2px solid var(--sbdhm-gold);
    padding: 30px;
    border-radius: var(--sbdhm-border-radius);
    gap: 30px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 50px auto;
    box-shadow: 4px 4px 0px rgba(197, 160, 89, 0.1);
    align-items: center;
}

.sbdhm-era-header-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border: 1px solid var(--sbdhm-gold);
    flex-shrink: 0;
    border-radius: var(--sbdhm-border-radius);
}

.sbdhm-era-header-content {
    flex-grow: 1;
}

.sbdhm-era-header-count {
    font-family: var(--sbdhm-font-headings);
    font-size: 13px;
    background-color: var(--sbdhm-saffron);
    color: #FFFDF9;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

.sbdhm-featured-connections-panel {
    background-color: #FAF7F0;
    border: 1px solid var(--sbdhm-gold);
    padding: 20px;
    border-radius: var(--sbdhm-border-radius);
    margin-top: 25px;
    margin-bottom: 25px;
}

.sbdhm-featured-connections-title {
    font-family: var(--sbdhm-font-headings);
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--sbdhm-text);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 8px;
    font-weight: bold;
}

.sbdhm-featured-connections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.sbdhm-featured-connection-card {
    background-color: var(--sbdhm-card-bg);
    border: 1px solid var(--sbdhm-border);
    padding: 12px;
    border-radius: var(--sbdhm-border-radius);
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    transition: transform var(--sbdhm-transition), border-color var(--sbdhm-transition);
}

.sbdhm-featured-connection-card:hover {
    transform: translateY(-2px);
    border-color: var(--sbdhm-saffron);
}

.sbdhm-connection-badge {
    font-family: var(--sbdhm-font-headings);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--sbdhm-gold);
    font-weight: bold;
}

.sbdhm-connection-name {
    font-family: var(--sbdhm-font-headings);
    font-size: 15px;
    color: var(--sbdhm-text);
    font-weight: bold;
    line-height: 1.3;
}

.sbdhm-read-more {
    font-family: var(--sbdhm-font-headings);
    font-weight: bold;
    color: var(--sbdhm-saffron);
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    transition: color var(--sbdhm-transition);
}

.sbdhm-read-more:hover {
    color: var(--sbdhm-gold);
}









/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .sbdhm-hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .sbdhm-timeline::before {
        left: 15px;
    }
    
    .sbdhm-timeline-item {
        padding-left: 35px;
    }
    
    .sbdhm-timeline-badge {
        left: 5px;
    }
    
    .sbdhm-bio-chapter {
        padding: 25px 20px;
    }
    
    .sbdhm-blockquote {
        font-size: 18px;
        padding: 20px;
    }

    .sbdhm-quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }

    .sbdhm-era-header-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .sbdhm-era-header-image {
        width: 100%;
        height: auto;
        max-height: 200px;
    }

    /* Mobile Timeline Collapse (Under 768px) */
    .sbdhm-timeline-wrapper::before {
        left: 20px;
        transform: none;
        margin-left: 0;
    }

    .sbdhm-timeline-row {
        flex-direction: column;
        padding-left: 45px;
        margin-bottom: 40px;
    }

    .sbdhm-timeline-col {
        width: 100%;
    }

    .sbdhm-timeline-col-spacer {
        display: none;
    }

    .sbdhm-timeline-node-dot {
        left: 20px;
        transform: translateX(-50%);
        top: 24px;
    }

    .sbdhm-timeline-card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .sbdhm-quick-nav-grid {
        grid-template-columns: 1fr;
    }
}

