:root {
    color-scheme: light;
    --bg: #f7f4fb;
    --bg-elevated: rgba(255, 255, 255, 0.72);
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --surface-muted: #f2eef9;
    --surface-accent: rgba(124, 87, 255, 0.1);
    --text: #18111f;
    --text-soft: #5e5868;
    --text-faint: #867f92;
    --border: rgba(34, 18, 56, 0.08);
    --border-strong: rgba(34, 18, 56, 0.14);
    --accent: #8d61ff;
    --accent-strong: #6e45ea;
    --accent-soft: #f0e9ff;
    --success: #49a36d;
    --danger: #d46b8e;
    --shadow-soft: 0 22px 70px rgba(35, 18, 60, 0.08);
    --shadow-card: 0 14px 38px rgba(29, 14, 46, 0.09);
    --shadow-float: 0 24px 90px rgba(51, 30, 87, 0.16);
    --radius-2xl: 34px;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --space-2xs: 0.375rem;
    --space-xs: 0.75rem;
    --space-sm: 1rem;
    --space-md: 1.25rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3.5rem;
    --container: 1180px;
    --content: 760px;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #17191c;
    --bg-elevated: rgba(27, 30, 34, 0.78);
    --surface: rgba(34, 37, 42, 0.9);
    --surface-strong: #23272c;
    --surface-muted: rgba(255, 255, 255, 0.04);
    --surface-accent: rgba(136, 156, 255, 0.12);
    --text: #f3f5f7;
    --text-soft: #c6cbd2;
    --text-faint: #9097a1;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --accent: #8fa2ff;
    --accent-strong: #6f84eb;
    --accent-soft: rgba(143, 162, 255, 0.12);
    --success: #64b887;
    --danger: #ed8eaa;
    --shadow-soft: 0 22px 80px rgba(0, 0, 0, 0.34);
    --shadow-card: 0 18px 46px rgba(0, 0, 0, 0.28);
    --shadow-float: 0 28px 100px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.momsy-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(132, 146, 198, 0.14), transparent 24%),
        radial-gradient(circle at top right, rgba(113, 131, 170, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 22%),
        var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: none;
}

svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    overflow: visible;
}

@keyframes momsy-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.75rem;
    color: var(--text);
    font-family: "Poppins", "Avenir Next", sans-serif;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

p {
    margin: 0 0 1rem;
    color: var(--text-soft);
}

ul,
ol {
    padding-left: 1.25rem;
}

::selection {
    background: rgba(111, 132, 235, 0.22);
}

:focus-visible {
    outline: 3px solid rgba(111, 132, 235, 0.32);
    outline-offset: 3px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    margin: 1rem;
    padding: 0.75rem 1rem;
    z-index: 999;
    overflow: visible;
    border-radius: 999px;
    background: var(--surface-strong);
    box-shadow: var(--shadow-card);
}

.container {
    width: min(calc(100% - 1.5rem), var(--container));
    margin-inline: auto;
}

.section-space {
    padding-block: 1.25rem 0.25rem;
}

.momsy-app-shell,
.single-shell,
.archive-shell,
.page-shell,
.not-found-shell {
    padding-bottom: clamp(2rem, 4vw, 4rem);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    padding-top: 0.875rem;
}

.glass-header {
    backdrop-filter: blur(18px);
}

