/* ===================================================================
   AwwwStore Landing Page Styles — B2B Premium Design System
   Applied to: market-guides, dollar-store-case, how-to-open posts
   =================================================================== */

/* --- Design Tokens --- */
:root {
    --lp-navy: #0f1b2d;
    --lp-navy-light: #1b2d45;
    --lp-navy-muted: #243b53;
    --lp-blue: #1e40af;
    --lp-blue-light: #3b82f6;
    --lp-orange: #ff6600;
    --lp-orange-hover: #e55b00;
    --lp-orange-glow: rgba(255, 102, 0, 0.15);
    --lp-gold: #f59e0b;
    --lp-green: #10b981;
    --lp-text: #1e293b;
    --lp-text-muted: #64748b;
    --lp-text-light: #94a3b8;
    --lp-bg: #f8fafc;
    --lp-bg-warm: #fefcf9;
    --lp-card-bg: #ffffff;
    --lp-border: #e2e8f0;
    --lp-border-light: #f1f5f9;
    --lp-shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.06);
    --lp-shadow-md: 0 4px 16px rgba(15, 27, 45, 0.08);
    --lp-shadow-lg: 0 8px 32px rgba(15, 27, 45, 0.12);
    --lp-shadow-xl: 0 16px 48px rgba(15, 27, 45, 0.16);
    --lp-radius: 12px;
    --lp-radius-lg: 16px;
    --lp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Full-width Override --- */
body.awww-landing-page .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}
body.awww-landing-page #primary {
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.awww-landing-page .entry-header {
    display: none !important;
}
body.awww-landing-page .ast-article-single {
    max-width: 100% !important;
    padding: 0 !important;
}
body.awww-landing-page .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === HERO SECTION === */
.lp-hero {
    position: relative;
    background: linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-navy-light) 50%, var(--lp-navy-muted) 100%);
    padding: 80px 24px 60px;
    overflow: hidden;
    margin-bottom: 0;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.lp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.lp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}
.lp-hero-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--lp-orange);
    flex-shrink: 0;
}
.lp-hero h1 {
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.lp-hero h1 .lp-highlight {
    color: var(--lp-orange);
}
.lp-hero-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 640px;
}
.lp-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.lp-hero-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--lp-transition);
}
.lp-btn-primary {
    background: var(--lp-orange);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(255, 102, 0, 0.3);
}
.lp-btn-primary:hover {
    background: var(--lp-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 102, 0, 0.4);
}
.lp-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.lp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* === DATA BAR === */
.lp-data-bar {
    background: var(--lp-card-bg);
    border-bottom: 1px solid var(--lp-border);
    padding: 0 24px;
}
.lp-data-bar-inner {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
}
.lp-data-item {
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid var(--lp-border-light);
}
.lp-data-item:last-child {
    border-right: none;
}
.lp-data-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--lp-navy);
    line-height: 1;
    margin-bottom: 4px;
}
.lp-data-value .lp-accent {
    color: var(--lp-orange);
}
.lp-data-label {
    font-size: 0.75rem;
    color: var(--lp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* === BREADCRUMB OVERRIDE === */
body.awww-landing-page .awww-breadcrumbs {
    background: var(--lp-bg);
    padding: 12px 24px !important;
    margin: 0;
    border-bottom: 1px solid var(--lp-border-light);
}
body.awww-landing-page .awww-breadcrumbs .rank-math-breadcrumb {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.8rem;
}

/* === CONTENT TYPOGRAPHY === */
body.awww-landing-page .entry-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--lp-text);
    padding-top: 48px;
    padding-bottom: 48px;
}
body.awww-landing-page .entry-content p {
    margin-bottom: 1.5em;
    color: var(--lp-text);
}
body.awww-landing-page .entry-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--lp-navy);
    margin: 2.5em 0 0.8em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lp-border-light);
    letter-spacing: -0.01em;
    line-height: 1.3;
    position: relative;
}
body.awww-landing-page .entry-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--lp-orange);
}
body.awww-landing-page .entry-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lp-navy-light);
    margin: 2em 0 0.6em;
    line-height: 1.35;
}

