/*
 Theme Name:   Divi Child
 Theme URI:    http://example.com/divi-child/
 Description:  Divi Child Theme
 Author:       Antigravity
 Author URI:   http://example.com
 Template:     Divi
 Version:      1.0.0
 License:      GPLv2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  divi-child
*/

/* --- PREMIUM UI POLISH --- */

/* 1. Crisper Fonts */
body,
h1,
h2,
h3,
h4,
h5,
h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Primary Button Upgrade */
.et_pb_button {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.et_pb_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* 3. Global Text/Link Smoothing */
a {
    transition: color 0.3s ease, border 0.3s ease;
}

/* --- CATALOG PAGE OVERRIDES --- */

/* Fix for Giant Logo on Custom Page Template */
.page-template-page-catalog #logo {
    max-height: 54px;
    /* Matches Divi Default */
    width: auto;
}

.page-template-page-catalog #main-header,
.page-template-page-catalog #top-header {
    /* Ensure header behaves normally if affected by custom specificities */
    position: relative;
}


/* --- CATALOG BASE LAYOUT --- */
.music-catalog-container {
    padding: 0;
    /* Let Row handle padding */
    width: 100%;
    /* Fill the column */
    font-family: 'Open Sans', Arial, sans-serif;
    /* Common Divi defaults */
    line-height: 1.8;
    color: #333;
}

.catalog-header {
    text-align: center;
    margin-bottom: 60px;
}

.catalog-header h1 {
    font-size: 42px;
    font-weight: 600;
    color: #333;
    padding-bottom: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    color: #333;
}

.catalog-section {
    margin-bottom: 80px;
}

/* --- LIVE SEARCH BAR --- */
.catalog-filter-bar {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#ragaSearch {
    padding: 15px 30px;
    width: 100%;
    max-width: 600px;
    /* Slightly wider */
    border-radius: 50px;
    border: 1px solid #ddd;
    /* Softer border */
    background: #fdfdfd;
    outline: none;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    transition: all 0.3s ease;
}

#ragaSearch:focus {
    border-color: #2ea3f2;
    box-shadow: 0 4px 20px rgba(46, 163, 242, 0.15);
}

/* --- RAGA GRID & ACCORDION CARDS --- */
.raga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.raga-card {
    background: #fff;
    border-radius: 8px;
    /* Slightly less rounded for cleaner look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: fit-content;
}

.raga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background-color: #cceeff !important;
    /* Visible Sky Blue */
}

.raga-header {
    background: #fff;
    /* Clean white header */
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}

.raga-header:hover {
    background: #fafafa;
}

/* Fix: Ensure hover color shows through or changes the header itself */
.raga-card:hover .raga-header {
    background-color: #b3daff !important;
    /* Richer Sky Blue */
    transition: background-color 0.3s ease;
}

.raga-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.toggle-icon {
    font-weight: bold;
    font-size: 20px;
    color: #2ea3f2;
}

.note-list {
    padding: 0;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.nt-link {
    display: flex;
    justify-content: space-between;
    padding: 12px 25px;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    transition: background 0.2s;
}

.nt-link:last-child {
    border-bottom: none;
}

.nt-link:hover {
    background: #f0f4f8;
    color: #2ea3f2;
    padding-left: 30px;
    /* Slide effect */
}

/* Standout Style for Summary */
.nt-link.nt-link-summary {
    color: #d35400; /* Pumpkin/Burnt Orange */
    font-weight: 700;
    background-color: rgba(211, 84, 0, 0.05);
}

.nt-link.nt-link-summary:hover {
    color: #e67e22;
    background-color: rgba(230, 126, 34, 0.1);
}

.nt-link.disabled {
    color: #aaa;
    background: #fdfdfd;
    cursor: default;
}

.nt-link.disabled:hover {
    padding-left: 25px;
    background: #fdfdfd;
}

.nt-arrow {
    font-family: monospace;
}

/* --- TALA BADGES --- */
.tala-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tala-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tala-badge:hover {
    background: #2ea3f2;
    color: #fff;
    border-color: #2ea3f2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 163, 242, 0.3);
}

.tala-badge.disabled-badge {
    opacity: 0.6;
    cursor: default;
}

.tala-badge.disabled-badge:hover {
    background: #fff;
    color: #444;
    border-color: #e0e0e0;
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* --- MISC RESOURCES --- */
.misc-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.misc-list li a {
    display: block;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    border-left: 4px solid #2ea3f2;
    /* Accent bar */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    font-weight: 500;
}

.misc-list li a:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- HOME PAGE CUSTOM STYLES --- */

/* Hero Section */
.custom-hero-section {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    /* Premium Gradient */
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content-wrapper h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content-wrapper p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-cta-buttons .et_pb_button {
    margin: 0 10px;
    background: #fff;
    color: #1a2980;
    border: none;
    font-weight: 600;
}

.hero-cta-buttons .et_pb_button:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.hero-cta-buttons .et_pb_button_secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.hero-cta-buttons .et_pb_button_secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Highlights Section */
.home-highlights-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.highlight-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.highlight-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.highlight-card p {
    color: #666;
    margin-bottom: 25px;
}

.read-more-link {
    font-weight: 600;
    color: #26d0ce;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.read-more-link:hover {
    color: #1a2980;
}

/* Featured Posts Section */
.home-featured-section {
    padding: 80px 0;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.home-post-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    background: #fff;
}

.home-post-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-content h3 a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 20px;
}

.post-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.et_pb_button_small {
    padding: 8px 18px !important;
    font-size: 14px !important;
    margin-top: 15px;
    background: #f4f4f4;
    color: #555;
    border: none;
}

.et_pb_button_small:hover {
    background: #2ea3f2;
    color: #fff;
}

/* --- BLOG PAGE STYLES --- */

/* Hero Adjustment */
.blog-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    /* Slightly different gradient for variety */
    margin-bottom: 50px;
}

/* Container */
.blog-container {
    padding-bottom: 80px;
    max-width: 1280px;
    /* Specific width constraint if needed */
}

/* Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Card Image */
.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

/* Card Content */
.blog-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Meta Data */
.blog-meta {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-category {
    color: #3498db;
}

/* Title */
.blog-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #2c3e50;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: #3498db;
}

/* Excerpt */
.blog-excerpt p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Read More Link */
.blog-card .read-more-link {
    margin-top: auto;
    /* Pushes button to bottom if content varies */
    display: inline-block;
}

.blog-card .read-more-link .arrow {
    display: inline-block;
    transition: transform 0.2s;
}

.blog-card .read-more-link:hover .arrow {
    transform: translateX(5px);
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 50px;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-hero {
        padding: 50px 0;
    }

    .hero-content-wrapper h1 {
        font-size: 36px;
    }
}

/* --- RAGA GROUP CARD --- */
.raga-group-card {
    border-top: 4px solid #3498db;
}

.raga-btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.raga-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f4f8;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e1e4e8;
}