.header-panel,
.hero-copy,
.hero-card,
.story-card,
.page-card,
.empty-card,
.article-hero__surface,
.article-content-card,
.article-stats-card,
.author-box,
.related-posts-box,
.aside-card,
.comments-shell,
.comment-body,
.community-card,
.home-panel,
.site-footer {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.header-panel,
.hero-copy,
.hero-card,
.story-card,
.page-card,
.empty-card,
.article-hero__surface,
.article-content-card,
.article-stats-card,
.author-box,
.related-posts-box,
.aside-card,
.comments-shell,
.comment-body,
.community-card,
.home-panel {
    border-radius: var(--radius-2xl);
}

.header-panel {
    padding: 0.875rem;
    background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
}

.site-header.is-scrolled .header-panel {
    box-shadow: var(--shadow-float);
}

.header-row,
.section-header,
.story-card__footer,
.article-topbar,
.article-author-row,
.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-row {
    min-height: 3.5rem;
}

.brand-cluster {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark,
.brand-mark--logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    font-weight: 700;
    font-family: "Poppins", sans-serif;
}

.brand-mark--logo .custom-logo {
    max-height: 2.25rem;
    width: auto;
}

.brand-badge,
.icon-button,
.status-pill,
.feature-pill,
.community-card__icon,
.mobile-action-bar__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-badge {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1.125rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    box-shadow: var(--shadow-card);
}

.brand-name {
    font-size: 1rem;
}

.brand-pill,
.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2rem;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    background: var(--surface-accent);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 0.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.icon-button {
    width: 3rem;
    height: 3rem;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    color: var(--text);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.icon-button:hover {
    transform: translateY(-1px);
}

.icon-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    line-height: 0;
    flex-shrink: 0;
}

.theme-toggle .icon-button__icon--moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-button__icon--sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-button__icon--moon {
    display: inline-flex;
}

.site-nav {
    display: none;
    padding-top: 0.875rem;
}

.site-nav.is-open {
    display: block;
}

.nav-list,
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a,
.footer-nav a,
.pill-nav a,
.inline-link {
    color: var(--text-soft);
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-list a,
.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.875rem;
    padding: 0.625rem 0.95rem;
    border-radius: 1rem;
}

.nav-list a:hover,
.footer-nav a:hover,
.pill-nav a:hover,
.inline-link:hover {
    color: var(--text);
}

.current-menu-item > a,
.current_page_item > a {
    background: var(--surface-strong);
    color: var(--text);
    border: 1px solid var(--border);
}

.home-hero {
    display: grid;
    gap: 1rem;
    padding-top: 1rem;
}

.hero-copy {
    padding: clamp(1.5rem, 5vw, 2.6rem);
    background:
        radial-gradient(circle at top right, rgba(166, 126, 255, 0.22), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 178, 213, 0.15), transparent 32%),
        var(--surface);
}

.hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 8vw, 4.75rem);
}

.hero-copy p {
    max-width: 52ch;
    font-size: clamp(1rem, 2.8vw, 1.1rem);
}

.hero-highlights,
.hero-actions,
.hero-card__meta,
.meta-cluster,
.post-stats,
.article-meta-line,
.article-status-group,
.article-stats-card,
.aside-actions,
.article-author-row,
.author-box__meta,
.community-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.feature-pill {
    gap: 0.5rem;
    min-height: 2.625rem;
    padding: 0.625rem 1rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-pill svg {
    color: var(--accent);
}

.button-primary,
.button-secondary,
.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.125rem;
    padding: 0 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.button-primary,
.comment-form .submit {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 18px 36px rgba(118, 80, 240, 0.26);
}

.button-secondary {
    color: var(--text);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.button-primary:hover,
.button-secondary:hover,
.comment-form .submit:hover {
    transform: translateY(-1px);
}

.hero-card {
    overflow: hidden;
}

.hero-card__media,
.story-card__image,
.mini-post__media {
    display: block;
}

.hero-card__media img,
.story-card__image img,
.article-cover img,
.mini-post__media img {
    width: 100%;
    object-fit: cover;
}

.hero-card__media img,
.article-cover img {
    aspect-ratio: 16 / 12;
}

.story-card__image img {
    aspect-ratio: 16 / 11;
}

.mini-post__media img {
    aspect-ratio: 1 / 1;
}

.hero-card__body,
.story-card__content,
.home-panel,
.comments-shell,
.aside-card,
.author-box,
.related-posts-box,
.page-card,
.empty-card {
    padding: 1.25rem;
}

.hero-card__body h2,
.story-card__title,
.article-title,
.page-intro h1,
.page-intro--compact h1 {
    font-size: clamp(1.35rem, 4vw, 2rem);
}

.story-grid {
    display: grid;
    gap: 1rem;
}

.story-card {
    overflow: hidden;
    height: 100%;
}

.story-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.story-card__footer {
    margin-top: auto;
    align-items: flex-end;
}

.author-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.author-inline img {
    border-radius: 50%;
}

.author-inline__copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.author-inline__copy strong,
.comment-author-name {
    color: var(--text);
    font-size: 0.96rem;
}

.author-inline__copy span,
.author-inline__copy time,
.comment-date {
    color: var(--text-faint);
    font-size: 0.86rem;
}

.author-inline--feature {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
}

.author-inline--compact {
    gap: 0.625rem;
}

.category-badge,
.meta-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-muted);
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
}

