:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #17202a;
    background: #ffffff;
    font: 17px/1.7 Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
}

a {
    color: var(--brand-primary);
}

button,
input {
    font: inherit;
}

.shell {
    width: min(100% - 40px, 1160px);
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--header-border);
    background: var(--header-bg);
    color: var(--header-color);
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto auto;
    align-items: center;
    gap: 28px;
}

.brand-lockup {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 6px;
}

.brand-name {
    overflow-wrap: anywhere;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.primary-nav a {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--brand-primary);
}

.header-search {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--search-border);
    background: var(--search-bg);
}

.header-search label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.header-search input {
    width: 150px;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 9px 10px;
    background: transparent;
    color: var(--search-color);
}

.header-search button {
    width: 40px;
    border: 0;
    border-left: 1px solid var(--search-border);
    background: transparent;
    color: var(--search-color);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.header-search button svg {
    width: 18px;
    height: 18px;
    display: block;
    margin: auto;
}

.header-search button:hover,
.header-search button:focus-visible {
    background: var(--brand-primary);
    color: var(--button-color);
}

.home-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    background-color: var(--hero-bg);
    background-image: var(--hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--hero-color);
}

.home-hero-inner {
    width: 100%;
    padding-block: 72px;
}

.hero-copy {
    max-width: 610px;
}

.hero-kicker,
.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 860px;
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: 0;
}

.home-hero .lead,
.page-hero .lead {
    max-width: 700px;
    margin: 22px 0 0;
    color: var(--hero-muted);
    font-size: 22px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-primary);
    border-radius: 4px;
    padding: 10px 18px;
    background: var(--brand-primary);
    color: var(--button-color);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.button:hover,
.button:focus-visible {
    border-color: var(--button-hover-bg);
    background: var(--button-hover-bg);
    color: var(--button-hover-color);
}

.brand-band {
    border-top: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
    background: var(--band-bg);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar {
    min-height: 170px;
    padding: 34px 34px 34px 0;
    border-right: 1px solid var(--section-border);
}

.pillar + .pillar {
    padding-left: 34px;
}

.pillar:last-child {
    border-right: 0;
}

.pillar-index {
    display: block;
    margin-bottom: 12px;
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 900;
}

.pillar h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0;
}

.pillar p {
    margin: 0;
    color: var(--body-muted);
    font-size: 15px;
    line-height: 1.6;
}

.home-intro,
.content-section {
    padding-block: 72px 88px;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
}

.intro-grid h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: 0;
}

.prose {
    max-width: 780px;
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin: 44px 0 16px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0;
}

.prose h3 {
    margin: 34px 0 12px;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0;
}

.prose img,
.featured {
    width: 100%;
    height: auto;
    display: block;
    margin: 32px 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
}

.prose th,
.prose td {
    padding: 13px 14px;
    border: 1px solid var(--section-border);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--band-bg);
}

.page-hero {
    padding-block: 58px 46px;
    border-bottom: 1px solid var(--section-border);
    background: var(--page-hero-bg);
    color: var(--page-hero-color);
}

.page-hero h1 {
    max-width: 900px;
    font-size: 48px;
}

.page-hero .lead {
    color: var(--page-hero-muted);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 20px;
    color: var(--body-muted);
    font-size: 13px;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--brand-primary);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 42px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--section-border);
}

