.poh-theotokos {
    --theotokos-gold: var(--poh-gold, #ad853f);
    --theotokos-navy: var(--poh-navy, #173c51);
    --theotokos-border: var(--poh-border-light, #dcd4c5);
    margin-block: 2.5rem;
    font-family: var(--poh-font-reading, Georgia, serif);
}
.poh-theotokos section {
    margin-block: 1.75rem;
    scroll-margin-top: 5rem;
}
.poh-theotokos section h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-bottom: .8rem;
}
.poh-theotokos-sets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-block: 1rem;
}
.poh-theotokos-sets a {
    padding: .4rem .75rem;
    border: 1px solid var(--theotokos-border, #dcd4c5);
    border-radius: 4px;
}
.poh-theotokos-sets a[aria-current] {
    background: var(--theotokos-navy);
    color: #fff;
}
.poh-theotokos .poh-theotokos-cards,
.ps-apostle-panel .poh-theotokos-cards {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(min(100%, 10rem),1fr));
    gap: .75rem;
    margin: 0;
    padding: 0;
}
.poh-theotokos-cards li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .7rem;
    text-align: center;
    border: 1px solid var(--theotokos-border, #dcd4c5);
    border-radius: 4px;
}
.poh-theotokos-cards .poh-theotokos-art {
    display: block;
    margin-bottom: .5rem;
}
.poh-theotokos-cards img {
    display: block;
    width: 100%;
    height: clamp(8rem, 23vw, 12rem);
    object-fit: contain;
}

.poh-saint-profile .ps-apostle-panel {
    margin-block: 1.25rem;
}

.poh-saint-profile .poh-theotokos-hero {
    --marian-gold: #e9c884;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: auto 1fr;
    gap: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 6vw, 5rem);
    align-items: start;
    isolation: isolate;
    margin-block: .75rem 2rem;
    padding: clamp(2rem, 6vw, 5rem);
    color: #fff9eb;
    background: radial-gradient(ellipse at 25% 30%, #284763, transparent 65%), #101f35;
    border: 1px solid #b89354;
    outline: 1px solid #d4b371;
    outline-offset: -8px;
    box-shadow: 0 18px 48px -28px #101f35;
}
.poh-theotokos-heading {
    grid-column: 2;
    align-self: end;
}
.poh-saint-profile .poh-theotokos-heading p {
    color: var(--marian-gold);
    font: 600 .8rem/1.5 system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .2em;
    margin-block: 0 .75rem;
}
.poh-saint-profile .poh-theotokos-heading h1 {
    color: inherit;
    font-size: clamp(2.1rem, 5.2vw, 4.5rem) !important;
    line-height: 1.04 !important;
    margin: 0;
    text-wrap: balance;
}
.poh-theotokos-portrait {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
    padding: .5rem;
    border: 3px double #dbb775;
    background: #17263c;
}
.poh-theotokos-portrait .ps-icon-open {
    display: block;
    width: 100%;
}
.poh-saint-profile .poh-theotokos-portrait .ps-icon {
    display: block;
    height: auto;
    max-height: 70vh;
    width: 100%;
    margin: 0 auto;
    object-fit: contain;
}
.poh-theotokos-hymn {
    grid-column: 2;
    max-width: 36rem;
    margin: 0;
    border-top: 1px solid #a38554;
    padding-top: clamp(1rem, 3vw, 1.75rem);
}
.poh-theotokos-hymn blockquote {
    color: inherit;
    border: 0;
    padding: 0;
    margin: 0;
    font: italic clamp(1.13rem, 2.25vw, 1.65rem)/1.5 var(--poh-font-reading, Georgia, serif);
}
.poh-theotokos-hymn blockquote p {
    margin: 0 0 .8em;
    color: inherit;
}
.poh-theotokos-hymn figcaption {
    color: var(--marian-gold);
    font: 600 .78rem/1.5 system-ui, sans-serif;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.poh-saint-profile .poh-theotokos-summary {
    grid-column: 1 / -1;
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
    color: #f3e5cc;
}
.poh-theotokos-hero:not(:has(.poh-theotokos-portrait)) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    justify-items: center;
    text-align: center;
}
.poh-theotokos-dates {
    margin-bottom: 2rem;
}
.ps-theotokos-profile > .ps-hymns {
    margin-block: 2rem;
}
.poh-theotokos section + section {
    border-top: 1px solid var(--theotokos-border);
    padding-top: 1.5rem;
}
@media (max-width: 720px) {
    .poh-saint-profile .poh-theotokos-hero {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        justify-items: center;
        text-align: center;
    }
    .poh-theotokos-heading,
    .poh-theotokos-portrait,
    .poh-theotokos-hymn,
    .poh-theotokos-hero:not(:has(.poh-theotokos-portrait)) > * {
        grid-column: 1;
        grid-row: auto;
    }
    .poh-theotokos-portrait {
        max-width: 19rem;
    }
}
.poh-theotokos-hero:not(:has(.poh-theotokos-portrait)) > * {
    grid-column: 1;
}

.poh-saint-profile .poh-theotokos-hero {
    background:
        radial-gradient(ellipse at 23% 42%, #385579 0%, transparent 53%),
        linear-gradient(145deg, #182b49, #101e36 78%);
    outline-color: #d1af69;
    outline-offset: -6px;
    border: 3px double #d1af69;
}

.poh-theotokos-heading { text-align: center; }
.poh-theotokos-ornament {
    display: block;
    color: var(--marian-gold);
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: .65rem;
}

.poh-theotokos-portrait {
    padding: clamp(.35rem, 1vw, .65rem);
    border: 4px double #d7b77e;
    background: #ad864e;
    box-shadow: 0 14px 36px -10px #050c17;
}
.poh-saint-profile .poh-theotokos-portrait .ps-icon-hint {
    background: #142542;
    color: #fff9eb;
}
.poh-theotokos-hymn {
    text-align: center;
    margin-inline: auto;
}
.poh-theotokos section h3 {
    padding-inline-start: .7rem;
    border-inline-start: 3px solid var(--theotokos-gold);
}
.poh-theotokos section:not(#theotokos-icons) .poh-theotokos-cards li {
    background: #faf5e9;
    padding: .9rem;
}
@media (max-width: 720px) {
    .poh-saint-profile .poh-theotokos-hero {
        margin-inline: -.6rem;
        padding: 1.7rem 1.05rem;
    }
    .poh-theotokos-portrait { max-width: 23rem; }
}