.category-badge {
    color: var(--accent);
    background: color-mix(in srgb, var(--surface-accent) 86%, transparent);
}

.category-badge__hash {
    font-weight: 800;
}

.meta-pill__icon,
.mobile-action-bar__icon,
.back-chip__icon,
.community-card__icon,
.icon-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex: 0 0 auto;
}

.meta-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
    flex: 0 0 auto;
    white-space: nowrap;
}

.meta-pill__icon svg,
.meta-inline svg,
.community-card__icon svg,
.back-chip__icon svg,
.icon-button__icon svg,
.mobile-action-bar__icon svg {
    display: block;
    width: 1.14rem;
    height: 1.14rem;
    overflow: visible;
    flex: 0 0 auto;
}

.meta-inline__icon {
    display: inline-grid;
    place-items: center;
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 1.1rem;
    line-height: 0;
}

.meta-pill__icon {
    width: 1.1rem;
    height: 1.1rem;
}

.back-chip__icon,
.community-card__icon,
.app-search__button,
.floating-circle {
    line-height: 0;
}

.meta-pill--stat,
.meta-pill--action,
.meta-pill--ghost {
    background: var(--surface-strong);
}

.meta-pill--stat {
    color: var(--text);
}

.meta-pill__value {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.meta-pill__label {
    display: inline-flex;
    align-items: center;
    color: var(--text-faint);
    line-height: 1;
}

.meta-pill--action {
    cursor: pointer;
}

.meta-pill--action[aria-pressed="true"] {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(141, 97, 255, 0.26);
}

.mobile-action-bar__item[aria-pressed="true"] {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(141, 97, 255, 0.26);
}

.meta-pill--ghost {
    background: transparent;
}

.meta-inline {
    color: var(--text-soft);
    font-weight: 600;
}

.meta-inline time {
    color: inherit;
}

.pill-nav ul {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    list-style: none;
    margin: 0;
    padding: 0 0 0.25rem;
    scrollbar-width: none;
}

.pill-nav ul::-webkit-scrollbar {
    display: none;
}

.pill-nav a {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    min-height: 3rem;
    padding: 0 1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.section-header {
    margin-bottom: 1rem;
}

.section-header--stack {
    align-items: flex-start;
}

.section-header--stack p {
    max-width: 42ch;
    margin-bottom: 0;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.875rem;
}

.home-columns,
.article-layout {
    display: grid;
    gap: 1rem;
}

.community-list {
    align-items: stretch;
}

.community-card {
    flex: 1 1 100%;
    min-width: 0;
    padding: 1rem;
    border-radius: var(--radius-xl);
    background: var(--surface-strong);
}

.community-card h3 {
    font-size: 1rem;
}

.community-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.75rem;
    border-radius: 1rem;
    background: var(--surface-accent);
    color: var(--accent);
}

.page-intro {
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
}

.page-intro--compact {
    margin-bottom: 1.25rem;
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.page-intro__description p:last-child {
    margin-bottom: 0;
}

.article-hero {
    padding-top: 0;
}

.article-discussion {
    margin-top: 1rem;
}

.article-hero__surface {
    padding: clamp(1.25rem, 4vw, 2rem);
    background:
        radial-gradient(circle at top right, rgba(160, 124, 255, 0.2), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        var(--surface);
}

.article-status-group {
    justify-content: flex-end;
}

.back-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 2.875rem;
    padding: 0 1rem;
    border-radius: 999px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    font-weight: 600;
}

.status-pill {
    min-height: 2.25rem;
    background: var(--surface-accent);
    color: var(--accent);
}

.article-meta-line {
    margin-bottom: 1rem;
}

.article-title {
    font-size: clamp(2.25rem, 8vw, 4.35rem);
    max-width: 12ch;
}

.article-lead {
    max-width: 55ch;
    font-size: clamp(1.04rem, 2.8vw, 1.2rem);
}

.article-author-row {
    align-items: stretch;
    margin-top: 1rem;
}

.article-cover {
    margin: 1.5rem 0 1.25rem;
    overflow: hidden;
    border-radius: calc(var(--radius-2xl) + 0.25rem);
}

.article-stats-card {
    gap: 0.625rem;
    align-items: stretch;
    padding: 1rem;
    background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
}

.article-main {
    min-width: 0;
}

.article-content-card {
    padding: clamp(1.25rem, 4vw, 2rem);
    max-width: none;
}

.article-content-card > *:last-child,
.page-content > *:last-child {
    margin-bottom: 0;
}

.article-content-card p,
.page-content p,
.article-content-card li,
.page-content li {
    font-size: clamp(1.03rem, 2.9vw, 1.14rem);
    color: var(--text-soft);
    line-height: 1.88;
}

.article-content-card p,
.page-content p {
    margin-bottom: 1.35rem;
}

.article-content-card ul,
.article-content-card ol,
.page-content ul,
.page-content ol {
    margin: 0 0 1.4rem;
}

.article-content-card a,
.page-content a {
    color: var(--accent-strong);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.article-content-card h2,
.page-content h2 {
    margin-top: 2.8rem;
    margin-bottom: 1rem;
    font-size: clamp(1.55rem, 4vw, 2.05rem);
    line-height: 1.12;
}

.article-content-card h3,
.page-content h3 {
    margin-top: 2.1rem;
    margin-bottom: 0.85rem;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    line-height: 1.16;
}

.article-content-card img,
.page-content img,
.article-content-card iframe {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.article-content-card figure,
.page-content figure {
    margin: 1.8rem 0;
}

.article-content-card blockquote,
.page-content blockquote {
    margin: 2rem 0;
    padding: 1.35rem 1.45rem;
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
    color: var(--text);
}

.article-content-card table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
}

.article-content-card th,
.article-content-card td,
.page-content th,
.page-content td {
    padding: 0.875rem;
    border-bottom: 1px solid var(--border);
}

.post-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    align-items: center;
    margin-top: 2rem;
}

.post-page-nav__label {
    font-weight: 700;
    color: var(--text);
}

.post-page-nav .post-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0 0.875rem;
    border-radius: 999px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
}

.article-aside {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.aside-card h2 {
    font-size: 1.2rem;
}

.comments-shell {
    padding: clamp(1.25rem, 4vw, 1.75rem);
}

.comment-list {
    display: grid;
    gap: 0.875rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.comment-card {
    margin: 0;
}

.comment-body {
    padding: 1rem;
    border-radius: var(--radius-xl);
    background: var(--surface-strong);
}

.comment-meta {
    margin-bottom: 0.75rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-awaiting-moderation,
.comment-notes,
.comments-closed {
    color: var(--text-faint);
}

.comment-footer {
    margin-top: 0.875rem;
}

.comment-reply-link-wrapper a {
    display: inline-flex;
    align-items: center;
    min-height: 2.375rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--accent-strong);
    font-weight: 700;
}

.comment-form-shell {
    margin-top: 1rem;
}

.comment-reply-title {
    margin-bottom: 0.75rem;
}

.momsy-comment-form {
    display: grid;
    gap: 0.875rem;
}

.momsy-comment-form label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--text);
    font-weight: 600;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.comment-form-cookies-consent input {
    margin-top: 0.25rem;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    min-height: 3.25rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-strong);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.comment-form textarea {
    min-height: 9rem;
    resize: vertical;
}

.comment-form .submit {
    justify-self: start;
}

.pagination-shell {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    margin: 0 0.25rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.page-numbers.current {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-color: transparent;
    color: #fff;
}

.mini-post-list {
    display: grid;
    gap: 0.875rem;
}

.mini-post {
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr);
    gap: 0.875rem;
    padding: 0.875rem;
    border-radius: var(--radius-xl);
    background: var(--surface-strong);
    border: 1px solid var(--border);
}

.mini-post__media {
    overflow: hidden;
    border-radius: 1.05rem;
}

.mini-post__content {
    display: grid;
    gap: 0.625rem;
    min-width: 0;
}

.empty-card {
    display: grid;
    gap: 0.75rem;
}

.empty-card--centered {
    max-width: 36rem;
    margin-inline: auto;
    text-align: center;
    justify-items: center;
}

.media-placeholder {
    display: grid;
    place-items: center;
    min-height: 14rem;
    background:
        radial-gradient(circle at top right, rgba(166, 126, 255, 0.25), transparent 35%),
        linear-gradient(135deg, color-mix(in srgb, var(--surface-muted) 76%, transparent), var(--surface-strong));
    color: var(--accent);
}

.media-placeholder--mini {
    min-height: 100%;
}

.media-placeholder--hero {
    min-height: 20rem;
}

.site-footer {
    margin-top: 1.75rem;
    padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.footer-shell {
    flex-direction: column;
    align-items: flex-start;
}

.footer-copy {
    max-width: 36rem;
}

.footer-copy h2 {
    margin-top: 0.4rem;
    font-size: clamp(1.6rem, 4vw, 2.15rem);
}

.footer-meta p {
    margin-bottom: 0;
    color: var(--text-faint);
}

.mobile-action-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.8rem 0.9rem calc(0.8rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(24px);
    --scroll-progress: 0;
}

.mobile-action-bar::before,
.mobile-action-bar::after {
    content: "";
    position: absolute;
    inset-inline: 0.9rem;
    top: 0;
    height: 3px;
    border-radius: 999px;
    pointer-events: none;
}

.mobile-action-bar::before {
    background: color-mix(in srgb, var(--border-strong) 78%, transparent);
}

.mobile-action-bar::after {
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    transform: scaleX(var(--scroll-progress));
    transform-origin: left center;
    transition: transform 0.22s ease;
}

.mobile-action-bar__item {
    display: grid;
    place-items: center;
    gap: 0.45rem;
    min-height: 3.35rem;
    padding: 0;
    border-radius: 1.25rem;
    background: color-mix(in srgb, var(--surface-strong) 98%, transparent);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    line-height: 1;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
}

.single-post {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

.home-panel--community,
.home-panel--popular,
.page-card {
    display: grid;
    gap: 1rem;
}

.app-dashboard {
    padding-top: 1rem;
}

.app-shell {
    display: grid;
    gap: 1.25rem;
    padding: clamp(1.25rem, 4vw, 1.75rem);
    border-radius: calc(var(--radius-2xl) + 0.4rem);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 24%),
        color-mix(in srgb, var(--surface-strong) 94%, transparent);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-float);
}

.app-shell__top,
.dashboard-section__head,
.article-topbar--overlay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-section__head {
    flex-wrap: wrap;
}

.app-shell__copy h1 {
    max-width: 10ch;
    margin-bottom: 0;
    font-size: clamp(2rem, 8vw, 3.4rem);
}

.app-greeting {
    display: inline-flex;
    margin-bottom: 0.4rem;
    color: var(--text-faint);
    font-size: 0.9rem;
    font-weight: 600;
}

.app-shell__intro {
    max-width: 46ch;
    margin-bottom: 0;
}

.app-avatar {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow-card);
}

.app-avatar,
.app-avatar img {
    display: grid;
    place-items: center;
}

.app-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.45rem 0.5rem 0.45rem 1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.app-search input {
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text);
}

