/* Plantilla maestra — Gaceta Municipal */
body:has(#modulo_813){
  --gac-guinda:#6b1930;--gac-guinda-oscuro:#501023;--gac-guinda-claro:#963054;
  --gac-dorado:#b08a3e;--gac-fondo:#f7f4f1;--gac-borde:#e5ddd8;
  --gac-texto:#392f32;--gac-gris:#655b5e;
}
body:has(#modulo_813),
body:has(#modulo_813) button,
body:has(#modulo_813) input,
body:has(#modulo_813) textarea,
body:has(#modulo_813) #modulo_813,
body:has(#modulo_813) #container_lateral,
body:has(#modulo_813) #container_lateral *{
  font-family:Aptos,"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,sans-serif!important;
  box-sizing:border-box;
}
body:has(#modulo_813) > .container.clearfix:has(#modulo_813){
  display:grid!important;grid-template-columns:minmax(205px,235px) minmax(0,1fr)!important;
  align-items:start!important;gap:24px!important;width:min(1180px,calc(100% - 32px))!important;
  max-width:1180px!important;margin:0 auto!important;padding:32px!important;
  border:1px solid var(--gac-borde)!important;border-radius:28px!important;
  background:rgba(255,255,255,.94)!important;box-shadow:0 18px 46px rgba(76,35,47,.10)!important;
}
body:has(#modulo_813) > .container.clearfix:has(#modulo_813) > .grid_4,
body:has(#modulo_813) > .container.clearfix:has(#modulo_813) > .grid_8{
  float:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;
}
body:has(#modulo_813) #modulo_813{
  position:sticky;top:18px;width:auto!important;margin:0!important;padding:10px!important;
  border:1px solid var(--gac-borde)!important;border-radius:16px!important;background:#fff!important;
  box-shadow:0 9px 28px rgba(76,35,47,.08)!important;
}
body:has(#modulo_813) #menu_lateral{
  display:grid!important;grid-template-columns:1fr!important;gap:5px!important;
  width:100%!important;margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;list-style:none!important;
}
body:has(#modulo_813) #menu_lateral li{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;list-style:none!important;
}
body:has(#modulo_813) #menu_lateral li a{
  display:flex!important;align-items:center!important;width:100%!important;min-height:42px!important;
  padding:9px 11px!important;border:1px solid transparent!important;border-radius:10px!important;
  background:transparent!important;color:#542237!important;font-size:13.5px!important;font-weight:650!important;
  line-height:1.22!important;text-transform:none!important;text-decoration:none!important;
  white-space:normal!important;overflow-wrap:anywhere!important;transition:.18s ease!important;
}
body:has(#modulo_813) #menu_lateral li a:hover{
  transform:translateX(2px)!important;border-color:#ead8df!important;background:#f8eff3!important;
  color:var(--gac-guinda)!important;
}
body:has(#modulo_813) #menu_lateral li.selected a{
  border-color:var(--gac-guinda)!important;
  background:linear-gradient(135deg,var(--gac-guinda-oscuro),#8b2850)!important;
  color:#fff!important;box-shadow:0 6px 15px rgba(107,25,48,.18)!important;
}
body:has(#modulo_813) #container_lateral{min-width:0!important;padding:0!important;}
body:has(#modulo_813) #container_lateral > .modulo_Html{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body:has(#modulo_813) #container_lateral > .modulo_Html > section.modulo.modulo_Html{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body:has(#modulo_813) .plantilla-coyotepec,
body:has(#modulo_813) .hemeroteca-content{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  color:var(--gac-texto)!important;background:transparent!important;
}
/* Páginas recientes */
body:has(#modulo_813) .plantilla-coyotepec > .pm-titulo,
body:has(#modulo_813) .plantilla-coyotepec > .pm-linea,
body:has(#modulo_813) .plantilla-coyotepec > .pm-intro{display:none!important;}
body:has(#modulo_813) .pm-banner{
  position:relative!important;overflow:hidden!important;display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;align-items:center!important;gap:18px!important;
  margin:0!important;padding:30px 32px!important;border:1px solid rgba(176,138,62,.5)!important;
  border-radius:18px!important;background:linear-gradient(135deg,#501023 0%,#711b39 58%,#963054 100%)!important;
  color:#fff!important;box-shadow:0 12px 30px rgba(80,16,35,.17)!important;
}
body:has(#modulo_813) .pm-banner::after{
  content:"";position:absolute;right:-60px;top:-80px;width:260px;height:260px;
  border-radius:50%;background:rgba(255,255,255,.06);
}
body:has(#modulo_813) .pm-banner-icono{
  position:relative!important;z-index:1!important;display:grid!important;place-items:center!important;
  width:58px!important;height:58px!important;border-radius:15px!important;
  background:#c5a055!important;color:#3b1723!important;font-size:24px!important;
  box-shadow:0 8px 18px rgba(42,8,18,.22)!important;
}
body:has(#modulo_813) .pm-banner-contenido{position:relative!important;z-index:1!important;}
body:has(#modulo_813) .pm-banner h2{
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  color:#fff!important;font-size:32px!important;font-weight:780!important;line-height:1.12!important;
}
body:has(#modulo_813) .pm-banner p{
  max-width:680px!important;margin:10px 0 0!important;color:#f7edf0!important;
  font-size:15px!important;line-height:1.55!important;
}
body:has(#modulo_813) .pm-seccion{
  margin:20px 0 0!important;padding:20px!important;border:1px solid var(--gac-borde)!important;
  border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(76,35,47,.07)!important;
}
body:has(#modulo_813) .pm-seccion-barra{
  margin:0 0 15px!important;padding:13px 16px!important;border:1px solid #eee5e1!important;
  border-left:4px solid var(--gac-dorado)!important;border-radius:12px!important;
  background:linear-gradient(135deg,#fff,#fbf7f4)!important;color:var(--gac-guinda)!important;
}
body:has(#modulo_813) .pm-seccion-barra h2,
body:has(#modulo_813) .pm-seccion > h2{
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  color:var(--gac-guinda)!important;font-size:21px!important;font-weight:760!important;line-height:1.2!important;
}
body:has(#modulo_813) .pm-contenido{margin:0!important;padding:0!important;}
body:has(#modulo_813) .pm-lista{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;margin:0!important;padding:0!important;list-style:none!important;
}
body:has(#modulo_813) .pm-item{
  display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important;
  gap:11px!important;min-width:0!important;min-height:70px!important;margin:0!important;padding:11px 12px!important;
  border:1px solid #e7dfdb!important;border-radius:13px!important;background:#fff!important;
  box-shadow:0 4px 12px rgba(70,43,50,.05)!important;transition:.18s ease!important;
}
body:has(#modulo_813) .pm-item:hover{
  transform:translateY(-2px)!important;border-color:#cfb4bd!important;background:#fffafc!important;
  box-shadow:0 9px 20px rgba(107,25,48,.10)!important;
}
body:has(#modulo_813) .pm-pdf{
  display:grid!important;place-items:center!important;width:44px!important;height:44px!important;
  border-radius:11px!important;background:linear-gradient(145deg,#501023,#9b315a)!important;
  color:#fff!important;font-size:10px!important;font-weight:850!important;letter-spacing:.4px!important;
  box-shadow:0 5px 12px rgba(107,25,48,.20)!important;
}
body:has(#modulo_813) .pm-enlace{
  min-width:0!important;color:#4b2933!important;font-size:14px!important;font-weight:650!important;
  line-height:1.3!important;text-transform:none!important;text-decoration:none!important;overflow-wrap:anywhere!important;
}
body:has(#modulo_813) .pm-enlace:hover{color:var(--gac-guinda)!important;}
body:has(#modulo_813) .pm-nota{display:none!important;}
/* Hemeroteca, convocatorias y ejercicios anteriores */
body:has(#modulo_813) .hemeroteca-box{
  position:relative!important;overflow:hidden!important;margin:0!important;padding:32px!important;
  border:1px solid rgba(176,138,62,.5)!important;border-radius:18px!important;
  background:linear-gradient(135deg,#501023 0%,#711b39 58%,#963054 100%)!important;
  color:#fff!important;box-shadow:0 12px 30px rgba(80,16,35,.17)!important;
}
body:has(#modulo_813) .hemeroteca-box::after{
  content:"";position:absolute;right:-60px;top:-80px;width:260px;height:260px;
  border-radius:50%;background:rgba(255,255,255,.06);
}
body:has(#modulo_813) .hemeroteca-box h1{
  position:relative!important;z-index:1!important;margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;color:#fff!important;font-size:34px!important;font-weight:780!important;line-height:1.12!important;
}
body:has(#modulo_813) .hemeroteca-box p{
  position:relative!important;z-index:1!important;max-width:680px!important;margin:13px 0 0!important;
  color:#f7edf0!important;font-size:15px!important;line-height:1.6!important;
}
body:has(#modulo_813) .hemeroteca-card{
  margin:0!important;padding:20px!important;border:1px solid var(--gac-borde)!important;
  border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(76,35,47,.07)!important;
}
body:has(#modulo_813) .hemeroteca-card > h1{
  margin:-20px -20px 16px!important;padding:28px 30px!important;border:0!important;border-radius:16px 16px 0 0!important;
  background:linear-gradient(135deg,#501023 0%,#711b39 58%,#963054 100%)!important;
  color:#fff!important;font-size:30px!important;font-weight:780!important;line-height:1.15!important;
}
body:has(#modulo_813) .hemeroteca-card > .linea{display:none!important;}
body:has(#modulo_813) .hemeroteca-card > .intro{
  max-width:720px!important;margin:0 0 16px!important;color:var(--gac-gris)!important;
  font-size:15px!important;line-height:1.6!important;
}
body:has(#modulo_813) .encabezado-listado{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  margin:0 0 14px!important;padding:12px 15px!important;border:1px solid #eee5e1!important;
  border-left:4px solid var(--gac-dorado)!important;border-radius:12px!important;
  background:linear-gradient(135deg,#fff,#fbf7f4)!important;
}
body:has(#modulo_813) .encabezado-listado h2{
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  color:var(--gac-guinda)!important;font-size:20px!important;font-weight:760!important;line-height:1.2!important;
}
body:has(#modulo_813) .contador{
  flex:0 0 auto!important;padding:5px 9px!important;border-radius:999px!important;
  background:#f3e8ec!important;color:var(--gac-guinda)!important;font-size:12px!important;font-weight:750!important;
}
body:has(#modulo_813) .lista{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;margin:0!important;padding:0!important;list-style:none!important;
}
body:has(#modulo_813) .item{
  position:relative!important;display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;align-items:center!important;gap:5px 11px!important;
  min-width:0!important;min-height:82px!important;margin:0!important;padding:11px 12px!important;
  border:1px solid #e7dfdb!important;border-radius:13px!important;background:#fff!important;
  box-shadow:0 4px 12px rgba(70,43,50,.05)!important;transition:.18s ease!important;
}
body:has(#modulo_813) .item::before{
  content:"PDF";grid-column:1!important;grid-row:1 / span 2!important;display:grid!important;place-items:center!important;
  width:44px!important;height:44px!important;border-radius:11px!important;
  background:linear-gradient(145deg,#501023,#9b315a)!important;color:#fff!important;
  font-size:10px!important;font-weight:850!important;letter-spacing:.4px!important;
  box-shadow:0 5px 12px rgba(107,25,48,.20)!important;
}
body:has(#modulo_813) .item:hover{
  transform:translateY(-2px)!important;border-color:#cfb4bd!important;background:#fffafc!important;
  box-shadow:0 9px 20px rgba(107,25,48,.10)!important;
}
body:has(#modulo_813) .item .info{grid-column:2!important;grid-row:1!important;min-width:0!important;}
body:has(#modulo_813) .item .info h3{
  margin:0 0 4px!important;color:var(--gac-guinda)!important;font-size:14.5px!important;
  font-weight:720!important;line-height:1.28!important;text-transform:none!important;overflow-wrap:anywhere!important;
}
body:has(#modulo_813) .item .tipo{
  display:inline-flex!important;margin:0!important;padding:3px 7px!important;border-radius:999px!important;
  background:#f5edef!important;color:#75505d!important;font-size:10.5px!important;font-weight:700!important;
}
body:has(#modulo_813) .item .acciones{
  grid-column:2!important;grid-row:2!important;margin:0!important;padding:0!important;
}
body:has(#modulo_813) .item .btn-ver{
  display:inline-flex!important;align-items:center!important;padding:6px 10px!important;border:1px solid #dfcbd2!important;
  border-radius:9px!important;background:#faf4f6!important;color:var(--gac-guinda)!important;
  font-size:12px!important;font-weight:750!important;line-height:1.2!important;text-decoration:none!important;
}
body:has(#modulo_813) .item .btn-ver:hover{background:var(--gac-guinda)!important;color:#fff!important;}
body:has(#modulo_813) .nota{display:none!important;}
@media(max-width:900px){
  body:has(#modulo_813) > .container.clearfix:has(#modulo_813){
    grid-template-columns:1fr!important;gap:16px!important;padding:20px!important;
  }
  body:has(#modulo_813) #modulo_813{position:static!important;}
  body:has(#modulo_813) #menu_lateral{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body:has(#modulo_813) .pm-lista,
  body:has(#modulo_813) .lista{grid-template-columns:1fr!important;}
}
@media(max-width:640px){
  body:has(#modulo_813) > .container.clearfix:has(#modulo_813){
    width:min(calc(100% - 20px),1180px)!important;padding:14px!important;border-radius:20px!important;
  }
  body:has(#modulo_813) #menu_lateral{grid-template-columns:1fr!important;}
  body:has(#modulo_813) #menu_lateral li a{min-height:40px!important;font-size:13px!important;}
  body:has(#modulo_813) .pm-banner{grid-template-columns:1fr!important;padding:24px 21px!important;}
  body:has(#modulo_813) .pm-banner h2,
  body:has(#modulo_813) .hemeroteca-box h1{font-size:27px!important;}
  body:has(#modulo_813) .pm-seccion,
  body:has(#modulo_813) .hemeroteca-card{padding:14px!important;}
  body:has(#modulo_813) .hemeroteca-card > h1{margin:-14px -14px 14px!important;padding:23px 20px!important;font-size:25px!important;}
  body:has(#modulo_813) .encabezado-listado{align-items:flex-start!important;flex-direction:column!important;}
}
/* Ajustes posteriores a verificación */
body:has(#modulo_813) .header-page .header-pagetitle{position:relative!important;z-index:5!important;opacity:1!important;visibility:visible!important;color:#fffdf9!important;font-family:Aptos,"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,sans-serif!important;}
body:has(#modulo_813) .header-page .header-pagetitle *{color:inherit!important;}
body:has(#modulo_813) .hemeroteca-box p *,body:has(#modulo_813) .pm-banner p *,body:has(#modulo_813) .pm-banner h2 *{color:inherit!important;}
/* Plantilla maestra — Gaceta Municipal */
body:has(#modulo_813){
  --gac-guinda:#6b1930;--gac-guinda-oscuro:#501023;--gac-guinda-claro:#963054;
  --gac-dorado:#b08a3e;--gac-fondo:#f7f4f1;--gac-borde:#e5ddd8;
  --gac-texto:#392f32;--gac-gris:#655b5e;
}
body:has(#modulo_813),
body:has(#modulo_813) button,
body:has(#modulo_813) input,
body:has(#modulo_813) textarea,
body:has(#modulo_813) #modulo_813,
body:has(#modulo_813) #container_lateral,
body:has(#modulo_813) #container_lateral *{
  font-family:Aptos,"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,sans-serif!important;
  box-sizing:border-box;
}
body:has(#modulo_813) > .container.clearfix:has(#modulo_813){
  display:grid!important;grid-template-columns:minmax(205px,235px) minmax(0,1fr)!important;
  align-items:start!important;gap:24px!important;width:min(1180px,calc(100% - 32px))!important;
  max-width:1180px!important;margin:0 auto!important;padding:32px!important;
  border:1px solid var(--gac-borde)!important;border-radius:28px!important;
  background:rgba(255,255,255,.94)!important;box-shadow:0 18px 46px rgba(76,35,47,.10)!important;
}
body:has(#modulo_813) > .container.clearfix:has(#modulo_813) > .grid_4,
body:has(#modulo_813) > .container.clearfix:has(#modulo_813) > .grid_8{
  float:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;
}
body:has(#modulo_813) #modulo_813{
  position:sticky;top:18px;width:auto!important;margin:0!important;padding:10px!important;
  border:1px solid var(--gac-borde)!important;border-radius:16px!important;background:#fff!important;
  box-shadow:0 9px 28px rgba(76,35,47,.08)!important;
}
body:has(#modulo_813) #menu_lateral{
  display:grid!important;grid-template-columns:1fr!important;gap:5px!important;
  width:100%!important;margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;list-style:none!important;
}
body:has(#modulo_813) #menu_lateral li{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;list-style:none!important;
}
body:has(#modulo_813) #menu_lateral li a{
  display:flex!important;align-items:center!important;width:100%!important;min-height:42px!important;
  padding:9px 11px!important;border:1px solid transparent!important;border-radius:10px!important;
  background:transparent!important;color:#542237!important;font-size:13.5px!important;font-weight:650!important;
  line-height:1.22!important;text-transform:none!important;text-decoration:none!important;
  white-space:normal!important;overflow-wrap:anywhere!important;transition:.18s ease!important;
}
body:has(#modulo_813) #menu_lateral li a:hover{
  transform:translateX(2px)!important;border-color:#ead8df!important;background:#f8eff3!important;
  color:var(--gac-guinda)!important;
}
body:has(#modulo_813) #menu_lateral li.selected a{
  border-color:var(--gac-guinda)!important;
  background:linear-gradient(135deg,var(--gac-guinda-oscuro),#8b2850)!important;
  color:#fff!important;box-shadow:0 6px 15px rgba(107,25,48,.18)!important;
}
body:has(#modulo_813) #container_lateral{min-width:0!important;padding:0!important;}
body:has(#modulo_813) #container_lateral > .modulo_Html{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body:has(#modulo_813) #container_lateral > .modulo_Html > section.modulo.modulo_Html{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body:has(#modulo_813) .plantilla-coyotepec,
body:has(#modulo_813) .hemeroteca-content{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  color:var(--gac-texto)!important;background:transparent!important;
}
/* Páginas recientes */
body:has(#modulo_813) .plantilla-coyotepec > .pm-titulo,
body:has(#modulo_813) .plantilla-coyotepec > .pm-linea,
body:has(#modulo_813) .plantilla-coyotepec > .pm-intro{display:none!important;}
body:has(#modulo_813) .pm-banner{
  position:relative!important;overflow:hidden!important;display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;align-items:center!important;gap:18px!important;
  margin:0!important;padding:30px 32px!important;border:1px solid rgba(176,138,62,.5)!important;
  border-radius:18px!important;background:linear-gradient(135deg,#501023 0%,#711b39 58%,#963054 100%)!important;
  color:#fff!important;box-shadow:0 12px 30px rgba(80,16,35,.17)!important;
}
body:has(#modulo_813) .pm-banner::after{
  content:"";position:absolute;right:-60px;top:-80px;width:260px;height:260px;
  border-radius:50%;background:rgba(255,255,255,.06);
}
body:has(#modulo_813) .pm-banner-icono{
  position:relative!important;z-index:1!important;display:grid!important;place-items:center!important;
  width:58px!important;height:58px!important;border-radius:15px!important;
  background:#c5a055!important;color:#3b1723!important;font-size:24px!important;
  box-shadow:0 8px 18px rgba(42,8,18,.22)!important;
}
body:has(#modulo_813) .pm-banner-contenido{position:relative!important;z-index:1!important;}
body:has(#modulo_813) .pm-banner h2{
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  color:#fff!important;font-size:32px!important;font-weight:780!important;line-height:1.12!important;
}
body:has(#modulo_813) .pm-banner p{
  max-width:680px!important;margin:10px 0 0!important;color:#f7edf0!important;
  font-size:15px!important;line-height:1.55!important;
}
body:has(#modulo_813) .pm-seccion{
  margin:20px 0 0!important;padding:20px!important;border:1px solid var(--gac-borde)!important;
  border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(76,35,47,.07)!important;
}
body:has(#modulo_813) .pm-seccion-barra{
  margin:0 0 15px!important;padding:13px 16px!important;border:1px solid #eee5e1!important;
  border-left:4px solid var(--gac-dorado)!important;border-radius:12px!important;
  background:linear-gradient(135deg,#fff,#fbf7f4)!important;color:var(--gac-guinda)!important;
}
body:has(#modulo_813) .pm-seccion-barra h2,
body:has(#modulo_813) .pm-seccion > h2{
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  color:var(--gac-guinda)!important;font-size:21px!important;font-weight:760!important;line-height:1.2!important;
}
body:has(#modulo_813) .pm-contenido{margin:0!important;padding:0!important;}
body:has(#modulo_813) .pm-lista{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;margin:0!important;padding:0!important;list-style:none!important;
}
body:has(#modulo_813) .pm-item{
  display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important;
  gap:11px!important;min-width:0!important;min-height:70px!important;margin:0!important;padding:11px 12px!important;
  border:1px solid #e7dfdb!important;border-radius:13px!important;background:#fff!important;
  box-shadow:0 4px 12px rgba(70,43,50,.05)!important;transition:.18s ease!important;
}
body:has(#modulo_813) .pm-item:hover{
  transform:translateY(-2px)!important;border-color:#cfb4bd!important;background:#fffafc!important;
  box-shadow:0 9px 20px rgba(107,25,48,.10)!important;
}
body:has(#modulo_813) .pm-pdf{
  display:grid!important;place-items:center!important;width:44px!important;height:44px!important;
  border-radius:11px!important;background:linear-gradient(145deg,#501023,#9b315a)!important;
  color:#fff!important;font-size:10px!important;font-weight:850!important;letter-spacing:.4px!important;
  box-shadow:0 5px 12px rgba(107,25,48,.20)!important;
}
body:has(#modulo_813) .pm-enlace{
  min-width:0!important;color:#4b2933!important;font-size:14px!important;font-weight:650!important;
  line-height:1.3!important;text-transform:none!important;text-decoration:none!important;overflow-wrap:anywhere!important;
}
body:has(#modulo_813) .pm-enlace:hover{color:var(--gac-guinda)!important;}
body:has(#modulo_813) .pm-nota{display:none!important;}
/* Hemeroteca, convocatorias y ejercicios anteriores */
body:has(#modulo_813) .hemeroteca-box{
  position:relative!important;overflow:hidden!important;margin:0!important;padding:32px!important;
  border:1px solid rgba(176,138,62,.5)!important;border-radius:18px!important;
  background:linear-gradient(135deg,#501023 0%,#711b39 58%,#963054 100%)!important;
  color:#fff!important;box-shadow:0 12px 30px rgba(80,16,35,.17)!important;
}
body:has(#modulo_813) .hemeroteca-box::after{
  content:"";position:absolute;right:-60px;top:-80px;width:260px;height:260px;
  border-radius:50%;background:rgba(255,255,255,.06);
}
body:has(#modulo_813) .hemeroteca-box h1{
  position:relative!important;z-index:1!important;margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;color:#fff!important;font-size:34px!important;font-weight:780!important;line-height:1.12!important;
}
body:has(#modulo_813) .hemeroteca-box p{
  position:relative!important;z-index:1!important;max-width:680px!important;margin:13px 0 0!important;
  color:#f7edf0!important;font-size:15px!important;line-height:1.6!important;
}
body:has(#modulo_813) .hemeroteca-card{
  margin:0!important;padding:20px!important;border:1px solid var(--gac-borde)!important;
  border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(76,35,47,.07)!important;
}
body:has(#modulo_813) .hemeroteca-card > h1{
  margin:-20px -20px 16px!important;padding:28px 30px!important;border:0!important;border-radius:16px 16px 0 0!important;
  background:linear-gradient(135deg,#501023 0%,#711b39 58%,#963054 100%)!important;
  color:#fff!important;font-size:30px!important;font-weight:780!important;line-height:1.15!important;
}
body:has(#modulo_813) .hemeroteca-card > .linea{display:none!important;}
body:has(#modulo_813) .hemeroteca-card > .intro{
  max-width:720px!important;margin:0 0 16px!important;color:var(--gac-gris)!important;
  font-size:15px!important;line-height:1.6!important;
}
body:has(#modulo_813) .encabezado-listado{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  margin:0 0 14px!important;padding:12px 15px!important;border:1px solid #eee5e1!important;
  border-left:4px solid var(--gac-dorado)!important;border-radius:12px!important;
  background:linear-gradient(135deg,#fff,#fbf7f4)!important;
}
body:has(#modulo_813) .encabezado-listado h2{
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  color:var(--gac-guinda)!important;font-size:20px!important;font-weight:760!important;line-height:1.2!important;
}
body:has(#modulo_813) .contador{
  flex:0 0 auto!important;padding:5px 9px!important;border-radius:999px!important;
  background:#f3e8ec!important;color:var(--gac-guinda)!important;font-size:12px!important;font-weight:750!important;
}
body:has(#modulo_813) .lista{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;margin:0!important;padding:0!important;list-style:none!important;
}
body:has(#modulo_813) .item{
  position:relative!important;display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;align-items:center!important;gap:5px 11px!important;
  min-width:0!important;min-height:82px!important;margin:0!important;padding:11px 12px!important;
  border:1px solid #e7dfdb!important;border-radius:13px!important;background:#fff!important;
  box-shadow:0 4px 12px rgba(70,43,50,.05)!important;transition:.18s ease!important;
}
body:has(#modulo_813) .item::before{
  content:"PDF";grid-column:1!important;grid-row:1 / span 2!important;display:grid!important;place-items:center!important;
  width:44px!important;height:44px!important;border-radius:11px!important;
  background:linear-gradient(145deg,#501023,#9b315a)!important;color:#fff!important;
  font-size:10px!important;font-weight:850!important;letter-spacing:.4px!important;
  box-shadow:0 5px 12px rgba(107,25,48,.20)!important;
}
body:has(#modulo_813) .item:hover{
  transform:translateY(-2px)!important;border-color:#cfb4bd!important;background:#fffafc!important;
  box-shadow:0 9px 20px rgba(107,25,48,.10)!important;
}
body:has(#modulo_813) .item .info{grid-column:2!important;grid-row:1!important;min-width:0!important;}
body:has(#modulo_813) .item .info h3{
  margin:0 0 4px!important;color:var(--gac-guinda)!important;font-size:14.5px!important;
  font-weight:720!important;line-height:1.28!important;text-transform:none!important;overflow-wrap:anywhere!important;
}
body:has(#modulo_813) .item .tipo{
  display:inline-flex!important;margin:0!important;padding:3px 7px!important;border-radius:999px!important;
  background:#f5edef!important;color:#75505d!important;font-size:10.5px!important;font-weight:700!important;
}
body:has(#modulo_813) .item .acciones{
  grid-column:2!important;grid-row:2!important;margin:0!important;padding:0!important;
}
body:has(#modulo_813) .item .btn-ver{
  display:inline-flex!important;align-items:center!important;padding:6px 10px!important;border:1px solid #dfcbd2!important;
  border-radius:9px!important;background:#faf4f6!important;color:var(--gac-guinda)!important;
  font-size:12px!important;font-weight:750!important;line-height:1.2!important;text-decoration:none!important;
}
body:has(#modulo_813) .item .btn-ver:hover{background:var(--gac-guinda)!important;color:#fff!important;}
body:has(#modulo_813) .nota{display:none!important;}
@media(max-width:900px){
  body:has(#modulo_813) > .container.clearfix:has(#modulo_813){
    grid-template-columns:1fr!important;gap:16px!important;padding:20px!important;
  }
  body:has(#modulo_813) #modulo_813{position:static!important;}
  body:has(#modulo_813) #menu_lateral{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body:has(#modulo_813) .pm-lista,
  body:has(#modulo_813) .lista{grid-template-columns:1fr!important;}
}
@media(max-width:640px){
  body:has(#modulo_813) > .container.clearfix:has(#modulo_813){
    width:min(calc(100% - 20px),1180px)!important;padding:14px!important;border-radius:20px!important;
  }
  body:has(#modulo_813) #menu_lateral{grid-template-columns:1fr!important;}
  body:has(#modulo_813) #menu_lateral li a{min-height:40px!important;font-size:13px!important;}
  body:has(#modulo_813) .pm-banner{grid-template-columns:1fr!important;padding:24px 21px!important;}
  body:has(#modulo_813) .pm-banner h2,
  body:has(#modulo_813) .hemeroteca-box h1{font-size:27px!important;}
  body:has(#modulo_813) .pm-seccion,
  body:has(#modulo_813) .hemeroteca-card{padding:14px!important;}
  body:has(#modulo_813) .hemeroteca-card > h1{margin:-14px -14px 14px!important;padding:23px 20px!important;font-size:25px!important;}
  body:has(#modulo_813) .encabezado-listado{align-items:flex-start!important;flex-direction:column!important;}
}