/*=====================================================
  Bluebell Blog Styles (listing + article pages)
  Loaded only on blog pages via $page_css.
  Fully responsive across all screen sizes.
=====================================================*/

.blog-page {
    padding: 80px 0 60px;
    background: #ffffff;
    overflow: hidden;
}

/* ---------- Section heading ---------- */
.blog-heading {
    text-align: center;
    margin-bottom: 45px;
}
.blog-heading-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ff5e14;
    margin-bottom: 10px;
}
.blog-heading h2 {
    font-size: 38px;
    font-weight: 700;
    color: #171717;
    line-height: 1.25;
    margin-bottom: 14px;
}
.blog-heading p {
    font-size: 17px;
    line-height: 1.8;
    color: #575f66;
    max-width: 620px;
    margin: 0 auto;
}

/* ---------- Blog listing cards ---------- */
.blog-post-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    padding: 30px 28px 22px;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .35s ease, transform .35s ease;
}
.blog-post-card:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
    transform: translateY(-5px);
}
.blog-post-category {
    display: inline-block;
    align-self: flex-start;
    background: #ff5e14;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.blog-post-title {
    font-size: 21px;
    font-weight: 700;
    color: #171717;
    line-height: 1.35;
    margin-bottom: 12px;
}
.blog-post-title a {
    color: #171717;
    transition: color .3s;
}
.blog-post-title a:hover {
    color: #ff5e14;
}
.blog-post-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #575f66;
    margin-bottom: 18px;
    flex-grow: 1;
}
.blog-post-meta {
    border-top: 1px solid #eaeaea;
    padding-top: 14px;
}
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff5e14;
    font-weight: 600;
    font-size: 15px;
    transition: color .3s;
}
.blog-read-more i {
    transition: transform .3s;
}
.blog-read-more:hover {
    color: #171717;
}
.blog-read-more:hover i {
    transform: translateX(5px);
}

/* ---------- Blog article ---------- */
.blog-post-article {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    padding: 45px 45px 40px;
}
.blog-post-content {
    word-wrap: break-word;
}
.blog-post-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #171717;
    margin: 40px 0 16px;
    line-height: 1.3;
}
.blog-post-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #171717;
    margin: 30px 0 14px;
    line-height: 1.3;
}
.blog-post-content p {
    font-size: 17px;
    line-height: 1.85;
    color: #575f66;
    margin-bottom: 18px;
}
.blog-post-content ul,
.blog-post-content ol {
    margin: 0 0 22px;
    padding-left: 25px;
}
.blog-post-content ul li,
.blog-post-content ol li {
    font-size: 17px;
    line-height: 1.85;
    color: #575f66;
    margin-bottom: 8px;
}
.blog-post-content li strong {
    color: #171717;
}
.blog-post-content a {
    color: #ff5e14;
    text-decoration: underline;
    transition: color .3s;
}
.blog-post-content a:hover {
    color: #171717;
}
.blog-post-content p:has(strong) {
    background: #f7f8fa;
    border-left: 4px solid #ff5e14;
    border-radius: 8px;
    padding: 18px 22px;
}
.blog-post-content p:has(strong) a {
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
}
.blog-post-content p:has(strong) a:hover {
    text-decoration: underline;
}

/* ---------- FAQ accordion ---------- */
.blog-faq {
    margin: 10px 0 0;
}
.blog-faq .accordion-item {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.blog-faq .accordion-button {
    font-size: 17px;
    font-weight: 600;
    color: #171717;
    background: #f7f8fa;
    padding: 18px 22px;
    text-decoration: none;
}
.blog-faq .accordion-button:not(.collapsed) {
    color: #ffffff;
    background: #ff5e14;
    box-shadow: none;
}
.blog-faq .accordion-button:focus {
    box-shadow: none;
}
.blog-faq .accordion-body {
    padding: 20px 22px;
}
.blog-faq .accordion-body p {
    margin-bottom: 0;
}
.blog-faq .accordion-body a {
    color: #ff5e14;
    text-decoration: underline;
}

/*=====================================================
  Responsive — all screen sizes
=====================================================*/
@media (max-width: 991px) {
    .blog-page {
        padding: 60px 0 50px;
    }
    .blog-post-article {
        padding: 35px 30px;
    }
}

@media (max-width: 767px) {
    .blog-page {
        padding: 50px 0 40px;
    }
    .blog-heading {
        margin-bottom: 35px;
    }
    .blog-heading h2 {
        font-size: 30px;
    }
    .blog-heading p {
        font-size: 16px;
    }
    .blog-post-card {
        padding: 24px 22px 18px;
    }
    .blog-post-title {
        font-size: 19px;
    }
    .blog-post-excerpt {
        font-size: 14px;
    }
    .blog-post-article {
        padding: 26px 20px;
    }
    .blog-post-content h2 {
        font-size: 24px;
        margin: 32px 0 14px;
    }
    .blog-post-content h3 {
        font-size: 20px;
        margin: 26px 0 12px;
    }
    .blog-post-content p,
    .blog-post-content ul li,
    .blog-post-content ol li {
        font-size: 16px;
        line-height: 1.8;
    }
    .blog-faq .accordion-button {
        font-size: 16px;
        padding: 16px;
    }
    .blog-faq .accordion-body {
        padding: 16px;
    }
}

@media (max-width: 575px) {
    .blog-heading h2 {
        font-size: 26px;
    }
    .blog-post-content h2 {
        font-size: 22px;
    }
    .blog-post-content h3 {
        font-size: 19px;
    }
    .blog-post-article {
        padding: 22px 16px;
        border-radius: 8px;
    }
    .blog-post-card {
        padding: 20px 18px 16px;
        border-radius: 10px;
    }
    .blog-post-content ul,
    .blog-post-content ol {
        padding-left: 20px;
    }
}
