.vitrine { color:#142743; max-width:72rem; margin:1.25rem auto; padding:0 clamp(.8rem,3vw,2rem); }
.vitrine *, .v-card { box-sizing:border-box }
.v-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem }
.v-card { min-width:0; display:flex; flex-direction:column; background:#fffbf2; border:1px solid #dacdad; border-top:3px solid #a17c34; border-radius:.75rem; overflow:hidden; color:#142743; overflow-wrap:anywhere }
.v-card > img { display:block; width:100%; height:clamp(9rem,18vw,14rem); object-fit:cover }
.v-copy { padding:1rem; display:flex; flex:1; flex-direction:column; align-items:flex-start; gap:.4rem }
.v-copy > * { margin:0 }
.v-copy h2 { font-family:Georgia,serif; font-size:1.35rem; line-height:1.2; color:#142743 }
.v-meta { font-size:.9rem; color:#614c22 }
.v-summary { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden }
.v-link { font-weight:700; color:#12365c; text-underline-offset:.2em; padding:.45rem 0; margin-top:auto }
.v-controls,.v-tabs,.v-letters { display:flex; align-items:end; flex-wrap:wrap; gap:.45rem; margin:.8rem 0 }
.v-controls label { display:grid; gap:.25rem; min-width:0; max-width:100% }
.vitrine :is(input,select,button) { min-height:44px; max-width:100%; border:1px solid #a2906e; border-radius:.4rem; background:#fffbf2; color:#142743; font:inherit; padding:.4rem .65rem }
.v-letters { gap:.22rem }
.vitrine .v-letters button { min-width:2.35rem; padding:.3rem }
.vitrine [aria-selected="true"],.vitrine [aria-pressed="true"] { background:#142743; color:#fff6df }
.vitrine :focus-visible,.v-card :focus-visible { outline:3px solid #2075a4; outline-offset:2px }
main:has(> .v-detail) > :not(.v-detail) { display:none }
.v-detail { overflow-wrap:anywhere }
.v-detail img,.v-detail video { max-width:100%; max-height:30rem }
.v-back { display:inline-block; margin:1rem 0; font-weight:700 }
@media(max-width:660px){ .v-grid {grid-template-columns:minmax(0,1fr)} .v-controls label{width:100%} }
.j-proposer {margin:1rem 0;border-bottom:1px solid #d7c9a8;padding-bottom:.7rem}
.j-proposer summary {width:fit-content;cursor:pointer;color:#142743;font-weight:700;padding:.6rem .9rem;border:1px solid #ad945e;border-radius:.4rem}
.j-proposer form {display:grid;gap:.8rem;max-width:46rem;margin:1rem 0}
.j-proposer label:not([hidden]) {display:block}
.j-proposer :is(input:not([type=checkbox]),textarea) {display:block;width:100%;margin-top:.2rem;box-sizing:border-box}
.j-proposer textarea {padding:.65rem;font:inherit}
.j-proposer [type=checkbox] {min-height:0}
.j-proposer [type=submit] {justify-self:start}

/* Cadrage réservé aux cartes du journal, jamais aux images des articles. */
.v-journal-photo { overflow:hidden; height:clamp(9rem,18vw,14rem); flex:none; --crop-x:var(--crop-desktop-x,50%); --crop-y:var(--crop-desktop-y,50%); --crop-zoom:var(--crop-desktop-zoom,1) }
.v-journal-photo > img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:var(--crop-x) var(--crop-y); transform:scale(var(--crop-zoom)); transform-origin:var(--crop-x) var(--crop-y) }
@media(max-width:660px){.v-journal-photo {--crop-x:var(--crop-mobile-x,50%);--crop-y:var(--crop-mobile-y,50%);--crop-zoom:var(--crop-mobile-zoom,1)}}
.v-journal-photo[data-viewport="desktop"] {height:224px;--crop-x:var(--crop-desktop-x,50%);--crop-y:var(--crop-desktop-y,50%);--crop-zoom:var(--crop-desktop-zoom,1)}
.v-journal-photo[data-viewport="mobile"] {height:144px;--crop-x:var(--crop-mobile-x,50%);--crop-y:var(--crop-mobile-y,50%);--crop-zoom:var(--crop-mobile-zoom,1)}
.j-crop-editor {display:grid;gap:.7rem;min-width:0;margin:1rem 0;padding:.8rem;border:1px solid #ac9360}
.j-crop-editor label {display:grid;gap:.3rem}
.j-crop-editor input[type="range"] {width:100%;padding:0;min-height:32px;accent-color:#c39b3d}
.j-crop-editor button {justify-self:start}
.j-crop-preview {max-width:100%;overflow:auto}
.j-crop-preview .v-card {width:536px;max-width:none}
.j-crop-preview[data-viewport="mobile"] .v-card {width:364px}
.j-crop-preview a {pointer-events:none}

.v-content-photo,.v-content-photo[data-viewport=desktop]{height:420px}
@media(max-width:660px){.v-content-photo{height:260px}}
.v-content-photo[data-viewport=mobile]{height:260px}

/* Affichage intégral des emblèmes, indépendant des portraits. */
.v-journal-photo{--crop-fit:var(--crop-desktop-fit,cover);--crop-background:var(--crop-desktop-background,#fff);background:var(--crop-background)}
.v-journal-photo>img{object-fit:var(--crop-fit)}
@media(max-width:660px){.v-journal-photo{--crop-fit:var(--crop-mobile-fit,cover);--crop-background:var(--crop-mobile-background,#fff)}}
.v-journal-photo[data-viewport="desktop"]{--crop-fit:var(--crop-desktop-fit,cover);--crop-background:var(--crop-desktop-background,#fff)}
.v-journal-photo[data-viewport="mobile"]{--crop-fit:var(--crop-mobile-fit,cover);--crop-background:var(--crop-mobile-background,#fff)}