.filters a {
    border: 1px solid var(--section-border);
    border-radius: 4px;
    padding: 7px 11px;
    color: var(--body-color);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.filters a:hover,
.filters a[aria-current="page"] {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: var(--button-color);
}

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

.listing {
    min-width: 0;
    padding: 0 0 32px;
    margin: 0 0 34px;
    border-bottom: 1px solid var(--section-border);
}

.listing h2 {
    margin: 7px 0 10px;
    font-size: 27px;
    line-height: 1.22;
    letter-spacing: 0;
}

.listing h2 a {
    color: var(--body-color);
    text-decoration: none;
}

.listing h2 a:hover {
    color: var(--brand-primary);
}

.listing p {
    margin: 0;
    color: var(--body-muted);
}

.meta {
    margin: 12px 0 0;
    color: var(--body-muted);
    font-size: 13px;
}

.byline a {
    color: inherit;
    font-weight: 800;
}

.editorial-note,
.production-note,
.affiliate-note {
    margin: 0 0 32px;
    border-left: 4px solid var(--brand-primary);
    padding: 18px 20px;
    background: var(--band-bg);
    color: var(--body-color);
    font-size: 14px;
    line-height: 1.65;
}

.editorial-note a,
.affiliate-note a {
    color: inherit;
    font-weight: 800;
}

.production-note {
    margin-top: 42px;
}

.production-note h2 {
    margin-top: 0;
    font-size: 23px;
}

.contact-panel {
    max-width: 960px;
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 64px;
    margin-top: 64px;
    border-top: 1px solid var(--section-border);
    padding-top: 56px;
}

.contact-panel-intro h2 {
    margin: 8px 0 14px;
    font-size: 31px;
    line-height: 1.2;
}

.contact-panel-intro p:last-child,
.form-actions p {
    color: var(--body-muted);
}

.contact-form,
.form-field {
    display: grid;
    gap: 8px;
}

.contact-form {
    gap: 20px;
}

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

.form-field label {
    font-size: 14px;
    font-weight: 800;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--section-border);
    border-radius: 0;
    padding: 12px 13px;
    background: #ffffff;
    color: #171717;
    font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 3px solid color-mix(in srgb, var(--brand-primary) 45%, transparent);
    outline-offset: 1px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.form-actions button {
    border: 0;
    padding: 13px 19px;
    background: var(--brand-primary);
    color: var(--button-color);
    font-weight: 800;
    cursor: pointer;
}

.form-actions p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.form-actions a {
    color: inherit;
}

.form-error {
    margin: 0;
    color: #a61b1b;
    font-size: 13px;
}

.form-success {
    border-left: 4px solid var(--brand-primary);
    padding: 18px 20px;
    background: var(--band-bg);
    font-weight: 700;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 780px) minmax(220px, 1fr);
    gap: 72px;
    align-items: start;
}

.related {
    position: sticky;
    top: 24px;
    padding-left: 24px;
    border-left: 3px solid var(--brand-primary);
}

.related h2 {
    margin: 0 0 18px;
    font-size: 19px;
    line-height: 1.25;
}

.related a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--section-border);
    color: var(--body-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
}

.pagination a,
.pagination span {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--section-border);
    padding: 6px 11px;
    color: var(--body-color);
    text-decoration: none;
}

.pagination [aria-current="page"] {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: var(--button-color);
}

.search-form-large {
    max-width: 720px;
    display: flex;
    margin-bottom: 46px;
}

.search-form-large input {
    min-width: 0;
    flex: 1;
    border: 1px solid var(--section-border);
    padding: 13px 15px;
}

.search-form-large button {
    border: 0;
    padding: 12px 18px;
    background: var(--brand-primary);
    color: var(--button-color);
    font-weight: 800;
    cursor: pointer;
}

.empty {
    padding: 24px 0;
    color: var(--body-muted);
}

.site-footer {
    border-top: 1px solid var(--footer-border);
    background: var(--footer-bg);
    color: var(--footer-color);
}

.footer-inner {
    min-height: 130px;
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(320px, 1.2fr) auto;
    align-items: center;
    gap: 42px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.footer-brand img {
    width: 34px;
    height: 34px;
}

.footer-summary p {
    max-width: 320px;
    margin: 12px 0 0;
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.5;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 22px;
}

.footer-nav a {
    color: var(--footer-muted);
    font-size: 13px;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--brand-primary);
}

.footer-meta {
    color: var(--footer-muted);
    font-size: 13px;
    text-align: right;
}

.theme-seostrategy {
    --brand-primary: #e8d22c;
    --body-color: #171717;
    --body-muted: #606060;
    --header-bg: #111111;
    --header-color: #ffffff;
    --header-border: #333333;
    --search-bg: #1c1c1c;
    --search-color: #ffffff;
    --search-border: #4b4b4b;
    --hero-bg: #111111;
    --hero-color: #ffffff;
    --hero-muted: #d9d9d2;
    --button-color: #111111;
    --button-hover-bg: #ffffff;
    --button-hover-color: #111111;
    --band-bg: #f5f3e9;
    --section-border: #d8d6cc;
    --page-hero-bg: #171717;
    --page-hero-color: #ffffff;
    --page-hero-muted: #cccccc;
    --footer-bg: #111111;
    --footer-color: #ffffff;
    --footer-muted: #a8a8a8;
    --footer-border: #2d2d2d;
}

.theme-seostrategy .brand-lockup,
.theme-seostrategy h1,
.theme-seostrategy h2,
.theme-seostrategy h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
}

