:root {
    --swg-cream: #fbf6f1;
    --swg-blush: #ead8d2;
    --swg-blush-2: #f4e8e4;
    --swg-rose: #c98f84;
    --swg-rose-deep: #a46c64;
    --swg-sage: #a8aa92;
    --swg-sage-light: #e4e6d8;
    --swg-gold: #c2a56f;
    --swg-ink: #322b28;
    --swg-muted: #716861;
    --swg-white: #fffdfb;
    --swg-border: rgba(50, 43, 40, 0.12);
    --swg-shadow: 0 18px 50px rgba(82, 60, 48, 0.12);
    --swg-radius: 28px;
    --swg-radius-small: 18px;
    --swg-serif: "Cormorant Garamond", Georgia, serif;
    --swg-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--swg-cream);
    color: var(--swg-ink);
    font-family: var(--swg-sans);
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover,
a:focus-visible {
    color: var(--swg-rose-deep);
}

p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--swg-serif);
    line-height: 1.06;
    color: var(--swg-ink);
    margin: 0 0 18px;
    font-weight: 700;
}

h1 {
    font-size: clamp(3.2rem, 8vw, 7.2rem);
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(2.2rem, 4.8vw, 4.25rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

button,
input,
textarea {
    font: inherit;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link:focus {
    clip: auto !important;
    clip-path: none;
    height: auto;
    left: 16px;
    top: 16px;
    width: auto;
    z-index: 9999;
    background: var(--swg-ink);
    color: var(--swg-white);
    padding: 10px 14px;
    border-radius: 999px;
}

.swg-container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.swg-container.narrow {
    width: min(920px, calc(100% - 40px));
}

.swg-container.reading-width,
.reading-width {
    width: min(780px, calc(100% - 40px));
}

.centered {
    text-align: center;
}

.swg-section {
    padding: clamp(72px, 9vw, 124px) 0;
}

.soft-section {
    background: linear-gradient(180deg, rgba(244, 232, 228, 0.68), rgba(251, 246, 241, 0.92));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--swg-rose-deep);
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    background: var(--swg-gold);
}

.centered .eyebrow::after {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    background: var(--swg-gold);
}

.section-heading {
    margin-bottom: 44px;
}

.section-heading h2 {
    max-width: 760px;
    margin-inline: auto;
}

.large-text,
.hero-subtitle {
    color: var(--swg-muted);
    font-size: clamp(1.02rem, 2vw, 1.25rem);
    line-height: 1.85;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 246, 241, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(50, 43, 40, 0.08);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-branding {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.custom-logo-link img,
.custom-logo {
    max-width: 76px;
    max-height: 76px;
    border-radius: 50%;
}

.site-logo-text {
    width: 74px;
    height: 74px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(194, 165, 111, 0.55);
    border-radius: 50%;
    background: var(--swg-white);
    color: var(--swg-ink);
    font-family: var(--swg-serif);
    font-size: 1.08rem;
    line-height: 0.92;
    box-shadow: 0 10px 24px rgba(82, 60, 48, 0.08);
}

.primary-navigation {
    display: flex;
    align-items: center;
}

.primary-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-navigation .menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-navigation .menu > li {
    position: relative;
}

.primary-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 8px 15px;
    border-radius: 999px;
    color: var(--swg-ink);
    font-size: 0.96rem;
    font-weight: 500;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
    color: var(--swg-rose-deep);
    background: rgba(234, 216, 210, 0.62);
}

.primary-navigation .menu-signup > a,
.primary-navigation .menu > li:last-child > a {
    background: var(--swg-ink);
    color: var(--swg-white);
    padding-inline: 20px;
}

.primary-navigation .menu-signup > a:hover,
.primary-navigation .menu > li:last-child > a:hover {
    background: var(--swg-rose-deep);
    color: var(--swg-white);
}

.primary-navigation .sub-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    min-width: 238px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 253, 251, 0.96);
    border: 1px solid var(--swg-border);
    box-shadow: var(--swg-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-navigation .sub-menu a {
    width: 100%;
    border-radius: 14px;
    justify-content: flex-start;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--swg-white);
    box-shadow: 0 8px 24px rgba(82, 60, 48, 0.08);
    cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--swg-ink);
    margin: 4px auto;
    border-radius: 999px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(86px, 10vw, 148px) 0 clamp(80px, 10vw, 132px);
    background:
        radial-gradient(circle at 12% 22%, rgba(228, 230, 216, 0.9), transparent 30%),
        radial-gradient(circle at 85% 12%, rgba(234, 216, 210, 0.82), transparent 32%),
        linear-gradient(135deg, #fffdfb 0%, #fbf6f1 48%, #f4e8e4 100%);
}

.hero-section::before {
    content: "She Walks With God";
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    font-family: var(--swg-serif);
    font-size: clamp(5rem, 18vw, 18rem);
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(36px, 7vw, 86px);
    align-items: center;
}

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

.hero-copy h1 {
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.swg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
    cursor: pointer;
}

.swg-button:hover,
.swg-button:focus-visible {
    transform: translateY(-2px);
}

.swg-button-primary {
    background: var(--swg-ink);
    color: var(--swg-white);
    box-shadow: 0 14px 32px rgba(50, 43, 40, 0.18);
}

.swg-button-primary:hover,
.swg-button-primary:focus-visible {
    background: var(--swg-rose-deep);
    color: var(--swg-white);
}

.swg-button-secondary {
    background: rgba(255, 253, 251, 0.8);
    color: var(--swg-ink);
    border-color: var(--swg-border);
}

.swg-button-secondary:hover,
.swg-button-secondary:focus-visible {
    background: var(--swg-white);
}

.swg-button-light {
    background: var(--swg-white);
    color: var(--swg-ink);
    box-shadow: 0 12px 30px rgba(50, 43, 40, 0.12);
}

.hero-card {
    position: relative;
    min-height: 488px;
    border-radius: 42px;
    padding: 18px;
    background:
        linear-gradient(150deg, rgba(255,255,255,0.9), rgba(234,216,210,0.55)),
        repeating-linear-gradient(90deg, rgba(194,165,111,0.12), rgba(194,165,111,0.12) 1px, transparent 1px, transparent 18px);
    border: 1px solid rgba(255,255,255,0.76);
    box-shadow: var(--swg-shadow);
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(168, 170, 146, 0.22);
}

.hero-card::before {
    width: 160px;
    height: 160px;
    right: -34px;
    top: -28px;
}

.hero-card::after {
    width: 110px;
    height: 110px;
    left: -30px;
    bottom: 38px;
}

.hero-card-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 452px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(26px, 4vw, 44px);
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255,253,251,0.58), rgba(255,253,251,0.94)),
        radial-gradient(circle at 78% 18%, rgba(201,143,132,0.26), transparent 34%);
    border: 1px solid rgba(255,255,255,0.8);
}

