/*
Theme Name: Museum Falerística
Theme URI: https://cartagenero.es/
Author: Museo Virtual de Falerística
Description: Museo contemporáneo de la colección privada de cartagenero.es.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: museum-faleristica
*/
:root{--paper:#f8f5ed;--ink:#272b29;--bronze:#795c36;--line:#d6ccbd;--muted:#655f53}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.7 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:var(--bronze);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #936019;outline-offset:4px}img{max-width:100%;height:auto;object-fit:contain}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.15;letter-spacing:-.025em}h1{font-size:clamp(2.6rem,5vw,4.8rem);margin:20px 0 30px}h2{font-size:clamp(2rem,3vw,3rem);margin:0 0 24px}h3{font-size:1.6rem}p{max-width:76ch}button,input,select,textarea{font:inherit}.shell{width:min(1240px,calc(100% - 96px));margin:auto}.site-header{border-bottom:1px solid var(--line);padding:27px 0}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{color:var(--ink);text-decoration:none;font-size:22px;letter-spacing:.15em;font-weight:600;line-height:1.4}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:.11em;text-transform:uppercase}.header-nav{display:flex;align-items:center;gap:30px;font-size:13px}.header-nav a{color:var(--ink);text-decoration:none}.header-nav ul{display:flex;gap:22px;list-style:none;padding:0;margin:0}.language-nav{display:flex;gap:12px;border-left:1px solid var(--line);padding-left:22px}.language-nav [aria-current]{font-weight:700;text-decoration:underline}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;padding:76px 0;align-items:center}.hero .eyebrow,.eyebrow{font-size:11px;letter-spacing:.19em;text-transform:uppercase;color:var(--bronze)}.hero p{color:var(--muted);font-size:17px}.hero figure{margin:0;min-height:430px;display:flex;align-items:center;justify-content:center;background:#ebe5d9;padding:35px}.hero figure img{max-height:510px;width:100%;object-fit:contain}.hero-empty{border:1px solid var(--line);padding:50px;font:1.9rem Georgia;line-height:1.5}.button{display:inline-block;background:var(--ink);color:white;text-decoration:none;padding:13px 25px;font-size:14px;margin-top:20px}.section{padding:64px 0;border-bottom:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px}.section-heading p{margin:0 0 28px;color:var(--muted);font-size:14px}.explore-links{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.explore-links details{border:1px solid var(--line);padding:24px}.explore-links summary{cursor:pointer;font:1.5rem Georgia}.explore-links ul{padding-left:20px;font-size:14px;max-height:350px;overflow:auto}.timeline{display:flex;flex-wrap:wrap;gap:18px;list-style:none;padding:0}.timeline li{border-left:2px solid var(--bronze);padding-left:17px;min-width:180px}.cedi{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.cedi img{max-height:400px}.prose{max-width:850px;margin:50px auto 80px}.prose.wide{max-width:1100px}.prose h2{margin-top:45px}.prose h3{margin-top:30px}.prose p{overflow-wrap:anywhere}.wp-block-image img,.wp-block-gallery img{object-fit:contain!important;height:auto!important}.wp-block-cover__image-background{object-fit:contain!important}.wp-caption{max-width:100%}.screen-reader-text,.skip-link:not(:focus){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.skip-link:focus{position:fixed;top:8px;left:8px;background:white;color:#222;padding:12px;z-index:1000}.site-footer{padding:45px 0;margin-top:30px;background:#272b29;color:#e9e1d4}.footer-inner{display:flex;justify-content:space-between;gap:30px;font-size:13px}.site-footer a{color:#f0d6ac}.site-footer .brand{color:#f8f5ed}.search-form{display:flex;gap:10px;flex-wrap:wrap}.search-field{padding:12px;max-width:100%;border:1px solid #a59a88}.search-submit{padding:12px;background:var(--ink);color:white;border:0;cursor:pointer}.entry-list{padding:25px 0;border-bottom:1px solid var(--line)}.entry-list h2{font-size:2rem}.entry-list img{max-height:320px}.comment-form textarea{width:100%}.alignwide{max-width:1200px}.alignfull{max-width:100%}@media(max-width:1000px){.shell{width:calc(100% - 48px)}.header-inner{align-items:flex-start}.header-nav{gap:14px;flex-wrap:wrap;justify-content:flex-end}.hero{gap:30px}.hero figure{min-height:300px}.explore-links{grid-template-columns:1fr}.header-nav ul{flex-wrap:wrap}}@media(max-width:650px){.shell{width:calc(100% - 36px)}.site-header{padding:20px 0}.header-inner{display:block}.brand{font-size:19px}.header-nav{justify-content:space-between;margin-top:22px;font-size:12px}.header-nav ul{gap:14px}.language-nav{padding-left:12px}.hero{grid-template-columns:1fr;padding:40px 0;gap:30px}.hero h1{font-size:2.9rem}.hero figure{min-height:240px;padding:20px}.hero figure img{max-height:390px}.section{padding:40px 0}.section-heading,.footer-inner{display:block}.cedi{grid-template-columns:1fr}.prose{margin-top:35px}.hero-empty{padding:30px;font-size:1.5rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Visual direction supplied by the owner: charcoal masthead, bronze and ivory. */
body{background:#e4ded2;font-size:16px}.site-frame{max-width:1460px;margin:20px auto;background:#fbf9f4;box-shadow:0 8px 35px #30271b24;border-radius:12px;overflow:clip}.shell{width:calc(100% - 80px)}.site-header{background:#20211e;color:#fff;border:0;padding:25px 0}.brand-group{display:flex;align-items:center;gap:18px}.brand{font:30px/1.1 Georgia,serif;letter-spacing:.025em;color:#fff8e7;white-space:nowrap}.brand small{font:12px/1.6 Georgia,serif;letter-spacing:.1em;color:#dfc69a}.museum-monogram{width:55px;height:55px;border:2px solid #b68e4c;outline:1px solid #b68e4c;outline-offset:4px;display:grid;place-items:center;flex-shrink:0;color:#d5af70;border-radius:50%;font:38px Georgia}.custom-logo-link img{width:70px;max-height:80px;object-fit:contain}.header-nav a{color:#f3e9d8}.language-nav{border-color:#685538}.language-nav a{color:#d9b273}.hero{position:relative;min-height:560px;margin:0 -40px;padding:54px 56px;grid-template-columns:1.1fr 1fr;gap:30px;background:radial-gradient(ellipse at 85% 35%,#655d51 0,#36352f 35%,#1c211f 78%);color:#fff8ee}.hero h1{font-size:clamp(2.8rem,4.4vw,4.6rem);max-width:660px;line-height:1.04}.hero p{color:#f0e5d2;max-width:490px;font:20px/1.45 Georgia}.hero .eyebrow{color:#ddbc85}.hero figure{min-height:430px;max-height:530px;background:transparent;padding:0;justify-content:center}.hero figure img{width:100%;height:auto;max-height:490px;object-fit:contain}.hero .button{background:linear-gradient(#917144,#705327);border:1px solid #c7a46c;box-shadow:0 3px 9px #0003;color:#fff9ea;font:18px Georgia;border-radius:3px;padding:16px 26px}.hero-empty{color:#ddc69b;border-color:#8a7656}.mf-stats{margin:0 -40px;padding:25px 50px;background:linear-gradient(90deg,#f6f1e7,#fffdf8,#f6f1e7);border:0}.mf-stats>div{display:grid;grid-template-columns:auto 1fr;column-gap:18px;align-items:center;justify-content:center;border-right:1px solid #d2c1a7;padding:0 30px}.mf-stats>div:last-child{border:0}.mf-stats strong{font:48px/1 Georgia;color:#1d201e}.mf-stats span{font:17px Georgia;max-width:110px}.mf-type-stats{margin:10px 0 0;color:#756448}.section{padding:34px 0;border-bottom:1px solid #ded3c2}.section-heading h2{font-size:32px}.section-heading p{font-size:13px}.featured-section .mf-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:15px;margin:10px 0}.featured-section .mf-card{background:transparent;border:0}.featured-section .mf-card-image{height:210px;padding:0;background:#e6e0d4;border-radius:3px}.featured-section .mf-card-text{padding:12px 0}.featured-section .mf-card h3{font-size:17px;margin:5px 0 8px}.featured-section .mf-card-text>span:last-child{font-size:12px}.featured-section .mf-kicker{font-size:10px}.cedi{background:#262724;color:#f9edd7;margin:0 -40px;padding:40px 56px;max-width:none}.cedi a{color:#e2bd80}.cedi .eyebrow{color:#e2bd80}.site-footer{margin-top:0;padding:32px 0;background:#f2ede3;color:#3a332a;border-top:1px solid #d2c5b1}.site-footer .brand{color:#3a332a;font-size:23px}.site-footer a{color:#755529}.breadcrumbs{font-size:12px;color:#716756;margin:25px 0 30px}.breadcrumbs a{color:inherit;text-decoration:none}.object-top{display:grid;grid-template-columns:1.05fr 1fr;gap:38px;align-items:start}.object-gallery{display:grid;grid-template-columns:70px 1fr;gap:18px;min-width:0}.gallery-thumbs{display:flex;flex-direction:column;gap:12px}.gallery-thumb{border:1px solid transparent;background:#ebe4d8;padding:3px;cursor:pointer;height:96px}.gallery-thumb[aria-pressed=true]{border-color:#8c6531;outline:1px solid #8c6531}.gallery-thumb img{height:100%;width:100%;object-fit:contain}.gallery-main{position:relative;margin:0;background:#e4ded3;display:flex;justify-content:center;align-items:center;min-height:480px}.gallery-main>img{width:100%;height:570px;object-fit:contain}.gallery-zoom{position:absolute;bottom:14px;right:14px;background:#292821;color:#fff;border:1px solid #eee;border-radius:50%;width:42px;height:42px;font-size:25px;cursor:pointer}.object-summary h1{font-size:clamp(2.4rem,3.4vw,3.8rem);margin:10px 0 16px}.object-intro{font:18px/1.5 Georgia;color:#514a40}.object-summary .mf-facts{margin:22px 0;background:#f0ebe2;padding:20px}.object-summary .mf-facts h2{font-size:24px;margin:0 0 15px}.object-summary .mf-facts dl{font-size:12px;grid-template-columns:40% 60%}.object-summary .mf-facts dt,.object-summary .mf-facts dd{padding:6px 0;line-height:1.5}.object-summary .mf-facts dt{font-weight:400;padding-right:12px}.object-sections{display:flex;gap:0;background:#eee8de;margin:35px 0;padding:0;flex-wrap:wrap}.object-sections a{padding:13px 23px;color:#3b362e;text-decoration:none;font:16px Georgia;border-bottom:2px solid transparent}.object-sections a:hover,.object-sections a:focus{background:#faf7f0;border-bottom-color:#836336}.object-history{max-width:100%;font:18px/1.7 Georgia}.object-history h2{font-size:32px}.object-history p{max-width:95ch}.museum-object{padding-bottom:45px}.gallery-dialog{max-width:95vw;max-height:95vh;border:0;padding:18px;background:#f3ede3}.gallery-dialog::backdrop{background:#000c}.gallery-dialog img{max-width:85vw;max-height:80vh;object-fit:contain;display:block}.gallery-close{display:block;margin-left:auto;border:0;padding:10px;background:#292b27;color:white;cursor:pointer}.gallery-empty{padding:70px 25px;grid-column:1/-1;background:#eee8df;text-align:center}
@media(max-width:1100px){.site-frame{margin:0;border-radius:0}.brand{font-size:25px}.header-nav{font-size:12px}.featured-section .mf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{min-height:450px}.hero figure{min-height:350px}.hero h1{font-size:3.4rem}.object-top{gap:24px}.object-gallery{grid-template-columns:54px 1fr;gap:10px}.gallery-main>img{height:500px}.mf-stats>div{padding:0 14px}.gallery-thumb{height:75px}}
@media(max-width:750px){.shell{width:calc(100% - 36px)}.site-header{padding:23px 0}.brand{font-size:25px}.brand small{font-size:10px}.museum-monogram{width:42px;height:42px;font-size:30px}.header-inner{display:block}.header-nav{margin-top:24px;justify-content:space-between}.header-nav ul{gap:14px}.hero{margin:0 -18px;padding:35px 25px;grid-template-columns:1fr 1fr;gap:16px;min-height:380px}.hero h1{font-size:2.7rem}.hero p{font-size:16px}.hero figure{min-height:260px}.hero figure img{max-height:330px}.hero .button{font-size:15px;padding:13px}.mf-stats{margin:0 -18px;padding:24px 16px;gap:0}.mf-stats>div{display:block;padding:0 16px}.mf-stats strong{font-size:35px}.mf-stats span{font-size:13px}.mf-type-stats{font-size:11px}.object-top{grid-template-columns:1fr}.object-gallery{grid-template-columns:55px 1fr}.gallery-main>img{height:490px}.object-summary .mf-facts dl{grid-template-columns:40% 60%}.object-summary .mf-facts dt{border-bottom:1px solid #d8d1c4}.cedi{margin:0 -18px;padding:32px 25px;grid-template-columns:1fr}.object-sections a{padding:12px;font-size:14px}}
@media(max-width:480px){.hero{grid-template-columns:1fr}.hero h1{font-size:2.7rem;margin-bottom:18px}.hero figure{min-height:0;height:340px;order:2}.hero figure img{max-height:340px}.featured-section .mf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-section .mf-card-image{height:220px}.mf-stats>div{padding:0 10px}.gallery-main{min-height:360px}.gallery-main>img{height:420px}.object-history{font-size:17px}}
@media(min-width:1101px){.hero h1{font-size:58px}.hero{min-height:510px}.hero figure img{max-height:440px}.hero figure{min-height:420px}}@media(max-width:1000px) and (min-width:751px){.header-inner{display:block}.header-nav{margin-top:22px;justify-content:flex-end}.hero h1{font-size:48px}}

.mf-extra-nav{padding:0.65rem 3%;color:#f6eddb}.mf-extra-nav summary{cursor:pointer}.mf-extra-nav ul{display:flex;flex-wrap:wrap;gap:1.2rem;list-style:none;padding:0}.mf-extra-nav a{color:inherit}.mf-stats small{display:block;font-size:.8rem;margin-top:.4rem}.mf-piece-quantity{margin-top:.5rem}

.mf-country-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem 1.5rem;list-style:none;padding:0}.mf-country-directory a{display:block;padding:.6rem;border-bottom:1px solid #d8cdbb}.mf-legacy-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.2rem}.mf-legacy-gallery figure{margin:0;text-align:center}.mf-legacy-gallery img{width:100%;height:320px;object-fit:contain}.header-nav nav ul{flex-wrap:wrap}
/* Owner palette: blue-violet primary, orange secondary. */
:root{--paper:#f7f6fc;--ink:#26213f;--bronze:#7A4090;--line:#dcd8ec;--muted:#625d76;--primary:#7A4090;--secondary:#f49a38}
body{background:#f3edf5;color:var(--ink)}.site-frame{background:#fdfaff}.site-header,.site-footer{background:#5a2f6b;color:#fff;border-color:#88559b}.brand,.site-header .brand,.site-header .header-nav a,.site-footer .brand{color:#fff}.brand small,.site-header .brand small,.site-footer a{color:#ffc27a}.museum-monogram{color:#ffc27a;border-color:var(--secondary)}.hero{background:linear-gradient(120deg,#5a2f6b,#7A4090);color:#fff}.hero h1,.hero p{color:#fff}.hero .eyebrow{color:#ffc27a}.hero-empty{color:#ffe0b8;border-color:#bb99c7}.hero figure{background:#f2eaf6}.button,.hero .button,.mf-filters button{background:var(--secondary);color:#2e2045;border-color:#de7924}.button:hover,.mf-filters button:hover{background:#ffb157}.eyebrow,.mf-kicker{color:#7A4090}.mf-stats{background:#f5eef8;border-color:var(--line)}.mf-stats strong{color:#7A4090}.mf-stats span,.mf-stats small{color:#504968}.mf-card{background:#fff;border-color:var(--line)}.mf-card-image{background:#f5eff8}.mf-card a:hover h3{color:#7A4090}.mf-filters{background:#f4ecf8}.mf-filters input,.mf-filters select{background:#fff;border-color:#a8a0c9}.object-top,.object-summary,.object-sections,.mf-facts,.cedi{border-color:var(--line)}.object-sections{background:#f4edf8}.gallery-main,.gallery-empty,.gallery-thumbs button,.mf-gallery figure{background:#f5eff8}.gallery-thumb[aria-pressed=true]{border-color:#ed8425}.mf-extra-nav{color:#fff}.section,.site-footer,.mf-pagination a,.mf-pagination span{border-color:var(--line)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:#ed8425}.mf-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.mf-card-image{height:240px}.mf-card-text{padding:16px}.mf-card h3{font-size:1.25rem}.mf-country-directory{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:2px 14px;font-size:.82rem;line-height:1.25}.mf-country-directory a{display:flex;align-items:center;gap:7px;min-height:36px;padding:4px 0;border-color:#e5e1f0;text-decoration:none}.mf-country-directory .mf-country-flag{width:26px;height:18px;flex:0 0 26px;object-fit:contain}.mf-country-directory span{min-width:0}#paises{padding-block:30px}#paises h2{font-size:1.8rem;margin-bottom:16px}.blog-card-photo{display:block;width:280px;max-height:230px;object-fit:contain;background:#f4edf8}.blog-photo{margin:24px 0}.blog-photo img{width:100%;max-height:540px;object-fit:contain}.entry-list{border-color:var(--line)}
@media(max-width:1000px){.mf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.mf-grid{grid-template-columns:1fr}.mf-country-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px}.mf-country-directory a{min-height:44px}}

.explore-links{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}

/* 0.3.3: nombres y acceso a las piezas en las tarjetas del catálogo. */
.mf-card .mf-card-text{text-align:center}
.mf-card h3{font-size:calc(1.25rem + 2pt);font-weight:700;text-align:center;overflow-wrap:anywhere}
.mf-card .mf-card-action{display:table;max-width:100%;margin:0 auto;padding:11px 18px;min-height:44px;border-radius:4px;background:var(--primary,#7A4090);color:#fff;font:600 14px/1.5 system-ui,sans-serif;text-align:center}
.mf-card a:hover .mf-card-action,.mf-card a:focus-visible .mf-card-action{background:#5a2f6b;color:#fff}

/* Blog: dos columnas, conservando la fotografía completa de cada entrada. */
.mf-blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.mf-blog-grid .entry-list{min-width:0;padding:0 0 24px}
.mf-blog-grid .blog-card-photo{width:100%;height:260px;max-height:none;object-fit:contain}
.mf-blog-grid .entry-list h2{font-size:1.7rem;overflow-wrap:anywhere}
@media(max-width:650px){.mf-blog-grid{grid-template-columns:1fr;gap:24px}}

.mf-conflict-directory{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 24px;font-size:.8rem;line-height:1.4;text-transform:uppercase}
.mf-conflict-directory li{min-width:0;border-bottom:1px solid var(--line)}
.mf-conflict-directory a,.mf-conflict-unlinked{display:block;padding:9px 0;min-height:44px;text-decoration:none}
.mf-conflict-unlinked{color:#615a72}.mf-conflict-date{font-weight:700;white-space:nowrap}
.mf-conflict-century{font-size:1.15rem;font-weight:700;margin:28px 0 12px}
@media(max-width:1000px){.mf-conflict-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.mf-conflict-directory{grid-template-columns:1fr}}

.footer-acknowledgements{border-top:1px solid #ffffff30;margin-top:24px;padding-top:18px;font-size:.8rem;line-height:1.65}.footer-acknowledgements p{max-width:none;margin:0;overflow-wrap:anywhere}
/* Colaboración cultural: sustituye las destacadas, sin duplicar el bloque CEDI. */
.cedi-promotion{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;align-items:center;margin:36px 0;padding:36px;background:#5a2f6b;color:#fff;border:1px solid #88559b;border-left:5px solid #f49a38;border-radius:6px}
.cedi-promotion .eyebrow{color:#ffc27a}.cedi-promotion h2{color:#fff;font-size:clamp(1.8rem,3vw,2.6rem);margin:12px 0 18px}.cedi-promotion p{color:#f0edff;font-size:1rem;line-height:1.65;margin:0}
.cedi-promotion .cedi-promotion-button{background:#f49a38;color:#5a2f6b;font-weight:700;margin-top:22px;border-radius:4px}.cedi-promotion .cedi-promotion-button:hover{background:#ffc27a}.cedi-promotion-domain{display:block;margin-top:10px;font-size:.8rem;color:#eeeaff}
.cedi-promotion-signature{text-align:center;padding:32px 12px;border-left:1px solid #ffffff40}.cedi-promotion-signature strong{display:block;font:clamp(2rem,4vw,3.4rem) Georgia,serif;letter-spacing:.1em;color:#ffc27a;margin:12px 0}.cedi-promotion-signature span{font-size:.8rem;letter-spacing:.1em}
.cedi-promotion-photo{margin:0}.cedi-promotion-photo img{display:block;width:100%;max-height:320px;object-fit:contain}
@media(max-width:650px){.cedi-promotion{grid-template-columns:1fr;padding:26px 20px;gap:24px}.cedi-promotion-signature{border-left:0;border-top:1px solid #ffffff40;padding:24px 0 0}}

/* 0.3.3: alineación de navegación y recuentos. */
#explorar>h2,#explorar>h3,#paises>h2,.mf-catalog>h2,.mf-timeline-title,.mf-stats>div{text-align:center}
.mf-interwar-action{text-align:center;margin-top:28px}
.mf-interwar-action .button{font-weight:700;border-radius:6px;margin-top:0}
.mf-filters>button{grid-column:1/-1;justify-self:center;border-radius:6px;min-width:140px}
.cedi-promotion-photo img{height:auto;object-fit:contain;border-radius:5px}

/* 0.3.3: dos recuentos centrados y regreso directo a los resultados. */
body .mf-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
body .mf-stats>div{grid-template-columns:auto auto;justify-content:center;text-align:center;column-gap:22px}
body .mf-stats>div>small{grid-column:1/-1;text-align:center}
.mf-country-directory a span,.mf-conflict-directory a,.mf-conflict-unlinked,.timeline a{font-weight:700}
#mf-resultados{scroll-margin-top:80px}
@media(max-width:560px){body .mf-stats{grid-template-columns:1fr;gap:22px}body .mf-stats>div{border-right:0;padding:0 12px 20px;border-bottom:1px solid var(--line)}body .mf-stats>div:last-child{border:0;padding-bottom:0}}

/* 0.3.5: visible supplementary navigation and accessible return to top. */
.mf-extra-nav{border-top:1px solid #a57bb5;margin-top:18px;padding-block:12px}.mf-extra-nav p{margin:0}.mf-extra-nav ul{margin:8px 0 0}.mf-extra-nav a{display:inline-block;padding:6px 0}
.museum-back-top{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:44px;height:44px;border:2px solid #ffc27a;border-radius:8px;background:#7A4090;color:#fff;display:grid;place-items:center;text-decoration:none;font-size:26px;font-weight:700;z-index:50;box-shadow:0 2px 8px #0003}.museum-back-top[hidden]{display:none}.mf-related-row{margin-block:28px}.mf-related-row>h3{font:700 1.05rem/1.5 system-ui,sans-serif;text-align:center}.mf-admin-view{margin-left:1em}
body#museum-top:focus{outline:none}

/* 0.4.0-rc2: additional collections before the footer; blue buttons by request. */
.mf-extra-nav{margin:0;padding:32px 20px;border-top:1px solid var(--line);text-align:center;color:var(--ink);background:#f5eff8}.mf-extra-nav h2{margin:0 0 20px;font-size:1.8rem}.mf-extra-nav ul{justify-content:center;align-items:center;gap:12px;margin:0;padding:0}.mf-extra-nav a{display:inline-block;padding:11px 20px;border-radius:6px;background:#4035a5;color:#fff;text-decoration:none;font-weight:700}.mf-extra-nav a:hover{background:#292263}.mf-extra-archive h1{text-align:center}.prose.wide:has(.mf-extra-archive){max-width:none}.mf-extra-archive .mf-card h3{margin:0 0 12px}.mf-extra-archive .mf-card-image img{max-width:100%;object-fit:contain}
.site-header,.site-footer{background:#7A4090}

/* 0.4.0-rc2: ajustes acordados, sin alterar las fotografías. */
.site-header{background:#592e69}.site-header .brand small{font-size:15px;line-height:1.5;white-space:normal}
.object-history h2{font-size:calc(32px + 4pt);font-weight:700}
#relacionadas>h2{font-size:calc(clamp(2rem,3vw,3rem) + 4pt);font-weight:700}
.object-sections a[href="#historia"],.object-sections a[href="#relacionadas"]{font-size:calc(16px + 4pt);font-weight:700}
.mf-country-total{max-width:none;text-align:center;padding:16px;background:#f5eff8;border:1px solid var(--line);border-radius:6px}.mf-country-total small{display:block}
@media(max-width:750px){.site-header .brand small{font-size:12px}.object-sections a[href="#historia"],.object-sections a[href="#relacionadas"]{font-size:calc(14px + 4pt)}}

/* RC española: lectura alfabética de arriba abajo por columnas. */
.mf-country-directory{display:block;column-count:4;column-gap:22px}.mf-country-directory li{break-inside:avoid;page-break-inside:avoid;list-style:none}.mf-country-directory a{width:100%}
.mf-country-results{padding-block:24px}.mf-country-results h2{text-align:center}.prose.wide:has(.mf-country-results){max-width:none}#mf-pais-resultados,#mf-exposiciones{scroll-margin-top:24px}
@media(max-width:1000px){.mf-country-directory{column-count:3}}@media(max-width:750px){.mf-country-directory{column-count:2}}@media(max-width:380px){.mf-country-directory{column-count:1}}

/* Revisión española: directorios y ancho común de los bloques editoriales. */
.mf-country-directory{column-count:5}
.mf-conflict-directory{display:block;column-count:5;column-gap:22px}
.mf-conflict-directory li{break-inside:avoid;page-break-inside:avoid}
.object-history p,.mf-editorial-content p{max-width:none}
.object-history :where(.wp-block-group,.wp-block-group__inner-container,.is-layout-constrained)>:where(p,ul,ol,h2,h3,h4),
.mf-editorial-content :where(.wp-block-group,.wp-block-group__inner-container,.is-layout-constrained)>:where(p,ul,ol,h2,h3,h4){max-width:none!important;margin-inline:0!important}
.object-history,.mf-editorial-content{overflow-wrap:anywhere}
@media(max-width:1100px){.mf-country-directory,.mf-conflict-directory{column-count:3}}
@media(max-width:750px){.mf-country-directory,.mf-conflict-directory{column-count:2}}
@media(max-width:480px){.mf-country-directory,.mf-conflict-directory{column-count:1}}

/* Source Sans 3 se sirve desde el tema; licencia OFL en fonts/source-sans-3/LICENSE.md. */
@font-face{font-family:'Source Sans 3';src:url('fonts/source-sans-3/SourceSans3VF-Upright.ttf.woff2') format('woff2');font-style:normal;font-weight:200 900;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url('fonts/source-sans-3/SourceSans3VF-Italic.ttf.woff2') format('woff2');font-style:italic;font-weight:200 900;font-display:swap}
/* Cuerpo de las fichas; se conservan los encabezados con serifa. */
.museum-object .object-history{font:11pt/1.2 'Source Sans 3',Arial,sans-serif}
.museum-object .object-history :where(p,li,dd,dt,blockquote,td,th,figcaption,caption),
.museum-object .object-history :where(p,li,dd,dt,blockquote,td,th,figcaption,caption) :where(span,strong,em,a,small){font-family:'Source Sans 3',Arial,sans-serif!important;font-size:11pt!important;line-height:1.2!important}
.museum-object .object-history :where(h2),.museum-object #relacionadas>h2{font-size:18pt!important;line-height:1.2}
.museum-object .object-history :where(h3),.museum-object #relacionadas>h3{font-size:14pt;line-height:1.2}
.museum-object .object-sections a,.museum-object .object-sections a[href="#historia"],.museum-object .object-sections a[href="#relacionadas"]{font-size:14pt;line-height:1.2}
.museum-object .object-summary .mf-facts dl,.museum-object .object-summary .mf-facts :where(dt,dd){font-family:'Source Sans 3',Arial,sans-serif;font-size:11pt;line-height:1.2}
.museum-object .object-intro{font:11pt/1.2 'Source Sans 3',Arial,sans-serif}
.mf-recipient{display:grid;gap:4px;margin:18px 0;padding:14px 18px;border-left:4px solid #7A4090;background:#f5eff8;font:11pt/1.2 'Source Sans 3',Arial,sans-serif}
.mf-recipient small{font-size:11pt}
.mf-piece-day{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;align-items:center;background:#f5eff8;padding:32px;margin:0 -40px;border-bottom:1px solid var(--line)}
.mf-piece-day-photo{display:grid;place-items:center;min-height:290px;background:#ece5f0;padding:16px}
.mf-piece-day-photo img{display:block;max-height:380px;max-width:100%;width:auto;height:auto;object-fit:contain}
.mf-piece-day h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:8px 0 16px}
.mf-piece-day .eyebrow{font-size:16px;line-height:1.4;font-weight:700;color:#7A4090}
.mf-piece-day-intro{margin:0 0 18px;max-width:65ch}
.mf-piece-day-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0 0 16px}
.mf-piece-day-facts div{border-top:1px solid #d9cde0;padding-top:8px}
.mf-piece-day-facts dt{font-size:.8rem;color:#5e5271}
.mf-piece-day-facts dd{margin:2px 0 0;font-weight:700}
.mf-piece-day .button{background:#7A4090;color:#fff;border-radius:6px;font-weight:700}
.mf-piece-day .button:hover{background:#592e69}
@media(max-width:750px){.mf-piece-day{grid-template-columns:1fr;margin:0 -18px;padding:24px 18px}.mf-piece-day-photo{min-height:240px}.mf-piece-day-photo img{max-height:330px}}
@media(max-width:480px){.mf-piece-day-facts{grid-template-columns:1fr}}
