html {
    scroll-behavior: smooth;
}

.post-hero {
    padding: 40px 0 0px;
}

.post-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.post-content-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.post-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--dark-text);
    background: #f4f6f8;
    border-radius: 999px;
    padding: 8px 14px;
    margin-bottom: 24px;
}

.post-date-chip i {
    color: #0E4970;
    font-size: 1.25rem;
}

.post-title {
font-size: 3.5rem;
    line-height: 70px;
    letter-spacing: -3%;
    margin-bottom: 16px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
}

.post-author {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-bottom: 24px;
}

.post-featured-media img {
    border-radius: 24px;
}

.post-content-section {
    padding: 30px 0 30px;
}

.post-article {
    max-width: 760px;
}

.post-section {
    margin-bottom: 54px;
}

.post-section h2 {
    font-size: 2.375rem;
    line-height: 50px;
    letter-spacing: -2%;
    margin: 0 0 24px;
    font-weight: 700;
    color: #030213;
}

.post-section h3 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: -2%;
    margin-bottom: 15px;
    color: #030213;
}

.post-section h2 span {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-weight: 700;
}

.accordion-body {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--secondary-text);
}

.post-section ul {
    margin: 0 0 18px;
    padding-left: 24px;
}

.post-example {
    background: #f8fbfb;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 14px 18px;
}

.post-callout {
    background: #f8fbfb;
    border: 1px solid #dfe9e8;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 18px;
}

.post-callout p:last-child {
    margin-bottom: 0;
}

.post-equation {
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--dark-text);
}

.post-faqs h2 {
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid #e8edf2;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.faq-item .accordion-button {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    padding: 18px 20px;
}

.faq-item .accordion-button:not(.collapsed) {
    color: var(--dark-text);
    background: #f8fbfb;
    box-shadow: none;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.post-cta-section {
    padding: 0 0 56px;
}

.post-cta-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #f5fbf9 0%, #f7fafc 100%);
    border: 10px solid #ffffff;
    box-shadow: 0 0 64px rgba(0, 0, 0, 0.12);
    border-radius: 32px;
    padding: 72px 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.post-cta-card::before,
.post-cta-card::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border: 34px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.cta-section {
    padding: 30px 0;
}

.post-cta-card::before {
    top: -150px;
    left: -120px;
}

.post-cta-card::after {
    right: -120px;
    bottom: -170px;
}

/* @media (max-width: 1399px) {
    .post-title {
        font-size: 3.125rem;
    }

    .post-section h2 {
        font-size: 2.5rem;
    }
} */

@media (max-width: 1199px) {
    .post-hero-inner,
    .post-article {
        max-width: 100%;
    }

    .post-title {
        font-size: 2.75rem;
    }

    .post-section h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 991px) {
    .post-content-section {
        padding-bottom: 70px;
    }

    .post-title {
        font-size: 2.375rem;
        letter-spacing: -1px;
    }

    .post-section h2 {
        font-size: 1.875rem;
        letter-spacing: -0.6px;
    }

    .post-featured-media {
        height: 280px;
    }
}

@media (max-width: 767px) {
    .post-hero {
        padding-top: 20px;
    }

    .post-title {
        font-size: 2rem;
        line-height: 1.12;
    }

    .post-author {
        font-size: 0.9375rem;
    }

    .post-featured-media {
        height: 220px;
    }

    .post-section {
        margin-bottom: 42px;
    }

    .post-section h2 {
        font-size: 1.6875rem;
        margin-bottom: 16px;
    }

    .post-section p,
    .post-section li,
    .faq-item .accordion-button,
    .accordion-body {
        font-size: 1rem;
        line-height: 1.7;
    }

    .post-cta-card {
        border-width: 6px;
        border-radius: 24px;
        padding: 56px 20px;
    }

    .cta-title {
        font-size: 2.375rem;
        line-height: 1.15;
    }

    .cta-text {
        font-size: 1rem;
    }
}