/* === LISTS === */
body.awww-landing-page .entry-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5em 0;
}
body.awww-landing-page .entry-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.6;
}
body.awww-landing-page .entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-orange);
}
body.awww-landing-page .entry-content ol {
    padding-left: 0;
    counter-reset: lp-counter;
    list-style: none;
    margin: 1.5em 0;
}
body.awww-landing-page .entry-content ol li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 16px;
    counter-increment: lp-counter;
    line-height: 1.6;
}
body.awww-landing-page .entry-content ol li::before {
    content: counter(lp-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--lp-navy);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === TABLES === */
body.awww-landing-page .entry-content .wp-block-table {
    margin: 2em 0;
    overflow-x: auto;
}
body.awww-landing-page .entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--lp-shadow-md);
    border: 1px solid var(--lp-border);
    font-size: 0.95rem;
}
body.awww-landing-page .entry-content table thead th {
    background: var(--lp-navy);
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
}
body.awww-landing-page .entry-content table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--lp-border-light);
    color: var(--lp-text);
    vertical-align: top;
}
body.awww-landing-page .entry-content table tbody tr:last-child td {
    border-bottom: none;
}
body.awww-landing-page .entry-content table tbody tr:nth-child(even) {
    background: var(--lp-bg);
}
body.awww-landing-page .entry-content table tbody tr:hover {
    background: var(--lp-orange-glow);
}

/* === BUTTONS IN CONTENT === */
body.awww-landing-page .entry-content .wp-block-buttons {
    margin: 2em 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
body.awww-landing-page .entry-content .wp-block-button .wp-block-button__link {
    background: var(--lp-orange) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    transition: var(--lp-transition) !important;
    box-shadow: 0 4px 16px rgba(255, 102, 0, 0.25) !important;
    text-decoration: none !important;
}
body.awww-landing-page .entry-content .wp-block-button .wp-block-button__link:hover {
    background: var(--lp-orange-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(255, 102, 0, 0.35) !important;
}
body.awww-landing-page .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--lp-navy) !important;
    border: 2px solid var(--lp-navy) !important;
    box-shadow: none !important;
}
body.awww-landing-page .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--lp-navy) !important;
    color: #fff !important;
}

/* === BLOCKQUOTES === */
body.awww-landing-page .entry-content blockquote {
    border-left: 4px solid var(--lp-orange);
    background: var(--lp-bg);
    padding: 24px 28px;
    margin: 2em 0;
    border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
    font-style: italic;
    color: var(--lp-navy-light);
}
body.awww-landing-page .entry-content blockquote p {
    margin-bottom: 0;
}

/* === MID-CONTENT CTA === */
.lp-mid-cta {
    background: linear-gradient(135deg, var(--lp-bg) 0%, #eef2ff 100%);
    border: 1px solid var(--lp-border);
    border-left: 4px solid var(--lp-orange);
    border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
    padding: 28px 32px;
    margin: 2.5em 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.lp-mid-cta-icon {
    width: 48px;
    height: 48px;
    background: var(--lp-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-mid-cta-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}
.lp-mid-cta-text {
    flex: 1;
    min-width: 200px;
}
.lp-mid-cta-text strong {
    display: block;
    color: var(--lp-navy);
    font-size: 1.05rem;
    margin-bottom: 2px;
}
.lp-mid-cta-text span {
    color: var(--lp-text-muted);
    font-size: 0.9rem;
}
.lp-mid-cta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--lp-orange);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--lp-transition);
    white-space: nowrap;
}
.lp-mid-cta a:hover {
    background: var(--lp-orange-hover);
    transform: translateY(-1px);
}

/* === BOTTOM CTA SECTION === */
.lp-bottom-cta {
    background: linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-navy-light) 100%);
    padding: 64px 24px;
    text-align: center;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}
.lp-bottom-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 102, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}
.lp-bottom-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}
.lp-bottom-cta h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 12px;
}
.lp-bottom-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.6;
}
.lp-bottom-cta a.lp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lp-orange);
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--lp-transition);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.lp-bottom-cta a.lp-cta-btn:hover {
    background: var(--lp-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 102, 0, 0.45);
}
.lp-bottom-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.lp-bottom-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}
.lp-bottom-trust svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.5);
}