.scripture-label {
    color: var(--swg-rose-deep);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-card p {
    font-family: var(--swg-serif);
    font-size: clamp(2.15rem, 4vw, 3.45rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
}

.hero-card small {
    color: var(--swg-muted);
    font-size: 0.98rem;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.5;
}

.hero-orb-one {
    width: 240px;
    height: 240px;
    background: rgba(194, 165, 111, 0.2);
    left: 8%;
    bottom: 8%;
}

.hero-orb-two {
    width: 320px;
    height: 320px;
    background: rgba(201, 143, 132, 0.22);
    right: 10%;
    top: 10%;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.1fr);
    gap: clamp(34px, 7vw, 88px);
    align-items: start;
}

.intro-copy {
    color: var(--swg-muted);
    font-size: 1.05rem;
}

.resource-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.resource-card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.mini-card,
.contact-card,
.signup-card {
    border: 1px solid rgba(50, 43, 40, 0.09);
    border-radius: var(--swg-radius);
    background: rgba(255, 253, 251, 0.82);
    box-shadow: 0 16px 40px rgba(82, 60, 48, 0.08);
}

.feature-card {
    display: block;
    min-height: 260px;
    padding: 32px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--swg-shadow);
    border-color: rgba(201, 143, 132, 0.36);
    color: inherit;
}

.feature-card.tall {
    min-height: 330px;
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--swg-blush-2);
    color: var(--swg-rose-deep);
    font-size: 1.35rem;
    margin-bottom: 24px;
}

.feature-card p,
.mini-card p,
.contact-card p {
    color: var(--swg-muted);
}

.post-list {
    display: grid;
    gap: 34px;
}

.post-list.compact {
    gap: 24px;
}

