/* Riviera 2.48.67.75 — historical editorial cards; uses native rep23 catalogue card primitives. */
.rep14-root .rep74-history-catalogue {margin:28px auto 48px!important;max-width:1500px}
.rep14-root .rep74-history-catalogue h2{text-align:center;margin:8px 0;font:400 clamp(25px,3vw,37px)/1.2 Georgia,serif;color:#072c45}
.rep14-root .rep74-history-catalogue .rep14-kicker{text-align:center;color:#b78230;letter-spacing:.15em}
.rep14-root .rep74-description{text-align:center;max-width:730px;margin:0 auto 22px;color:#607184;font:15px/1.5 Arial,sans-serif}
.rep14-root .rep74-history-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.rep14-root .rep74-history-card{overflow:hidden;min-height:100%;border-radius:11px!important;box-shadow:0 5px 16px rgba(10,35,48,.09)}
.rep14-root .rep74-history-card .rep74-static-card{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.rep14-root .rep74-history-card a{display:flex;flex-direction:column;height:100%}
.rep14-root .rep74-history-card .rep23-media{display:block;aspect-ratio:16/9;overflow:hidden}
.rep14-root .rep74-history-card .rep23-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.rep14-root .rep74-history-card .rep23-body{flex:1;display:flex!important;flex-direction:column;gap:10px;padding:17px!important}
.rep14-root .rep74-history-card .rep23-category{font:600 10px/1.4 Arial,sans-serif!important;color:#a9782d!important;letter-spacing:.04em}
.rep14-root .rep74-history-card .rep23-body strong{font:500 21px/1.23 Georgia,serif!important;color:#092b41!important}
.rep14-root .rep74-history-card .rep23-description{font:13px/1.55 Arial,sans-serif!important;color:#506476!important;flex:1}
.rep14-root .rep74-history-card .rep23-body b{font:700 13px/1.5 Arial,sans-serif!important;color:#a97725!important;text-decoration:none!important}
.rep14-root .rep74-coming{display:block;margin-top:auto;padding-top:12px;font:600 12px/1.5 Arial,sans-serif;color:#657888}
.rep14-root .rep74-history-card.rep74-pending{cursor:default}
@media (max-width:900px){.rep14-root .rep74-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:600px){.rep14-root .rep74-history-grid{grid-template-columns:1fr!important}}

/* 2.48.67.79 — actual CTA on EVERY card, in the same premium editorial style. */
html body.rep14-home.rep54-explore .rep74-history-card .rep79-card-cta{
 display:inline-flex;align-self:flex-start;align-items:center;justify-content:center;
 gap:8px;margin-top:auto;padding:10px 15px;min-height:38px;
 border:1px solid #c99b54;border-radius:22px;background:#f7e8cd;
 color:#74501a;font:700 12px/1.2 Arial,sans-serif;white-space:normal;
 transition:background .15s,transform .15s;
}
html body.rep14-home.rep54-explore .rep74-history-card a:hover .rep79-card-cta,
html body.rep14-home.rep54-explore .rep74-history-card a:focus-visible .rep79-card-cta{
 background:#eecb8b;transform:translateY(-1px);
}
html body.rep14-home.rep54-explore .rep74-history-card .rep79-card-preview{
 background:#eef4f6;border-color:#7898a7;color:#1b566f;
}
html body.rep14-home.rep54-explore .rep74-history-card .rep79-card-disabled{
 border-color:#d8dde1;background:#f3f5f6;color:#677a85;cursor:default;
}

/* 2.48.67.81: same readable gold link treatment as the existing Voiles catalogue.
   The WHOLE article card remains an anchor once SQL identity is certified. */
html body.rep70-history .rep14-root .rep74-history-card .rep81-card-link {
 display:inline-flex!important; align-items:center; gap:7px;
 margin-top:auto; padding-top:12px; color:#a36b06!important;
 font:700 14px/1.4 Arial,sans-serif!important; text-decoration:underline;
 text-underline-offset:3px;
}
html body.rep70-history .rep14-root .rep74-history-card a:hover .rep81-card-link,
html body.rep70-history .rep14-root .rep74-history-card a:focus-visible .rep81-card-link {color:#654300!important}
html body.rep70-history .rep14-root .rep74-history-card .rep81-card-preview {color:#37627c!important}
html body.rep70-history .rep14-root .rep74-history-card .rep81-card-unavailable {
 display:block; margin-top:auto; padding-top:12px;
 color:#687989; font:600 13px/1.4 Arial,sans-serif;
}
html body.rep70-history .rep14-root .rep81-admin-status {
 padding:12px 17px; border:1px solid #d2b58c; border-radius:8px;
 color:#7d4819; background:#fffbf2; font:13px/1.5 Arial,sans-serif;
}

/* 2.48.67.86 — semantic image/period audit, no simulated archive illustrations. */
.rep14-root .rep74-history-card .rep86-modern-visual{position:relative}
.rep14-root .rep74-history-card .rep86-current-label{position:absolute;bottom:8px;left:8px;background:rgba(2,35,54,.86);color:#fff;padding:5px 9px;border-radius:4px;font:600 11px/1.3 Arial,sans-serif;letter-spacing:.01em}
.rep14-root .rep74-history-card .rep86-no-archive{display:flex!important;flex-direction:column;justify-content:center;gap:10px;align-items:center;text-align:center;background:#f7f3ea!important;border-bottom:1px solid #e6dccc;color:#1c4258;padding:16px}
.rep14-root .rep74-history-card .rep86-no-archive span{font:500 20px/1.25 Georgia,serif}
.rep14-root .rep74-history-card .rep86-no-archive small{font:11px/1.5 Arial,sans-serif;color:#826b4b;letter-spacing:.02em}

/* 2.48.67.87: sources documented, no empty historical cards */
.rep14-root .rep74-history-card .rep86-modern-visual img{background:#f2eee5}
.rep14-root .rep74-history-card .rep86-current-label{background:rgba(4,33,49,.70);color:#fff;font-size:10px}
.rep87-photo-hero{padding:0!important;background:none!important;overflow:hidden}
.rep87-photo-hero img{display:block;width:100%;height:100%;max-height:390px;object-fit:cover}
.rep87-history-back{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:22px 0}
.rep87-history-back a{color:#8d5b16!important;text-decoration:underline;text-underline-offset:3px}
.rep87-history-back-top{margin:0 auto 16px;max-width:1250px;font:600 14px/1.5 Arial,sans-serif}
.rep86-hero-caption a{color:#725323;text-decoration:underline}

/* 2.48.67.88 — unobtrusive photographer credit INSIDE photo. */
.rep14-root .rep74-history-card .rep86-current-label.rep88-card-photo-credit{
 left:auto!important;right:10px!important;bottom:10px!important;
 max-width:calc(100% - 20px);padding:5px 9px!important;
 background:rgba(2,27,41,.24)!important;color:rgba(255,255,255,.87)!important;
 font:500 11px/1.3 Arial,sans-serif!important;text-shadow:0 1px 3px rgba(0,0,0,.85);
 text-align:right;pointer-events:none;
}
