/*
 * SMIS plugin-owned SEO pages.
 * Scoped to .smis-seo-page so existing WordPress pages are not restyled.
 */

:root {
    --smis-navy: #131E35;
    --smis-red: #C80000;
    --smis-grey: #545454;
    --smis-light: #F6F7F9;
    --smis-border: #E1E5EC;
    --smis-header-offset: 0px;
}

.smis-seo-page {
    position: static !important;
    isolation: auto !important;
    width: 100%;
    margin: 0;
    color: var(--smis-navy);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

body.header_position_over .top_panel,
body.header_position_over header.top_panel {
    z-index: 10000 !important;
}

.smis-seo-page *,
.smis-seo-page *::before,
.smis-seo-page *::after {
    box-sizing: border-box;
}

.smis-seo-page h1,
.smis-seo-page h2,
.smis-seo-page h3,
.smis-seo-page p,
.smis-seo-page ul,
.smis-seo-page ol,
.smis-seo-page table,
.smis-seo-page blockquote {
    margin-top: 0;
}

.smis-seo-page h1,
.smis-seo-page h2,
.smis-seo-page h3 {
    color: var(--smis-navy);
    font-family: inherit;
    letter-spacing: -0.025em;
    text-transform: none;
}

.smis-seo-page a {
    color: var(--smis-red);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.smis-seo-page a:hover,
.smis-seo-page a:focus {
    color: #9E0000;
}

.smis-wrap {
    width: min(1180px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.smis-seo-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    background:
        radial-gradient(circle at 86% 14%, rgba(200, 0, 0, 0.24), transparent 28%),
        radial-gradient(circle at 18% 80%, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(135deg, #0B1428 0%, #131E35 56%, #1E2E51 100%);
    color: #fff;
    overflow: hidden;
}

.smis-seo-hero .smis-wrap {
    padding-top: calc(var(--smis-header-offset) + 48px);
    padding-bottom: 76px;
}

.smis-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 38px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.smis-breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.smis-breadcrumbs span[aria-hidden="true"] {
    opacity: 0.5;
}

.smis-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.smis-seo-hero h1 {
    max-width: 880px;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.03;
    font-weight: 800;
}

.smis-seo-hero .smis-lead-copy {
    max-width: 820px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
}

.smis-hero-actions,
.smis-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.smis-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.smis-btn:hover,
.smis-btn:focus {
    transform: translateY(-1px);
}

.smis-btn-primary {
    background: var(--smis-red);
    color: #fff !important;
    box-shadow: 0 10px 28px rgba(200, 0, 0, 0.22);
}

.smis-btn-primary:hover,
.smis-btn-primary:focus {
    background: #A90000;
    color: #fff !important;
}

.smis-btn-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.smis-btn-secondary:hover,
.smis-btn-secondary:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
}

.smis-section {
    padding: 76px 0;
}

.smis-section-muted {
    background: var(--smis-light);
}

.smis-section h2 {
    max-width: 820px;
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 800;
}

.smis-section .smis-section-intro {
    max-width: 820px;
    margin-bottom: 36px;
    color: var(--smis-grey);
    font-size: 19px;
}

.smis-answer-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 26px;
    border: 1px solid var(--smis-border);
    border-left: 5px solid var(--smis-red);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(19, 30, 53, 0.06);
}

.smis-answer-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--smis-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.smis-answer-box p {
    margin: 0;
    color: #26344F;
    font-size: 18px;
}

.smis-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.smis-path-card {
    position: relative;
    min-height: 100%;
    padding: 28px;
    border: 1px solid var(--smis-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(19, 30, 53, 0.05);
}

.smis-path-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 56px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: var(--smis-red);
}

.smis-path-card h3 {
    margin: 8px 0 10px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
}

.smis-path-card p {
    color: var(--smis-grey);
}

.smis-path-card ul {
    margin: 18px 0 0;
    padding-left: 20px;
}

.smis-path-card li + li {
    margin-top: 8px;
}

.smis-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--smis-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(19, 30, 53, 0.05);
}

.smis-comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    margin: 0;
    font-size: 16px;
}

.smis-comparison-table th,
.smis-comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--smis-border);
    vertical-align: top;
    text-align: left;
}

