.vdfs-page {
    --vdfs-gold: #ead08a;
    --vdfs-ivory: #fff5d6;
    min-height: 60vh;
    padding: clamp(14px, 2vw, 30px) 0 36px;
    color: var(--vdfs-ivory);
    background: radial-gradient(ellipse at 50% 22%, #123a27, #08281b 45%, #03170f);
    font: 18px/1.5 Georgia, "Times New Roman", serif;
}
.vdfs-page [hidden] { display: none !important; }
.vdfs-shell { width: min(1480px, calc(100% - 36px)); margin-inline: auto; }
.vdfs-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 3vw, 52px);
    min-height: clamp(180px, 18vw, 265px);
    padding: 14px clamp(12px, 3vw, 40px);
    border: 1px solid var(--vdfs-gold);
    border-radius: 17px;
    background: radial-gradient(ellipse at 25% 30%, #69532b, #192f23 62%, #102419);
    box-shadow: 0 8px 24px #0006;
}
.vdfs-banner img {
    display: block;
    width: clamp(135px, 21vw, 240px);
    height: auto;
    filter: drop-shadow(0 4px 12px #0007);
}
.vdfs-banner h1 {
    margin: 0;
    color: #ffe4a0;
    font: 700 clamp(32px, 4.1vw, 70px)/1.06 Georgia, "Times New Roman", serif;
    text-align: center;
    text-shadow: 0 2px 5px #100a00;
    text-wrap: balance;
}
.vdfs-toolbar, .vdfs-modes, .vdfs-results {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.vdfs-toolbar { margin-block: 20px; }
.vdfs-modes { gap: 8px; }
.vdfs-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid #dbbf76;
    border-radius: 10px;
    color: var(--vdfs-ivory);
    background: linear-gradient(#326742, #0b301f);
    box-shadow: 0 2px 5px #0004;
    font: inherit;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    cursor: pointer;
}
.vdfs-button:hover { background: #316343; color: #fff; }
.vdfs-button[aria-current="page"] { color: #241700; background: linear-gradient(#f0cf76, #c48a23); }
.vdfs-search {
    display: flex;
    align-items: center;
    flex: 1 1 235px;
    max-width: 510px;
    min-height: 46px;
    margin-left: auto;
    border: 1px solid #a9a56f;
    border-radius: 11px;
    background: #143526;
}
.vdfs-search input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: inherit;
    font: inherit;
}
.vdfs-search input::placeholder { color: #ecdcb8; opacity: 1; }
.vdfs-search button {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.vdfs-search button:hover { background: #2a563c; }
.vdfs-search svg { width: 23px; height: 23px; }
.vdfs-page :focus-visible { outline: 3px solid #ffdc7f; outline-offset: 3px; }
.vdfs-results { margin-bottom: 16px; }
.vdfs-results p { margin: 0; }
.vdfs-results a { color: var(--vdfs-gold); text-decoration: underline; }
.vdfs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.3vw, 20px);
}
.vdfs-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #e4be64;
    border-radius: 16px;
    background: radial-gradient(ellipse at 55% 55%, #fff0c7, #f8e1a5 57%, #d7a853);
    color: #221909;
    box-shadow: 0 4px 12px #0007;
    text-decoration: none;
    scroll-margin-top: 110px;
}
.vdfs-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    background: #142d22;
}
.vdfs-saint-tile { position: relative; align-self: start; }
.vdfs-saint-tile:hover { border-color: #fff5d6; box-shadow: 0 0 0 2px var(--vdfs-gold); }
.vdfs-card img.vdfs-placeholder { box-sizing: border-box; padding: 0 9% 20%; }
.vdfs-placeholder-name {
    position: absolute;
    inset: auto 0 0;
    padding: 8px 10px;
    color: var(--vdfs-ivory);
    background: #142d22f5;
    border-top: 1px solid #b29758;
    font: 700 clamp(16px, 1.65vw, 24px)/1.2 Georgia, serif;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.vdfs-video-detail {
    width: min(100%, 960px);
    margin: 20px auto;
    scroll-margin-top: 110px;
}
.vdfs-video-person {
    display: flex;
    align-items: center;
    gap: clamp(12px, 3vw, 22px);
    margin: 16px 0;
}
.vdfs-video-person img {
    width: clamp(88px, 23vw, 156px);
    flex-shrink: 0;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border: 1px solid var(--vdfs-gold);
    border-radius: 12px;
    background: #142d22;
}
.vdfs-video-person h1 {
    margin: 0;
    color: var(--vdfs-ivory);
    font: 700 clamp(23px, 4vw, 38px)/1.15 Georgia, serif;
    overflow-wrap: anywhere;
}
.vdfs-feast-date { margin: 6px 0 0; color: var(--vdfs-gold); }
.vdfs-player {
    margin: 16px 0;
    padding: clamp(10px, 2vw, 20px);
    border: 1px solid var(--vdfs-gold);
    border-radius: 16px;
    background: #10281e;
    scroll-margin-top: 110px;
}
.vdfs-player-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.vdfs-player-heading h2 { color: var(--vdfs-ivory); font: 700 clamp(20px, 3vw, 29px)/1.2 Georgia, serif; margin: 0; overflow-wrap: anywhere; }
.vdfs-player .vdfsm-prose h2 { color: var(--vdfs-ivory); }
.vdfs-player .vdf-video-target { min-height: 200px; }
.vdfs-video-choices {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.vdfs-document-choices { justify-items: start; }
.vdfs-document-choices li { min-width: 0; max-width: 100%; }
.vdfs-document-choices .vdfs-button { overflow-wrap: anywhere; }
.vdfs-video-choice {
    display: grid;
    grid-template-columns: clamp(100px, 30vw, 200px) minmax(0, 1fr);
    align-items: center;
    width: 100%;
    padding: 0;
    font: 700 clamp(17px, 2.5vw, 22px)/1.2 Georgia, serif;
    text-align: left;
    cursor: pointer;
}
.vdfs-video-thumb { position: relative; display: block; align-self: start; }
.vdfs-video-thumb img { aspect-ratio: 16 / 9; object-fit: cover; }
.vdfs-video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 34px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #112019de;
    color: #fff;
    font: 15px/1 sans-serif;
}
.vdfs-video-choice [data-vdfs-video-title] { padding: 10px 14px; overflow-wrap: anywhere; }
.vdfs-video-choice:hover [data-vdfs-video-title], .vdfs-video-choice:focus-visible [data-vdfs-video-title] { text-decoration: underline; text-underline-offset: .15em; }
.vdfs-video-choice[aria-current="true"] { background: #ffe4a0; border-color: #fff5d6; }

@media (max-width: 850px) { .vdfs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
    .vdfs-shell { width: calc(100% - 22px); }
    .vdfs-banner { flex-direction: column; gap: 0; padding-bottom: 18px; }
    .vdfs-banner img { width: 148px; }
    .vdfs-toolbar { gap: 9px; margin-block: 14px; }
    .vdfs-search { min-width: 100%; }
    .vdfs-button { padding-inline: 10px; font-size: 16px; }
}
@media (max-width: 375px) { .vdfs-grid { grid-template-columns: 1fr; } }

