/* =============== BLOG ARTICLE STYLES =============== */

/* Blog section wrapper */
.blog-section {
    background-color: #fff;
    padding: 0;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 15px;
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #666;
}

.breadcrumb li + li::before {
    content: "›";
    margin-right: 8px;
    color: #999;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: var(--navy-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--red);
    text-decoration: underline;
}

.breadcrumb .current {
    color: #555;
    font-weight: 500;
}

/* Blog article wrapper */
.blog-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    line-height: 1.8;
    color: #333;
}

/* Blog meta info (date, category) */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--navy-blue);
    font-size: 0.9rem;
    color: #666;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--navy-blue);
}

/* Blog intro */
.blog-intro {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 40px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f0f7fb 0%, #f8fbfd 100%);
    border-left: 4px solid var(--navy-blue);
    border-radius: 0 8px 8px 0;
}

.blog-intro p {
    margin-bottom: 10px;
}

.blog-intro p:last-child {
    margin-bottom: 0;
}

/* Table of contents */
.blog-toc {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 45px;
}

.blog-toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
}

.blog-toc ol {
    counter-reset: toc-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-toc ol li {
    counter-increment: toc-counter;
    padding: 6px 0;
}

.blog-toc ol li::before {
    content: counter(toc-counter) ". ";
    font-weight: 600;
    color: var(--red);
}

.blog-toc a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-toc a:hover {
    color: var(--navy-blue);
    text-decoration: underline;
}

/* Blog section headings */
.blog-article h2 {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 700;
    color: var(--navy-blue);
    font-family: Arial, sans-serif;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e8e8;
    line-height: 1.3;
}

.blog-article h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 600;
    color: var(--light-blue);
    font-family: Arial, sans-serif;
    margin-top: 30px;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Blog paragraphs */
.blog-article p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.85;
    text-align: justify;
}

/* Blog lists (checklists) */
.blog-article ul {
    margin: 15px 0 25px 0;
    padding: 0;
    list-style: none;
}

.blog-article ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.blog-article ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--navy-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Highlight box / checklist recap */
.blog-highlight-box {
    background: linear-gradient(135deg, #fff8f0 0%, #fff4e8 100%);
    border-left: 4px solid var(--red);
    border-radius: 0 8px 8px 0;
    padding: 25px 30px;
    margin: 30px 0;
}

.blog-highlight-box p {
    margin-bottom: 10px;
}

.blog-highlight-box p:last-child {
    margin-bottom: 0;
}

/* Tip box */
.blog-tip {
    background-color: #f0f9f4;
    border-left: 4px solid #27ae60;
    border-radius: 0 8px 8px 0;
    padding: 20px 25px;
    margin: 25px 0;
    font-size: 1rem;
}

.blog-tip strong {
    color: #27ae60;
}

/* Blog strong and links */
.blog-article strong {
    color: #222;
}

.blog-article a {
    color: var(--navy-blue);
    text-decoration: underline;
    text-decoration-color: rgba(26, 148, 195, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.blog-article a:hover {
    color: var(--red);
    text-decoration-color: var(--red);
}

/* FAQ Section */
.blog-faq {
    margin: 40px 0;
}

.blog-faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.blog-faq-item summary {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #333;
    cursor: pointer;
    background-color: #fafafa;
    transition: background-color 0.2s ease;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-faq-item summary::-webkit-details-marker {
    display: none;
}

.blog-faq-item summary::before {
    content: "+";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background-color: var(--navy-blue);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.blog-faq-item[open] summary::before {
    content: "−";
}

.blog-faq-item summary:hover {
    background-color: #f0f7fb;
}

.blog-faq-item .faq-answer {
    padding: 15px 20px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

/* CTA in blog */
.blog-cta {
    text-align: center;
    background: linear-gradient(135deg, #1a94c3 0%, #156f93 100%);
    border-radius: 12px;
    padding: 40px 30px;
    margin: 50px 0 30px;
    color: #fff;
}

.blog-cta p {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: center;
}

.blog-cta .cta-button {
    display: inline-block;
    background-color: var(--red);
    color: #fff;
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-cta .cta-button:hover {
    background-color: #fff;
    color: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .blog-article {
        padding: 25px 15px 40px;
    }

    .blog-intro {
        padding: 20px;
        font-size: 1.05rem;
    }

    .blog-toc {
        padding: 20px;
    }

    .blog-highlight-box {
        padding: 20px;
    }

    .blog-article h2 {
        margin-top: 35px;
    }

    .blog-cta {
        padding: 30px 20px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 8px;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .blog-article p,
    .blog-article ul li {
        font-size: 1rem;
    }

    .blog-article h2 {
        font-size: 1.35rem;
    }

    .blog-article h3 {
        font-size: 1.1rem;
    }
}