/* === FAQ SECTION STYLING === */
body.awww-landing-page .entry-content h3 + p,
body.awww-landing-page .entry-content h3 + .wp-block-paragraph {
    padding-left: 16px;
    border-left: 2px solid var(--lp-border);
}
body.awww-landing-page .entry-content h2 + h3 {
    margin-top: 1.2em;
}

/* === READING TIME BADGE === */
body.awww-landing-page .entry-content > p:first-child[style*="inline-block"] {
    background: var(--lp-bg) !important;
    color: var(--lp-text-muted) !important;
    border: 1px solid var(--lp-border);
    border-radius: 100px !important;
    padding: 6px 16px !important;
    font-size: 0.8rem !important;
    margin-bottom: 24px !important;
}

/* === POST NAVIGATION === */
body.awww-landing-page .ast-single-post-navigation {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid var(--lp-border);
}

/* === RELATED POSTS === */
body.awww-landing-page .ast-related-posts-wrapper-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .lp-hero {
        padding: 60px 20px 40px;
    }
    .lp-hero h1 {
        font-size: 1.6rem;
    }
    .lp-hero-actions {
        flex-direction: column;
    }
    .lp-hero-actions a {
        text-align: center;
        justify-content: center;
    }
    .lp-data-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .lp-data-item {
        border-right: none;
        border-bottom: 1px solid var(--lp-border-light);
        padding: 14px 12px;
    }
    .lp-data-item:nth-child(odd) {
        border-right: 1px solid var(--lp-border-light);
    }
    body.awww-landing-page .entry-content {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 1rem;
    }
    body.awww-landing-page .entry-content h2 {
        font-size: 1.35rem;
    }
    .lp-mid-cta {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    .lp-mid-cta a {
        width: 100%;
        justify-content: center;
    }
    .lp-bottom-cta {
        padding: 48px 20px;
    }
    .lp-bottom-cta h3 {
        font-size: 1.4rem;
    }
    body.awww-landing-page .entry-content table {
        font-size: 0.85rem;
    }
    body.awww-landing-page .entry-content table thead th,
    body.awww-landing-page .entry-content table tbody td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .lp-data-bar-inner {
        grid-template-columns: 1fr;
    }
    .lp-data-item {
        border-right: none !important;
    }
    .lp-bottom-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* === BOTTOM SECTION FIXES === */
body.awww-landing-page .ast-single-post-navigation {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid var(--lp-border);
}
body.awww-landing-page .ast-related-posts-wrapper-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px;
}
body.awww-landing-page .ast-related-posts-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}
@media (max-width: 960px) {
    body.awww-landing-page .ast-related-posts-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    body.awww-landing-page .ast-related-posts-wrapper {
        grid-template-columns: 1fr !important;
    }
}
body.awww-landing-page .comments-area {
    display: none !important;
}
body.awww-landing-page .post-comments {
    display: none !important;
}


/* ========================================================================
   Core Page Enhancements — WordPress Pages (store-packages, products, etc.)
   ======================================================================== */

/* Page content container - match landing page width */
body.awww-core-page .entry-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 60px;
}

/* Hide default Astra page header/title area */
body.awww-core-page .ast-archive-description,
body.awww-core-page .page-header {
    display: none !important;
}

/* WordPress Block Table — premium card styling */
body.awww-core-page .wp-block-table {
    margin: 32px 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(10, 25, 47, 0.08);
}
body.awww-core-page .wp-block-table table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.95rem;
}
body.awww-core-page .wp-block-table thead {
    background: var(--lp-navy, #0a192f);
}
body.awww-core-page .wp-block-table thead th {
    color: #fff;
    padding: 14px 18px;
    font-weight: 600;
    text-align: left;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}
body.awww-core-page .wp-block-table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid #eef0f4;
    color: var(--lp-text, #334155);
    vertical-align: top;
}
body.awww-core-page .wp-block-table tbody tr:last-child td {
    border-bottom: none;
}
body.awww-core-page .wp-block-table tbody tr:nth-child(even) {
    background: #f8f9fb;
}
body.awww-core-page .wp-block-table tbody tr:hover {
    background: rgba(255, 107, 53, 0.04);
}

/* WordPress Block Buttons — orange CTA */
body.awww-core-page .wp-block-buttons {
    margin: 32px 0;
    gap: 12px;
}
body.awww-core-page .wp-block-button .wp-block-button__link {
    background: var(--lp-orange, #ff6b35) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
    text-decoration: none;
}
body.awww-core-page .wp-block-button .wp-block-button__link:hover {
    background: #e55a2b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}
body.awww-core-page .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--lp-orange, #ff6b35) !important;
    border: 2px solid var(--lp-orange, #ff6b35) !important;
    box-shadow: none;
}
body.awww-core-page .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--lp-orange, #ff6b35) !important;
    color: #fff !important;
}

/* Headings with accent underline */
body.awww-core-page .entry-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--lp-navy, #0a192f);
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--lp-orange, #ff6b35);
    display: inline-block;
}
body.awww-core-page .entry-content h2::after {
    content: none;
}
body.awww-core-page .entry-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lp-navy, #0a192f);
    margin: 32px 0 14px;
}