.app-search input::placeholder {
    color: var(--text-faint);
}

.app-search__button {
    width: 2.875rem;
    height: 2.875rem;
    border-radius: 50%;
    background: var(--surface-muted);
    color: var(--accent-strong);
    cursor: pointer;
}

.dashboard-section {
    display: grid;
    gap: 0.875rem;
}

.dashboard-section--spotlight {
    gap: 1rem;
}

.dashboard-section__head h2 {
    margin-bottom: 0;
    font-size: clamp(1.25rem, 4vw, 1.55rem);
}

.feature-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(16.5rem, 74vw);
    gap: 0.875rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.feature-scroll::-webkit-scrollbar {
    display: none;
}

.spotlight-card {
    display: grid;
    overflow: hidden;
    border-radius: calc(var(--radius-2xl) + 0.2rem);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-float);
}

.spotlight-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 18rem;
}

.spotlight-card__media img,
.spotlight-card__overlay {
    width: 100%;
    height: 100%;
}

.spotlight-card__media img {
    min-height: 18rem;
    object-fit: cover;
}

.spotlight-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.02), rgba(10, 10, 10, 0.48));
}

.spotlight-card__body {
    display: grid;
    gap: 0.9rem;
    padding: 1.25rem;
}

.spotlight-card__body h3 {
    margin-bottom: 0;
    font-size: clamp(1.35rem, 4vw, 2rem);
}