.post-card-horizontal {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 32px;
    padding: 18px;
    border-radius: 30px;
    background: rgba(255, 253, 251, 0.74);
    border: 1px solid rgba(50, 43, 40, 0.08);
    box-shadow: 0 14px 38px rgba(82, 60, 48, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: var(--swg-shadow);
}

.post-card-image {
    display: block;
    min-height: 220px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--swg-blush-2);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.swg-featured-placeholder {
    width: 100%;
    min-height: 220px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 24px;
    background:
        linear-gradient(145deg, rgba(255,253,251,0.2), rgba(201,143,132,0.3)),
        radial-gradient(circle at 20% 20%, rgba(168,170,146,0.35), transparent 32%),
        linear-gradient(135deg, #f4e8e4, #fffdfb);
}

.swg-featured-placeholder span {
    font-family: var(--swg-serif);
    font-size: 2rem;
    line-height: 1;
    color: var(--swg-ink);
}

.post-card-body {
    align-self: center;
    padding-right: 12px;
}

.post-card-date,
.post-meta {
    color: var(--swg-rose-deep);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.post-card-body h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin-bottom: 12px;
}

.post-card-excerpt {
    color: var(--swg-muted);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--swg-rose-deep);
    font-weight: 700;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 10vw, 132px) 0;
    background:
        radial-gradient(circle at 12% 30%, rgba(228, 230, 216, 0.86), transparent 31%),
        radial-gradient(circle at 88% 18%, rgba(234, 216, 210, 0.78), transparent 36%),
        linear-gradient(135deg, #fffdfb, #fbf6f1 54%, #f4e8e4);
}

.page-hero.small-hero {
    padding: clamp(70px, 8vw, 116px) 0;
}

.page-hero p:not(.eyebrow) {
    max-width: 680px;
    margin-inline: auto;
    color: var(--swg-muted);
    font-size: 1.12rem;
}

.about-grid,
.signup-grid,
.contact-grid,
.book-feature-grid,
.cta-grid {
    display: grid;
    gap: clamp(34px, 7vw, 80px);
    align-items: center;
}

.about-grid {
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

.about-photo-card {
    padding: 18px;
    border-radius: 34px;
    background: rgba(255, 253, 251, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--swg-shadow);
    text-align: center;
}

.photo-placeholder {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background:
        radial-gradient(circle at 30% 20%, rgba(194,165,111,0.22), transparent 26%),
        linear-gradient(150deg, var(--swg-blush-2), var(--swg-white));
    font-family: var(--swg-serif);
    font-size: 8rem;
    color: rgba(50,43,40,0.34);
}

.about-photo-card p {
    font-size: 0.9rem;
    color: var(--swg-muted);
    margin: 16px 0 0;
}

.entry-content {
    font-size: 1.06rem;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 42px;
}

.entry-content a {
    color: var(--swg-rose-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.entry-content blockquote {
    margin: 34px 0;
    padding: 28px;
    border-left: 4px solid var(--swg-rose);
    background: var(--swg-blush-2);
    border-radius: 0 20px 20px 0;
    font-family: var(--swg-serif);
    font-size: 1.6rem;
    line-height: 1.2;
}

.scripture-box {
    padding: clamp(26px, 4vw, 38px);
    margin: 34px 0;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,253,251,0.9), rgba(244,232,228,0.78));
    border: 1px solid rgba(50, 43, 40, 0.08);
    box-shadow: 0 14px 34px rgba(82, 60, 48, 0.07);
}

.scripture-box p {
    font-family: var(--swg-serif);
    font-size: clamp(1.65rem, 3.4vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 18px;
}

.scripture-box span {
    color: var(--swg-rose-deep);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.soft-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.soft-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 16px;
}

.soft-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--swg-rose-deep);
}

.signup-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
}

.signup-card,
.contact-card,
.mini-card {
    padding: clamp(26px, 4vw, 42px);
}

.swg-form {
    display: grid;
    gap: 18px;
}