/* List styling */
body.awww-core-page .entry-content ul,
body.awww-core-page .entry-content ol {
    padding-left: 0;
    margin: 20px 0;
}
body.awww-core-page .entry-content ul li {
    list-style: none;
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    line-height: 1.7;
}
body.awww-core-page .entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--lp-orange, #ff6b35);
    border-radius: 50%;
}
body.awww-core-page .entry-content ol li {
    padding-left: 8px;
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Paragraphs */
body.awww-core-page .entry-content p {
    line-height: 1.8;
    color: var(--lp-text, #334155);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

/* Strong text accent */
body.awww-core-page .entry-content strong {
    color: var(--lp-navy, #0a192f);
    font-weight: 600;
}

/* WordPress separator */
body.awww-core-page .wp-block-separator {
    border-color: var(--lp-border, #e2e8f0);
    margin: 40px auto;
    max-width: 120px;
}

/* FAQ block — if using Rank Math FAQ */
body.awww-core-page .rank-math-faq-wrap {
    margin: 40px 0;
    background: #f8f9fb;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--lp-border, #e2e8f0);
}

/* Blockquotes */
body.awww-core-page .entry-content blockquote {
    border-left: 4px solid var(--lp-orange, #ff6b35);
    background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--lp-navy, #0a192f);
}

/* Responsive */
@media (max-width: 768px) {
    body.awww-core-page .entry-content {
        padding: 32px 16px 48px;
    }
    body.awww-core-page .entry-content h2 {
        font-size: 1.35rem;
        margin: 36px 0 16px;
    }
    body.awww-core-page .wp-block-table thead th,
    body.awww-core-page .wp-block-table tbody td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}
@media (max-width: 480px) {
    body.awww-core-page .wp-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.awww-core-page .wp-block-table table {
        min-width: 500px;
    }
}

/* Hide duplicate H1 in page content — hero already provides the title */
body.awww-core-page .entry-content > h1:first-child,
body.awww-core-page .entry-content > .wp-block-heading:first-child {
    display: none !important;
}

/* Fix landing page bottom sections — correct selectors */
body.awww-landing-page .navigation.post-navigation {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 32px 24px !important;
    border-top: 1px solid var(--lp-border, #e2e8f0);
}
body.awww-landing-page .ast-single-related-posts-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 48px 24px !important;
}
body.awww-landing-page .ast-related-posts-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 24px !important;
}

/* Fix Related Articles — show titles and auto-fit grid */
body.awww-landing-page .ast-related-posts-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
}
body.awww-landing-page .ast-related-post-content .entry-header.related-entry-header {
    display: block !important;
    margin-top: 12px;
}
body.awww-landing-page .ast-related-post-title.entry-title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--lp-navy, #0a192f) !important;
}
body.awww-landing-page .ast-related-post-title.entry-title a {
    color: inherit !important;
    text-decoration: none !important;
}
body.awww-landing-page .ast-related-post-title.entry-title a:hover {
    color: var(--lp-orange, #ff6b35) !important;
}
body.awww-landing-page .ast-related-post-featured-section img {
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16/10;
    width: 100%;
}
body.awww-landing-page .ast-related-posts-inner-section {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding-bottom: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.awww-landing-page .ast-related-posts-inner-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
body.awww-landing-page .ast-related-post-featured-section {
    margin-bottom: 0;
}
body.awww-landing-page .entry-header.related-entry-header {
    padding: 0 16px;
}