.raga-btn:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
    transform: translateY(-2px);
}

/* --- BOWING GROUP CARD --- */
.bowing-group-card {
    grid-column: 1 / -1;
    /* Spans full width of the grid */
    border-top: 4px solid #e74c3c;
    /* Red accent for Bowing */
    padding: 30px;
}

.bowing-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bowing-header h2 {
    margin: 0;
    font-size: 24px;
}

.bowing-grid-internal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 items per row */
    gap: 20px;
}

.bowing-item {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border-radius: 8px;
    background: #eaeaea;
    padding: 10px;
    border: 1px solid transparent;
}

.bowing-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #e74c3c;
}

.bowing-link {
    text-decoration: none;
    color: #333;
    display: block;
    position: relative;
}

.bowing-thumb {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    height: 120px;
    position: relative;
}

.bowing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Effect: Zoom Image */
.bowing-item:hover .bowing-thumb img {
    transform: scale(1.1);
}

/* Hover Effect: Overlay Icon */
.bowing-thumb::after {
    content: '\2192';
    /* Right Arrow */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.bowing-item:hover .bowing-thumb::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.bowing-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    display: block;
    color: #555;
    transition: color 0.3s;
}


/* --- NEW CATALOG GROUP STYLES --- */
.misc-taxonomy-group {
    margin-bottom: 40px;
}

.misc-group-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #444;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    display: inline-block;
}
.tala-group-card {
    grid-column: 1 / -1;
    border-top: 4px solid #9b59b6;
    /* Purple accent for Tala */
    padding: 30px;
}

.tala-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tala-header h2 {
    margin: 0;
    font-size: 24px;
}

.tala-grid-internal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 items per row */
    gap: 20px;
}

.tala-item {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border-radius: 8px;
    background: #eaeaea;
    /* Matching Darker Background */
    padding: 10px;
    border: 1px solid transparent;
}

.tala-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #9b59b6;
}

.tala-link {
    text-decoration: none;
    color: #333;
    display: block;
    position: relative;
}

.tala-thumb {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    height: 120px;
    position: relative;
}

.tala-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tala-item:hover .tala-thumb img {
    transform: scale(1.1);
}

.tala-thumb::after {
    content: '\2192';
    /* Right Arrow */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(155, 89, 182, 0.9);
    /* Purple overlay */
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.tala-item:hover .tala-thumb::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.tala-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    display: block;
    color: #555;
    transition: color 0.3s;
}

.tala-item:hover .tala-title {
    color: #9b59b6;
}

@media (max-width: 900px) {
    .tala-grid-internal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tala-grid-internal {
        grid-template-columns: 1fr;
    }
}

/* --- DARK HEADER POLISH --- */
/* Target Standard Header AND Theme Builder Header */
#main-header,
.et_pb_section_0_tb_header,
.et_pb_menu_0_tb_header {
    background-color: #1f1f1f !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Menu Links (Standard & Theme Builder) */
/* Increased specificity with 'body' prefix to forcefully override Divi Theme Builder defaults */
body #top-menu-nav>ul>li>a,
body .et_pb_menu_0_tb_header.et_pb_menu ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
}

