/* ==========================================================================
   1. CORE SINGLE POST LAYOUT & FLEXBOX STRUCTURE
   ========================================================================== */
.single-post #primary {
    width: 100% !important;
    max-width: 1200px;
    /* Provides the wide dashboard layout */
    margin: 0 auto;
    float: none;
    padding: 0 5px;
    padding-top: 30px;
}

.post-body-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    align-items: flex-start;
}

.main-content-area {
    flex: 1;
}

.custom-post-sidebar {
    min-width: 200px;
    max-width: 300px;
}

/* ==========================================================================
   2. ARTICLE TYPOGRAPHY & BRAND COLOR SYSTEM
   ========================================================================== */
/* Main Post Title H1 */
.single-post .entry-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #0A2E6F !important;
    /* Brand Navy Blue */
    text-align: center !important;
    margin-bottom: 10px;
    padding: 0 15px;
}

/* Base Post Content Fallback settings */
.single-post .entry-content {
    line-height: 1.8;
    font-size: 18px;
    color: #222222;
    /* Brand Body Dark Gray */
}

/* Custom Styled Section Elements */
.smallmove_single_post h2.elementor-heading-title {
    color: #0A2E6F !important;
    /* Brand Navy Blue */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 25px;
    border-bottom: 2px solid #F4B400;
    /* Gold Accent Line */
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.smallmove_single_post h3 {
    color: #D62828 !important;
    /* Brand Red Accent */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

.smallmove_single_post h4 {
    color: #333333 !important;
    /* Brand Dark Gray Headings/Notes */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-top: 20px;
}

.smallmove_single_post p {
    color: #222222 !important;
    /* Brand Body Text Color */
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==========================================================================
   3. SIDEBAR CONTENT COMPONENT FORMATTING
   ========================================================================== */
.custom-post-sidebar h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #0A2E6F;
    /* Brand Navy Blue */
    border-bottom: 2px solid #F4B400;
    /* Gold Accent Line */
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.recent-tips-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.recent-tips-list li {
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-tips-list li:last-child {
    border-bottom: none;
}

.tip-link {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #0A2E6F;
    /* Brand Navy Blue */
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.tip-link:hover,
.custom-post-sidebar li a:hover {
    color: #D62828 !important;
    /* Brand Red Accent on hover states */
    text-decoration: underline;
}

.tip-date {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #777777;
    margin-top: 4px;
}

/* ==========================================================================
   4. IMAGES & CONVERSATIONAL CALLOUT MODULES
   ========================================================================== */
/* Featured Image Settings */
.post-featured-image {
    max-width: 85%;
    /* Restricts width to create white space on left/right */
    margin: 15px auto 30px auto;
    /* Centers the image and gives breathing room to text below */
    padding: 0 15px;
    /* Extra cushion/whitespace safety net */
    overflow: hidden;
    box-sizing: border-box;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    /* Softens sharp banner corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Adds a soft premium shadow */
}

/* Premium Key Takeaways Callout Box Layout */
.takeaway-box {
    background-color: #f7f9fc;
    /* Extremely soft brand navy tint */
    border-left: 5px solid #0A2E6F;
    /* Strong Brand Navy Blue accent line */
    border-radius: 4px;
    padding: 22px 25px;
    margin: 30px auto;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(10, 46, 111, 0.04);
    box-sizing: border-box;
}

.takeaway-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.takeaway-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 2px;
}

.takeaway-text h3 {
    margin: 0 0 8px 0 !important;
    color: #0A2E6F !important;
    /* Brand Navy Blue */
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.takeaway-text p {
    margin: 0 !important;
    color: #222222 !important;
    /* Brand Dark Gray Body Color */
    font-family: 'Merriweather', Georgia, serif;
    font-size: 16px;
    line-height: 1.7;
}

/* Premium Editorial Insight Block Layout */
.editorial-insight {
    background-color: #f7f9fc !important;
    /* Extremely soft brand navy tint */
    padding: 25px !important;
    border-left: 5px solid #0A2E6F !important;
    /* Exact Brand Navy Blue */
    margin: 40px auto 30px auto !important;
    box-shadow: 0 4px 12px rgba(10, 46, 111, 0.03) !important;
    box-sizing: border-box !important;
}

.editorial-insight h4 {
    color: #0A2E6F !important;
    /* Exact Brand Navy Blue */
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.editorial-insight p {
    color: #222222 !important;
    /* Brand Dark Gray Body Color */
    font-family: 'Merriweather', Georgia, serif !important;
    font-style: italic !important;
    font-size: 19px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* Premium Unordered Bullet Points System */
.single-post .main-content-area .entry-content ul {
    list-style: none !important;
    padding-left: 5px !important;
    margin: 20px 0 25px 0 !important;
}

.single-post .main-content-area .entry-content ul li {
    position: relative !important;
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #222222 !important;
    /* Brand Body Dark Gray */
    padding-left: 30px !important;
    /* Space for the custom indicator */
    margin-bottom: 12px !important;
}

.single-post .main-content-area .entry-content ul li:last-child {
    margin-bottom: 0 !important;
}

.single-post .main-content-area .entry-content ul li::before {
    content: "—" !important;
    /* Clean editorial dash marker */
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #0A2E6F !important;
    /* Exact Brand Navy Blue */
    font-weight: 900 !important;
    font-family: Arial, sans-serif !important;
}

/* ==========================================================================
   5. ACTION LINK CONTROLS & MARKETING CTA BUTTONS
   ========================================================================== */
/* Standalone Single CTA Buttons */
.blog-cta-button {
    display: inline-block;
    /* background-color: #D62828 !important; */
    background-color: var(--e-global-color-secondary);
    /* Brand Red Background */
    color: var(--e-global-color-white);
    /* White Text */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.blog-cta-button:hover {
    background-color: var(--e-global-color-primary) !important;
    /* Flips to Brand Navy on hover */
    text-decoration: none;
}

/* Global Shortcode Multi-CTA Container Panels */
.custom-global-cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 15px auto;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.custom-global-cta-container .cta-btn {
    display: inline-block;
    flex: 1;
    min-width: 300px;
    /* max-width: 280px; */
    text-align: center;
    padding: 5px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 5px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.custom-global-cta-container .cta-quote {
    background-color: transparent;
    color: #D62828;
    /* Exact Brand Red Accent */
    border: 2px solid var(--e-global-color-primary);
}

.custom-global-cta-container .cta-call {
    background-color: var(--e-global-color-text);
    /* Brand Red Background */
    color: #ffffff;
    border: 2px solid var(--e-global-color-primary);
}

.custom-global-cta-container .cta-btn:hover {
    background-color: var(--e-global-color-secondary);
    /* Brand Navy Blue */
    color: var(--e-global-color-text);
    border-color: var(--e-global-color-primary);
    text-decoration: none !important;
}

/* Automatic Theme Overrides For Standard Native Elementor Button Blocks */
.single-post .main-content-area .elementor-button-wrapper {
    text-align: center !important;
    margin: 25px auto !important;
}

.single-post .main-content-area .elementor-button {
    display: inline-block !important;
    background-color: #D62828 !important;
    /* Exact Brand Red Accent */
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
    padding: 14px 28px !important;
    border-radius: 5px !important;
    border: 2px solid #D62828 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.single-post .main-content-area .elementor-button:hover,
.single-post .main-content-area .elementor-button:focus {
    background-color: #0A2E6F !important;
    /* Flips to Brand Navy Blue */
    border-color: #0A2E6F !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(10, 46, 111, 0.2) !important;
}

/* ==========================================================================
   6. GLOBAL MOBILE VISUAL BREAKPOINTS (768PX & 480PX)
   ========================================================================== */
/* Tablet & Landscape Viewport Overrides */
@media (max-width: 768px) {
    .post-body-container {
        flex-direction: column;
    }

    .main-content-area,
    .custom-post-sidebar {
        flex: 0 0 100% !important;
        border-left: none;
        padding-left: 0;
        padding-top: 20px;
    }

    .single-post .entry-title {
        font-size: 28px;
    }

    .post-featured-image {
        max-width: 100%;
        /* Scales image to fill available width nicely on mobile viewports */
        padding: 0;
    }

    .single-post .main-content-area .entry-content ul li {
        font-size: 16px !important;
        padding-left: 25px !important;
    }
}

/* Smartphone & Compact Screen Viewport Overrides */
@media (max-width: 480px) {
    .takeaway-content {
        flex-direction: column;
        gap: 10px;
    }

    .takeaway-icon {
        margin-top: 0;
    }

    .takeaway-text h3 {
        font-size: 17px;
    }

    .takeaway-text p {
        font-size: 15px;
    }

    .editorial-insight {
        padding: 20px !important;
    }

    .editorial-insight p {
        font-size: 17px !important;
    }
}