.theme-cupidreview {
    --brand-primary: #e85d68;
    --body-color: #17243c;
    --body-muted: #687083;
    --header-bg: #fffaf7;
    --header-color: #17243c;
    --header-border: #eadbd6;
    --search-bg: #ffffff;
    --search-color: #17243c;
    --search-border: #d9c8c3;
    --hero-bg: #fbf5ef;
    --hero-color: #17243c;
    --hero-muted: #596479;
    --button-color: #ffffff;
    --button-hover-bg: #17243c;
    --button-hover-color: #ffffff;
    --band-bg: #fff4f3;
    --section-border: #eadbd6;
    --page-hero-bg: #fff4f3;
    --page-hero-color: #17243c;
    --page-hero-muted: #687083;
    --footer-bg: #17243c;
    --footer-color: #ffffff;
    --footer-muted: #bac2d1;
    --footer-border: #2b3954;
}

.theme-cupidreview h1,
.theme-cupidreview h2,
.theme-cupidreview h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.theme-socialproofs {
    --brand-primary: #007f73;
    --body-color: #152b28;
    --body-muted: #5c6f6c;
    --header-bg: #f5fbf8;
    --header-color: #152b28;
    --header-border: #cbded8;
    --search-bg: #ffffff;
    --search-color: #152b28;
    --search-border: #aecbc4;
    --hero-bg: #f4f6f6;
    --hero-color: #152b28;
    --hero-muted: #4f6360;
    --button-color: #ffffff;
    --button-hover-bg: #152b28;
    --button-hover-color: #ffffff;
    --band-bg: #eaf5f1;
    --section-border: #cbded8;
    --page-hero-bg: #eaf5f1;
    --page-hero-color: #152b28;
    --page-hero-muted: #5c6f6c;
    --footer-bg: #152b28;
    --footer-color: #ffffff;
    --footer-muted: #b8cbc7;
    --footer-border: #29423e;
}

.theme-socialproofs .brand-lockup,
.theme-socialproofs h1,
.theme-socialproofs h2,
.theme-socialproofs h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
}

.theme-mydealjunction {
    --brand-primary: #ffd53d;
    --body-color: #12213a;
    --body-muted: #5d6879;
    --header-bg: #0757c7;
    --header-color: #ffffff;
    --header-border: #2c74d6;
    --search-bg: #ffffff;
    --search-color: #12213a;
    --search-border: #d7e1f0;
    --hero-bg: #0757c7;
    --hero-color: #ffffff;
    --hero-muted: #e4ecf9;
    --button-color: #12213a;
    --button-hover-bg: #ffffff;
    --button-hover-color: #0757c7;
    --band-bg: #f1f6fd;
    --section-border: #ccd9eb;
    --page-hero-bg: #0757c7;
    --page-hero-color: #ffffff;
    --page-hero-muted: #e4ecf9;
    --footer-bg: #12213a;
    --footer-color: #ffffff;
    --footer-muted: #b9c4d6;
    --footer-border: #2a3953;
}

.theme-mydealjunction .brand-lockup,
.theme-mydealjunction h1,
.theme-mydealjunction h2,
.theme-mydealjunction h3 {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: 900;
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        gap: 16px;
        padding-block: 14px;
    }

    .header-search {
        grid-column: 1 / -1;
    }

    .header-search input {
        width: 100%;
    }

    .home-hero {
        min-height: 540px;
        background-position: 58% center;
    }

    .home-hero h1 {
        font-size: 52px;
    }

    .hero-copy {
        max-width: 520px;
    }

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

    .related {
        position: static;
    }

    .footer-inner {
        grid-template-columns: 1fr 1.5fr;
        padding-block: 28px;
    }

    .footer-meta {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(100% - 30px, 1160px);
    }

    .header-inner {
        grid-template-columns: 1fr;
    }

    .primary-nav {
        gap: 18px;
    }

    .home-hero {
        min-height: 570px;
        background-position: 61% center;
    }

    .home-hero-inner {
        padding-block: 58px;
    }

    .home-hero h1,
    .page-hero h1 {
        font-size: 42px;
    }

    .home-hero .lead,
    .page-hero .lead {
        font-size: 19px;
    }

    .pillar-grid,
    .intro-grid,
    .listing-grid {
        grid-template-columns: 1fr;
    }

    .pillar,
    .pillar + .pillar {
        min-height: 0;
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid var(--section-border);
    }

    .pillar:last-child {
        border-bottom: 0;
    }

    .intro-grid {
        gap: 30px;
    }

    .intro-grid h2 {
        font-size: 34px;
    }

    .home-intro,
    .content-section {
        padding-block: 52px 64px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-block: 28px;
    }

    .contact-panel,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        gap: 30px;
        margin-top: 48px;
        padding-top: 42px;
    }

    .form-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }

    .footer-meta {
        text-align: left;
    }
}