.smis-comparison-table thead th {
    background: var(--smis-navy);
    color: #fff;
    font-weight: 800;
}

.smis-comparison-table tbody th {
    width: 24%;
    color: var(--smis-navy);
    font-weight: 750;
}

.smis-comparison-table tr:last-child th,
.smis-comparison-table tr:last-child td {
    border-bottom: 0;
}

.smis-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #FFF7F7;
    color: #5B2020;
    font-size: 15px;
}

.smis-checklist {
    counter-reset: smis-step;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.smis-checklist li {
    counter-increment: smis-step;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    border: 1px solid var(--smis-border);
    border-radius: 12px;
    background: #fff;
}

.smis-checklist li::before {
    content: counter(smis-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--smis-navy);
    color: #fff;
    font-weight: 800;
}

.smis-checklist strong {
    color: var(--smis-navy);
}

.smis-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.smis-link-card {
    display: block;
    padding: 20px 22px;
    border: 1px solid var(--smis-border);
    border-radius: 12px;
    background: #fff;
    color: var(--smis-navy) !important;
    text-decoration: none !important;
}

.smis-link-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}

.smis-link-card span {
    color: var(--smis-grey);
    font-size: 15px;
}

.smis-faq {
    display: grid;
    gap: 12px;
}

.smis-faq details {
    margin: 0;
    border: 1px solid var(--smis-border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.smis-faq summary {
    position: relative;
    padding: 20px 54px 20px 20px;
    color: var(--smis-navy);
    cursor: pointer;
    font-weight: 750;
    list-style: none;
}

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

.smis-faq summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 400;
    color: var(--smis-red);
}

.smis-faq details[open] summary::after {
    content: "−";
}

.smis-faq .smis-faq-answer {
    padding: 0 20px 20px;
    color: var(--smis-grey);
}

.smis-faq .smis-faq-answer p:last-child {
    margin-bottom: 0;
}

.smis-source-box {
    padding: 24px;
    border: 1px solid var(--smis-border);
    border-radius: 14px;
    background: #fff;
}

.smis-source-box h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.smis-source-box p,
.smis-source-box ul {
    color: var(--smis-grey);
    font-size: 15px;
}

.smis-final-cta {
    width: min(980px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px;
    border-radius: 22px;
    background: var(--smis-navy);
    color: #fff;
    text-align: center;
    box-shadow: 0 24px 70px rgba(19, 30, 53, 0.18);
}

.smis-final-cta h2 {
    max-width: 760px;
    margin: 0 auto 14px;
    color: #fff;
}

.smis-final-cta p {
    max-width: 720px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.82);
}

.smis-final-cta .smis-cta-actions {
    justify-content: center;
}

.smis-review-note {
    display: inline-block;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

@media (max-width: 1024px) {
    .smis-seo-hero .smis-wrap {
        padding-top: calc(var(--smis-header-offset) + 36px);
        padding-bottom: 62px;
    }

    .smis-grid-3 {
        grid-template-columns: 1fr;
    }

    .smis-link-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .smis-seo-page {
        font-size: 16px;
    }

    .smis-wrap {
        width: min(100% - 32px, 1180px);
    }

    .smis-seo-hero .smis-wrap {
        padding-top: calc(var(--smis-header-offset) + 26px);
        padding-bottom: 52px;
    }

    .smis-breadcrumbs {
        margin-bottom: 26px;
    }

    .smis-seo-hero h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .smis-section {
        padding: 58px 0;
    }

    .smis-answer-box {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .smis-final-cta {
        width: min(100% - 32px, 980px);
        padding: 34px 22px;
        border-radius: 18px;
    }

    .smis-hero-actions,
    .smis-cta-actions {
        align-items: stretch;
    }

    .smis-btn {
        width: 100%;
    }
}
