:root {
    --pc-ivory: #f6f1e7;
    --pc-paper: #fffdf8;
    --pc-wine: #6b1f2c;
    --pc-wine-dark: #42131c;
    --pc-gold: #b38a45;
    --pc-ink: #201d1a;
    --pc-muted: #6d665e;
    --pc-sage: #717865;
    --pc-line: rgba(72, 45, 34, 0.14);
    --pc-shadow: 0 18px 50px rgba(55, 35, 29, 0.09);
}

body {
    background: #fbfaf7;
    color: var(--pc-ink);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.72;
}

h1,
h2,
h3,
h4,
.site-title {
    color: var(--pc-ink);
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.025em;
    line-height: 1.14;
}

body.page .hero-section {
    display: none;
}

a {
    color: var(--pc-wine);
}

[data-header*="type-1"] .ct-header [data-id="middle-row"] {
    background: rgba(255, 253, 248, 0.96);
    border-bottom: 1px solid var(--pc-line);
    backdrop-filter: blur(14px);
}

.site-title {
    font-weight: 700;
}

.pc-home-hero,
.pc-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 0;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(201, 161, 86, 0.38), transparent 30%),
        radial-gradient(circle at 12% 80%, rgba(255, 255, 255, 0.11), transparent 24%),
        linear-gradient(135deg, var(--pc-wine-dark), var(--pc-wine) 58%, #8b3440);
}

.pc-home-hero::after,
.pc-page-hero::after {
    content: "✠";
    position: absolute;
    z-index: -1;
    top: 50%;
    right: max(4vw, 2rem);
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: clamp(11rem, 24vw, 24rem);
    line-height: 1;
}

.pc-home-hero {
    min-height: 580px;
    padding: clamp(6rem, 11vw, 9rem) max(5vw, 1.5rem);
}

.pc-page-hero {
    padding: clamp(4.5rem, 8vw, 7rem) max(5vw, 1.5rem);
}

.pc-home-hero > *,
.pc-page-hero > * {
    max-width: 860px;
}

.pc-home-hero h1,
.pc-page-hero h1 {
    max-width: 900px;
    margin: 0.2em 0 0.35em;
    color: #fff;
    font-size: clamp(3.25rem, 7.4vw, 6.6rem);
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 700 !important;
}

.pc-page-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.pc-lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.1rem, 2.1vw, 1.4rem);
}

.pc-kicker,
.pc-card-label {
    margin-bottom: 0.6rem;
    color: var(--pc-gold);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pc-home-hero .pc-kicker,
.pc-page-hero .pc-kicker {
    color: #e3c58e;
}

.pc-home-hero .wp-block-buttons {
    margin-top: 2rem;
}

.wp-block-button__link {
    border-radius: 999px !important;
    padding: 0.9rem 1.5rem !important;
    font-weight: 750;
}

.pc-button-primary .wp-block-button__link {
    color: var(--pc-wine-dark) !important;
    background: #f0cf91 !important;
}

.pc-home-hero .is-style-outline .wp-block-button__link {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
}

.pc-section,
.pc-prose,
.pc-about-strip,
.pc-callout {
    padding-top: clamp(3rem, 6vw, 5.5rem);
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.pc-section > h2,
.pc-latest-band > h2,
.pc-about-strip > h2 {
    margin-top: 0;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.pc-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 0;
}

.pc-card-grid > .wp-block-column {
    margin: 0 !important;
}

.pc-card,
.pc-post-card,
.pc-daily-card,
.pc-homily-card {
    height: 100%;
    padding: clamp(1.45rem, 3vw, 2.15rem);
    border: 1px solid var(--pc-line);
    border-radius: 20px;
    background: var(--pc-paper);
    box-shadow: var(--pc-shadow);
}

.pc-card {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(107, 31, 44, 0.28);
    box-shadow: 0 24px 55px rgba(55, 35, 29, 0.14);
}

.pc-card h2,
.pc-post-card h3,
.pc-homily-card h3 {
    margin: 0.2rem 0 0.7rem;
}

.pc-card h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.pc-card a,
.pc-post-card a,
.pc-homily-card a {
    text-decoration: none;
}

.pc-card p,
.pc-post-card p,
.pc-homily-card p {
    color: var(--pc-muted);
}

.pc-text-link a {
    color: var(--pc-wine);
    font-weight: 780;
}

.pc-today {
    position: relative;
    z-index: 3;
    margin-top: -3.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(179, 138, 69, 0.26);
    border-radius: 24px;
    background: #fffdf9;
    box-shadow: 0 24px 60px rgba(49, 28, 25, 0.16);
}

.pc-today-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.pc-daily-card,
.pc-homily-card {
    box-shadow: none;
}

.pc-daily-card blockquote {
    margin: 1rem 0;
    color: var(--pc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.4rem, 2.8vw, 2.05rem);
    line-height: 1.35;
}

.pc-source {
    color: var(--pc-gold) !important;
    font-weight: 800;
}

.pc-latest-band {
    margin-top: clamp(3rem, 6vw, 6rem);
    padding: clamp(4rem, 7vw, 7rem) max(5vw, 1.5rem);
    background: var(--pc-ivory);
}

.pc-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.pc-post-card h3 {
    font-size: 1.5rem;
}

.pc-about-strip {
    max-width: 880px !important;
}

.pc-about-strip p:not(.pc-kicker) {
    color: var(--pc-muted);
    font-size: 1.15rem;
}

.pc-callout {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-right: clamp(1.5rem, 4vw, 3rem);
    padding-left: clamp(1.5rem, 4vw, 3rem);
    border-left: 5px solid var(--pc-gold);
    background: var(--pc-ivory);
}

.pc-prose {
    max-width: 820px !important;
}

.pc-prose p,
.entry-content > p,
.entry-content > ul,
.entry-content > ol {
    font-size: 1.08rem;
}

.pc-article-lead {
    color: var(--pc-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.6vw, 1.75rem) !important;
    line-height: 1.5;
}

.entry-content h2 {
    margin-top: 2.25em;
}

.ct-footer {
    margin-top: 4rem;
}

[data-footer*="type-1"] .ct-footer [data-row*="middle"] {
    color: rgba(255, 255, 255, 0.76);
    background: var(--pc-wine-dark);
}

@media (max-width: 980px) {
    .pc-card-grid,
    .pc-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 690px) {
    .pc-home-hero {
        min-height: 520px;
        padding-top: 5.5rem;
        padding-bottom: 6.5rem;
    }

    .pc-home-hero h1,
    .pc-page-hero h1 {
        font-size: clamp(2.65rem, 13vw, 4.3rem);
    }

    .pc-card-grid,
    .pc-post-grid,
    .pc-today-grid {
        grid-template-columns: 1fr;
    }

    .pc-today {
        margin-right: 0.85rem;
        margin-left: 0.85rem;
    }

    .pc-home-hero::after,
    .pc-page-hero::after {
        right: -2rem;
        font-size: 13rem;
    }
}
