/*
 * Sacho Satram website stylesheet
 * Organized for easier maintenance.
 * The later homepage rules intentionally override earlier base styles.
 * Responsive rules are grouped in media-query sections near their related styles.
 */

* {
    box-sizing:border-box;
}
:root {
    --wine:#35151f;
    --gold:#d7b16b;
    --cream:#f8f4ec;
    --ink:#2b2323;
    --muted:#7d7069;
}
html {
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}
body {
    margin:0;
    background:#fffdf9;
    color:var(--ink);
    font-family:Arial, "Noto Sans", sans-serif;
}
a {
    color:inherit;
    text-decoration:none;
}
.topline {
    height:30px;
    background:#241018;
    color:#d8c6aa;
    padding:0 7%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:9px;
    letter-spacing:.13em;
}
.site-header {
    height:80px;
    background:#fffdf9;
    border-bottom:1px solid #eee7dd;
    padding:0 7%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    position:sticky;
    top:0;
    z-index:10;
}
.brand, .footer-brand {
    display:flex;
    align-items:center;
    gap:12px;
}
.brand-mark {
    width:42px;
    height:42px;
    border:1px solid var(--gold);
    border-radius:50%;
    display:grid;
    place-items:center;
    font-size:25px;
    color:#b38b48;
}
.brand b, .footer-brand b {
    font:18px Georgia, serif;
    color:var(--wine);
    display:block;
}
.brand small, .footer-brand small {
    display:block;
    font-size:8px;
    letter-spacing:.13em;
    color:#86766c;
    margin-top:4px;
}
.site-header nav {
    display:flex;
    gap:24px;
}
.site-header nav a {
    font-size:11px;
    color:#6f625c;
}
.lang {
    border:1px solid #e7ded1;
    padding:8px;
    color:#a37b3e;
    font-size:12px;
}
.lang select {
    border:0;
    background:transparent;
    font-size:10px;
    max-width:80px;
}
.menu-toggle {
    display:none;
    background:none;
    border:0;
    font-size:24px;
    color:var(--wine);
}
.hero {
    background:radial-gradient(ellipse at 78% 45%,#63303b,#3b1924 45%,#261119 100%);
    color:#fff8ee;
    min-height:560px;
    padding:65px 9% 62px;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    position:relative;
    overflow:hidden;
}
.hero:before {
    content:"";
    position:absolute;
    inset:0;
    background:repeating-linear-gradient(120deg,transparent 0 120px,#ffffff06 121px 122px);
}
.hero-copy {
    position:relative;
    z-index:1;
    align-self:center;
}
.eyebrow, .heading>div>small, .kicker {
    font-size:9px;
    letter-spacing:.2em;
    color:#d8b56f;
    font-weight:bold;
}
.eyebrow span {
    display:inline-block;
    width:25px;
    height:1px;
    background:var(--gold);
    vertical-align:middle;
    margin-right:10px;
}
.hero h1 {
    font:normal clamp(44px,5.4vw,70px)/1.08 Georgia, serif;
    letter-spacing:-.035em;
    margin:22px 0;
}
.hero-copy>p {
    max-width:445px;
    color:#d5c6c1;
    font-size:13px;
    line-height:1.9;
}
.actions {
    display:flex;
    align-items:center;
    gap:22px;
    margin-top:28px;
    flex-wrap:wrap;
}
.btn {
    display:inline-flex;
    align-items:center;
    gap:18px;
    padding:15px 18px;
    font-size:11px;
    font-weight:bold;
}
.gold {
    background:var(--gold);
    color:#301a1d;
}
.btn.text {
    color:#f2e5da;
    padding-left:0;
}
.stats {
    display:flex;
    align-items:center;
    gap:22px;
    margin-top:43px;
}
.stats div {
    display:flex;
    flex-direction:column;
    gap:5px;
}
.stats b {
    font:normal 20px Georgia, serif;
    color:var(--gold);
}
.stats small {
    font-size:9px;
    color:#cbb7b2;
}
.stats i {
    height:27px;
    width:1px;
    background:#76535b;
}
.hero-art {
    min-height:390px;
    display:grid;
    place-items:center;
    position:relative;
}
.hero-art:before {
    content:"";
    position:absolute;
    top:44px;
    width:235px;
    height:235px;
    border:1px solid #d8b56f88;
    border-radius:50%;
    background:repeating-conic-gradient(#d8b56f22 0deg 1deg,transparent 1deg 12deg);
    box-shadow:0 0 60px #d8b56f16;
}
.ring {
    position:absolute;
    top:35px;
    width:285px;
    height:285px;
    border:1px solid #d8b56f50;
    border-radius:50%;
    transform:scaleY(.5) rotate(35deg);
}
.sun {
    position:relative;
    z-index:1;
    color:#e2c17e;
    font-size:140px;
}
.art-caption {
    position:absolute;
    top:275px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
}
.art-caption small {
    font-size:8px;
    letter-spacing:.2em;
    color:var(--gold);
}
.art-caption b {
    font:normal 20px Georgia, serif;
}
.floating {
    position:absolute;
    left:-4px;
    bottom:15px;
    background:#fff9ef;
    color:var(--wine);
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px 16px;
    box-shadow:0 12px 30px #10060a55;
}
.floating>span {
    font-size:25px;
    color:#b78d49;
}
.floating b, .floating small {
    display:block;
}
.floating b {
    font:normal 13px Georgia, serif;
}
.floating small {
    font-size:9px;
    color:#89776d;
    margin-top:4px;
}
.hero-foot {
    position:absolute;
    bottom:20px;
    left:9%;
    display:flex;
    align-items:center;
    gap:12px;
    color:#bba5a2;
    font-size:8px;
    letter-spacing:.15em;
}
.hero-foot span {
    width:45px;
    height:1px;
    background:#8e7075;
}
.section {
    padding:80px 9%;
}
.heading {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:25px;
    margin-bottom:32px;
}
.heading>div>small {
    color:#a27b3c;
}
.heading h2, .legacy h2 {
    font:normal clamp(32px,4vw,46px)/1.15 Georgia, serif;
    letter-spacing:-.02em;
    color:var(--wine);
    margin:13px 0 0;
}
.heading>p {
    max-width:330px;
    color:var(--muted);
    font-size:12px;
    line-height:1.8;
}
.categories {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}
.cat {
    padding:20px 21px;
    min-height:210px;
    color:#fff;
    background:#47202c;
    transition:transform .2s;
}
.cat:hover {
    transform:translateY(-4px);
}
.cat small {
    font-size:8px;
    letter-spacing:.15em;
    opacity:.75;
}
.cat>span {
    display:block;
    font-size:28px;
    color:#e3c582;
    margin:18px 0 11px;
}
.cat>b {
    font:normal 20px Georgia, serif;
}
.cat p {
    font-size:10px;
    line-height:1.7;
    opacity:.8;
    max-width:230px;
}
.cat strong {
    display:block;
    border-top:1px solid #ffffff45;
    padding-top:10px;
    font-size:9px;
    max-width:145px;
}
.c2 {
    background:#75523d;
}
.c3 {
    background:#d7c6a4;
    color:#3d2927;
}
.c4 {
    background:#2c433b;
}
.c5 {
    background:#4d3b62;
}
.c6 {
    background:#5d4434;
}
.legacy {
    background:#32141e;
    color:#fff4e8;
    padding:70px 10%;
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:9%;
    align-items:center;
}
.medallion {
    width:230px;
    height:230px;
    border:1px solid #d8b56f99;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:18px;
    margin:auto;
    position:relative;
}
.medallion:before {
    content:"";
    position:absolute;
    inset:12px;
    border:1px solid #d8b56f55;
    border-radius:50%;
}
.medallion span {
    font-size:76px;
    color:var(--gold);
}
.medallion small {
    font-size:7px;
    letter-spacing:.15em;
    color:#e0c99f;
}
.kicker {
    color:#d8b56f;
}
.legacy h2 {
    color:#fff6eb;
    margin-bottom:18px;
}
.legacy h2 em {
    color:var(--gold);
    font-weight:normal;
}
.legacy p {
    font-size:12px;
    line-height:1.9;
    color:#d0beb9;
    max-width:500px;
}
.outline {
    border:1px solid #98794f;
    color:#fff0dc;
    margin-top:8px;
}
.library {
    background:var(--cream);
}
.search {
    display:flex;
    align-items:center;
    gap:9px;
    border-bottom:1px solid #bcae9e;
    padding-bottom:10px;
    min-width:250px;
    color:#a67e3e;
}
.search span {
    font-size:23px;
}
.search input {
    border:0;
    outline:0;
    background:transparent;
    font-size:11px;
    width:100%;
}
.filters {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:22px;
}
.filters button {
    border:1px solid #dfd4c5;
    background:transparent;
    padding:9px 12px;
    color:#796b62;
    font-size:10px;
    cursor:pointer;
}
.filters button.active, .filters button:hover {
    background:var(--wine);
    color:white;
    border-color:var(--wine);
}
.cards {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}
.item {
    background:#fffdf9;
    padding:9px 9px 14px;
    border:1px solid #eee5da;
    min-width:0;
}
.cover {
    height:150px;
    background:radial-gradient(circle,#78515b,#35151f);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    position:relative;
    overflow:hidden;
    color:#e6c781;
}
.cover:before {
    content:"";
    position:absolute;
    width:125px;
    height:125px;
    border:1px solid #d8b56f70;
    border-radius:50%;
}
.cover span {
    font-size:46px;
    z-index:1;
}
.cover small {
    font-size:7px;
    letter-spacing:.15em;
    z-index:1;
    margin-top:8px;
}
.cover img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.meta {
    display:block;
    color:#a17c41;
    font-size:8px;
    letter-spacing:.1em;
    margin:12px 2px 7px;
}
.item h3 {
    font:normal 17px Georgia, serif;
    color:var(--wine);
    margin:0 2px 7px;
}
.item p {
    font-size:10px;
    line-height:1.6;
    color:#87776e;
    margin:0 2px;
}
.empty {
    grid-column:1/-1;
    padding:30px;
    text-align:center;
    border:1px dashed #d8c9b6;
    background:#fffdf9;
}
.empty>span {
    font-size:35px;
    color:#b58b49;
}
.empty h3 {
    font:normal 23px Georgia, serif;
    color:var(--wine);
}
.empty p {
    font-size:11px;
    color:#7d7069;
}
.ad-slot {
    margin:15px auto 50px;
    width:min(82%,970px);
    min-height:90px;
    border:1px dashed #d9d0c5;
    background:#fcfaf6;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:9px;
    color:#a79b8f;
}
.ad-slot small {
    font-size:8px;
    letter-spacing:.18em;
}
.ad-slot span {
    font-size:10px;
}
footer {
    background:#241018;
    color:#c7b3ab;
    padding:32px 9% 17px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}
.footer-brand b {
    color:#fff1df;
    font-size:16px;
}
.footer-brand small {
    color:#a48d86;
}
.footer-brand .brand-mark {
    flex-shrink:0;
}
footer>p {
    font-size:10px;
    text-align:right;
    align-self:center;
}
.footer-bottom {
    grid-column:1/-1;
    border-top:1px solid #ffffff1c;
    padding-top:14px;
    display:flex;
    justify-content:space-between;
    font-size:8px;
    color:#927a77;
}
.footer-bottom span {
    letter-spacing:.14em;
}
.setup {
    min-height:100vh;
    display:grid;
    place-items:center;
    background:var(--cream);
    padding:20px;
}
.setup-card {
    width:min(100%,430px);
    padding:32px;
    background:#fffdf8;
    border:1px solid #e7dccd;
}
.setup-card h1 {
    font:34px Georgia, serif;
    color:var(--wine);
}
.setup-card label {
    display:block;
    font-size:11px;
    margin:12px 0 5px;
}
.setup-card input {
    width:100%;
    padding:12px;
    border:1px solid #ded3c5;
}
.setup-card form button {
    width:100%;
    margin-top:15px;
}
.setup-card p {
    font-size:12px;
    line-height:1.7;
}
.warning {
    font-size:10px!important;
    color:#918074;
}
.setup-card>a {
    font-size:11px;
    color:#916b34;
}
.error {
    color:#8c2c2c;
}
@media(max-width:950px) {
    .site-header {
        padding:0 4%;
    }
    .site-header nav {
        gap:12px;
    }
    .hero {
        padding-left:6%;
        padding-right:6%;
    }
    .section {
        padding:65px 6%;
    }
    .cards {
        grid-template-columns:repeat(3,1fr);
    }
    .legacy {
        padding:60px 7%;
    }
}
@media(max-width:680px) {
    .topline {
        padding:0 5%;
        font-size:7px;
    }
    .topline span:last-child {
        display:none;
    }
    .site-header {
        height:70px;
        padding:0 5%;
        gap:10px;
    }
    .brand-mark {
        width:35px;
        height:35px;
        font-size:21px;
    }
    .brand b {
        font-size:15px;
    }
    .brand small {
        font-size:6px;
    }
    .menu-toggle {
        display:block;
        margin-left:auto;
    }
    .site-header nav {
        display:none;
        position:absolute;
        top:69px;
        left:0;
        right:0;
        background:#fffdf9;
        padding:20px 6%;
        box-shadow:0 15px 25px #32121c14;
        align-items:flex-start;
        flex-direction:column;
        gap:18px;
    }
    .site-header nav.open {
        display:flex;
    }
    .site-header nav a {
        font-size:13px;
    }
    .lang {
        padding:6px;
    }
    .hero {
        display:block;
        padding:55px 7% 68px;
    }
    .hero h1 {
        font-size:46px;
    }
    .hero-art {
        min-height:330px;
        margin-top:15px;
    }
    .hero-art:before {
        width:200px;
        height:200px;
        top:35px;
    }
    .ring {
        width:245px;
        height:245px;
        top:28px;
    }
    .sun {
        font-size:118px;
    }
    .art-caption {
        top:245px;
    }
    .floating {
        left:0;
        bottom:3px;
    }
    .stats {
        gap:13px;
        margin-top:33px;
    }
    .stats b {
        font-size:17px;
    }
    .stats small {
        font-size:8px;
    }
    .section {
        padding:58px 6%;
    }
    .heading {
        display:block;
    }
    .heading h2, .legacy h2 {
        font-size:35px;
    }
    .heading>p {
        margin-top:13px;
    }
    .search {
        margin-top:20px;
        min-width:0;
        width:100%;
    }
    .categories {
        grid-template-columns:repeat(2,1fr);
        gap:10px;
    }
    .cat {
        padding:16px 14px;
        min-height:205px;
    }
    .cat>b {
        font-size:17px;
    }
    .cat p {
        font-size:9px;
    }
    .legacy {
        display:block;
        padding:50px 7%;
    }
    .medallion {
        width:210px;
        height:210px;
        margin-bottom:30px;
    }
    .medallion span {
        font-size:65px;
    }
    .cards {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }
    .cover {
        height:130px;
    }
    .item h3 {
        font-size:15px;
    }
    .item p {
        font-size:9px;
    }
    .ad-slot {
        width:88%;
        min-height:75px;
        text-align:center;
        padding:10px;
        margin-bottom:35px;
    }
    footer {
        grid-template-columns:1fr;
        padding:28px 6% 16px;
    }
    footer>p {
        text-align:left;
    }
    .footer-bottom {
        gap:10px;
        line-height:1.6;
    }
    .footer-bottom span {
        text-align:right;
    }
}
@media(max-width:390px) {
    .brand small {
        letter-spacing:.07em;
    }
    .hero h1 {
        font-size:40px;
    }
    .actions {
        gap:10px;
    }
    .btn {
        padding:13px;
    }
    .categories {
        grid-template-columns:1fr;
    }
    .cat {
        min-height:185px;
    }
    .cards {
        grid-template-columns:1fr;
    }
    .cover {
        height:170px;
    }
}
/* Sacho Satram heritage homepage refresh */
:root {
    --wine:#3b0714;
    --gold:#dfbd72;
    --cream:#fff8eb;
    --ink:#2a1b18;
    --muted:#7d6b60;
}
body {
    background:#fffaf1;
    font-family:Arial, "Noto Sans", sans-serif;
}
.topline {
    background:#26050d;
    color:#ead4a4;
    padding:0 5%;
    height:28px;
    font-size:9px;
}
.site-header {
    height:78px;
    background:#fffaf1;
    padding:0 5%;
    border-bottom:1px solid #e9d8b8;
}
.brand-mark {
    background:#26050d;
    color:#f0d07c;
    border:1px solid #d5ad55;
    font:700 18px Georgia, serif;
}
.brand b {
    font-size:22px;
    color:#5b101c;
}
.brand small {
    font-size:8px;
}
.site-header nav {
    gap:20px;
}
.site-header nav a {
    font-size:11px;
    font-weight:bold;
    color:#5d2630;
}
.header-tools {
    display:flex;
    align-items:center;
    gap:12px;
}
.lang {
    border:1px solid #e0c98f;
}
.admin-link {
    font-size:10px;
    color:#6a1a25;
    font-weight:bold;
}
.hero-home {
    position:relative;
    width:100%;
    min-height:0;
    height:auto;
    display:block;
    overflow:hidden;
    background:#3b0714;
    color:#fff7e6;
    text-align:center;
}
.hero-banner {
    position:relative;
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    object-fit:contain;
    object-position:center;
}
.hero-shade {
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#26050dbd,#3b071447 45%,#26050da8), linear-gradient(0deg,#2a0614 0%,transparent 48%,#26050d35);
}
.hero-content {
    position:relative;
    z-index:1;
    width:min(850px,90%);
    padding:65px 0 78px;
}
.eyebrow {
    font-size:10px;
    letter-spacing:.18em;
    color:#f5d991;
    text-shadow:0 2px 5px #000;
}
.hero-home h1 {
    font:normal clamp(42px,6.2vw,76px)/1.03 Georgia, serif;
    color:#fff2d0;
    text-shadow:0 4px 15px #26050d;
    margin:19px 0 10px;
}
.hero-home h1 span {
    font-size:.52em;
    display:inline-block;
    margin-top:8px;
    letter-spacing:.01em;
}
.hero-intro {
    font-size:14px;
    line-height:1.8;
    max-width:650px;
    margin:20px auto;
    color:#fff3e0;
    text-shadow:0 2px 5px #20040a;
}
.actions {
    justify-content:center;
}
.btn {
    border-radius:3px;
}
.btn.gold {
    background:linear-gradient(135deg,#f2d58f,#c8973c);
    color:#3c0a15;
    box-shadow:0 5px 18px #1b020b50;
}
.btn.glass {
    border:1px solid #f3d99b;
    color:#fff4dc;
    background:#2b061b66;
}
.hero-keywords {
    font:normal 17px Georgia, serif;
    color:#f3dca9;
    margin-top:28px;
    text-shadow:0 2px 4px #21040a;
}
.hero-keywords i {
    font-style:normal;
    padding:0 9px;
    color:#e8bd64;
}
.hero-bottom-label {
    position:absolute;
    bottom:15px;
    left:0;
    right:0;
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:center;
    font-size:8px;
    letter-spacing:.2em;
    color:#f2d58c;
}
.hero-bottom-label span {
    color:#edc46a;
    font-size:16px;
}
.quick-links {
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:10px;
    padding:0 5%;
    margin:-1px auto 0;
    background:#350714;
}
.quick-card {
    min-height:112px;
    background:linear-gradient(145deg,#fff8e8,#f0dfbd);
    border:1px solid #d4b56f;
    border-radius:5px;
    padding:15px 11px;
    display:flex;
    align-items:center;
    gap:10px;
    position:relative;
    box-shadow:0 5px 15px #1a050b2b;
    transition:transform .2s;
}
.quick-card:hover {
    transform:translateY(-4px);
}
.quick-icon {
    flex-shrink:0;
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    background:#4a0a19;
    color:#edcc7b;
    border-radius:50%;
    font-size:20px;
}
.quick-text b, .quick-text small {
    display:block;
}
.quick-text b {
    font:normal 15px Georgia, serif;
    color:#4a0a19;
}
.quick-text small {
    font-size:9px;
    line-height:1.5;
    color:#7a5e4b;
    margin-top:5px;
}
.quick-arrow {
    position:absolute;
    right:8px;
    top:7px;
    color:#b88b3e;
    font-size:13px;
}
.bio-section {
    display:grid;
    grid-template-columns:.82fr 1.18fr;
    gap:6%;
    align-items:center;
    padding:82px 9%;
    background:linear-gradient(100deg,#fff8e9,#f5ead5);
}
.bio-photo-wrap {
    position:relative;
    padding:10px;
    background:#fff;
    border:1px solid #d9bc78;
    box-shadow:0 12px 30px #3c102015;
    max-width:430px;
    margin:auto;
}
.bio-photo-wrap:before {
    content:"";
    position:absolute;
    inset:4px;
    border:1px solid #e5cf9b;
    pointer-events:none;
}
.bio-photo-wrap img {
    display:block;
    width:100%;
    max-height:510px;
    object-fit:cover;
    object-position:center 23%;
}
.photo-caption {
    display:block;
    text-align:center;
    background:#3b0714;
    color:#eed28b;
    padding:10px 4px;
    font-size:8px;
    letter-spacing:.15em;
}
.section-kicker {
    font-size:9px;
    letter-spacing:.2em;
    color:#9d7025;
    font-weight:bold;
    margin:0 0 12px;
}
.bio-copy h2, .section-heading h2 {
    font:normal clamp(32px,4vw,47px)/1.1 Georgia, serif;
    color:#600e20;
    margin:0 0 12px;
}
.bio-copy h3 {
    font:normal 19px Georgia, serif;
    color:#a4772d;
    margin:0 0 20px;
}
.bio-copy>p:not(.section-kicker) {
    font-size:12px;
    line-height:1.9;
    color:#5d4a3e;
}
.bio-actions {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:22px;
}
.btn.wine {
    background:#4b0919;
    color:#ffe8b6;
}
.btn.light {
    background:#ead3a0;
    color:#4a0b19;
}
.history-note {
    display:block;
    margin-top:18px;
    font-size:9px;
    color:#9c8a78;
    line-height:1.6;
}
.saints-section {
    padding:70px 7%;
    background:#3a0714;
    color:#fff4df;
}
.section-heading {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:25px;
    margin-bottom:28px;
}
.section-heading .section-kicker {
    color:#e4c273;
}
.saints-section .section-heading h2 {
    color:#fff0cb;
}
.section-heading>p {
    max-width:390px;
    font-size:11px;
    line-height:1.8;
    color:#d9bfc0;
}
.saint-cards {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}
.saint-cards article {
    background:#fff5e1;
    color:#4a101b;
    padding:8px 8px 15px;
    text-align:center;
    border:1px solid #d9b968;
    border-radius:4px;
    box-shadow:0 8px 22px #1a020b50;
}
.saint-cards img {
    width:100%;
    height:190px;
    object-fit:cover;
    object-position:center 20%;
    display:block;
    margin-bottom:12px;
}
.saint-cards article:first-child img {
    object-position:20% center;
}
.saint-cards article:nth-child(3) img {
    object-position:58% center;
}
.saint-cards article:nth-child(4) img {
    object-position:90% center;
}
.saint-cards b {
    display:block;
    font:normal 15px Georgia, serif;
    line-height:1.35;
}
.saint-cards small {
    display:block;
    margin-top:7px;
    color:#8a6b43;
    font-size:9px;
}
.featured-saint {
    outline:2px solid #e2bd65;
    outline-offset:2px;
}
.section.library {
    padding:72px 7%;
    background:#fff8eb;
}
.section-heading h2 {
    margin-top:0;
}
.search {
    background:#fffdf7;
    padding:10px 12px;
    border:1px solid #e0d1b5;
    border-radius:3px;
    min-width:260px;
}
.filters button {
    border-radius:20px;
}
.filters button.active, .filters button:hover {
    background:#4b0919;
}
.cards {
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.item {
    border-radius:4px;
    background:#fffdf8;
    border:1px solid #ead9b8;
    box-shadow:0 4px 15px #3a0a1010;
}
.cover {
    background:linear-gradient(135deg,#4b0a1a,#9e6b35);
}
.cover:before {
    border-color:#e7c76e70;
}
.ad-slot {
    border-color:#d7c49f;
    background:#fff9ee;
}
footer {
    background:#26050d;
    padding:35px 7% 18px;
}
.footer-brand .brand-mark {
    background:#fff1cf;
    color:#4b0919;
}
.footer-brand b {
    color:#fff0d0;
}
.footer-bottom {
    border-color:#ffffff25;
}
@media(max-width:1050px) {
    .quick-links {
        grid-template-columns:repeat(3,1fr);
        padding:15px 5%;
    }
    .quick-card {
        min-height:92px;
    }
    .bio-section {
        padding:65px 6%;
    }
    .saint-cards img {
        height:160px;
    }
    .site-header nav {
        gap:12px;
    }
    .brand small {
        letter-spacing:.07em;
    }
}
@media(max-width:700px) {
    .topline {
        padding:0 5%;
        font-size:7px;
    }
    .site-header {
        height:70px;
        padding:0 4%;
    }
    .site-header nav {
        display:none;
        position:absolute;
        top:69px;
        left:0;
        right:0;
        background:#fff8eb;
        padding:20px 6%;
        box-shadow:0 15px 25px #32121c14;
        align-items:flex-start;
        flex-direction:column;
        gap:18px;
    }
    .site-header nav.open {
        display:flex;
    }
    .menu-toggle {
        display:block;
    }
    .header-tools {
        gap:6px;
    }
    .admin-link {
        display:none;
    }
    .brand b {
        font-size:16px;
    }
    .brand small {
        font-size:6px;
    }
    .hero-home {
        width:100%;
        height:auto;
        min-height:0;
    }
    .hero-banner {
        width:100%;
        height:auto;
        object-fit:contain;
        object-position:center;
    }
    .hero-content {
        padding:55px 0 70px;
    }
    .hero-home h1 {
        font-size:48px;
    }
    .hero-home h1 span {
        font-size:.52em;
    }
    .hero-intro {
        font-size:12px;
    }
    .hero-keywords {
        font-size:14px;
        line-height:1.9;
    }
    .hero-keywords i {
        padding:0 4px;
    }
    .quick-links {
        grid-template-columns:repeat(2,minmax(0,1fr));
        padding:12px 4%;
        gap:8px;
    }
    .quick-card {
        min-height:85px;
        padding:12px 9px;
    }
    .quick-icon {
        width:29px;
        height:29px;
        font-size:17px;
    }
    .quick-text b {
        font-size:13px;
    }
    .quick-text small {
        font-size:8px;
    }
    .bio-section {
        grid-template-columns:1fr;
        padding:50px 6%;
        gap:30px;
    }
    .bio-photo-wrap {
        max-width:310px;
    }
    .bio-photo-wrap img {
        max-height:390px;
    }
    .bio-copy h2, .section-heading h2 {
        font-size:35px;
    }
    .saints-section, .section.library {
        padding:50px 5%;
    }
    .section-heading {
        display:block;
    }
    .section-heading>p {
        margin-top:12px;
    }
    .saint-cards {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }
    .saint-cards img {
        height:150px;
    }
    .saint-cards b {
        font-size:13px;
    }
    .cards {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }
    .cover {
        height:130px;
    }
    .item h3 {
        font-size:15px;
    }
    .search {
        margin-top:18px;
        width:100%;
        min-width:0;
    }
    .filters {
        gap:6px;
    }
    .filters button {
        font-size:9px;
        padding:8px 10px;
    }
    footer {
        grid-template-columns:1fr;
        padding:28px 6% 16px;
    }
    footer>p {
        text-align:left;
    }
    .footer-bottom {
        gap:10px;
        line-height:1.6;
    }
    .footer-bottom span {
        text-align:right;
    }
}
@media(max-width:390px) {
    .hero-home h1 {
        font-size:40px;
    }
    .quick-card {
        gap:7px;
    }
    .quick-text b {
        font-size:12px;
    }
    .saint-cards img {
        height:125px;
    }
    .cards {
        grid-template-columns:1fr;
    }
    .cover {
        height:170px;
    }
}

/* Mobile-only banner correction: preserve the full image and natural ratio. */
@media (max-width: 700px) {
    .hero-home {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        overflow: hidden;
    }

    .hero-home .hero-banner {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-width: 100% !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }
}


/* Uniform homepage/library cards: keep every category thumbnail the same size. */
.cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.cards .item {
    min-width: 0;
    overflow: hidden;
}

.cards .cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: none;
    overflow: hidden;
}

.cards .cover img,
.cards .cover > a,
.cards .cover iframe,
.cards .cover video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
}

.cards .cover:before {
    pointer-events: none;
}

/* Media must stay inside its card and never stretch the homepage layout. */
.cards .item audio,
.cards .item video,
.cards .item iframe {
    display: block;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 950px) {
    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .cards .cover {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 390px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards .cover {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}



/* ==========================================================
   SACHO SATRAM — FINAL HOMEPAGE DESIGN
   Matches the approved maroon / gold / cream reference layout.
========================================================== */
:root{
 --ss-wine:#590a20;--ss-wine-dark:#320512;--ss-gold:#e4bd61;
 --ss-cream:#fff7e9;--ss-ink:#4a0d1b;--ss-line:#ead9b9;
}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ss-cream);color:var(--ss-ink);font-family:Arial,"Noto Sans",sans-serif}
.topline{height:27px;background:var(--ss-wine-dark);color:#f6e5bf;padding:0 clamp(18px,4vw,48px);font-size:10px;letter-spacing:.08em}
.site-header{height:62px;position:relative;top:auto;background:#fffaf0;padding:0 clamp(18px,4vw,48px);box-shadow:0 2px 10px #31051212;z-index:20}
.brand{gap:10px}
.brand-mark{width:42px;height:42px;background:var(--ss-wine);border:2px solid var(--ss-gold);color:#ffdf89;font:bold 19px Georgia,serif}
.brand b{font:bold 24px Georgia,serif;color:var(--ss-wine);letter-spacing:-.02em}
.brand small{font-size:9px;letter-spacing:.02em;color:#6d4c3c;margin-top:2px}
.site-header nav{gap:clamp(9px,1.6vw,22px);align-items:center}
.site-header nav a{font-size:11px;font-weight:700;color:var(--ss-wine);white-space:nowrap}
.site-header nav a.active,
.site-header nav a[aria-current="page"]{
 padding:8px 0;
 border-radius:0;
 background:transparent;
 color:#a06a25;
 border-bottom:2px solid var(--ss-gold);
 font-weight:750;
}
.site-header nav a:hover{color:#a36c20}
.lang{border:1px solid #ead9b9;padding:6px 8px;background:#fffdf8}
.lang select{color:var(--ss-wine)}
.hero-home{position:relative;overflow:hidden;background:#170309}
.hero-home .hero-banner{display:block;width:100%;height:clamp(240px,26.5vw,360px);object-fit:cover;object-position:center 40%}
.hero-home .hero-content,.hero-home .hero-shade,.hero-home .hero-stamp{display:none!important}
.bio-section{display:grid;grid-template-columns:minmax(230px,330px) minmax(0,1fr);align-items:center;gap:clamp(28px,4.2vw,64px);padding:22px clamp(24px,9.5vw,150px);background:linear-gradient(90deg,#fff2dc,#fff9ed 48%,#fff3df);min-height:270px}
.bio-photo-wrap{width:100%;max-width:330px;margin:0;border:3px solid var(--ss-gold);border-radius:10px;overflow:hidden;box-shadow:0 8px 22px #4b10201c}
.bio-photo-wrap img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;background:#f4e4cb}
.photo-caption{display:none}
.bio-copy{max-width:720px}
.bio-copy .section-kicker{font-size:10px;letter-spacing:.22em;color:#9a702f;font-weight:700;margin:0 0 8px}
.bio-copy h2{font:700 clamp(29px,3.3vw,42px)/1.12 Georgia,serif;color:var(--ss-wine);margin:0 0 12px}
.bio-copy h3{font:normal 17px Georgia,serif;color:#9a6c34;margin:0 0 12px}
.bio-copy>p{font-size:12px;line-height:1.8;color:#573c32;margin:8px 0}
.bio-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:16px}
.bio-actions .btn{padding:10px 17px;border-radius:5px;font-size:11px}
.bio-actions .btn.wine{background:var(--ss-wine);border:1px solid var(--ss-gold);color:#fff2d6}
.bio-actions .btn.light{background:#ffedc7;border:1px solid #c88d2d;color:var(--ss-wine)}
.history-note{display:none}
.quick-access{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;padding:12px clamp(18px,3.5vw,52px);background:linear-gradient(90deg,#4b071a,#690d27,#4b071a)}
.quick-access a{min-height:100px;border:2px solid var(--ss-gold);border-radius:11px;background:linear-gradient(145deg,#6b102a,#3c0616);color:#fff8e9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center;padding:8px 5px;box-shadow:inset 0 0 0 1px #f6d88725;transition:transform .18s,background .18s}
.quick-access a:hover{transform:translateY(-3px);background:#76132e}
.quick-access .quick-icon{font-size:29px;line-height:1;color:#f2c965;text-shadow:0 2px 4px #21030b}
.quick-access b{font-size:13px;color:#fff;font-weight:700}
.quick-access small{font-size:11px;color:#f5dfb5}
.spotlight-section{padding:15px clamp(18px,3.8vw,54px) 13px;background:#fff8ec;border-bottom:1px solid #e8d8bb}
.spotlight-section:nth-of-type(even){background:#fff4e3}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.section-heading h2{font:700 clamp(20px,2.2vw,27px)/1.15 Georgia,serif;color:var(--ss-wine);margin:0}
.section-heading .section-kicker{display:none}
.section-heading>p{display:none}
.view-all{white-space:nowrap;color:#5d0a20;font-size:11px;font-weight:700;border-bottom:1px solid #d9b86e;padding-bottom:3px}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}
.cards .item{min-width:0;padding:6px 6px 8px;border:1px solid #eadcc4;border-radius:8px;background:#fffdf8;box-shadow:0 3px 12px #3b10100d;transition:transform .2s,box-shadow .2s}
.cards .item:hover{transform:translateY(-3px);box-shadow:0 8px 20px #3b10101b}
.cards .cover{display:flex;position:relative;align-items:center;justify-content:center;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:5px;background:#f2e5d2}
.cards .cover img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#f2e5d2}
.cards .cover>span{font-size:32px;color:#9a713a}
.cards .cover>small{position:absolute;left:7px;bottom:7px;background:#390815d9;color:#ffe9b7;border-radius:3px;padding:4px 6px;font-size:7px;letter-spacing:.08em}
.cards .meta{display:block;margin:7px 2px 3px;color:#a07a3f;font-size:8px;letter-spacing:.1em}
.cards .item h3{font:700 14px/1.3 Georgia,serif;color:var(--ss-wine);margin:3px 2px 4px}
.cards .item h3 a{color:inherit}
.cards .item p{font-size:10px;line-height:1.45;color:#725f51;margin:0 2px 3px}
.home-feature-pairs{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 clamp(14px,3.3vw,48px);background:#fff8ec}
.home-feature-column{min-width:0}
.home-feature-column+.home-feature-column{border-left:1px solid #ead9b9;padding-left:18px}
.home-feature-column .spotlight-section{padding:15px 0 12px;background:transparent!important;border-bottom:0}
.home-feature-column .section-heading{margin-bottom:9px}
.home-feature-column .section-heading h2{font-size:clamp(17px,1.8vw,22px)}
.home-feature-column .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.home-feature-column .cards .item{padding:5px}
.home-feature-column .cards .item p{display:none}
.home-feature-column .cards .cover{aspect-ratio:16/9}
footer{background:linear-gradient(90deg,#390615,#570a20,#390615);color:#f8e7bd;padding:24px clamp(20px,4.5vw,65px) 13px}
footer .brand-mark{background:#f3cf76;color:#4b071a}
footer .footer-brand b{font:700 21px Georgia,serif;color:#fff3d4}
footer .footer-brand small{color:#e6cda0}
footer>p{color:#e8d5b7;font-size:11px;line-height:1.6}
.footer-bottom{border-top:1px solid #ffffff20;padding-top:10px;margin-top:12px;font-size:10px;color:#e6cda0}
.ad-slot{display:none!important}
.empty{padding:16px;text-align:center;background:#fff;border:1px solid var(--ss-line);border-radius:8px}
@media(max-width:1050px){
 .site-header{gap:10px;padding-inline:16px}
 .site-header nav{gap:8px}
 .site-header nav a{font-size:10px}
 .bio-section{padding-inline:5vw}
}
@media(max-width:760px){
 .topline{height:auto;min-height:25px;padding:6px 12px;font-size:8px}
 .site-header{height:auto;min-height:60px;flex-wrap:wrap;padding:9px 14px}
 .brand b{font-size:20px}
 .brand-mark{width:36px;height:36px;font-size:17px}
 .menu-toggle{display:block;margin-left:auto}
 .site-header nav{display:none;order:4;width:100%;flex-wrap:wrap;padding:8px 0}
 .site-header nav.open{display:flex}
 .header-tools{margin-left:0}
 .hero-home .hero-banner{height:auto;aspect-ratio:16/6.8;object-fit:cover}
 .bio-section{grid-template-columns:minmax(110px,34%) 1fr;gap:15px;padding:20px 15px;min-height:0}
 .bio-photo-wrap{max-width:none}
 .bio-copy h2{font-size:clamp(20px,5vw,28px)}
 .bio-copy h3{font-size:13px}
 .bio-copy>p{font-size:10px;line-height:1.5}
 .bio-actions{gap:7px;margin-top:9px}
 .bio-actions .btn{font-size:9px;padding:7px 9px}
 .quick-access{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:9px}
 .quick-access a{min-height:78px;border-width:1px}
 .quick-access .quick-icon{font-size:22px}
 .quick-access b{font-size:10px}
 .quick-access small{font-size:9px}
 .spotlight-section{padding:13px 12px 10px}
 .section-heading h2{font-size:19px}
 .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .cards .item h3{font-size:11px}
 .cards .item p{font-size:9px}
 .home-feature-pairs{grid-template-columns:1fr;padding:0 12px;gap:0}
 .home-feature-column+.home-feature-column{border-left:0;border-top:1px solid #ead9b9;padding-left:0}
 .home-feature-column .spotlight-section{padding:13px 0 10px}
 .home-feature-column .section-heading h2{font-size:18px}
 footer{padding:20px 15px 12px}
}
@media(max-width:390px){
 .bio-section{grid-template-columns:100px 1fr;gap:10px;padding:15px 10px}
 .bio-copy h2{font-size:19px}
 .bio-copy>p{font-size:9px}
 .quick-access{gap:6px;padding:7px}
 .quick-access a{min-height:72px}
 .cards{gap:6px}
}


/* FINAL THUMBNAIL FIT — show the complete original image, never crop */
.cards .cover{
    aspect-ratio:16/9!important;
    background:linear-gradient(135deg,#f4e7d1,#fffaf0)!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
}
.cards .cover img{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:transparent!important;
    display:block!important;
}
.home-feature-column .cards .cover{
    aspect-ratio:16/9!important;
}
.home-feature-column .cards .cover img{
    object-fit:contain!important;
}
/* Keep the new empty Saints panel visually balanced with adjacent cards. */
.home-feature-column .saints .empty{
    min-height:112px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:8px;
    border:1px solid #ead9b9;
    border-radius:8px;
    background:#fffdf8;
    color:#765d48;
    font-size:11px;
}


/* ==========================================================
   HOMEPAGE CARD PROPORTION FIX — 09 NOV 2026
   Keep audio/video cards compact, thumbnails complete,
   and lower feature cards aligned to the same visual scale.
========================================================== */
.spotlight-wide .cards,
.home-feature-column .cards {
    display: grid !important;
    align-items: stretch !important;
    grid-auto-rows: 1fr;
}
.spotlight-wide .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}
.home-feature-column .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}
.spotlight-wide .cards .item,
.home-feature-column .cards .item {
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    overflow: hidden !important;
}
.spotlight-wide .cards .cover,
.home-feature-column .cards .cover {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #f3e7d4 !important;
}
.spotlight-wide .cards .cover img,
.home-feature-column .cards .cover img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}
.spotlight-wide.audio .cards .item p,
.spotlight-wide.video .cards .item p,
.home-feature-column .cards .item p {
    margin-top: auto !important;
}
.spotlight-wide .cards .item h3,
.home-feature-column .cards .item h3 {
    overflow-wrap: anywhere;
}
@media (max-width: 760px) {
    .spotlight-wide .cards,
    .home-feature-column .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}
@media (max-width: 390px) {
    .spotlight-wide .cards,
    .home-feature-column .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
}

/* ==========================================================
   FINAL HOMEPAGE CARD IMAGE RULES
   Same 16:9 frame on desktop and mobile.
   Non-video artwork: preserve full image (contain).
   Video artwork: fill the frame (cover).
========================================================== */
.spotlight-wide .cards .cover,
.home-feature-column .cards .cover {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    flex: 0 0 auto !important;
    background: #f3e7d4 !important;
}

/* Default for square/portrait covers: never crop original artwork. */
.spotlight-wide .cards .cover img,
.home-feature-column .cards .cover img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent !important;
}

/* Video thumbnails are 16:9 and should fill their frame. */
.spotlight-wide.video .cards .cover img {
    object-fit: cover !important;
    object-position: center center !important;
}

/* Preserve stacked biography on phones without changing desktop. */
@media (max-width: 760px) {
    .bio-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 22px !important;
        padding: 24px 18px 28px !important;
        min-height: 0 !important;
    }
    .bio-photo-wrap {
        width: min(210px, 72vw) !important;
        max-width: 210px !important;
        margin: 0 auto !important;
        flex: 0 0 auto !important;
    }
    .bio-photo-wrap img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
        object-fit: contain !important;
    }
    .bio-copy {
        width: 100% !important;
        max-width: none !important;
    }
    .bio-copy h2 {
        white-space: nowrap !important;
        font-size: clamp(15px, 4.6vw, 21px) !important;
        line-height: 1.15 !important;
        letter-spacing: -0.025em !important;
    }
}


/* ==========================================================
   BIO SECTION ONLY — MOBILE STACK
   Intentionally scoped to #about; does not touch card images.
========================================================== */
@media (max-width: 760px) {
    body main #about.bio-section {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        align-items: start !important;
        justify-items: stretch !important;
        gap: 16px !important;
        padding: 20px 14px 24px !important;
        min-height: 0 !important;
    }

    body main #about.bio-section .bio-photo-wrap {
        grid-column: 1 / -1 !important;
        width: min(190px, 68vw) !important;
        max-width: 190px !important;
        margin: 0 auto !important;
        justify-self: center !important;
    }

    body main #about.bio-section .bio-photo-wrap img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
        object-fit: contain !important;
    }

    body main #about.bio-section .bio-copy {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    body main #about.bio-section .bio-copy h2 {
        display: block !important;
        width: 100% !important;
        white-space: nowrap !important;
        font-size: clamp(16px, 5vw, 22px) !important;
        line-height: 1.15 !important;
        letter-spacing: -0.035em !important;
        overflow: visible !important;
    }
}


/* ==========================================================
   MOBILE CARD IMAGE FIT — TARGET ACTUAL HOMEPAGE MARKUP
   Audio + lower feature cards only.
   Video thumbnail rules and all desktop rules remain untouched.
========================================================== */
@media (max-width: 760px) {
    /* Audio spotlight: show the complete cover inside its 16:9 frame. */
    .spotlight-section.audio .cards .cover {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        overflow: hidden !important;
    }
    .spotlight-section.audio .cards .cover img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    /* Saints, Gallery, Books and Wallpapers live in feature columns. */
    .home-feature-column .spotlight-section:not(.video) .cards .cover {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        overflow: hidden !important;
    }
    .home-feature-column .spotlight-section:not(.video) .cards .cover img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    /* Do not override the already-correct video thumbnails. */
}

/* ==========================================================
   HOMEPAGE THUMBNAIL OVERLAY FIX — 09 NOV 2026
   Remove the decorative circle from card covers only.
   Keep existing image sizing/fitting and video rules intact.
========================================================== */
.cards .cover::before,
.cards .cover:before {
    content: none !important;
    display: none !important;
    border: 0 !important;
    background: none !important;
}

.cards .cover img {
    position: relative !important;
    z-index: 1 !important;
}

/* Automatic cache-busting is handled by index.php filemtime(). */


/* Mobile navigation and compact footer refinements */
@media (max-width: 760px) {
    .site-header {
        position: relative;
        z-index: 1000;
    }

    .site-header nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        order: initial;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        margin: 0;
        background: #fffaf1;
        border: 1px solid #ead9b8;
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(40, 8, 18, .18);
    }

    .site-header nav.open {
        display: flex;
    }

    .site-header nav a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 11px 12px;
        border-radius: 8px;
        font-size: 14px;
    }

    .site-header nav a:active,
    .site-header nav a:focus-visible {
        background: #f4e7d4;
    }

    .menu-toggle {
        position: relative;
        z-index: 1001;
        min-width: 42px;
        min-height: 42px;
        padding: 6px 10px;
        border: 1px solid #e6d2b4;
        border-radius: 9px;
        background: #fffaf1;
        color: #4b071a;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    footer {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 18px 18px 12px;
    }

    footer .footer-brand {
        gap: 10px;
        align-items: center;
    }

    footer .footer-brand .brand-mark {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 18px;
    }

    footer .footer-brand b {
        display: block;
        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.18;
        max-width: 100%;
    }

    footer .footer-brand small {
        display: block;
        margin-top: 4px;
        font-size: 8px;
        letter-spacing: .08em;
        line-height: 1.4;
    }

    footer > p {
        margin: 2px 0 6px;
        text-align: left;
        font-size: 10px;
        line-height: 1.55;
    }

    footer .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px 12px;
        padding-top: 10px;
        margin-top: 4px;
        font-size: 9px;
        line-height: 1.4;
    }

    footer .footer-bottom span {
        letter-spacing: .06em;
    }
}

/* ==========================================================
   FINAL HOMEPAGE AUDIO CARD THUMBNAILS — SQUARE (1:1)
   Restores the previously approved square Audio card boxes.
   Does not alter Video, other feature cards, menu, footer,
   or Bio section.
========================================================== */
body main .spotlight-section.audio .cards .cover {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

body main .spotlight-section.audio .cards .cover img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}


/* ==========================================================
   MOBILE FEATURE ORDER + SQUARE GALLERY/WALLPAPER THUMBNAILS
   Mobile only: Saints -> Books -> Gallery -> Wallpapers.
   Desktop two-column feature layout remains unchanged.
========================================================== */
@media (max-width: 760px) {
    .home-feature-pairs {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* Let all four feature sections participate in one mobile order. */
    .home-feature-pairs > .home-feature-column {
        display: contents !important;
    }

    #spotlight-saints {
        order: 1 !important;
    }

    #spotlight-books {
        order: 2 !important;
    }

    #spotlight-gallery {
        order: 3 !important;
    }

    #spotlight-wallpapers {
        order: 4 !important;
    }

    .home-feature-pairs .home-feature-column+.home-feature-column {
        border: 0 !important;
        padding-left: 0 !important;
    }

    /* Square thumbnail frames for Gallery and HD Wallpapers only. */
    #spotlight-gallery .cards .cover,
    #spotlight-wallpapers .cards .cover {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1 / 1 !important;
        overflow: hidden !important;
    }

    #spotlight-gallery .cards .cover img,
    #spotlight-wallpapers .cards .cover img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}


/* ==========================================================
   GALLERY + WALLPAPER THUMBNAILS — SQUARE ON DESKTOP & MOBILE
   Match the approved Audio square-card proportion.
   Keeps image fully visible; no crop.
========================================================== */
body main #spotlight-gallery .cards .cover,
body main #spotlight-wallpapers .cards .cover {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

body main #spotlight-gallery .cards .cover img,
body main #spotlight-wallpapers .cards .cover img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* DESKTOP + MOBILE BANNER — NO CROP */
body main .hero-home {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #3b0714 !important;
}

body main .hero-home img.hero-banner {
    position: static !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* MOBILE — KEEP COMPLETE IMAGE */
@media (max-width: 680px) {
    body main .hero-home img.hero-banner {
        height: auto !important;
        object-fit: contain !important;
    }
}

/* ===== Preserved portal.css content (merged into the main stylesheet) ===== */
:root{--ph-wine:#3e0b1b;--ph-wine2:#60152b;--ph-gold:#d7b36a;--ph-cream:#f7f1e8;--ph-paper:#fffdf8;--ph-ink:#29151a;--ph-muted:#7b6b68;--ph-line:#e7d9c8;--ph-serif:Georgia,'Times New Roman',serif}body.portal-home{margin:0;background:var(--ph-cream);color:var(--ph-ink);font-family:Inter,Arial,sans-serif}body.portal-home *{box-sizing:border-box}body.portal-home a{color:inherit;text-decoration:none}.ph-topline{display:flex;justify-content:space-between;gap:12px;padding:8px max(22px,calc((100% - 1240px)/2));background:#eee3d4;color:#775c56;font-size:10px;letter-spacing:.17em;font-weight:700}.ph-header{height:auto;min-height:82px;display:flex;align-items:center;gap:28px;padding:14px max(22px,calc((100% - 1240px)/2));background:#fffdf9;border-bottom:1px solid #e9ddce;position:sticky;top:0;z-index:50;box-shadow:0 8px 24px #32101a0b}.ph-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.ph-brand-mark{display:grid;place-items:center;width:47px;height:47px;border:1px solid var(--ph-gold);outline:1px solid #d7b36a66;outline-offset:3px;background:var(--ph-wine);color:#f4d99a;font:700 18px var(--ph-serif);letter-spacing:-.05em}.ph-brand strong{display:block;font:700 22px var(--ph-serif);color:var(--ph-wine)}.ph-brand small{display:block;margin-top:4px;font-size:8px;letter-spacing:.13em;color:#8b716c;font-weight:700}.ph-nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,28px);margin-left:auto}.ph-nav a{font-size:12px;font-weight:700;color:#654c4d;padding:10px 0;white-space:nowrap;position:relative}.ph-nav a:hover,.ph-nav a.active{color:var(--ph-wine)}.ph-nav a.active:after{content:'';height:2px;background:var(--ph-gold);position:absolute;bottom:1px;left:0;right:0}.ph-admin{font-size:11px;font-weight:700;color:var(--ph-wine);border:1px solid #d8c4b1;padding:10px 13px;white-space:nowrap}.ph-menu{display:none}.ph-hero{min-height:530px;max-height:690px;height:min(61vw,690px);position:relative;overflow:hidden;background:#2c0713}.ph-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}.ph-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(34,4,14,.94) 0%,rgba(45,6,19,.82) 32%,rgba(45,6,19,.24) 65%,rgba(45,6,19,.06) 100%),linear-gradient(0deg,rgba(25,4,10,.28),transparent 45%)}.ph-hero-content{position:relative;z-index:2;max-width:1240px;margin:auto;padding:clamp(52px,7vw,100px) 24px;color:#fff8ed}.ph-eyebrow,.ph-kicker{font-size:10px;font-weight:800;letter-spacing:.2em;color:#a9854c;margin:0 0 16px}.ph-eyebrow{color:#e4c98e}.ph-hero h1{font:500 clamp(42px,6.2vw,78px)/.99 var(--ph-serif);letter-spacing:-.04em;margin:0;max-width:640px}.ph-hero h1 em,.ph-intro h2 em,.ph-legacy h2 em{color:#e4c781;font-weight:400}.ph-hero-content>p:not(.ph-eyebrow){max-width:490px;color:#f1e6df;font-size:15px;line-height:1.8;margin:24px 0 28px}.ph-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.ph-button{display:inline-flex;align-items:center;gap:14px;padding:14px 19px;font-size:12px;font-weight:800;letter-spacing:.02em;transition:transform .2s,background .2s}.ph-button:hover{transform:translateY(-2px)}.ph-button-gold{background:var(--ph-gold);color:#2d1118!important}.ph-button-glass{border:1px solid #f7e7d8a6;color:#fffaf4!important;background:#fff1e50c}.ph-hero-note{display:flex;align-items:center;gap:12px;margin-top:46px;color:#e4d3c2;font-size:9px;letter-spacing:.19em}.ph-note-line{width:42px;height:1px;background:var(--ph-gold)}.ph-hero-stamp{position:absolute;right:max(4vw,calc((100% - 1240px)/2));bottom:42px;width:132px;height:132px;border:1px solid #f0d8a4a3;border-radius:50%;outline:1px solid #f0d8a45c;outline-offset:6px;color:#f5dca7;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:#3e0b1b60;backdrop-filter:blur(3px)}.ph-hero-stamp span{font:18px var(--ph-serif)}.ph-hero-stamp b{font:700 16px/1.2 var(--ph-serif);margin:5px 0}.ph-hero-stamp small{font-size:6px;letter-spacing:.13em}.ph-intro{max-width:1240px;margin:auto;padding:72px 24px 36px;display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:end}.ph-intro h2,.ph-section h2,.ph-legacy h2,.ph-bottom-cta h2{font:500 clamp(30px,3.7vw,45px)/1.08 var(--ph-serif);letter-spacing:-.025em;color:var(--ph-wine);margin:0}.ph-intro h2 em{color:#ad8747}.ph-intro>p{max-width:510px;color:#766664;font-size:14px;line-height:1.9;margin:0 0 4px}.ph-collection-grid{max-width:1240px;padding:10px 24px 60px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ph-collection{min-height:245px;position:relative;overflow:hidden;padding:27px 25px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;background:#fffdf8;border:1px solid #e8d9c7;transition:transform .25s,box-shadow .25s}.ph-collection:hover{transform:translateY(-4px);box-shadow:0 18px 35px #3d0a1b12}.ph-collection-dark{background:linear-gradient(140deg,#4b0d21,#2c0713);color:#fff5e8;border-color:#4b0d21}.ph-collection-light{background:#eee2d1}.ph-collection-icon{position:absolute;top:22px;right:24px;color:#b68e4f;font:42px var(--ph-serif)}.ph-collection-num{font-size:9px;letter-spacing:.17em;font-weight:800;color:#b48d4c;margin-bottom:13px}.ph-collection h3{font:500 26px var(--ph-serif);margin:0 0 8px}.ph-collection p{margin:0 0 19px;line-height:1.6;font-size:12px;color:#826c68;max-width:280px}.ph-collection-dark p{color:#d7c4bf}.ph-collection b{font-size:11px;color:#a57c3d}.ph-collection-image{background-size:cover;background-position:center;color:#fffaf1}.ph-collection-image:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#230610ef 0%,#2306105c 55%,#2306100a 100%);transition:opacity .25s}.ph-collection-image>*{position:relative}.ph-video-tile{background-image:url('saints-banner.webp');background-position:62% center}.ph-saints-tile{background-image:url('bhagat-kanwarram.jpg');background-position:center 32%}.ph-collection-image p{color:#f1e1d4}.ph-section{max-width:1240px;margin:auto;padding:32px 24px 50px}.ph-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}.ph-section h2{font-size:35px}.ph-section-desc{color:#8b7770;font-size:12px;margin:10px 0 0}.ph-view-all{font-size:11px;font-weight:800;color:#7d4d36;white-space:nowrap;border-bottom:1px solid #cbb28e;padding-bottom:7px}.ph-view-all span{color:#a17a3f}.ph-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ph-card{background:#fffdf9;border:1px solid #e9dece;min-width:0;transition:transform .2s,box-shadow .2s}.ph-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #38101b0d}.ph-card-media{height:205px;background:#eee4d8;display:block;position:relative;overflow:hidden}.ph-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.ph-card:hover .ph-card-media img{transform:scale(1.035)}.ph-card-tag{position:absolute;left:12px;bottom:12px;background:#3e0b1be8;color:#f3d99b;padding:6px 8px;font-size:8px;text-transform:uppercase;letter-spacing:.12em}.ph-placeholder{height:100%;display:grid;place-items:center;font:58px var(--ph-serif);color:#b08b52}.ph-card-body{padding:17px}.ph-card h3{font:500 19px/1.25 var(--ph-serif);color:var(--ph-wine);margin:0 0 9px}.ph-card p{font-size:11px;line-height:1.65;color:#8b7770;margin:0 0 13px;min-height:18px}.ph-text-link{font-size:10px;font-weight:800;color:#9b7339}.ph-text-link span{margin-left:6px}.ph-wallpaper-section{background:#f0e5d6;max-width:none;padding-left:max(24px,calc((100% - 1192px)/2));padding-right:max(24px,calc((100% - 1192px)/2))}.ph-wallpaper-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ph-wallpaper-grid .ph-card-media{height:250px}.ph-wallpaper-grid .ph-card-media img{object-fit:contain}.ph-legacy{max-width:1192px;margin:70px auto 80px;padding:0 24px;display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(30px,6vw,80px);align-items:center}.ph-legacy-photo{position:relative;background:#e7d6c2;padding:12px 12px 40px}.ph-legacy-photo img{width:100%;height:360px;object-fit:cover;object-position:center;display:block}.ph-legacy-photo span{position:absolute;bottom:14px;left:20px;font-size:8px;letter-spacing:.15em;color:#71534b;font-weight:800}.ph-legacy-copy h2{max-width:520px}.ph-legacy-copy h2 em{color:#ac8648}.ph-legacy-copy>p:not(.ph-kicker){font-size:13px;line-height:1.9;color:#7b6b68;margin:22px 0}.ph-bottom-cta{padding:65px 24px 72px;text-align:center;background:#3e0b1b;color:#fff5e9}.ph-bottom-cta .ph-kicker{color:#e3c17e}.ph-bottom-cta h2{color:#fff6e8}.ph-bottom-cta>p:not(.ph-kicker){font-size:13px;color:#d7c2bd;margin:14px 0 25px}.ph-bottom-cta>div{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.ph-button-outline{border:1px solid #e4d1b6;color:#fff6e8!important}.ph-footer{padding:38px max(24px,calc((100% - 1192px)/2)) 0;background:#260610;color:#e8d7cb}.ph-footer .ph-brand strong{color:#fff3e4}.ph-footer .ph-brand small{color:#b8a09b}.ph-footer>p{font-size:11px;color:#b8a09b;margin:20px 0}.ph-footer nav{display:flex;gap:18px;flex-wrap:wrap;padding:16px 0;border-top:1px solid #ffffff1a;border-bottom:1px solid #ffffff1a}.ph-footer nav a{font-size:10px;color:#e5d2c7}.ph-footer-bottom{font-size:9px;color:#a78c85;padding:17px 0;letter-spacing:.04em}
/* Public pages that share this visual system */
body:not(.portal-home){font-family:Inter,Arial,sans-serif;background:var(--ph-cream);color:var(--ph-ink)}
@media(max-width:1000px){.ph-header{gap:15px}.ph-nav{gap:13px}.ph-nav a{font-size:11px}.ph-admin{padding:9px}.ph-card-grid,.ph-wallpaper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ph-hero-stamp{right:35px;bottom:30px;width:105px;height:105px}.ph-collection{min-height:220px}}
@media(max-width:760px){.ph-topline{font-size:8px;letter-spacing:.1em}.ph-topline span:last-child{display:none}.ph-header{min-height:72px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.ph-brand-mark{width:40px;height:40px}.ph-brand strong{font-size:19px}.ph-brand small{font-size:7px}.ph-menu{display:block;margin-left:auto;border:1px solid #e0cfbb;background:transparent;color:var(--ph-wine);padding:10px 12px;font-size:18px}.ph-admin{display:none}.ph-nav{display:none;order:5;width:100%;margin:0;align-items:stretch;flex-direction:column;gap:0;padding-top:7px;border-top:1px solid #eadfd2}.ph-nav.open{display:flex}.ph-nav a{padding:12px 4px;border-bottom:1px solid #eee4d9;font-size:12px}.ph-nav a.active:after{display:none}.ph-hero{height:610px;min-height:0;max-height:none}.ph-hero-image{object-position:58% center}.ph-hero-shade{background:linear-gradient(90deg,#260610e8 0%,#260610b8 58%,#2606104a 100%),linear-gradient(0deg,#2606106b,transparent 55%)}.ph-hero-content{padding:78px 24px 40px}.ph-hero h1{font-size:clamp(43px,12vw,65px)}.ph-hero-content>p:not(.ph-eyebrow){font-size:13px;max-width:360px}.ph-hero-stamp{display:none}.ph-hero-note{margin-top:35px}.ph-intro{padding:48px 24px 27px;grid-template-columns:1fr;gap:16px}.ph-intro h2{font-size:34px}.ph-intro>p{font-size:13px}.ph-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:36px;gap:10px}.ph-collection{min-height:220px;padding:19px 16px}.ph-collection h3{font-size:21px}.ph-collection p{font-size:11px}.ph-collection-icon{font-size:31px;top:15px;right:15px}.ph-collection-num{font-size:8px}.ph-section{padding:24px 20px 35px}.ph-section-heading{align-items:start}.ph-section h2{font-size:29px}.ph-section-desc{font-size:11px}.ph-card-grid{gap:10px}.ph-card-media{height:155px}.ph-card-body{padding:12px}.ph-card h3{font-size:16px}.ph-card p{font-size:10px}.ph-wallpaper-section{padding-left:20px;padding-right:20px}.ph-wallpaper-grid .ph-card-media{height:200px}.ph-legacy{margin:45px auto 50px;grid-template-columns:1fr;gap:25px;padding:0 20px}.ph-legacy-photo img{height:300px}.ph-legacy h2{font-size:34px}.ph-bottom-cta{padding:50px 20px}.ph-bottom-cta h2{font-size:32px}.ph-footer{padding-top:30px}.ph-footer nav{gap:13px}}
@media(max-width:420px){.ph-collection-grid{grid-template-columns:1fr 1fr}.ph-collection{min-height:205px}.ph-collection h3{font-size:19px}.ph-card-media{height:130px}.ph-card-body{padding:10px}.ph-card h3{font-size:15px}.ph-card-tag{font-size:7px;left:8px;bottom:8px}.ph-view-all{font-size:10px}.ph-section h2{font-size:27px}}
/* Consistent styling for the gallery and wallpaper listing pages */
body:not(.portal-home) .top{background:var(--ph-wine);color:#fff5e9;padding:20px max(18px,calc((100% - 1180px)/2));line-height:1.6;border-bottom:3px solid var(--ph-gold)}body:not(.portal-home) .top b{font:700 23px var(--ph-serif);color:#fff2df}body:not(.portal-home) .top nav{display:flex;gap:18px;flex-wrap:wrap}body:not(.portal-home) .top a{color:#f6e7d6;font-size:12px;font-weight:700;text-decoration:none}body:not(.portal-home) .wrap{max-width:1180px;margin:38px auto;padding:0 22px}body:not(.portal-home) .wrap h1{font:500 clamp(30px,4vw,44px) var(--ph-serif);color:var(--ph-wine);margin:0 0 12px}body:not(.portal-home) .wrap>p{color:#796b65;line-height:1.7}body:not(.portal-home) .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}body:not(.portal-home) .card{background:#fffdf8;border:1px solid var(--ph-line);border-radius:3px;padding:12px;box-shadow:0 7px 20px #35101a08}body:not(.portal-home) .cover{width:100%;height:220px;object-fit:cover;background:#eee;border-radius:2px}body:not(.portal-home) .thumb{height:250px;background:#f1e7da;border-radius:2px}body:not(.portal-home) .thumb img{width:100%;height:100%;object-fit:contain}body:not(.portal-home) .btn{background:var(--ph-wine);color:#fff7e8;padding:10px 13px;border-radius:2px;font-size:11px}body:not(.portal-home) .filters a{background:#fffdf8;border:1px solid var(--ph-line);border-radius:2px;color:var(--ph-wine);text-decoration:none;font-size:12px}body:not(.portal-home) .meta{color:#85726c;line-height:1.6}body:not(.portal-home) .viewer{background:#18040bf2}body:not(.portal-home) .viewer .controls button,body:not(.portal-home) .viewer .controls a{border-radius:2px;color:var(--ph-wine)}@media(max-width:600px){body:not(.portal-home) .top nav{gap:9px 14px}body:not(.portal-home) .wrap{margin:25px auto;padding:0 15px}body:not(.portal-home) .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body:not(.portal-home) .cover{height:170px}body:not(.portal-home) .thumb{height:205px}body:not(.portal-home) .card{padding:9px}}

/* Shared premium responsive navigation for content/detail pages */
.site-header{position:sticky;top:0;z-index:100;backdrop-filter:blur(12px)}
.site-header nav a{white-space:nowrap;font-size:12px;font-weight:650;text-decoration:none;padding:10px 0}
.site-header nav a:hover{color:#9b7540}
.site-header .menu-toggle{cursor:pointer;border:1px solid #e7d8c0;border-radius:10px;padding:8px 11px;background:#fffaf2}
@media(max-width:760px){
 .site-header{height:auto;min-height:70px;flex-wrap:wrap;padding:12px 5%;position:sticky}
 .site-header nav{display:none;order:5;flex:0 0 100%;width:100%;padding:12px 0 4px;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid #eadfce}
 .site-header nav.open{display:flex}
 .site-header nav a{display:block;padding:12px 8px;border-bottom:1px solid #f0e7dc;font-size:14px}
 .site-header .menu-toggle{display:block;margin-left:auto}
 .site-header .admin-link{font-size:11px}
}
/* Premium treatment for gallery and wallpaper pages */
.top{position:sticky;top:0;z-index:50;background:linear-gradient(110deg,#3e0b1b,#67182e);box-shadow:0 8px 24px #2b07140e;padding-top:18px!important;padding-bottom:18px!important}
.top nav{display:flex;align-items:center;gap:clamp(10px,1.7vw,24px);flex-wrap:wrap}
.top nav a{font-size:12px;text-decoration:none;font-weight:650;opacity:.92;padding:8px 0}
.top nav a:hover{color:#f0d49b}
.wrap h1{font:clamp(30px,4vw,46px)/1.12 Georgia,serif;letter-spacing:-.6px;margin:0 0 10px}
.wrap>p{color:#796b65;line-height:1.7}
.card{box-shadow:0 10px 32px #35101a0a;transition:transform .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 18px 38px #35101a12}
.btn{border-radius:999px;transition:filter .15s ease,transform .15s ease}
.btn:hover{filter:brightness(1.08);transform:translateY(-1px)}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 24px}
.filters a{border:1px solid #e5d7c4;background:#fffdf9;border-radius:999px;padding:8px 13px;color:#5b1025;text-decoration:none;font-size:12px}
.filters a:hover{background:#5b1025;color:white}
.thumb{border:0;text-decoration:none}
@media(max-width:680px){.top nav{gap:8px 15px}.top nav a{font-size:11px}.wrap{margin:22px auto;padding:0 14px}.grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}}

.portal-page-footer{margin-top:58px;background:#310916;color:#f9efe1;padding:34px 22px}
.portal-page-footer>div{max-width:1180px;margin:auto}
.portal-page-footer strong{font:24px Georgia,serif;color:#e5c58a}
.portal-page-footer p{color:#d3c1b7;font-size:13px}
.portal-page-footer nav{display:flex;flex-wrap:wrap;gap:12px 22px;margin:20px 0}
.portal-page-footer nav a{color:#fff5e8;text-decoration:none;font-size:12px}
.portal-page-footer small{color:#c8b4a9;font-size:11px}

.top{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.top .top-brand{color:#fff;text-decoration:none;font:700 22px Georgia,serif;white-space:nowrap}
.top .top-brand small{display:block;font:9px Arial,sans-serif;letter-spacing:.15em;color:#e3c994;margin-top:4px}
.top-menu-toggle{display:none;background:#ffffff12;border:1px solid #ffffff55;color:#fff;border-radius:9px;padding:8px 12px;font-size:19px}
.top nav{margin-top:0!important}
@media(max-width:760px){
 .top{padding-left:16px!important;padding-right:16px!important}
 .top-menu-toggle{display:block;margin-left:auto}
 .top nav{display:none;flex:0 0 100%;width:100%;align-items:stretch;flex-direction:column;gap:0;padding-top:8px;border-top:1px solid #ffffff30}
 .top nav.open{display:flex}
 .top nav a{padding:11px 4px;border-bottom:1px solid #ffffff20}
}

/* ===== FINAL SHARED HEADER: homepage design across all public pages ===== */
.topline{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;min-height:32px!important;height:32px!important;
  padding:0 clamp(24px,3.2vw,58px)!important;background:#350713!important;
  color:#f6e5bf!important;font:500 12px/1.2 Arial,sans-serif!important;letter-spacing:.045em!important;
  box-sizing:border-box!important;
}
.site-header{
  position:sticky!important;top:0!important;z-index:1000!important;width:100%!important;
  min-height:94px!important;height:94px!important;box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:28px!important;padding:12px clamp(32px,5vw,92px)!important;
  background:#fffaf0!important;color:#4d091b!important;border:0!important;
  border-bottom:1px solid #e8dccb!important;border-radius:0!important;
  box-shadow:0 3px 16px rgba(60,15,28,.07)!important;
}
.site-header .brand{
  display:flex!important;align-items:center!important;gap:13px!important;flex:0 0 auto!important;
  min-width:max-content!important;margin:0!important;padding:0!important;color:#4d091b!important;
  font:700 28px/1.05 Georgia,'Times New Roman',serif!important;text-decoration:none!important;white-space:nowrap!important;
}
.site-header .brand-mark{
  display:grid!important;place-items:center!important;width:51px!important;height:51px!important;
  flex:0 0 51px!important;border:2px solid #c8a45d!important;border-radius:50%!important;
  background:#4d091b!important;color:#fff0c9!important;font:700 23px/1 Georgia,'Times New Roman',serif!important;
  box-shadow:none!important;outline:none!important;
}
.site-header .brand b{display:block!important;margin:0!important;color:#4d091b!important;font:700 28px/1.05 Georgia,'Times New Roman',serif!important;letter-spacing:-.02em!important}
.site-header .brand small{display:block!important;margin-top:5px!important;color:#85766c!important;font:700 9px/1.2 Arial,sans-serif!important;letter-spacing:1.1px!important}
.site-header nav{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 1 auto!important;
  gap:clamp(16px,1.65vw,30px)!important;width:auto!important;max-width:none!important;margin:0 0 0 auto!important;
  padding:0!important;position:static!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
.site-header nav a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;
  margin:0!important;padding:10px 0!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:#4d2630!important;text-decoration:none!important;
  font:700 14px/1.2 Arial,sans-serif!important;white-space:nowrap!important;box-shadow:none!important;
  transition:color .18s ease!important;
}
.site-header nav a:hover,.site-header nav a:focus-visible{color:#a06a25!important;background:transparent!important}
.site-header nav a.active,.site-header nav a[aria-current="page"]{
  color:#a06a25!important;background:transparent!important;border:0!important;border-bottom:2px solid #c8a45d!important;
  border-radius:0!important;font-weight:750!important;box-shadow:none!important;
}
.site-header .menu-toggle{
  display:none!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;
  margin:0 0 0 auto!important;padding:0!important;border:1px solid #c8a45d!important;border-radius:9px!important;
  background:transparent!important;color:#4d091b!important;font:26px/1 Arial,sans-serif!important;cursor:pointer!important;
}
.site-header .header-tools{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;flex:0 0 auto!important}
.site-header .header-tools select{border:1px solid #d9c69e!important;border-radius:0!important;background:#fffaf0!important;color:#4d091b!important;padding:9px 12px!important;font:12px Arial,sans-serif!important}
@media(max-width:1100px){
 .site-header{gap:16px!important;padding-left:24px!important;padding-right:24px!important}
 .site-header nav{gap:clamp(11px,1.35vw,18px)!important}
 .site-header nav a{font-size:12px!important}
 .site-header .brand{gap:10px!important}
 .site-header .brand b{font-size:25px!important}
}
@media(max-width:850px){
 .site-header{height:auto!important;min-height:76px!important;flex-wrap:wrap!important;padding:10px 18px!important;gap:10px!important}
 .site-header .brand-mark{width:46px!important;height:46px!important;flex-basis:46px!important;font-size:21px!important}
 .site-header .brand b{font-size:23px!important}
 .site-header .brand small{font-size:8px!important}
 .site-header .menu-toggle{display:inline-flex!important;flex:0 0 44px!important}
 .site-header nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;
   flex:0 0 100%!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
   gap:0!important;margin:0!important;padding:8px 18px 14px!important;background:#fffaf0!important;
   border-top:1px solid #e8dccb!important;border-bottom:1px solid #e8dccb!important;box-shadow:0 12px 20px rgba(60,15,28,.09)!important}
 .site-header nav.open,.site-header nav.is-open{display:flex!important}
 .site-header nav a{display:flex!important;justify-content:flex-start!important;width:100%!important;padding:13px 10px!important;
   border-bottom:1px solid #eee4d7!important;font-size:14px!important}
 .site-header nav a.active,.site-header nav a[aria-current="page"]{background:#f4ead8!important;border:0!important;border-left:3px solid #c8a45d!important;border-radius:6px!important;padding-left:12px!important}
 .site-header .header-tools{margin-left:auto!important}
}
@media(max-width:420px){
 .topline{padding:0 12px!important;font-size:9px!important}
 .site-header{padding-left:12px!important;padding-right:12px!important}
 .site-header .brand{gap:8px!important}
 .site-header .brand-mark{width:42px!important;height:42px!important;flex-basis:42px!important;font-size:19px!important}
 .site-header .brand b{font-size:20px!important}
 .site-header .brand small{font-size:7px!important;letter-spacing:.55px!important}
}

/* Final header correction: no announcement strip; consistent left brand and right navigation. */
.topline,.ph-topline{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
.site-header{justify-content:space-between!important}
.site-header>nav{margin-left:auto!important;margin-right:0!important;justify-content:flex-end!important}