.spotlight-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tile {
    scroll-snap-align: start;
}

.feature-tile__media {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 13.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.feature-tile__media img,
.media-placeholder--feature {
    width: 100%;
    min-height: 13.5rem;
    height: 100%;
    object-fit: cover;
}

.feature-tile__overlay,
.article-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.06), rgba(10, 10, 10, 0.65));
}

.feature-tile__content {
    position: absolute;
    inset-inline: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: grid;
    gap: 0.55rem;
    color: #fff;
}

.feature-tile__content strong {
    font-size: 1.18rem;
    line-height: 1.18;
}

.feature-tile__meta .category-badge {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.pill-nav--app ul {
    gap: 0.6rem;
}

.pill-nav--app a {
    background: var(--surface-strong);
    color: var(--accent-strong);
}

.dashboard-grid {
    display: grid;
    gap: 1rem;
}

.dashboard-panel {
    display: grid;
    gap: 0.875rem;
    padding: 1.1rem;
    border-radius: var(--radius-2xl);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.dashboard-panel:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 18%, var(--border));
    box-shadow: var(--shadow-float);
}

.dashboard-story-list {
    display: grid;
    gap: 0.875rem;
}

.dashboard-story {
    display: grid;
    grid-template-columns: 5.8rem minmax(0, 1fr);
    gap: 0.875rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dashboard-story:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 20%, var(--border));
    box-shadow: var(--shadow-card);
}

