:root{--drc-home-primary:var(--dr-primary,#173f4b);--drc-home-accent:var(--dr-accent,#b8de00);--drc-home-secondary:var(--dr-secondary,#f78b3b);--drc-home-border:rgba(23,63,75,.15);--drc-home-muted:#66777d;--drc-home-soft:#f5f8f7}
.drc-home-stats,.drc-home-section,.drc-home-territory{width:min(1180px,calc(100% - 40px));margin:0 auto}
.drc-home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--drc-home-border);border-radius:18px;overflow:hidden;background:#fff;margin-top:32px;margin-bottom:76px}
.drc-home-stats article{padding:25px 26px;border-right:1px solid var(--drc-home-border);display:flex;flex-direction:column;gap:4px}.drc-home-stats article:last-child{border-right:0}.drc-home-stats strong{font-size:clamp(2rem,4vw,3.6rem);line-height:1;color:var(--drc-home-primary)}.drc-home-stats span{font-weight:800;color:#142d35}.drc-home-stats small{color:var(--drc-home-muted)}
.drc-home-section{padding:58px 0}.drc-home-section__head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:28px}.drc-home-section__head>div{max-width:720px}.drc-home-section__head>p{max-width:400px;color:var(--drc-home-muted);margin:0}.drc-home-section h2{font-size:clamp(2rem,4vw,4rem);line-height:1.02;margin:.15em 0 0;color:#142d35}.drc-home-kicker{color:var(--drc-home-secondary);font-size:.75rem;font-weight:900;letter-spacing:.15em;margin:0 0 8px}.drc-home-inline-link{font-weight:800;color:var(--drc-home-primary);white-space:nowrap}
.drc-home-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.drc-home-topic-card{border:1px solid var(--drc-home-border);border-radius:18px;padding:28px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:320px}.drc-home-topic-card h3{font-size:2rem;margin:.25em 0}.drc-home-topic-card p{color:var(--drc-home-muted)}.drc-home-topic-card__meta{font-size:.78rem!important;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.drc-home-topic-card__footer{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--drc-home-border);padding-top:18px;margin-top:24px;font-size:.85rem}.drc-home-topic-card__footer a{font-weight:900;color:var(--drc-home-primary)}
.drc-home-territory{padding:54px 0 66px}.drc-home-territory .drc-territory{width:100%;margin:0}.drc-home-territory .drc-territory__header h2{font-size:clamp(2rem,4vw,4rem)}.drc-home-territory .drc-territory.is-compact .drc-territory__toolbar,.drc-home-territory .drc-territory.is-compact .drc-territory__subregions{display:none}.drc-home-territory .drc-territory.is-compact .drc-territory__canvas{min-height:560px}.drc-home-territory .drc-territory.is-compact .drc-territory__layout{min-height:560px}
.drc-home-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.drc-home-activity-card{border:1px solid var(--drc-home-border);border-radius:16px;padding:22px;background:#fff;min-height:190px}.drc-home-activity-card__meta{display:flex;justify-content:space-between;gap:14px;color:var(--drc-home-muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}.drc-home-activity-card h3{font-size:1.25rem;line-height:1.15;margin:22px 0 12px}.drc-home-activity-card h3 a{color:#142d35;text-decoration:none}.drc-home-activity-card__topics,.drc-home-activity-card__territory{font-size:.82rem;margin:4px 0;color:var(--drc-home-muted)}.drc-home-empty{padding:28px;border-radius:16px;background:var(--drc-home-soft)}
.drc-home-subregion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.drc-home-subregion-card{padding:18px 20px;border:1px solid var(--drc-home-border);border-radius:14px;text-decoration:none;display:flex;flex-direction:column;gap:5px;background:#fff}.drc-home-subregion-card span{font-weight:900;color:#142d35}.drc-home-subregion-card small{color:var(--drc-home-muted)}
.drc-home-editorial-hero{padding:clamp(60px,9vw,120px) 20px;background:var(--drc-home-primary);color:#fff}.drc-home-editorial-hero h1,.drc-home-editorial-hero p{color:#fff}.drc-home-editorial-hero .dr-eyebrow{color:var(--drc-home-accent)}.drc-home-editorial-hero figure{border-radius:24px;overflow:hidden;min-height:420px;background:rgba(255,255,255,.08)}.drc-home-editorial-hero figure img{width:100%;height:100%;object-fit:cover}.drc-home-final-cta{margin-top:70px;margin-bottom:70px;padding:48px;border-radius:24px;background:var(--drc-home-primary);color:#fff}.drc-home-final-cta h2,.drc-home-final-cta p{color:#fff}.drc-home-final-cta .dr-eyebrow{color:var(--drc-home-secondary)}
@media(max-width:900px){.drc-home-stats{grid-template-columns:repeat(2,1fr)}.drc-home-stats article:nth-child(2){border-right:0}.drc-home-stats article:nth-child(-n+2){border-bottom:1px solid var(--drc-home-border)}.drc-home-topic-grid,.drc-home-activity-grid,.drc-home-subregion-grid{grid-template-columns:1fr 1fr}.drc-home-section__head{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.drc-home-stats,.drc-home-section,.drc-home-territory{width:min(100% - 28px,1180px)}.drc-home-stats{grid-template-columns:1fr 1fr;margin-bottom:38px}.drc-home-stats article{padding:18px 16px}.drc-home-stats strong{font-size:2rem}.drc-home-topic-grid,.drc-home-activity-grid,.drc-home-subregion-grid{grid-template-columns:1fr}.drc-home-section{padding:36px 0}.drc-home-topic-card{min-height:0}.drc-home-territory{padding:30px 0}.drc-home-territory .drc-territory.is-compact .drc-territory__canvas,.drc-home-territory .drc-territory.is-compact .drc-territory__layout{min-height:420px}.drc-home-final-cta{padding:28px}.drc-home-editorial-hero{padding:56px 18px}.drc-home-editorial-hero figure{min-height:300px}}
.drc-home-photo-placeholder{min-height:420px;border:1px dashed rgba(255,255,255,.55);border-radius:24px;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;padding:30px}.drc-home-photo-placeholder p{color:#fff}

/* Sprint 14: portada editorial y actualidad */
.drc-home-about{width:min(1180px,calc(100% - 40px));margin:72px auto 18px;padding:34px 38px;border:1px solid var(--drc-home-border);border-radius:22px;background:#fff}.drc-home-about h2{font-size:clamp(2rem,4vw,3.5rem);line-height:1.03;margin:.15em 0;color:#142d35}.drc-home-about p{color:var(--drc-home-muted)}.drc-home-about .dr-eyebrow{color:var(--drc-home-secondary);font-size:.74rem;font-weight:900;letter-spacing:.15em}.drc-home-about .wp-block-button.is-style-outline .wp-block-button__link{border-color:var(--drc-home-primary);color:var(--drc-home-primary)}
.drc-home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.drc-home-news-card{border:1px solid var(--drc-home-border);border-radius:18px;background:#fff;overflow:hidden}.drc-home-news-card__media{display:block;aspect-ratio:16/9;background:var(--drc-home-soft);overflow:hidden}.drc-home-news-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.drc-home-news-card:hover .drc-home-news-card__media img{transform:scale(1.025)}.drc-home-news-card__body{padding:22px}.drc-home-news-card time{font-size:.72rem;color:var(--drc-home-muted);text-transform:uppercase;letter-spacing:.06em}.drc-home-news-card h3{font-size:1.35rem;line-height:1.12;margin:12px 0}.drc-home-news-card h3 a{color:#142d35;text-decoration:none}.drc-home-news-card p{color:var(--drc-home-muted);margin:0}
/* Compacta el mapa en portada sin afectar /territorio/ */
.drc-home-territory .drc-territory.is-compact .drc-territory__canvas,.drc-home-territory .drc-territory.is-compact .drc-territory__layout{min-height:480px;max-height:640px}.drc-home-territory .drc-territory.is-compact .drc-territory__map{max-height:620px}.drc-home-territory .drc-territory.is-compact svg{max-height:600px}
@media(max-width:900px){.drc-home-news-grid{grid-template-columns:1fr 1fr}.drc-home-about{margin-top:42px}}
@media(max-width:640px){.drc-home-about{width:min(100% - 28px,1180px);padding:26px 22px;margin-top:30px}.drc-home-news-grid{grid-template-columns:1fr}.drc-home-territory .drc-territory.is-compact .drc-territory__canvas,.drc-home-territory .drc-territory.is-compact .drc-territory__layout{min-height:380px;max-height:none}}


/* Sprint 15: Hitos de gestión */
.drc-home-hitos{padding-top:72px;padding-bottom:72px}
.drc-home-hitos-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.drc-home-hito-card{background:#fff;border:1px solid var(--drc-home-border);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;min-height:100%}
.drc-home-hito-card__media{display:block;aspect-ratio:4/3;background:var(--drc-home-soft);overflow:hidden}
.drc-home-hito-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.drc-home-hito-card:hover .drc-home-hito-card__media img{transform:scale(1.025)}
.drc-home-hito-card__body{padding:22px;display:flex;flex:1;flex-direction:column}
.drc-home-hito-card__meta{margin:0 0 10px!important;color:var(--drc-home-secondary)!important;font-size:.7rem!important;font-weight:900;letter-spacing:.12em}
.drc-home-hito-card h3{font-size:1.35rem;line-height:1.08;margin:0 0 12px}.drc-home-hito-card h3 a{color:#142d35;text-decoration:none}
.drc-home-hito-card__body>p:not(.drc-home-hito-card__meta){color:var(--drc-home-muted);margin:0 0 20px}
.drc-home-hito-card__link{margin-top:auto;font-weight:900;color:var(--drc-home-primary);text-decoration:none}
@media(max-width:1000px){.drc-home-hitos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.drc-home-hitos{padding-top:44px;padding-bottom:44px}.drc-home-hitos-grid{grid-template-columns:1fr}.drc-home-hito-card__media{aspect-ratio:16/9}}

/* Sprint 15.5 — Portada editable + rendición de cuentas destacada */
.drc-home-creemos{position:relative;overflow:hidden;background:linear-gradient(118deg,var(--drc-home-primary) 0%,#0b302e 72%,#174e48 100%);color:#fff;margin:18px 0 38px;padding:clamp(50px,6vw,86px) 0}
.drc-home-creemos:after{content:"";position:absolute;width:540px;height:540px;border-radius:50%;right:-210px;top:-270px;background:radial-gradient(circle,rgba(184,222,0,.16),transparent 67%);pointer-events:none}
.drc-home-creemos__inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:clamp(40px,7vw,110px);align-items:center}
.drc-home-creemos__copy{max-width:760px}.drc-home-creemos .drc-home-kicker{color:var(--drc-home-secondary)}
.drc-home-creemos h2{color:#fff;font-size:clamp(3rem,6vw,6rem);margin:.05em 0 .28em}.drc-home-creemos__copy>p:not(.drc-home-kicker){font-size:clamp(1.05rem,1.5vw,1.25rem);line-height:1.6;color:rgba(255,255,255,.88);max-width:720px}
.drc-home-creemos__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.drc-home-creemos__button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;text-decoration:none!important;font-weight:850}.drc-home-creemos__button.is-primary{background:var(--drc-home-secondary);color:#fff!important}.drc-home-creemos__button.is-secondary{border:1px solid rgba(255,255,255,.55);color:#fff!important;background:rgba(255,255,255,.03)}
.drc-home-creemos__button:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(0,0,0,.12)}
.drc-home-creemos__media{margin:0;min-height:280px;display:flex;align-items:center;justify-content:center}.drc-home-creemos__media img{max-width:100%;max-height:390px;object-fit:contain;filter:drop-shadow(0 16px 34px rgba(0,0,0,.12))}

.drc-home-hitos{position:relative;overflow:hidden;width:min(1560px,calc(100% - 40px));max-width:none!important;padding:clamp(42px,5vw,72px)!important;margin-top:40px!important;margin-bottom:54px!important;background:linear-gradient(135deg,#0e3b38 0%,#123e3a 62%,#184e48 100%);border-radius:30px;box-shadow:0 28px 70px rgba(16,42,45,.12)}
.drc-home-hitos:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-110px;top:-190px;background:radial-gradient(circle,rgba(184,222,0,.22),transparent 68%);pointer-events:none}
.drc-home-hitos>.drc-home-section__head,.drc-home-hitos>.drc-home-hitos-grid{position:relative;z-index:1}.drc-home-hitos .drc-home-kicker{color:var(--drc-home-accent)!important}.drc-home-hitos h2{color:#fff!important;font-size:clamp(2.8rem,5.2vw,5.5rem);max-width:12ch}.drc-home-hitos__description{color:rgba(255,255,255,.78)!important;max-width:760px;margin:14px 0 0!important;font-size:1.02rem}.drc-home-hitos .drc-home-inline-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:999px;background:var(--drc-home-secondary);color:#fff!important;text-decoration:none;box-shadow:0 12px 30px rgba(255,122,46,.22)}
.drc-home-hitos-grid{gap:18px}.drc-home-hito-card{border-color:rgba(255,255,255,.15);box-shadow:0 12px 34px rgba(0,0,0,.08)}.drc-home-hito-card__link{color:var(--drc-home-secondary)}

@media(max-width:900px){.drc-home-creemos__inner{grid-template-columns:1fr}.drc-home-creemos__media{min-height:180px}.drc-home-creemos__media img{max-height:280px}.drc-home-hitos{width:min(100% - 28px,1560px);border-radius:24px}.drc-home-hitos .drc-home-section__head{align-items:flex-start}.drc-home-hitos h2{max-width:none}}
@media(max-width:640px){.drc-home-creemos{padding:42px 0}.drc-home-creemos__inner{width:min(100% - 28px,1180px)!important}.drc-home-creemos h2{font-size:3.2rem}.drc-home-creemos__actions{display:grid}.drc-home-creemos__button{width:100%}.drc-home-hitos{padding:30px 22px!important;margin-top:24px!important;margin-bottom:34px!important}.drc-home-hitos h2{font-size:2.65rem}.drc-home-hitos .drc-home-inline-link{width:100%}}

/* v0.16.1 — rendición completamente blanca */
.drc-home-hitos .drc-home-hito-card{background:#075D75!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important}
.drc-home-hitos .drc-home-hito-card h3,
.drc-home-hitos .drc-home-hito-card h3 a,
.drc-home-hitos .drc-home-hito-card__body>p:not(.drc-home-hito-card__meta),
.drc-home-hitos .drc-home-hito-card__meta{color:#fff!important}
.drc-home-hitos .drc-home-hito-card__link{color:#EF8838!important}
