:root{color-scheme:dark;--rosa:#c93c7e;--rosa-light:#ffc1dc;--bg:#101116;--card:#1c1e25;--txt:#f7f7f9;--muted:#b4b5bf;--border:#343640}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--txt);font:16px/1.6 system-ui,-apple-system,Segoe UI,Arial,sans-serif}a{color:var(--rosa-light)}a:hover{text-decoration:none}.wrap{max-width:1140px;margin:0 auto;padding:0 22px}header{border-bottom:1px solid var(--border);position:sticky;top:0;background:#101116f2;z-index:5}.top{display:flex;align-items:center;justify-content:space-between;padding:16px 0;gap:12px}.logo{font-weight:950;letter-spacing:-1.5px;font-size:clamp(24px,4vw,39px);color:white;text-decoration:none}.logo span{color:var(--rosa)}.tag{color:#aaa;font-size:12px}nav{display:flex;gap:18px;overflow:auto;padding:0 0 13px}nav a{color:#ddd;text-decoration:none;white-space:nowrap;font-size:14px}.hero{padding:43px 0 27px}.eyebrow{color:var(--rosa-light);font-weight:800;font-size:12px;letter-spacing:1.5px}.hero h1{font-size:clamp(33px,6vw,61px);line-height:1.08;margin:12px 0}.hero p{color:var(--muted);max-width:720px}.bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:27px 0 16px;flex-wrap:wrap}.bar h2{margin:0;font-size:27px}input{font:inherit;padding:12px 15px;border:1px solid #484953;border-radius:9px;background:#22242b;color:white;min-width:240px}button{font:inherit;cursor:pointer}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card,.panel{background:var(--card);border:1px solid var(--border);border-radius:16px;overflow:hidden}.card{display:flex;flex-direction:column;min-width:0}.art{height:145px;background:linear-gradient(135deg,#48213a,#222733);display:grid;place-items:center;font-size:54px}.inside{padding:20px;display:flex;flex-direction:column;flex:1}.badge{color:var(--rosa-light);font-size:12px;font-weight:800}.card h3{font-size:20px;line-height:1.3;margin:10px 0;overflow-wrap:anywhere}.card p{color:#c7c7ce;font-size:14px;flex:1}.card .read{color:white;font-weight:700;text-decoration:none}.meta{color:#b2b2ba;font-size:12px;margin:14px 0}.ad{border:1px dashed #545661;background:#17191f;border-radius:12px;text-align:center;color:#a0a1ad;padding:23px;margin:30px 0;font-size:12px}.notice{background:#22232b;padding:15px 18px;border-left:3px solid var(--rosa);border-radius:5px;color:#e1e1e3;font-size:14px}.panel{padding:24px}.panel h2{margin:0 0 12px}.panel p{color:#c9c9d1}.columns{display:grid;grid-template-columns:2fr 1fr;gap:22px}.mini-list{margin:0;padding-left:22px}.mini-list li{margin:10px 0}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.filter{border:1px solid #50515c;background:#23252c;color:white;border-radius:99px;padding:8px 14px;font-size:13px}.filter.active{background:var(--rosa);border-color:var(--rosa);font-weight:700}.pill{display:inline-block;background:#412339;color:#ffc2db;font-size:12px;border-radius:99px;padding:4px 10px}.btn{display:inline-block;background:var(--rosa);color:white!important;padding:10px 16px;border-radius:8px;text-decoration:none;font-weight:700}.section{margin:37px 0}.muted{color:var(--muted)}.prose{max-width:850px;line-height:1.85;margin:36px auto 70px}.prose h1{font-size:clamp(28px,5vw,45px);line-height:1.2}.prose h2{margin-top:32px}footer{border-top:1px solid var(--border);margin-top:65px;padding:32px 0;color:#b5b6bf;font-size:13px}footer a{margin-right:13px}.skip{position:absolute;left:-9999px;top:0;background:#fff;color:#111;padding:10px}.skip:focus{left:10px}#status{color:var(--muted);font-size:14px}@media(max-width:900px){.columns{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:590px){.grid{grid-template-columns:1fr}.tag{display:none}input{width:100%;min-width:0}}


/* ═══════════════ CDMX AL MEMENTO · EDICIÓN VISUAL ═══════════════ */
:root{
 --rosa:#cd3e81;--rosa-light:#ffc4df;--bg:#0d1119;--card:#181e29;
 --txt:#f7f9fb;--muted:#abb4c3;--border:#2b3645;
}
body{background:radial-gradient(ellipse 85% 45% at 82% -6%,#742b6440,transparent 70%),#0d1119;color:var(--txt)}
.wrap{max-width:1220px;padding:0 24px}
header{background:#0e131cf5;backdrop-filter:blur(12px);border-bottom:1px solid #ffffff1b;box-shadow:0 8px 26px #02050930}
.top{padding:16px 0 13px}
.logo{font-weight:950;letter-spacing:-1.7px}
nav{gap:26px}
nav a{font-size:13px;color:#c9d1dd;font-weight:650;transition:color .15s}
nav a:hover,nav a.active{color:#fff;text-decoration:none}
nav a.active{border-bottom:2px solid var(--rosa);padding-bottom:3px}
::selection{background:#f5a5ce;color:white}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #ffd396;outline-offset:3px}
.hero-editorial{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:48px;min-height:480px;padding:42px 0 39px;align-items:center}
.hero-copy{padding:8px 0}
.live-pulse{display:inline-block;width:8px;height:8px;border-radius:100%;background:#f28cbd;box-shadow:0 0 0 5px #f28cbd25;margin-right:7px;vertical-align:middle}
.hero-editorial .eyebrow{font-size:11px;letter-spacing:1.9px}
.hero-editorial h1{font-size:clamp(38px,4.8vw,67px);line-height:1.06;letter-spacing:-2.7px;max-width:700px;margin:22px 0}
.hero-editorial h1 span{color:#ffc0de}
.hero-copy>p:not(.eyebrow){color:#c1c8d3;line-height:1.75;font-size:15px;max-width:575px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}
.hero-ctas .btn{padding:12px 18px;border-radius:9px;box-shadow:0 13px 25px #cd3e8128}
.btn-soft{background:#26303d!important;border:1px solid #536276;color:#e9eef7!important;box-shadow:none!important}
.hero-facts{display:flex;gap:24px;flex-wrap:wrap;padding-top:18px;border-top:1px solid #ffffff16;color:#aeb7c7;font-size:12px}
.hero-facts span{display:flex;align-items:baseline;gap:6px}
.hero-facts strong{color:#fff;font-size:17px;font-weight:850}
.hero-media{position:relative;min-width:0;padding:0 19px 16px 0}
.hero-main-photo{height:430px;border-radius:22px;overflow:hidden;position:relative;border:1px solid #ffffff35;background:#233244;box-shadow:0 29px 72px #030711a1}
.hero-main-photo img{width:100%;height:100%;object-fit:cover;object-position:center 47%;display:block;filter:saturate(.93) contrast(1.09)}
.hero-main-photo:after{position:absolute;content:"";inset:0;background:linear-gradient(180deg,#07111a00 29%,#07111ad9 100%);pointer-events:none}
.hero-photo-label{position:absolute;z-index:1;bottom:22px;left:26px;right:20px;color:#fff;display:grid;gap:5px}
.hero-photo-label strong{font-size:clamp(18px,2.2vw,28px);line-height:1.15;letter-spacing:-.5px}
.picture-kicker{font-size:10px;color:#ffd4e6;letter-spacing:2px;font-weight:900}
.hero-photo-label small{font-size:10px;color:#dfe3e6;line-height:1.3}
.hero-floating-card{position:absolute;right:-2px;top:34px;display:flex;align-items:center;gap:12px;background:#f7f9ff;color:#151925;box-shadow:0 13px 35px #02050a85;border-radius:13px;padding:13px 17px;transform:rotate(3deg);z-index:2;max-width:210px}
.hero-floating-card .float-icon{font-size:22px;color:#e86fab}
.hero-floating-card strong{display:block;font-size:13px;line-height:1.2}
.hero-floating-card small{display:block;font-size:11px;color:#5d6678;margin-top:3px}
.notice{background:#1a222de8;border:1px solid #303d4c;border-left:4px solid var(--rosa);border-radius:10px;padding:16px 20px;color:#c6d0dc;line-height:1.6;font-size:13px}
.notice strong{color:#fff}
.section{margin:54px 0}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:24px}
.section-heading h2,.bar h2{font-size:clamp(27px,3.1vw,39px);letter-spacing:-.8px;line-height:1.17;margin:0 0 8px}
.section-heading p:not(.eyebrow){color:var(--muted);font-size:13px;margin:0}
.section-heading .eyebrow{margin:0 0 8px;font-size:11px;letter-spacing:2px}
.heading-decoration{font-size:14px;font-weight:950;color:#8697aa;letter-spacing:3px}
.pink-mark{color:var(--rosa)}
.topic-section{margin-top:45px}
.topic-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}
.topic-card{overflow:hidden;display:block;position:relative;text-decoration:none;color:#fff;border:1px solid #394455;border-radius:14px;background:#172335;box-shadow:0 13px 28px #05091242;transition:border-color .2s,transform .2s,box-shadow .2s}
.topic-card:hover,.topic-card.active{transform:translateY(-4px);border-color:#e987b7;box-shadow:0 19px 34px #03070f85;color:#fff}
.topic-card img{width:100%;height:119px;object-fit:cover;display:block;transition:transform .25s}
.topic-card:hover img{transform:scale(1.08)}
.topic-card span{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;font-size:13px;font-weight:850;background:#161e2b}
.topic-card b{color:#ffb8d8;font-size:15px}
.headlines-live{display:inline-flex;align-items:center;gap:9px;font-size:11px;color:#d2dbe8;padding:8px 12px;border-radius:99px;background:#223044;border:1px solid #364658;white-space:nowrap}
.headlines-live:before{content:"";width:7px;height:7px;border-radius:50%;background:#63d6b6}
.featured-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(210px,1fr));gap:16px}
.featured-grid .card{min-height:0}
.featured-main{grid-row:span 2}
.card,.panel{background:#18202a;border:1px solid #2b3848;border-radius:16px;box-shadow:0 14px 30px #03081334;transition:border-color .2s,transform .2s}
.card:hover{border-color:#5a697e;transform:translateY(-3px)}
.news-visual{position:relative;overflow:hidden;background:#1d3045;flex-shrink:0}
.news-visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s;aspect-ratio:16/10}
.card:hover .news-visual img{transform:scale(1.04)}
.visual-label{position:absolute;left:10px;bottom:10px;padding:4px 8px;font-size:9px;font-weight:850;letter-spacing:1px;line-height:1.2;background:#0a1322be;color:#f3f6fc;border:1px solid #ffffff27;border-radius:5px}
.featured-main .news-visual{height:278px}
.featured-card:not(.featured-main){display:flex;flex-direction:row}
.featured-card:not(.featured-main) .news-visual{width:42%;min-height:100%}
.featured-card:not(.featured-main) .news-visual img{height:100%;aspect-ratio:auto}
.featured-card:not(.featured-main) .inside{padding:17px 16px}
.featured-card:not(.featured-main) .card h3{font-size:17px}
.featured-card:not(.featured-main) h3{font-size:clamp(16px,1.55vw,19px);margin:8px 0;line-height:1.28}
.featured-card:not(.featured-main) .inside>p{display:none}
.featured-card:not(.featured-main) .meta{margin:9px 0;font-size:11px}
.featured-card:not(.featured-main) .read{font-size:12px}
.featured-main h3{font-size:clamp(23px,2.4vw,33px);letter-spacing:-.45px;line-height:1.2;margin:13px 0}
.featured-main .inside{padding:23px 26px}
.featured-main .inside p{font-size:13px;line-height:1.6}
.featured-main .read{font-size:14px}
.image-disclaimer{font-size:11px;color:#8997ab;margin:13px 0 0}
.columns{gap:18px}
.editorial-resources .panel{padding:0 23px 25px}
.editorial-resources .resource-image{margin:0 -23px 22px;height:148px;background:#142b42;overflow:hidden}
.editorial-resources .resource-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:.94}
.editorial-resources h2{font-size:24px;line-height:1.2}
.editorial-resources p{font-size:14px;color:#bec9d7}
.editorial-resources .mini-list li{font-size:14px}
.latest-section .bar{margin:0 0 21px}
.latest-section .bar .eyebrow{margin:0 0 6px}
.latest-section .bar small{color:#99a8bc}
.latest-section input{border-color:#41536b;background:#17212d}
.filters{gap:9px;margin-bottom:19px}
.filter{background:#1c2938;border-color:#39485b;color:#cad5e5;padding:9px 15px}
.filter:hover{background:#304050}
.filter.active{background:#cf3e7e;border-color:#cf3e7e;color:#fff}
.grid{gap:19px}
.grid .news-visual{height:184px}
.card .inside{padding:18px 19px 21px}
.card .badge{font-weight:900;font-size:10px;letter-spacing:.8px;color:#ffb4d5}
.card h3{font-size:19px;line-height:1.31;letter-spacing:-.12px}
.card p{font-size:12px;line-height:1.6;color:#b3becc}
.card .meta{color:#9cacba;font-size:11px;margin:13px 0}
.card .read{color:#fafafa;font-size:13px;font-weight:750;margin-top:auto}
.card .read:hover{color:#ffc2db}
.photo-section{padding:28px 0 0;border-top:1px solid #293747}
.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.photo-tile{margin:0;position:relative;overflow:hidden;min-height:260px;border:1px solid #354254;border-radius:15px;background:#223145;box-shadow:0 12px 26px #050a133d}
.photo-tile img{width:100%;height:270px;object-fit:cover;display:block;filter:saturate(.94) contrast(1.05);transition:transform .3s}
.photo-tile:hover img{transform:scale(1.06)}
.photo-tile figcaption{position:absolute;bottom:0;left:0;right:0;display:flex;flex-direction:column;gap:3px;background:linear-gradient(0deg,#07101cf5,#07101c00);padding:46px 17px 17px}
.photo-tile figcaption strong{font-size:17px;line-height:1.15;color:white}
.photo-tile figcaption span{color:#d8dde9;font-size:11px}
.photo-credit{color:#8291a4;font-size:10px;margin:14px 0;line-height:1.6}
.photo-credit a{color:#aab8c9}
.panel:last-of-type{border-color:#374455}
footer{border-top-color:#334053;color:#a5b1c0}
footer a{color:#ffc3df}
#status{font-size:13px;color:#9aa9ba}
@media(max-width:1080px){
 .topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .hero-editorial{gap:23px;grid-template-columns:1fr .85fr}
 .hero-editorial h1{font-size:clamp(37px,4.7vw,58px)}
 .hero-main-photo{height:385px}
 .featured-grid{grid-template-columns:1.1fr 1fr}
 .featured-card:not(.featured-main) .news-visual{width:37%}
}
@media(max-width:790px){
 .hero-editorial{grid-template-columns:1fr;gap:20px}
 .hero-copy{padding:10px 0}
 .hero-media{max-width:650px;width:100%;margin:auto}
 .hero-main-photo{height:330px}
 .featured-grid{grid-template-columns:1fr;grid-template-rows:auto}
 .featured-main{grid-row:auto}
 .featured-main .news-visual{height:235px}
 .featured-card:not(.featured-main) .news-visual{width:38%;min-height:180px}
 .featured-card:not(.featured-main) .inside>p{display:block;font-size:12px}
 .photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .photo-tile:last-child{display:none}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .columns{grid-template-columns:1fr}
}
@media(max-width:590px){
 .wrap{padding:0 17px}
 .hero-editorial{padding-top:27px}
 .hero-editorial h1{letter-spacing:-1.6px;font-size:clamp(38px,10vw,51px)}
 .hero-media{padding-right:0}
 .hero-main-photo{height:330px;border-radius:16px}
 .hero-floating-card{right:7px;top:13px}
 .hero-facts{gap:10px 17px}
 .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .topic-card img{height:119px}
 .section-heading{align-items:start}
 .heading-decoration{display:none}
 .headlines-live{display:none}
 .featured-card:not(.featured-main) .inside>p{display:none}
 .featured-main .inside{padding:19px}
 .featured-main h3{font-size:24px}
 .featured-card:not(.featured-main) .news-visual{width:37%;min-height:190px}
 .featured-card:not(.featured-main) .inside{padding:13px 12px}
 .featured-card:not(.featured-main) h3{font-size:16px}
 .featured-card:not(.featured-main) .meta{font-size:10px}
 .grid{grid-template-columns:1fr}
 .grid .news-visual{height:200px}
 .photo-gallery{grid-template-columns:1fr}
 .photo-tile:last-child{display:block}
 .photo-tile{min-height:0}
 .photo-tile img{height:230px}
 .section{margin:42px 0}
 .editorial-resources .resource-image{height:156px}
}
@media(prefers-reduced-motion:reduce){
 .topic-card,.card,.news-visual img,.photo-tile img{transition:none!important}
}

/* Versión con fotografía documental: eliminar decoración de ilustraciones */
.topic-photo-credit{display:block;padding:0 12px 9px;margin-top:-4px;color:#aab7c8;font-weight:500;font-size:9px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topic-card img{filter:saturate(.98) contrast(1.06);height:126px;object-fit:cover}
.topic-card:hover img{transform:scale(1.06)}
.topic-card{background:#172334}
.hero-photo-label a{color:#eff4ff;text-underline-offset:3px}
.hero-main-photo img[hidden],.resource-image img[hidden],.topic-card img[hidden],.photo-tile img[hidden],.news-visual img[hidden]{display:none}
.news-visual{position:relative;background:linear-gradient(135deg,#253747,#1a2431)}
.news-visual img{filter:saturate(.95) contrast(1.04)}
.photo-credit-inline{position:absolute;z-index:1;right:8px;top:8px;max-width:85%;color:#edf6ff;background:#0e1a2bdb;border:1px solid #ffffff21;border-radius:5px;padding:4px 7px;text-decoration:none;font-size:9px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .2s}
.photo-credit-inline:hover{color:#fff;background:#24384d}
.photo-credit-over{position:absolute;right:9px;bottom:8px;color:#eef4fa;background:#07131ccc;padding:2px 8px;border-radius:5px;font-size:9px}
.editorial-resources .resource-image{position:relative}
.visual-label{letter-spacing:.75px}
.photo-unavailable{display:grid;place-items:center;min-height:145px;height:100%;font-size:12px;color:#bdc9d5;text-align:center;padding:16px}
.photo-credits-page .notice{margin:22px 0}
.photo-credits-page h1{font-size:clamp(31px,5vw,48px)}
.photo-credits-page h2{font-size:20px;margin:0 0 8px}
.credit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:24px 0 30px}
.credit-row{padding:18px 20px;border:1px solid #394858;border-radius:12px;background:#1d2836}
.credit-row p{font-size:12px;margin:7px 0;color:#bfcbd8}
.credit-row a{color:#ffc4df}
@media(max-width:720px){.credit-list{grid-template-columns:1fr}.topic-card img{height:120px}.photo-credit-inline{font-size:8px;max-width:92%}}


/* CDMX AL MEMENTO: rosa mexicano claro y archivo mensual por alcaldías */
:root{--rosa:#cf3d80;--rosa-light:#ffc1dd;--rosa-claro:#f5a1c9;--rosa-haze:#f3a0c722}
.logo span,.hero-editorial h1 span,.pink-mark,.topic-card b{color:var(--rosa-claro)}
.eyebrow,.badge,.card .badge{color:var(--rosa-light)}
.btn,.filter.active{background:var(--rosa);border-color:var(--rosa);color:#fff}
.btn:hover,.filter.active:hover{background:#b92c70;color:#fff}
.pill{background:#48263a;color:var(--rosa-light)}
.hero-copy{position:relative}
.hero-editorial{background:radial-gradient(ellipse 68% 76% at -6% 20%,#b3366812,transparent 77%)}
.hero-ctas .btn{box-shadow:0 13px 27px #cd3e8135}
.notice{border-left-color:var(--rosa-claro)}
.borough-section,.archive-teaser{scroll-margin-top:120px}
.section-more{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--rosa-light);font-weight:780;font-size:13px}
.section-more:hover{color:#fff}
.alcaldia-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.alcaldia-card{display:flex;align-items:center;gap:11px;min-height:89px;padding:17px 16px;border:1px solid #384255;border-radius:14px;background:linear-gradient(130deg,#1b2735,#17202c);text-decoration:none;color:#f4f2f8;transition:transform .18s,border-color .18s,background .18s}
.alcaldia-card:hover,.alcaldia-card:focus-visible{transform:translateY(-3px);border-color:#ee8cbd;color:#fff;background:linear-gradient(130deg,#35243b,#1c2735)}
.alcaldia-card.principal{background:linear-gradient(130deg,#5a2849,#242439);border-color:#bd6c98}
.borough-index{font-weight:950;color:#f6a8cf;font-size:13px;letter-spacing:.5px;flex-shrink:0}
.alcaldia-card strong{font-size:13px;font-weight:760;line-height:1.3;flex:1}
.borough-arrow{font-size:19px;line-height:1;color:var(--rosa-light)}
.archive-teaser{background:linear-gradient(125deg,#361f39,#1a2635 70%);border:1px solid #68455d;border-radius:19px;padding:28px}
.archive-teaser .section-heading{align-items:center}
.archive-months{display:flex;flex-wrap:wrap;gap:11px}
.archive-month-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:147px;padding:13px 18px;border:1px solid #8b5679;border-radius:12px;color:#ffe2ef;background:#582f4c;text-decoration:none;font-size:13px;font-weight:760}
.archive-month-link:hover{border-color:#ffc1dd;background:#704062}
.archive-month-link small{color:#f1c9dc;font-weight:600;font-size:10px}
.archive-page-intro{margin:35px 0}
.archive-control-panel{display:flex;flex-wrap:wrap;align-items:end;gap:13px;border:1px solid #39475a;background:#192331;padding:20px;border-radius:15px;margin:20px 0}
.archive-field{display:grid;gap:7px;flex:1;min-width:170px;font-size:12px;font-weight:760;color:#d3dce9}
.archive-field select,.archive-field input{background:#101a28;border:1px solid #48546c;border-radius:9px;color:#fff;padding:11px 13px;font:inherit;min-width:0;width:100%}
.archive-summary{color:#bac9da;font-size:13px;padding:8px 0}
.archive-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.archive-note{padding:20px;border-radius:14px;border:1px solid #354358;background:linear-gradient(120deg,#1c2734,#171f2c)}
.archive-note h3{font-size:16px;line-height:1.36;margin:8px 0 11px}
.archive-note h3 a{color:#f7f8fc;text-decoration:none}
.archive-note h3 a:hover{color:var(--rosa-light)}
.archive-note .badge{display:inline-block;padding:3px 9px;border:1px solid #8e5476;border-radius:99px;background:#54334a;color:#ffd1e7;font-size:10px}
.article-location,.article-datetime{display:block;color:#b6c6d7;font-size:12px;line-height:1.55}
.article-source{font-size:11px;color:#d1daea;margin-top:10px}
.date-location{display:flex;flex-wrap:wrap;column-gap:12px;row-gap:4px;align-items:center}
.date-location span{font-size:11px;color:#b7c4d6}
.date-location .date-icon{color:#ffaed3}
.article-extra{font-size:12px;color:#cedae9;margin-top:12px}
.archive-pager{display:flex;align-items:center;justify-content:center;gap:16px;margin:24px 0}
.archive-pager button{background:#462c43;color:#ffe0f0;border:1px solid #a36386;border-radius:9px;padding:10px 16px}
.archive-pager button:disabled{opacity:.4;cursor:not-allowed}
.borough-directory{margin:25px 0}
.borough-directory .alcaldia-card{min-height:108px}
.borough-count{font-size:10px;color:#eabdd4;font-weight:650}
.borough-area-header{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center;margin-top:35px}
.borough-area-header h2{margin:0}
.borough-info{color:#b7c4d6;font-size:13px}
@media(max-width:1040px){.alcaldia-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:790px){.alcaldia-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-feed{grid-template-columns:1fr}.archive-teaser{padding:22px}.archive-teaser .section-heading{align-items:flex-start}}
@media(max-width:500px){.alcaldia-card{min-height:75px;padding:12px 10px;gap:6px}.alcaldia-card strong{font-size:11px}.borough-index{font-size:10px}.archive-control-panel{padding:14px}.archive-field{min-width:100%}.archive-teaser{padding:19px}.archive-month-link{flex:1}}

.alcaldia-card.active,.alcaldia-card[aria-current="true"]{border-color:#ffacd3;background:linear-gradient(130deg,#643150,#20283b);box-shadow:0 0 0 2px #e884b033}


/* Columna derecha fija con las 16 alcaldías junto a Últimas noticias */
.news-layout{display:grid;grid-template-columns:minmax(0,1fr) 264px;align-items:start;gap:24px}
.news-main{min-width:0}
.news-main .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.news-main .bar{align-items:end}
.news-main .bar input{width:min(100%,225px);min-width:160px}
.borough-rail{position:sticky;top:94px;align-self:start;min-width:0;max-height:calc(100vh - 112px);overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#b975a0 #232737;border:1px solid #69506b;border-radius:17px;background:linear-gradient(145deg,#342039 0%,#1c2534 37%,#17202d 100%);box-shadow:0 15px 33px #03081350}
.borough-rail-head{padding:22px 19px 13px;border-bottom:1px solid #ffffff18;background:linear-gradient(135deg,#572a49a8,#211f3500)}
.borough-rail-head .eyebrow{font-size:10px;letter-spacing:1.2px;margin:0 0 5px}
.borough-rail-head h2{font-size:27px;letter-spacing:-.7px;line-height:1.1;margin:4px 0 9px}
.borough-rail-head p:last-child{font-size:12px;line-height:1.55;color:#c7b7cb;margin:0}
.borough-rail-list{padding:11px;display:grid;gap:5px}
.borough-rail .alcaldia-card,.borough-rail .alcaldia-card.principal{min-height:43px;padding:9px 10px;border-radius:9px;border:1px solid transparent;background:transparent;box-shadow:none;gap:9px;transform:none}
.borough-rail .alcaldia-card:hover,.borough-rail .alcaldia-card:focus-visible{background:#75405c66;border-color:#ed9fc4;transform:translateX(2px)}
.borough-rail .alcaldia-card.principal{background:transparent;border-color:transparent}
.borough-rail .alcaldia-card strong{font-size:12px;font-weight:730}
.borough-rail .borough-index{font-size:10px;color:#ffb4d5}
.borough-rail .borough-arrow{font-size:15px}
.borough-rail-note{color:#adb8c9;font-size:10px;line-height:1.5;margin:8px 17px 12px}
.borough-rail-more{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 19px;border-top:1px solid #ffffff1b;text-decoration:none;font-size:12px;font-weight:820;color:#ffd1e7;background:#9b4b7833}
.borough-rail-more:hover{background:#a85b8955;color:#fff}
@media(max-width:1030px){
 .news-layout{grid-template-columns:minmax(0,1fr) 242px;gap:16px}
 .news-main .grid{grid-template-columns:1fr}
 .borough-rail-head{padding:18px 15px 12px}
 .borough-rail-list{padding:8px}
}
@media(max-width:790px){
 .news-layout{display:flex;flex-direction:column;gap:20px}
 .latest-section{scroll-margin-top:130px}
 .news-main{width:100%;order:0}
 .borough-rail{width:100%;position:static;order:1;max-height:none;overflow:visible}
 .borough-rail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:13px}
 .borough-rail-head{padding:18px 16px}
 .borough-rail-head h2{font-size:25px}
 .borough-rail .alcaldia-card,.borough-rail .alcaldia-card.principal{padding:11px 10px;min-height:48px}
 .news-main .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:590px){
 .news-main .grid{grid-template-columns:1fr}
 .borough-rail .alcaldia-card strong{font-size:11px}
 .borough-rail .alcaldia-card,.borough-rail .alcaldia-card.principal{padding:9px 6px;gap:5px}
 .borough-rail .borough-index{font-size:9px}
 .borough-rail .borough-arrow{font-size:13px}
}


/* Las noticias se muestran junto con una ficha histórica y foto local de su alcaldía. */
.borough-details-main{min-height:620px}
.borough-page-top{margin:28px 0 23px}
.borough-page-top .eyebrow{margin-bottom:11px}
.borough-heading-line{display:flex;justify-content:space-between;align-items:end;gap:22px}
.borough-heading-line h1{font-size:clamp(32px,4.5vw,52px);letter-spacing:-1.8px;line-height:1.12;margin:0 0 9px}
.borough-page-subtitle{font-size:13px;line-height:1.7;color:#afbbcf;margin:0}
.borough-change{display:flex;flex-direction:column;gap:7px;min-width:232px;color:#d5bfd0;font-size:11px;font-weight:780}
.borough-change select{appearance:auto;width:100%;min-width:0;padding:11px 12px;background:#232333;color:#fff;border:1px solid #9b6a8e;border-radius:9px;font:inherit;font-size:13px}
.borough-details-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,390px);gap:22px;align-items:start}
.borough-news-column{min-width:0;scroll-margin-top:130px}
.borough-news-top{display:flex;justify-content:space-between;align-items:end;gap:15px;flex-wrap:wrap;border-bottom:1px solid #3a3d4e;padding:0 0 17px}
.borough-news-top .eyebrow{margin:0 0 4px;font-size:10px}
.borough-news-top h2{font-size:clamp(21px,2.5vw,29px);margin:0;letter-spacing:-.6px}
.borough-news-top .section-more{white-space:normal;text-align:right;font-size:12px}
.borough-news-column .borough-info{padding:12px 0;margin:0}
.borough-news-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.borough-news-feed .archive-note{padding:16px;box-shadow:0 7px 17px #05070f28}
.borough-news-feed .archive-note h3{font-size:15px}
.borough-data-note{margin:18px 0 0;font-size:11px;line-height:1.55;color:#96a6bd}
.borough-history-panel{overflow:hidden;background:#1b2230;border:1px solid #70506b;border-radius:17px;box-shadow:0 17px 35px #04071255}
.borough-history-photo{margin:0;position:relative;height:225px;background:linear-gradient(110deg,#452744,#1b2c39)}
.borough-history-photo img{width:100%;height:100%;display:block;object-fit:cover}
.borough-history-photo img[hidden]{display:none}
.borough-history-photo figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#090c18ed);padding:38px 15px 13px;color:#fff;font-size:12px;display:flex;flex-direction:column;gap:2px}
.borough-history-photo figcaption span:last-child{color:#e7cade;font-size:10px}
.borough-history-content{padding:21px 23px 18px}
.borough-history-content .eyebrow{margin:0 0 8px;font-size:10px}
.borough-history-content h2{font-size:clamp(21px,2vw,27px);line-height:1.22;letter-spacing:-.6px;margin:0 0 8px}
.borough-history-kicker{font-size:12px;color:#f8b3d5;font-weight:800;margin:0 0 14px;text-transform:uppercase;letter-spacing:.6px}
.borough-history-text p{font-size:12px;color:#c9d4e1;line-height:1.74;margin:0 0 13px}
.borough-history-content h3{font-size:13px;font-weight:810;color:#ffe1f0;margin:20px 0 6px}
.borough-landmarks{padding-left:21px;margin:4px 0 13px;color:#d5d8e1;font-size:12px;line-height:1.8}
.borough-landmarks li::marker{color:#f6a4c9}
.borough-history-sources{border-top:1px solid #ffffff19;padding-top:13px;margin-top:16px}
.borough-history-sources>p{margin:0 0 7px;color:#a7b7cb;font-size:10px;text-transform:uppercase;letter-spacing:.6px}
.borough-history-sources a{display:block;color:#f9c1dd;font-size:11px;margin:4px 0;line-height:1.5;overflow-wrap:anywhere}
.borough-image-credits{background:#251b2b;border-top:1px solid #7f537266;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 19px;flex-wrap:wrap}
.borough-image-credits a{font-size:10px;color:#d8abc4;line-height:1.45}
.borough-footer-link{display:flex;flex-wrap:wrap;gap:19px;align-items:center;padding:6px 0}
@media(min-width:1081px){.borough-history-panel{position:sticky;top:102px;max-height:calc(100vh - 124px);overflow-y:auto;scrollbar-color:#a6749a #202533}}
@media(max-width:1100px){.borough-details-layout{grid-template-columns:minmax(0,1fr) 320px;gap:15px}.borough-news-feed{grid-template-columns:1fr}.borough-history-content{padding:20px 18px}}
@media(max-width:790px){.borough-details-layout{display:flex;flex-direction:column}.borough-news-column{order:0;width:100%}.borough-history-panel{order:1;width:100%;max-height:none;position:static}.borough-news-feed{grid-template-columns:repeat(2,minmax(0,1fr))}.borough-heading-line{align-items:start}.borough-change{min-width:200px}}
@media(max-width:590px){.borough-page-top{margin:24px 0 18px}.borough-heading-line{flex-direction:column;gap:14px}.borough-change{width:100%}.borough-news-top{align-items:start}.borough-news-feed{grid-template-columns:1fr}.borough-history-photo{height:220px}.borough-history-content{padding:21px 20px}.borough-footer-link{padding-bottom:15px}}
@media(prefers-reduced-motion:reduce){.borough-details-layout *{scroll-behavior:auto!important}}

/* Mini mapa ilustrado junto a la hemeroteca y las alcaldías. */
.news-side-column{min-width:0;display:grid;align-self:start;align-content:start;gap:17px}
.city-map-teaser{display:block;min-width:0;overflow:hidden;border:2px solid #b7749f;border-radius:19px;background:linear-gradient(145deg,#432442,#232838);box-shadow:0 15px 29px #05081560;color:#fff;text-decoration:none;transition:border-color .2s,transform .2s}
.city-map-teaser:hover,.city-map-teaser:focus-visible{transform:translateY(-3px);border-color:#ffc6df;color:#fff}
.city-map-teaser-head{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:7px;background:#4d2949;color:#ffd6ea;font-size:10px;font-weight:950;letter-spacing:.55px}
.city-map-teaser-head b{font-size:20px}
.city-map-teaser img{display:block;width:100%;height:145px;object-fit:cover;object-position:center;border-bottom:2px solid #a06c93}
.city-map-teaser-bottom{display:grid;gap:8px;padding:16px}
.city-map-teaser-bottom strong{font-size:17px;line-height:1.16;letter-spacing:-.3px}
.city-map-teaser-bottom small{font-size:11px;line-height:1.55;color:#d5c9d9}
.city-map-teaser-button{display:inline-flex;justify-content:space-between;align-items:center;border:1px solid #eaa6ca;border-radius:9px;background:#c44d88;font-size:11px;font-weight:900;color:#fff;padding:9px 11px;margin-top:2px}
@media(max-width:790px){
 .news-side-column{order:1;width:100%}
 .city-map-teaser{display:grid;grid-template-columns:47% 1fr;grid-template-rows:auto 1fr}
 .city-map-teaser-head{grid-column:1/-1}
 .city-map-teaser img{height:100%;min-height:174px;max-height:236px;border-bottom:0;border-right:2px solid #a06c93}
 .city-map-teaser-bottom{align-content:center}
 .news-side-column .borough-rail{order:initial}
}
@media(max-width:430px){
 .city-map-teaser{grid-template-columns:43% 1fr}
 .city-map-teaser img{min-height:191px;max-height:none}
 .city-map-teaser-bottom{padding:11px;gap:6px}
 .city-map-teaser-bottom strong{font-size:15px}
 .city-map-teaser-bottom small{font-size:10px}
}

/* Previsualización real del mapa de CDMX en la portada; toda la tarjeta abre vista grande. */
.city-map-preview{display:block;width:100%;height:185px;overflow:hidden;position:relative;background:#f4ecdc center/cover no-repeat url('/mapa/mini.svg');border-bottom:2px solid #a06c93}
.city-map-preview iframe{display:block;width:100%;height:100%;border:0;pointer-events:none;background:transparent}
.city-map-teaser{cursor:pointer}
@media(max-width:790px){.city-map-preview{height:100%;min-height:188px;max-height:236px;border-bottom:0;border-right:2px solid #a06c93}}
@media(max-width:430px){.city-map-preview{min-height:195px;max-height:none}}

/* En celular, el mapa pequeño se ve antes de los titulares y el listado de alcaldías va después. Las pestañas siguen desplazándose directamente a .news-main. */
@media(max-width:790px){
 .news-layout>.news-side-column{display:contents}
 .news-layout>.news-side-column>.city-map-teaser{order:0;width:100%}
 .news-layout>.news-main{order:1}
 .news-layout>.news-side-column>.borough-rail{order:2;width:100%}
}

/* El mapa pequeño forma parte de la portada: justo bajo el titular. */
.home-map-section{width:min(100%,440px);margin:16px 0 18px}
.home-map-section .city-map-teaser--hero{
 display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 148px auto;
 width:100%;min-height:0;max-width:440px;border-radius:16px;border:1px solid #c584a8;
 box-shadow:0 12px 25px #07061170;overflow:hidden
}
.home-map-section .city-map-teaser--hero .city-map-teaser-head{
 grid-column:1;grid-row:1;padding:6px 12px;font-size:10px;line-height:1.3
}
.home-map-section .city-map-teaser--hero .city-map-teaser-head b{font-size:16px}
.home-map-section .city-map-teaser--hero .city-map-preview{
 grid-column:1;grid-row:2;min-width:0;width:100%;height:148px;min-height:0;max-height:none;
 border:0;border-bottom:1px solid #ae739a
}
.home-map-section .city-map-teaser--hero .city-map-teaser-bottom{
 grid-column:1;grid-row:3;display:flex;flex-wrap:wrap;align-items:center;
 padding:9px 12px;gap:4px 10px
}
.home-map-section .city-map-teaser--hero .city-map-teaser-bottom strong{font-size:14px;line-height:1.2}
.home-map-section .city-map-teaser--hero .city-map-teaser-bottom small{font-size:10px;line-height:1.4}
.home-map-section .city-map-teaser--hero .city-map-teaser-button{
 margin-left:auto;margin-top:0;padding:6px 9px;font-size:10px;white-space:nowrap
}
@media(max-width:590px){
 .home-map-section{margin:14px 0 17px}
 .home-map-section .city-map-teaser--hero{grid-template-rows:auto 132px auto}
 .home-map-section .city-map-teaser--hero .city-map-preview{height:132px}
 .home-map-section .city-map-teaser--hero .city-map-teaser-bottom small{flex-basis:100%}
 .home-map-section .city-map-teaser--hero .city-map-teaser-button{margin-left:auto}
}
/* El menú superior se desliza horizontalmente hacia el tema seleccionado. */
.nav-carousel{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;min-width:0}
.nav-carousel nav{
 min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;
 scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;
 touch-action:pan-x;white-space:nowrap
}
.nav-carousel nav::-webkit-scrollbar{display:none}
.nav-carousel nav a{scroll-snap-align:center;scroll-margin-inline:24px;flex-shrink:0}
.nav-carousel .nav-arrow{
 display:none;background:#242535;border:1px solid #76506e;color:#ffcae1;
 border-radius:9px;font-size:24px;font-weight:750;line-height:1;padding:3px 0 6px
}
.nav-carousel .nav-arrow:hover{background:#4a304a}
.nav-carousel.is-overflowing{grid-template-columns:30px minmax(0,1fr) 30px;gap:8px;padding-bottom:7px}
.nav-carousel.is-overflowing .nav-arrow{display:block}
.nav-carousel.is-overflowing nav{padding-bottom:0}
@media(max-width:900px){
 .nav-carousel{grid-template-columns:30px minmax(0,1fr) 30px;gap:8px;padding-bottom:7px}
 .nav-carousel .nav-arrow{display:block}
 .nav-carousel nav{padding-bottom:0;gap:20px}
}
@media(prefers-reduced-motion:reduce){.nav-carousel nav{scroll-behavior:auto;scroll-snap-type:none}}

/* Carrusel de noticias: el contenido acompaña horizontalmente al menú seleccionado. */
.news-slide-viewport{min-width:0;width:100%;overflow:hidden;border-radius:8px}
.news-slide-panel{min-width:0;will-change:transform,opacity}
.current-topic{font-size:clamp(18px,2.2vw,23px);line-height:1.3;
 color:#ffd4e7;margin:8px 0 3px;font-weight:850;letter-spacing:-.3px}
.news-slide-panel #status{margin:6px 0 16px}
.nav-carousel nav a.active{color:#fff;border-bottom:3px solid #e887b3;
 text-decoration:none;padding-bottom:3px}
@media(prefers-reduced-motion:reduce){
 .news-slide-panel{will-change:auto}
}

/* Navegación tipo páginas: seleccionar Metro/Seguridad/etc. abre noticias AQUÍ.
   El desplazamiento entre vistas es horizontal, nunca hacia el final del documento. */
.topic-stage[hidden],.home-view[hidden]{display:none!important}
.topic-stage{min-height:calc(100svh - 136px);padding:34px 0 46px;overflow-x:clip}
.topic-stage-hero{
 display:flex;align-items:end;justify-content:space-between;gap:22px;
 padding:28px 32px;border:1px solid #734665;border-radius:19px;
 background:radial-gradient(ellipse at 88% 5%,#a8417140,transparent 55%),linear-gradient(130deg,#281c31,#141d2c)
}
.topic-stage-hero .eyebrow{margin:0 0 9px;font-size:11px}
.topic-stage-hero h1{font-size:clamp(30px,4.6vw,52px);line-height:1.1;letter-spacing:-1.8px;margin:0;color:#fff}
.topic-stage-hero p:not(.eyebrow){font-size:13px;line-height:1.65;color:#c7cbda;max-width:560px;margin:14px 0 0}
.topic-stage-buttons{display:flex;flex-shrink:0;gap:9px}
.topic-stage-buttons button{border:1px solid #8a5b83;background:#51304a;color:#fff;
 font-size:12px;font-weight:800;border-radius:10px;padding:10px 13px;white-space:nowrap}
.topic-stage-buttons button:hover:not(:disabled){background:#794164}
.topic-stage-buttons button:disabled{opacity:.35;cursor:not-allowed}
.topic-stage-count{margin:26px 0 16px;font-size:13px;color:#bdc9d9}
.topic-stage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.topic-stage-grid .news-visual{height:180px}
.topic-stage-grid .card .inside{padding:18px}
.topic-stage-grid .card h3{font-size:18px}
@media(max-width:1050px){.topic-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
 .topic-stage{padding:20px 0 30px}
 .topic-stage-hero{flex-direction:column;align-items:stretch;padding:21px 19px;gap:18px;border-radius:14px}
 .topic-stage-hero h1{font-size:clamp(29px,7.5vw,41px)}
 .topic-stage-buttons{justify-content:space-between}
 .topic-stage-buttons button{flex:1}
 .topic-stage-grid{grid-template-columns:1fr}
 .topic-stage-grid .news-visual{height:200px}
 .topic-stage-count{margin:17px 0 14px}
}