body #top-menu-nav>ul>li>a:hover,
body .et_pb_menu_0_tb_header.et_pb_menu ul li a:hover {
    color: #ffffff !important;
    opacity: 1;
}

/* Active Menu Item */
body #top-menu-nav>ul>li.current-menu-item>a,
body .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item>a {
    color: #ffffff !important;
}

/* --- SLIM HEADER --- */
/* Reduce Padding on Menu Links */
body #top-menu-nav>ul>li>a,
body .et_pb_menu_0_tb_header.et_pb_menu ul li a {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Reduce Padding on Header Rows */
body .et_pb_section_0_tb_header .et_pb_row {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* Remove/Reduce Column Padding in Header */
body .et_pb_section_0_tb_header .et_pb_column {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Fixed Header (if user scrolls) */
body .et-fixed-header #top-menu-nav>ul>li>a,
body .et_pb_sticky .et_pb_menu_0_tb_header.et_pb_menu ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
}

body .et-fixed-header #top-menu-nav>ul>li>a:hover {
    color: #ffffff !important;
}

/* Logo filtering (optional: makes logo white if it's black) 
   Remove if logo is already suitable for dark bg */
/* #logo { filter: brightness(0) invert(1); } */

@media (max-width: 900px) {
    .bowing-grid-internal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bowing-grid-internal {
        grid-template-columns: 1fr;
    }
}

/* --- CUSTOM FOOTER --- */
#main-footer {
    padding-top: 60px;
    background-color: #222;
    /* Dark background */
    color: #bbb;
}

.custom-footer-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
    /* Gutter compensation */
    padding-bottom: 40px;
}

.custom-footer-col {
    flex: 1;
    min-width: 250px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    /* Accent color */
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 5px;
}

.footer-contact-info p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-contact-info a {
    color: #fff;
    font-weight: 600;
}

.footer-social-links .et-social-icons {
    float: none;
    margin-bottom: 20px;
}

.footer-social-links .et-social-icon a {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s;
}

.footer-social-links .et-social-icon a:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-3px);
}

.footer-tagline {
    font-size: 14px;
    font-style: italic;
    opacity: 0.8;
}

#footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
}

#footer-info {
    text-align: center;
    width: 100%;
}

/* --- BLOG POST HEADER FIX --- */
.single-post .et_pb_menu__logo img {
    max-height: 54px;
    width: auto;
}

.single-post .et_pb_section_0_tb_header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* --- SINGLE BLOG POST CONTENT --- */

/* Scope to standard Divi posts or custom single templates using .et_pb_post or .single-post */
.single-post .et_pb_post_content,
.et_pb_post .et_pb_post_content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    /* Center content if container allows */
}

/* Headings */
.single-post .et_pb_post_content h1,
.et_pb_post .et_pb_post_content h1 {
    font-family: 'Outfit', 'Open Sans', sans-serif !important;
    /* Ensure premium font */
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #1a2980 !important;
    /* Dark Navy */
    margin-top: 40px !important;
    margin-bottom: 25px !important;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.single-post .et_pb_post_content h2,
.et_pb_post .et_pb_post_content h2 {
    font-family: 'Outfit', 'Open Sans', sans-serif !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #2ea3f2 !important;
    /* Bright Blue Accent */
    margin-top: 35px !important;
    margin-bottom: 20px !important;
}

.single-post .et_pb_post_content h3,
.et_pb_post .et_pb_post_content h3 {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #e67e22 !important;
    /* Burnt Orange */
    margin-top: 30px !important;
    margin-bottom: 15px !important;
}

.single-post .et_pb_post_content h4,
.et_pb_post .et_pb_post_content h4 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #9b59b6 !important;
    /* Amethyst Purple */
    margin-top: 25px !important;
    margin-bottom: 15px !important;
}

.single-post .et_pb_post_content h5,
.et_pb_post .et_pb_post_content h5 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1abc9c !important;
    /* Teal */
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Paragraphs & Text */
.single-post .et_pb_post_content p,
.et_pb_post .et_pb_post_content p {
    margin-bottom: 25px;
}

/* Links */
.single-post .et_pb_post_content a,
.et_pb_post .et_pb_post_content a {
    color: #2ea3f2 !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.single-post .et_pb_post_content a:hover,
.et_pb_post .et_pb_post_content a:hover {
    color: #1a2980 !important;
}

/* Blockquotes */
.single-post .et_pb_post_content blockquote,
.et_pb_post .et_pb_post_content blockquote {
    border-left: 5px solid #2ea3f2 !important;
    background: #f9fbfd !important;
    padding: 20px 30px !important;
    margin: 30px 0 !important;
    font-style: italic;
    color: #555 !important;
    border-radius: 0 8px 8px 0;
}

/* Lists */
.single-post .et_pb_post_content ul,
.et_pb_post .et_pb_post_content ul,
.single-post .et_pb_post_content ol,
.et_pb_post .et_pb_post_content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.single-post .et_pb_post_content li,
.et_pb_post .et_pb_post_content li {
    margin-bottom: 10px;
}

/* Images within content */
.single-post .et_pb_post_content img,
.et_pb_post .et_pb_post_content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
}