/* === SASFA Blog Post Enhancements === */

/* Category badges */
.sasfa-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.sasfa-cat-badge {
    display: inline-block;
    background: #1a3c2e;
    color: #c49a3c !important;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
}
.sasfa-cat-badge:hover {
    background: #c49a3c;
    color: #1a3c2e !important;
}

/* Reading time */
.sasfa-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #777;
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
    font-family: "Figtree", sans-serif;
}
.sasfa-reading-time svg {
    color: #c49a3c;
}

/* Content typography enhancements */
.elementor-widget-theme-post-content h2 {
    font-family: "Poppins", sans-serif;
    color: #1a3c2e;
    font-size: 28px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    line-height: 1.3;
}
.elementor-widget-theme-post-content h3 {
    font-family: "Poppins", sans-serif;
    color: #1a3c2e;
    font-size: 22px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
    line-height: 1.4;
}
.elementor-widget-theme-post-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol {
    margin: 16px 0 24px 24px;
    line-height: 1.8;
    font-size: 17px;
    color: #333;
}
.elementor-widget-theme-post-content li {
    margin-bottom: 8px;
}
.elementor-widget-theme-post-content blockquote {
    border-left: 4px solid #c49a3c;
    padding: 16px 24px;
    margin: 32px 0;
    background: #f9f7f2;
    font-style: italic;
    font-size: 18px;
    color: #1a3c2e;
    border-radius: 0 8px 8px 0;
}
.elementor-widget-theme-post-content a {
    color: #c49a3c;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.elementor-widget-theme-post-content a:hover {
    color: #1a3c2e;
}
.elementor-widget-theme-post-content strong {
    color: #1a3c2e;
    font-weight: 600;
}

/* Source/citation styling */
.sasfa-source, .sasfa-cite {
    font-size: 14px;
    color: #777;
    font-style: italic;
}

/* Tags display */
.sasfa-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 40px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}
.sasfa-tags-label {
    font-weight: 600;
    color: #1a3c2e;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
}
.sasfa-tag {
    display: inline-block;
    background: #f0ebe0;
    color: #1a3c2e !important;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s;
    font-family: "Figtree", sans-serif;
}
.sasfa-tag:hover {
    background: #1a3c2e;
    color: #c49a3c !important;
}

/* Consulting CTA banner */
.sasfa-post-cta {
    margin: 48px 0;
    background: linear-gradient(135deg, #1a3c2e 0%, #2a5c4a 100%);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.sasfa-post-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(196, 154, 60, 0.1);
    border-radius: 50%;
}
.sasfa-post-cta-inner {
    padding: 48px 40px;
    position: relative;
    z-index: 1;
    text-align: center;
}
.sasfa-post-cta h3 {
    color: #ffffff !important;
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 16px;
    line-height: 1.3;
}
.sasfa-post-cta p {
    color: #d4cfbf !important;
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 28px;
    font-family: "Figtree", sans-serif;
}
.sasfa-cta-btn {
    display: inline-block;
    background: #c49a3c;
    color: #1a3c2e !important;
    padding: 14px 36px;
    border-radius: 6px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}
.sasfa-cta-btn:hover {
    background: #d4aa4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(196, 154, 60, 0.4);
}

/* Author bio box */
.sasfa-author-bio {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #f9f7f2;
    border-radius: 12px;
    padding: 32px;
    margin: 0 0 48px;
    border: 1px solid #e8e3d8;
}
.sasfa-author-avatar {
    flex-shrink: 0;
}
.sasfa-author-initials {
    width: 72px;
    height: 72px;
    background: #1a3c2e;
    color: #c49a3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 700;
}
.sasfa-author-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}
.sasfa-author-info h4 {
    font-family: "Poppins", sans-serif;
    color: #1a3c2e;
    font-size: 20px;
    font-weight: 600;
    margin: 4px 0 10px;
}
.sasfa-author-info p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #555 !important;
    margin: 0 !important;
    font-family: "Figtree", sans-serif;
}

/* Prev/Next navigation */
.sasfa-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 0 0 48px;
}
.sasfa-nav-prev,
.sasfa-nav-next {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
a.sasfa-nav-prev:hover,
a.sasfa-nav-next:hover {
    border-color: #c49a3c;
    background: #faf8f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.sasfa-nav-next {
    text-align: right;
}
.sasfa-nav-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c49a3c;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
}
.sasfa-nav-title {
    font-size: 16px;
    color: #1a3c2e;
    font-weight: 500;
    line-height: 1.4;
    font-family: "Poppins", sans-serif;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .sasfa-post-cta-inner {
        padding: 32px 24px;
    }
    .sasfa-post-cta h3 {
        font-size: 22px;
    }
    .sasfa-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }
    .sasfa-post-nav {
        grid-template-columns: 1fr;
    }
    .sasfa-nav-next {
        text-align: left;
    }
    .elementor-widget-theme-post-content h2 {
        font-size: 24px;
        margin-top: 36px;
    }
    .elementor-widget-theme-post-content h3 {
        font-size: 20px;
    }
    .elementor-widget-theme-post-content p {
        font-size: 16px;
    }
}

/* Blog archive category filter enhancement */
.sasfa-archive-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.sasfa-archive-cat-link {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #1a3c2e;
    border-radius: 30px;
    color: #1a3c2e !important;
    text-decoration: none !important;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.sasfa-archive-cat-link:hover,
.sasfa-archive-cat-link.active {
    background: #1a3c2e;
    color: #c49a3c !important;
}