.dashboard-story__media {
    overflow: hidden;
    border-radius: 1rem;
}

.dashboard-story__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.dashboard-story__body {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}

.dashboard-story__body h3 {
    margin-bottom: 0;
    font-size: 1rem;
}

.dashboard-story__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.mini-post-list--dashboard .mini-post {
    background: var(--surface-strong);
}

.article-phone-card {
    display: grid;
    gap: 0;
}

.article-cover-panel {
    position: sticky;
    top: 0;
    overflow: hidden;
    width: 100%;
    border-radius: 0 0 calc(var(--radius-2xl) + 0.3rem) calc(var(--radius-2xl) + 0.3rem);
    min-height: clamp(24rem, 96vw, 31rem);
    background: var(--surface-strong);
    box-shadow: var(--shadow-float);
}

.article-topbar--overlay {
    position: absolute;
    inset-inline: 1rem;
    top: 1rem;
    z-index: 3;
}

.back-chip--overlay {
    background: rgba(30, 34, 39, 0.54);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    backdrop-filter: blur(16px);
}

.icon-button--overlay {
    color: #fff;
    width: 3.2rem;
    height: 3.2rem;
    background: rgba(30, 34, 39, 0.54);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.article-cover--app {
    margin: 0;
    border-radius: 0;
}

.article-cover--app img,
.media-placeholder--article {
    width: 100%;
    min-height: clamp(24rem, 96vw, 31rem);
    object-fit: cover;
}

.article-sheet-wrap {
    width: 100%;
}

.article-sheet {
    position: relative;
    z-index: 4;
    margin-top: -1.15rem;
    padding: 1.1rem 1rem 1.5rem;
    border-radius: calc(var(--radius-2xl) + 0.5rem) calc(var(--radius-2xl) + 0.5rem) 0 0;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow:
        0 -18px 46px rgba(0, 0, 0, 0.22),
        var(--shadow-float);
    overflow: hidden;
}

.article-sheet__intro {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.article-sheet__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 1.6rem;
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-title--sheet {
    max-width: 100%;
    margin-bottom: 0;
    text-wrap: balance;
    font-size: clamp(1.28rem, 5.1vw, 2.45rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.article-author-row--sheet {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.author-inline--sheet {
    flex: 1 1 18rem;
    background: var(--surface-muted);
    padding: 0.7rem 0.85rem;
    border-radius: 1.25rem;
    gap: 0.7rem;
}

.author-inline--sheet img {
    width: 2.75rem;
    height: 2.75rem;
}

.author-inline--sheet .author-inline__copy {
    gap: 0.08rem;
}

.author-inline--sheet .author-inline__copy strong {
    font-size: 0.95rem;
}

.author-inline--sheet .author-inline__copy span {
    font-size: 0.82rem;
}

.article-meta-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.45rem 0.85rem;
    font-size: 0.9rem;
}

.article-meta-stack .meta-inline {
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.article-meta-stack .meta-inline__icon {
    width: 1rem;
    height: 1rem;
    flex-basis: 1rem;
}

.article-meta-stack .meta-inline svg {
    width: 1rem;
    height: 1rem;
}

.article-lead--sheet {
    margin-bottom: 1.05rem;
    padding-left: 0.8rem;
    border-left: 2px solid var(--accent);
    font-size: 1rem;
    line-height: 1.72;
}

.article-stats-card--sheet {
    gap: 0.55rem;
    margin-bottom: 0.9rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.article-stats-card--sheet .meta-pill {
    min-height: 2.1rem;
    padding: 0.38rem 0.78rem;
    font-size: 0.82rem;
    border-radius: 999px;
}

.article-stats-card--sheet .meta-pill__value {
    font-size: 0.92rem;
}

.article-stats-card--sheet .meta-pill__label {
    font-size: 0.82rem;
}

.article-content-card--sheet {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.article-content-card--sheet > :where(p, ul, ol, h2, h3, h4, blockquote, table, pre) {
    max-width: 100%;
}

.article-sibling-nav {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.article-sibling-nav__item {
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border-radius: 1.15rem;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-sibling-nav__item:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent) 18%, var(--border));
    box-shadow: var(--shadow-card);
}

.article-sibling-nav__eyebrow {
    color: var(--text-faint);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-sibling-nav__title {
    color: var(--text);
    font-weight: 700;
    line-height: 1.35;
}

.article-sibling-nav__item--next {
    text-align: right;
}

.article-support {
    margin-top: 1rem;
}

.article-support__grid {
    display: grid;
    gap: 1rem;
}

.single-post .site-header {
    display: none;
}

.single-post .single-shell {
    padding-top: 0;
}

.mobile-action-bar--single {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.mobile-action-bar--single .mobile-action-bar__item {
    position: relative;
    min-height: 3.45rem;
    padding: 0;
    border-radius: 1.3rem;
}

.mobile-action-bar--single .mobile-action-bar__icon {
    display: grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    margin: 0 auto;
}

.mobile-action-bar--single .screen-reader-text {
    margin: 0;
}

html.momsy-ui-loading .single-post .article-cover-panel,
html.momsy-ui-loading .single-post .article-sheet {
    position: relative;
    overflow: hidden;
}

html.momsy-ui-loading .single-post .article-cover-panel > *,
html.momsy-ui-loading .single-post .article-sheet > * {
    opacity: 0;
}

html.momsy-ui-loading .single-post .article-cover-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    background:
        linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.12) 40%, transparent 60%) 0 0 / 200% 100%,
        linear-gradient(135deg, color-mix(in srgb, var(--surface-muted) 82%, transparent), var(--surface-strong));
    animation: momsy-shimmer 1.4s linear infinite;
}

html.momsy-ui-loading .single-post .article-sheet::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    background:
        linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.08) 40%, transparent 60%) 0 0 / 200% 100%,
        linear-gradient(var(--surface-muted) 0 0) 1rem 1rem / 7rem 0.85rem no-repeat,
        linear-gradient(var(--surface-muted) 0 0) 1rem 2.45rem / 78% 1.4rem no-repeat,
        linear-gradient(var(--surface-muted) 0 0) 1rem 4.2rem / 62% 1.4rem no-repeat,
        linear-gradient(var(--surface-muted) 0 0) 1rem 6.25rem / calc(100% - 2rem) 4.9rem no-repeat,
        linear-gradient(var(--surface-muted) 0 0) 1rem 11.95rem / 72% 1rem no-repeat,
        linear-gradient(var(--surface-muted) 0 0) 1rem 13.55rem / calc(100% - 2rem) 2.4rem no-repeat,
        linear-gradient(var(--surface-muted) 0 0) 1rem 16.75rem / calc(100% - 2rem) 2.4rem no-repeat,
        var(--surface-strong);
    animation: momsy-shimmer 1.4s linear infinite;
}

@media (min-width: 768px) {
    .container {
        width: min(calc(100% - 2rem), var(--container));
    }

    .site-header {
        padding-top: 1rem;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
        align-items: stretch;
    }

    .app-shell {
        max-width: 72rem;
        margin-inline: auto;
    }

    .feature-scroll {
        grid-auto-columns: minmax(17rem, 21rem);
    }

    .dashboard-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
        align-items: start;
    }

    .article-phone-card {
        width: 100%;
    }

    .article-cover-panel {
        min-height: min(44rem, 88vh);
        border-radius: 0 0 2.75rem 2.75rem;
    }

    .article-cover--app img,
    .media-placeholder--article {
        min-height: min(44rem, 88vh);
    }

    .article-sheet-wrap {
        width: min(calc(100% - 2rem), var(--container));
        margin-inline: auto;
    }

    .article-sheet {
        margin-top: -2rem;
        padding: 1.55rem 1.65rem 1.8rem;
        background: var(--surface-strong);
    }

    .article-title--sheet {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
        line-height: 1.05;
    }

    .article-content-card--sheet > :where(p, ul, ol, h2, h3, h4, blockquote, table, pre) {
        max-width: 68ch;
        margin-inline: auto;
    }

    .article-content-card--sheet > :where(figure, .wp-block-image, .wp-block-gallery, .wp-block-cover, iframe) {
        max-width: 100%;
        margin-inline: auto;
    }

    .article-author-row--sheet {
        flex-wrap: nowrap;
        align-items: center;
    }

    .article-meta-stack {
        justify-content: flex-end;
    }

    .article-sibling-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-support__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 72rem;
        margin-inline: auto;
    }

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

    .home-columns,
    .article-layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    }

    .community-card {
        flex: 1 1 calc(33.333% - 0.75rem);
    }

    .momsy-comment-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comment-form-comment,
    .comment-notes,
    .comment-form-cookies-consent,
    .form-submit,
    .logged-in-as {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1100px) {
    .site-nav {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-list {
        gap: 0.35rem;
    }

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

    .article-layout {
        grid-template-columns: minmax(0, 1.35fr) 22rem;
        align-items: start;
    }

    .article-aside {
        position: sticky;
        top: 6.5rem;
    }

    .mobile-action-bar {
        display: none;
    }

    .single-post {
        padding-bottom: 0;
    }

    .app-shell {
        max-width: 78rem;
    }

    .single-post .site-header {
        display: none;
    }
}

@media (max-width: 1099px) {
    .site-nav {
        border-top: 1px solid var(--border);
        margin-top: 0.875rem;
        padding-top: 0.875rem;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list a {
        min-height: 3rem;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