.swg-form label {
    display: grid;
    gap: 8px;
    color: var(--swg-ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.swg-form input,
.swg-form textarea {
    width: 100%;
    border: 1px solid rgba(50, 43, 40, 0.14);
    border-radius: 18px;
    background: var(--swg-white);
    color: var(--swg-ink);
    padding: 14px 16px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.swg-form input:focus,
.swg-form textarea:focus {
    border-color: var(--swg-rose);
    box-shadow: 0 0 0 4px rgba(201, 143, 132, 0.14);
}

.swg-checkbox {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    font-weight: 500 !important;
    color: var(--swg-muted) !important;
}

.swg-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 5px;
    accent-color: var(--swg-rose-deep);
}

.swg-hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.swg-notice {
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
}

.swg-notice-success {
    background: var(--swg-sage-light);
    color: #4c543e;
}

.swg-notice-error {
    background: #f6ded9;
    color: #8a3f35;
}

.contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
    align-items: start;
}

.contact-aside {
    display: grid;
    gap: 22px;
}

.mini-card ul {
    margin-bottom: 0;
    padding-left: 20px;
    color: var(--swg-muted);
}

.book-feature-grid {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.book-cover-placeholder {
    min-height: 560px;
    border-radius: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px;
    background:
        radial-gradient(circle at 50% 14%, rgba(194,165,111,0.28), transparent 24%),
        linear-gradient(160deg, #f4e8e4, #fffdfb);
    border: 1px solid rgba(50, 43, 40, 0.08);
    box-shadow: var(--swg-shadow);
    text-align: center;
}

.book-cover-placeholder span {
    font-family: var(--swg-serif);
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.book-cover-placeholder small {
    margin-top: 24px;
    color: var(--swg-rose-deep);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cta-band {
    background: linear-gradient(135deg, var(--swg-ink), #5b4941);
    color: var(--swg-white);
}

.cta-band h2,
.cta-band p,
.cta-band .eyebrow {
    color: var(--swg-white);
}

.cta-band .eyebrow::before {
    background: rgba(255, 255, 255, 0.55);
}

.cta-grid {
    grid-template-columns: minmax(0, 1fr) auto;
}

.site-footer {
    padding: 72px 0 30px;
    background: #2e2825;
    color: rgba(255, 253, 251, 0.78);
}

.site-footer h2,
.site-footer h3 {
    color: var(--swg-white);
}

.site-footer h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.45fr) minmax(240px, 0.65fr);
    gap: 42px;
}

.footer-kicker {
    color: var(--swg-gold);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 10px;
}

.site-footer a:hover {
    color: var(--swg-blush);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
    margin-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.single-header,
.archive-header,
.page-header {
    margin-bottom: clamp(40px, 6vw, 68px);
}

.single-featured {
    margin: 0 0 42px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--swg-shadow);
}

.single-featured img {
    width: 100%;
}

.comments-area {
    margin-top: 56px;
    padding-top: 42px;
    border-top: 1px solid var(--swg-border);
}

.empty-state {
    padding: 42px;
    border-radius: 28px;
    background: rgba(255, 253, 251, 0.78);
    border: 1px solid var(--swg-border);
}

.nav-links,
.pagination {
    margin-top: 42px;
    text-align: center;
}

.nav-links a,
.nav-links span,
.page-numbers {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 4px;
    border-radius: 999px;
    background: var(--swg-white);
    border: 1px solid var(--swg-border);
    padding: 8px 12px;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-block;
    }

    .primary-navigation {
        position: fixed;
        inset: 86px 20px auto 20px;
        display: none;
        padding: 14px;
        border-radius: 24px;
        background: rgba(255, 253, 251, 0.98);
        border: 1px solid var(--swg-border);
        box-shadow: var(--swg-shadow);
    }

    body.menu-open .primary-navigation {
        display: block;
    }

    .primary-navigation .menu {
        display: grid;
        gap: 4px;
    }

    .primary-navigation a {
        width: 100%;
        justify-content: space-between;
    }

    .primary-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 0 0 0 14px;
        min-width: auto;
    }

    .hero-grid,
    .intro-grid,
    .about-grid,
    .signup-grid,
    .contact-grid,
    .book-feature-grid,
    .cta-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .resource-card-grid,
    .resource-card-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-card {
        min-height: 380px;
    }

    .hero-card-inner {
        min-height: 344px;
    }

    .cta-grid {
        justify-items: start;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 15px;
    }

    .swg-container,
    .swg-container.narrow,
    .swg-container.reading-width,
    .reading-width {
        width: min(100% - 28px, 1120px);
    }

    .header-inner {
        min-height: 76px;
    }

    .primary-navigation {
        inset: 76px 14px auto 14px;
    }

    h1 {
        font-size: clamp(3rem, 17vw, 5rem);
    }

    h2 {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .hero-section::before {
        display: none;
    }

    .hero-section,
    .page-hero {
        padding-block: 66px;
    }

    .resource-card-grid,
    .resource-card-grid.three {
        grid-template-columns: 1fr;
    }

    .post-card-horizontal {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 14px;
    }

    .post-card-image,
    .post-card-image img,
    .swg-featured-placeholder {
        min-height: 260px;
    }

    .feature-card {
        min-height: auto;
        padding: 28px;
    }

    .photo-placeholder,
    .book-cover-placeholder {
        min-height: 360px;
    }

    .hero-actions {
        display: grid;
    }

    .swg-button {
        width: 100%;
    }
}
