/* ============================================
   EventFab Blog Template Styles
   Extends the existing non-elementor CSS system
   ============================================ */

/* ── Hero ── */
.blog-hero-section {
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 1;
}

.blog-hero-content .text-heading {
    color: #fff;
    margin-bottom: 20px;
}

.blog-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5c518;
    margin-bottom: 16px;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.blog-meta-separator {
    opacity: 0.5;
}

/* ── Intro Paragraph ── */
.blog-intro-section {
    padding: 50px 0 30px;
}

.blog-intro-section .blog-intro {
    font-size: 20px;
    line-height: 1.7;
}

/* ── Key Takeaways ── */
.blog-takeaways-section {
    padding: 20px 0 40px;
}

.blog-takeaways-box {
    background: #f8f8f8;
    border-left: 4px solid #f5c518;
    padding: 32px 36px;
    border-radius: 0 8px 8px 0;
}

.blog-takeaways-box .text-heading {
    font-size: 22px;
    margin-bottom: 16px;
}

.blog-takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-takeaways-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.blog-takeaways-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: #f5c518;
    border-radius: 50%;
}

/* ── Content Sections ── */
.blog-content-section {
    padding: 30px 0;
}

.blog-content-section .text-heading {
    margin-bottom: 20px;
}

.blog-content-section .text-content {
    line-height: 1.8;
}

.blog-section-image {
    border-radius: 8px;
}

.blog-section-image-wrapper {
    margin-top: 24px;
}

/* ── Image Block ── */
.blog-image-block {
    padding: 20px 0;
}

.blog-figure {
    margin: 0;
}

.blog-figure img,
.blog-image-full-width img {
    border-radius: 8px;
}

.blog-image-full-width .gutter img {
    border-radius: 0;
    width: 100%;
}

.blog-image-caption {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

/* ── Quote / Pullquote ── */
.blog-quote-section {
    padding: 30px 0;
}

.blog-pullquote {
    position: relative;
    padding: 32px 36px;
    background: #f8f8f8;
    border-radius: 8px;
}

.blog-pullquote-icon {
    display: block;
    margin-bottom: 16px;
    opacity: 0.15;
}

.blog-pullquote-text {
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 12px;
}

.blog-pullquote-author {
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: #666;
}

/* ── Video Embed ── */
.blog-video-section {
    padding: 30px 0;
}

.blog-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.blog-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ── CTA Inline ── */
.blog-cta-inline {
    padding: 30px 0;
}

.blog-cta-inline-box {
    background: #000;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.blog-cta-inline-box .text-heading {
    color: #fff;
    margin-bottom: 12px;
}

.blog-cta-inline-box .text-content {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

/* ── CTA Banner ── */
.blog-cta-banner {
    padding: 40px 0;
}

.blog-cta-banner-inner {
    background: #000;
    padding: 60px 0;
}

.blog-cta-banner-inner .text-heading {
    color: #fff;
    margin-bottom: 12px;
}

.blog-cta-banner-inner .text-content {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

/* ── Blog Gallery ── */
.blog-gallery-section {
    padding: 30px 0;
}

/* ── Service Area ── */
.blog-service-area-section {
    padding: 40px 0;
    background: #f8f8f8;
}

/* ── Tags ── */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.blog-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: 200ms all ease-in-out;
}

.blog-tag:hover {
    background: #000;
    color: #fff;
}

/* ── Post Navigation ── */
.blog-post-navigation {
    padding: 30px 0;
}

.blog-post-nav {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.blog-post-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: 200ms all ease-in-out;
}

.blog-post-nav a:hover {
    color: #f5c518;
}

/* ── Related Posts ── */
.blog-related-posts-section {
    padding: 60px 0;
}

.blog-related-posts-section > .container > .row:first-child {
    margin-bottom: 30px;
}

.blog-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: 200ms all ease-in-out;
    width: 100%;
}

.blog-related-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.blog-related-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-related-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-related-card-meta {
    margin-bottom: 8px;
}

.blog-related-card-meta .blog-meta-date {
    font-size: 13px;
    color: #999;
}

.blog-related-card-content .text-heading {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-related-card-content .text-heading a {
    color: #000;
    text-decoration: none;
}

.blog-related-card-content .text-heading a:hover {
    color: #f5c518;
}

.blog-related-card-content .text-content {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.blog-related-card-content .btn {
    align-self: flex-start;
}

/* ── Fallback Content (standard WP editor) ── */
.blog-the-content {
    line-height: 1.8;
}

.blog-the-content h2,
.blog-the-content h3,
.blog-the-content h4 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-the-content p {
    margin-bottom: 20px;
}

.blog-the-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-the-content ul,
.blog-the-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.blog-the-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.blog-the-content blockquote {
    border-left: 4px solid #f5c518;
    padding: 16px 24px;
    margin: 24px 0;
    background: #f8f8f8;
    font-style: italic;
}

.blog-the-content a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #f5c518;
    text-underline-offset: 3px;
}

.blog-the-content a:hover {
    color: #f5c518;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .blog-hero-section {
        padding: 80px 0 60px;
    }

    .blog-hero-content .text-heading {
        font-size: 32px;
        line-height: 1.2;
    }

    .blog-intro-section .blog-intro {
        font-size: 18px;
    }

    .blog-pullquote-text {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .blog-hero-section {
        padding: 60px 0 40px;
    }

    .blog-hero-content .text-heading {
        font-size: 26px;
    }

    .blog-takeaways-box {
        padding: 24px;
    }

    .blog-cta-inline-box {
        padding: 30px 24px;
    }

    .blog-related-card-image img {
        height: 180px;
    }
}
