/* ==========================================================================
   Trademark Fortify — Blog module styles
   Scoped to blog listing (blog.php) and blog article pages (blog-*.php)
   ========================================================================== */

/* ---------- Category filter pills ---------- */
.blog-filter-btn {
    border: 1px solid #E3E7EB;
    color: #475467;
    background: #fff;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.blog-filter-btn:hover {
    border-color: #6200E0;
    color: #6200E0;
}
.blog-filter-btn.active {
    background: #6200E0;
    border-color: #6200E0;
    color: #fff;
}

/* ---------- Post cards ---------- */
.blog-card {
    background: #fff;
    border: 1px solid #E3E7EB;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.10);
}
.blog-card .blog-card-img {
    aspect-ratio: 1200 / 630;
    width: 100%;
    object-fit: cover;
    display: block;
    background: #1F242E;
}
.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.blog-pill {
    display: inline-block;
    align-self: flex-start;
    background: #F4EBFF;
    color: #6200E0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}
.blog-card-title {
    font-size: 19px;
    font-weight: 600;
    color: #101828;
    line-height: 1.35;
}
.blog-card-excerpt {
    font-size: 15px;
    color: #475467;
    line-height: 1.6;
    flex: 1;
}
.blog-card-meta {
    font-size: 13px;
    color: #98A2B3;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-card-link {
    font-size: 14px;
    font-weight: 600;
    color: #6200E0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-card-link i {
    font-size: 12px;
    transition: transform 0.2s ease;
}
.blog-card:hover .blog-card-link i {
    transform: translateX(3px);
}

/* ---------- Article header ---------- */
.blog-article-hero-img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}
.blog-breadcrumb {
    font-size: 14px;
    color: #667085;
}
.blog-breadcrumb a {
    color: #667085;
}
.blog-breadcrumb a:hover {
    color: #6200E0;
}
.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    font-size: 14px;
    color: #667085;
}
.blog-meta-row .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #D0D5DD;
    display: inline-block;
}

/* ---------- Article body typography ---------- */
.blog-article-body h2 {
    font-size: 26px;
    font-weight: 600;
    color: #101828;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.blog-article-body > p:first-of-type {
    font-size: 19px;
    color: #344054;
    line-height: 1.7;
}
.blog-article-body p {
    font-size: 17px;
    color: #475467;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
.blog-article-body ul {
    margin: 0 0 1.5rem 0;
    padding-left: 0;
    list-style: none;
}
.blog-article-body ul li {
    position: relative;
    padding-left: 26px;
    font-size: 17px;
    color: #475467;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.blog-article-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #6200E0;
}
.blog-article-body strong {
    color: #101828;
    font-weight: 600;
}
.blog-article-body a {
    color: #6200E0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.blog-article-body a:hover {
    color: #4b00ad;
}

/* ---------- Disclaimer box ---------- */
.blog-disclaimer {
    background: #FBF7EE;
    border: 1px solid #E9DFC5;
    border-radius: 12px;
    padding: 20px 24px;
    font-size: 14px;
    font-style: italic;
    color: #6B5B32;
    line-height: 1.6;
}

/* ---------- CTA box (article inline variant) ---------- */
.blog-cta-box {
    background: #F9F5FF;
    border: 1px solid #E9D7FE;
    border-left: 4px solid #6200E0;
    border-radius: 14px;
    padding: 24px 28px;
}
.blog-cta-box p.label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
    font-weight: 700;
    color: #6200E0;
    margin-bottom: 8px;
}
.blog-cta-box p.text {
    font-size: 16px;
    color: #344054;
    line-height: 1.6;
    margin-bottom: 0;
}
.blog-cta-box a {
    color: #6200E0;
    font-weight: 600;
}

/* ---------- FAQ (reuses site .faq-item / .faq-content, taller max-height so answers never clip) ---------- */
.blog-faq .faq-item {
    border-bottom: 1px solid #E3E7EB;
    padding: 18px 0;
}
.blog-faq .faq-item button {
    font-size: 17px;
}
.blog-faq .faq-content.open {
    max-height: 600px !important;
}

/* ---------- Share row ---------- */
.blog-share a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F2F4F7;
    color: #475467;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.blog-share a:hover {
    background: #6200E0;
    color: #fff;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767px) {
    .blog-article-body h2 {
        font-size: 21px;
    }
    .blog-article-body > p:first-of-type {
        font-size: 17px;
    }
    .blog-article-body p,
    .blog-article-body ul li {
        font-size: 16px;
    }
}
