/* =========================================================
   SLG GOLD - LUXURY BLOG ARTICLE RESPONSIVE STYLESHEET
   Sticky Note Typography Standard:
     Mobile (< 768px):
       H1: 32px | Line weight: 700 | Line height: 1.3  (Roboto)
       H2: 26px | Line weight: 600 | Line height: 1.32 (Roboto)
       H3: 22px | Line weight: 500 | Line height: 1.35 (Roboto)
       P:  16px | Line weight: 400 | Line height: 1.35 (Poppins)
       List: 16px | Line weight: 400 | Line height: 1.35 (Poppins)
     Padding Standard:
       Strictly 40px top & bottom on non-hero sections across all viewports.
   ========================================================= */

/* Prevent any horizontal overflow */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
}

/* Universal Non-Hero Section Padding Rule */
body.blog-article-page .article-body-section,
body.blog-article-page .article-related-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

body.blog-article-page .blog-cta-container {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* =========================================================
   1. TABLETS (max-width: 1024px)
   ========================================================= */
@media (max-width: 1024px) {
    body.blog-article-page {
        padding-top: 72px;
    }

    .article-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .article-main-content {
        padding: 40px 32px;
    }

    .article-hero-title {
        font-size: 40px;
        line-height: 48px;
    }
}

/* =========================================================
   2. MEDIUM SCREENS (max-width: 860px)
   ========================================================= */
@media (max-width: 860px) {
    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .related-cards-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

/* =========================================================
   3. MOBILE PHONES (max-width: 768px)
   Strict Sticky Note Mobile Standards
   ========================================================= */
@media (max-width: 768px) {
    /* Strict Mobile Typography */
    h1,
    .article-hero-title {
        font-family: var(--font-heading) !important;
        font-size: 32px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
    }

    h2,
    .article-main-content h2,
    .related-title {
        font-family: var(--font-heading) !important;
        font-size: 26px !important;
        line-height: 1.32 !important;
        font-weight: 600 !important;
    }

    h3,
    .article-main-content h3,
    .check-content h3.check-title,
    .related-card-title,
    .in-article-cta h3 {
        font-family: var(--font-heading) !important;
        font-size: 22px !important;
        line-height: 1.35 !important;
        font-weight: 500 !important;
    }

    p,
    .article-lead,
    .article-paragraph,
    .step-card-text,
    .check-content p,
    .mistake-item,
    .callout-text,
    .related-card-excerpt,
    .in-article-cta p {
        font-family: var(--font-body) !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        font-weight: 400 !important;
    }

    ul, ol, li {
        font-family: var(--font-body) !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        font-weight: 400 !important;
    }

    body.blog-article-page {
        padding-top: 72px;
    }

    /* Hero section */
    .article-hero-section {
        padding: 36px 16px 28px 16px;
    }

    .article-meta-row {
        gap: 12px;
        font-size: 13px;
        margin-bottom: 24px;
    }

    .article-featured-image-wrap {
        border-radius: 14px;
    }

    /* Article Body Section */
    .article-body-section {
        padding: 40px 16px !important;
    }

    .article-main-content {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .article-lead {
        padding-left: 14px;
        margin-bottom: 20px;
    }

    .article-toc-box {
        padding: 18px;
        margin: 24px 0 28px 0;
    }

    .article-table-wrap {
        margin: 20px 0 24px 0;
        border-radius: 10px;
    }

    .article-comparison-table th,
    .article-comparison-table td {
        padding: 11px 13px;
        font-size: 13.5px;
    }

    .step-card {
        padding: 18px 16px;
    }

    .step-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .step-card-title {
        font-size: 18px;
        line-height: 24px;
    }

    .check-item {
        padding: 16px 14px;
        gap: 10px;
    }

    .check-icon {
        width: 24px;
        height: 24px;
    }

    .article-callout-box {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .in-article-cta {
        padding: 24px 18px;
    }

    .in-article-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .article-faq-item {
        padding: 18px 16px;
    }

    .article-faq-question {
        font-size: 18px;
        line-height: 24px;
        gap: 8px;
    }

    .article-faq-answer {
        font-size: 15px;
        line-height: 24px;
        padding-left: 0;
        margin-top: 8px;
    }

    .article-author-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }

    /* Related Section */
    .article-related-section {
        padding: 40px 16px !important;
    }

    .related-card-img-wrap {
        height: 190px;
    }

    .related-card-body {
        padding: 20px 16px;
    }
}

/* =========================================================
   4. SMALL MOBILE SCREENS (max-width: 480px)
   ========================================================= */
@media (max-width: 480px) {
    .article-breadcrumb-bar {
        padding: 12px 16px;
    }

    .breadcrumb-current {
        max-width: 200px;
    }

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

    .meta-divider {
        display: none;
    }

    .sidebar-widget {
        padding: 22px 18px;
    }
}
