body.xo-design {
    --xo-paper: #faf8f2;
    --xo-surface: #f1eee5;
    --xo-ink: #20231f;
    --xo-muted: #62695c;
    --xo-line: #dedcd1;
    --xo-yellow: #f2cb45;
    --xo-yellow-text: #806417;
    --xo-accent: #806417;
    --xo-tint: #fff7d6;
    --wp--style--global--content-size: 720px;
    --wp--style--global--wide-size: 1120px;
    background: var(--xo-paper);
    color: var(--xo-ink);
    font-family: Manrope, Arial, sans-serif;
}
body.xo-design :where(a) { color: inherit; text-underline-offset: 4px; }
body.xo-design :where(a, button, input):focus-visible { outline: 2px solid var(--xo-yellow-text); outline-offset: 4px; }
body.xo-design :where(h1, h2) { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
body.xo-design .wp-block-post-title { font-family: Georgia, serif; font-weight: 400; line-height: 1.12; }
body.xo-design .wp-site-blocks { padding-top: 0; }
body.xo-design .wp-site-blocks > header { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
body.xo-design .wp-site-blocks > header > .wp-block-group { padding-block: 28px !important; border-bottom: 1px solid var(--xo-line); }
body.xo-design .wp-block-site-title { font-size: 19px; font-weight: 700; }
body.xo-design .wp-block-navigation { font-size: 15px; }
body.xo-design .wp-block-navigation__responsive-container.is-menu-open { background: var(--xo-paper); color: var(--xo-ink); }
body.xo-design main.wp-block-group { margin-top: 48px !important; }
body.xo-design main .wp-block-post-content { font-size: 20px; line-height: 1.7; }
body.xo-design .wp-block-post-content :where(h2) { margin-top: 48px; font-size: clamp(28px, 3.2vw, 38px); }
body.xo-design .wp-block-post-content :where(h3) { font-size: 24px; line-height: 1.35; }
body.xo-design .wp-block-post-content :where(p, ul, ol) { margin-block: 0 24px; }
body.xo-design .wp-block-post-content :where(li) { margin-bottom: 12px; }
body.xo-design .wp-block-post-content :where(a) { text-decoration-color: var(--xo-yellow-text); }
body.xo-design .wp-block-post-content :where(a):hover { color: var(--xo-yellow-text); }
body.xo-design .wp-block-post-content :where(figure) { margin-block: 32px; }
body.xo-design .wp-block-post-content :where(img) { max-width: 100%; height: auto; border-radius: 16px; }
body.xo-design .wp-block-post-content :where(figcaption) { color: var(--xo-muted); font-size: 14px; line-height: 1.5; margin-top: 12px; }
body.xo-design .wp-block-post-content :where(pre, code) { font-family: monospace; font-size: .85em; }
body.xo-design .wp-block-post-content pre { max-width: 100%; overflow-x: auto; padding: 24px; background: var(--xo-surface); border-radius: 8px; }
body.xo-design.single-post .wp-block-post-title { max-width: 900px; font-size: clamp(36px, 4.4vw, 60px); }
body.xo-design.single-post .xo-post-meta { color: var(--xo-muted); padding-bottom: 24px; border-bottom: 1px solid var(--xo-line); font-size: 14px; }
body.xo-design.single-post .wp-block-post-content { margin-top: 32px; }
body.xo-design.single-post .xo-related { border-color: var(--xo-line); background: var(--xo-surface); border-radius: 16px; padding: 32px; }
body.xo-design.single-post .xo-related h2 { font-size: 28px; }
body.xo-design.single-post .wp-block-post-content th { background: var(--xo-tint); color: var(--xo-ink); }
body.xo-design.single-post .wp-block-post-content :where(td, th) { border-color: var(--xo-line); }
body.xo-design .wp-block-post-template > li { border-bottom: 1px solid var(--xo-line); padding-block: 32px; }
body.xo-design .wp-block-post-template .wp-block-post-title { font-size: clamp(27px, 3vw, 38px); }
body.xo-design .wp-block-post-date { color: var(--xo-muted); font-size: 14px; }
body.xo-design .wp-site-blocks > footer { max-width: 1120px; margin: 64px auto 0; padding-inline: 24px; }
body.xo-design .wp-site-blocks > footer > .wp-block-group { border-top: 1px solid var(--xo-line); padding-block: 32px !important; color: var(--xo-muted); font-size: 14px; }
body.xo-design #xo-consent { background: var(--xo-paper); color: var(--xo-ink); border-color: var(--xo-line); border-radius: 16px; font-family: inherit; }
body.xo-design #xo-consent button { background: var(--xo-paper); color: var(--xo-ink); border-color: var(--xo-line); border-radius: 8px; }
body.xo-design #xo-consent #xo-accept { background: var(--xo-yellow); color: var(--xo-ink); border-color: var(--xo-yellow); }
body.xo-design .xo-settings-wrap { font-size: 14px; }

/* The front page uses a wide editorial composition; articles keep a reading column. */
body.xo-design.home main.wp-block-group { max-width: 1120px; margin: 64px auto 0 !important; padding-inline: 24px; }
body.xo-design.home main .alignfull { margin-inline: 0 !important; padding-inline: 0 !important; width: 100%; max-width: 100%; }
body.xo-design.home main > .wp-block-post-content { max-width: none; width: 100%; }
body.xo-design.home .wp-block-post-content > .xo-home { max-width: none !important; }
body.xo-design.home .xo-home :where(section, div, article, p, h1, h2, h3, figure) { box-sizing: border-box; }
body.xo-design.home .xo-home :where(section) { margin: 0 0 80px; }
body.xo-design.home .xo-home :where(h1, h2, h3, p, figure) { margin: 0; }
body.xo-design.home .xo-home-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: center; }
body.xo-design.home .xo-home-hero > * { min-width: 0; }
body.xo-design.home #xo-home-title { font-size: clamp(44px, 5.6vw, 64px); margin: 24px 0; line-height: 1.08; }
body.xo-design .xo-kicker { color: var(--xo-muted); font-size: 12px !important; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
body.xo-design.home .xo-home-intro { max-width: 570px; font-size: 20px; line-height: 1.65; }
body.xo-design .xo-home-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
body.xo-design .xo-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--xo-line); border-radius: 8px; color: var(--xo-ink); font-size: 16px; font-weight: 600; text-decoration: none; transition: background 120ms ease-out; }
body.xo-design .xo-button-primary { background: var(--xo-yellow); border-color: var(--xo-yellow); }
body.xo-design .xo-button:hover { background: var(--xo-tint); color: var(--xo-ink); }
body.xo-design.home .xo-author-photo { padding: 24px; background: var(--xo-surface); border-radius: 16px; transform: rotate(2deg); }
body.xo-design.home .xo-author-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; filter: grayscale(100%); }
body.xo-design.home .xo-author-photo figcaption { margin-top: 16px; font-size: 16px; color: var(--xo-ink); line-height: 1.5; }
body.xo-design.home .xo-author-photo figcaption span { color: var(--xo-muted); font-size: 14px; }
body.xo-design.home .xo-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
body.xo-design.home .xo-home h2 { font-size: clamp(32px, 3.8vw, 40px); margin-top: 12px; }
body.xo-design.home .xo-section-heading > a { font-size: 15px; white-space: nowrap; }
body.xo-design.home .xo-article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
body.xo-design.home .xo-article-card { min-width: 0; padding-top: 24px; border-top: 1px solid var(--xo-line); }
body.xo-design.home .xo-article-card h3 { font-family: Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; margin: 16px 0; }
body.xo-design.home .xo-article-card h3 a { text-decoration: none; }
body.xo-design.home .xo-article-card > p:not(.xo-kicker) { font-size: 17px; line-height: 1.6; color: var(--xo-muted); margin-bottom: 20px; }
body.xo-design.home .xo-card-image { display: block; margin-bottom: 24px; }
body.xo-design.home .xo-card-image img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; }
body.xo-design .xo-category { display: inline-block; background: var(--xo-tint); color: var(--xo-yellow-text); border-radius: 999px; padding: 8px 12px; font-size: 12px; line-height: 1; }
body.xo-design.home .xo-topics { border-top: 1px solid var(--xo-line); padding-top: 40px; }
body.xo-design.home .xo-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
body.xo-design.home .xo-topic-number { display: block; color: var(--xo-yellow-text); font-size: 14px; margin-bottom: 24px; }
body.xo-design.home .xo-topic-grid h3 { font-size: 22px; line-height: 1.3; margin-bottom: 16px; }
body.xo-design.home .xo-topic-grid p { font-size: 17px; line-height: 1.6; color: var(--xo-muted); margin-bottom: 20px; }
body.xo-design.home .xo-topic-grid a { font-size: 15px; }
body.xo-design.home .xo-conversation { padding: 40px; border-radius: 16px; background: var(--xo-surface); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
body.xo-design.home .xo-conversation h2 { font-size: 32px; }
body.xo-design.home .xo-conversation .xo-button { flex-shrink: 0; }

@media (max-width: 760px) {
    body.xo-design main.wp-block-group { margin-top: 32px !important; }
    body.xo-design main .wp-block-post-content { font-size: 18px; }
    body.xo-design.single-post .wp-block-post-title { font-size: 38px; }
    body.xo-design.home main.wp-block-group { margin-top: 32px !important; padding-inline: 20px; }
    body.xo-design.home .xo-home-hero { grid-template-columns: 1fr; gap: 32px; }
    body.xo-design.home #xo-home-title { font-size: 48px; }
    body.xo-design.home .xo-author-photo { width: min(100%, 320px); transform: none; padding: 20px; }
    body.xo-design.home .xo-article-grid, body.xo-design.home .xo-topic-grid { grid-template-columns: 1fr; gap: 32px; }
    body.xo-design.home .xo-section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    body.xo-design.home .xo-home :where(section) { margin-bottom: 48px; }
    body.xo-design.home .xo-conversation { flex-direction: column; align-items: flex-start; padding: 24px; }
    body.xo-design.home .xo-conversation h2 { font-size: 28px; }
    body.xo-design.home .xo-article-card h3 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    body.xo-design .xo-button { transition: none; }
}
