/* Tu Gobierno v14: interfaz homogénea con Tu Municipio */
body:has(#modulo_655){
  --tg-guinda:#6b1930;
  --tg-guinda-oscuro:#501023;
  --tg-dorado:#b08a3e;
  --tg-fondo:#f7f4f1;
  --tg-borde:#e5ddd8;
  --tg-texto:#392f32;
}
body:has(#modulo_655),
body:has(#modulo_655) button,
body:has(#modulo_655) input,
body:has(#modulo_655) textarea{
  font-family:Aptos,"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,sans-serif!important;
}
body:has(#modulo_655) > .container.clearfix:has(#modulo_655){
  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;
}
body:has(#modulo_655) > .container.clearfix:has(#modulo_655) > .grid_4,
body:has(#modulo_655) > .container.clearfix:has(#modulo_655) > .grid_8{
  float:none!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}
body:has(#modulo_655) #modulo_655{
  position:sticky;
  top:18px;
  width:auto!important;
  margin:0!important;
  padding:10px!important;
  border:1px solid var(--tg-borde)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 9px 28px rgba(76,35,47,.08)!important;
}
body:has(#modulo_655) #menu_lateral{
  display:grid!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body:has(#modulo_655) #menu_lateral li{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body:has(#modulo_655) #menu_lateral li a{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-height:42px!important;
  box-sizing:border-box!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;
  letter-spacing:0!important;
  text-transform:none!important;
  text-decoration:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  transition:.18s ease!important;
}
body:has(#modulo_655) #menu_lateral li a:hover{
  border-color:#ead8df!important;
  background:#f8eff3!important;
  color:var(--tg-guinda)!important;
  transform:translateX(2px);
}
body:has(#modulo_655) #menu_lateral li.selected a{
  border-color:var(--tg-guinda)!important;
  background:linear-gradient(135deg,var(--tg-guinda-oscuro),#8b2850)!important;
  color:#fff!important;
  box-shadow:0 6px 15px rgba(107,25,48,.18)!important;
}
body:has(#modulo_655) #container_lateral{
  min-width:0!important;
  padding:0!important;
}
body:has(#modulo_655) #container_lateral > .modulo{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
}
body:has(#modulo_655) #container_lateral .modulo_Lista{
  margin:0 0 18px!important;
  padding:20px!important;
  border:1px solid var(--tg-borde)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 9px 28px rgba(76,35,47,.07)!important;
}
body:has(#modulo_655) #container_lateral .modulo_Lista > h2{
  margin:0!important;
  padding:13px 16px!important;
  border:1px solid #eee5e1!important;
  border-left:4px solid var(--tg-dorado)!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#fff,#fbf7f4)!important;
  color:var(--tg-guinda)!important;
  font-size:21px!important;
  font-weight:750!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-transform:none!important;
  box-shadow:none!important;
}
body:has(#modulo_655) #container_lateral .modulo_Lista > ul{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;
  margin:15px 0 0!important;
  padding:0!important;
  list-style:none!important;
}
body:has(#modulo_655) #container_lateral .modulo_Lista > ul > li{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  list-style:none!important;
}
body:has(#modulo_655) #container_lateral .modulo_Lista > ul > li > a{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:11px!important;
  min-height:68px!important;
  box-sizing:border-box!important;
  padding:11px 12px!important;
  border:1px solid #e7dfdb!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#4b2933!important;
  font-size:14px!important;
  font-weight:650!important;
  line-height:1.28!important;
  text-transform:none!important;
  text-decoration:none!important;
  box-shadow:0 4px 12px rgba(70,43,50,.05)!important;
  transition:.18s ease!important;
}
body:has(#modulo_655) #container_lateral .modulo_Lista > ul > li > a::before{
  content:"PDF";
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:11px;
  background:linear-gradient(145deg,var(--tg-guinda-oscuro),#9b315a);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
  box-shadow:0 5px 12px rgba(107,25,48,.2);
}
body:has(#modulo_655) #container_lateral .modulo_Lista > ul > li > a::after{
  content:"Abrir ↗";
  color:#8b6b2d;
  font-size:12px;
  font-weight:750;
  white-space:nowrap;
}
body:has(#modulo_655) #container_lateral .modulo_Lista > ul > li > a:hover{
  border-color:#cfb4bd!important;
  background:#fffafc!important;
  color:var(--tg-guinda)!important;
  transform:translateY(-2px);
  box-shadow:0 9px 20px rgba(107,25,48,.1)!important;
}
body:has(#modulo_655) #container_lateral .modulo_Lista > ul > li > a img{
  display:none!important;
}
body:has(#modulo_655) #modulo_1652{
  position:relative;
  margin:0!important;
  padding:20px!important;
  border:1px solid var(--tg-borde)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 9px 28px rgba(76,35,47,.07)!important;
}
body:has(#modulo_655) #modulo_1652::before{
  content:"Organigrama Municipal";
  display:block;
  margin:0 0 15px;
  padding:13px 16px;
  border:1px solid #eee5e1;
  border-left:4px solid var(--tg-dorado);
  border-radius:12px;
  background:linear-gradient(135deg,#fff,#fbf7f4);
  color:var(--tg-guinda);
  font-size:21px;
  font-weight:750;
  line-height:1.2;
}
body:has(#modulo_655) #modulo_1652 > a{
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  border:1px solid var(--tg-borde)!important;
  border-radius:14px!important;
  background:var(--tg-fondo)!important;
}
body:has(#modulo_655) #modulo_1652 > a img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  border:0!important;
}
body:has(#modulo_655) #modulo_1652 > a::after{
  content:"Abrir organigrama en PDF ↗";
  position:absolute;
  right:14px;
  bottom:14px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(80,16,35,.94);
  color:#fff;
  font-size:13px;
  font-weight:750;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}
body:has(#modulo_655) #modulo_1757 .tu-gobierno-coyotepec{
  max-width:none!important;
  padding:0!important;
  font-family:Aptos,"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,sans-serif!important;
}
body:has(#modulo_655) #modulo_1757 .tg-banner,
body:has(#modulo_655) #modulo_1757 .tg-seccion-barra{
  border-left-color:var(--tg-dorado)!important;
  box-shadow:0 7px 20px rgba(76,35,47,.07)!important;
}
body:has(#modulo_655) #modulo_1757 .tg-card{
  border-radius:14px!important;
  box-shadow:0 6px 18px rgba(76,35,47,.07)!important;
}
@media(max-width:900px){
  body:has(#modulo_655) > .container.clearfix:has(#modulo_655){
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  body:has(#modulo_655) #modulo_655{position:static!important;}
  body:has(#modulo_655) #menu_lateral{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  body:has(#modulo_655) > .container.clearfix:has(#modulo_655){
    width:min(100% - 20px,1180px)!important;
  }
  body:has(#modulo_655) #menu_lateral{grid-template-columns:1fr!important;}
  body:has(#modulo_655) #menu_lateral li a{min-height:40px!important;font-size:13px!important;}
  body:has(#modulo_655) #container_lateral .modulo_Lista{padding:14px!important;}
  body:has(#modulo_655) #container_lateral .modulo_Lista > h2,
  body:has(#modulo_655) #modulo_1652::before{font-size:18px!important;}
  body:has(#modulo_655) #container_lateral .modulo_Lista > ul{grid-template-columns:1fr!important;}
  body:has(#modulo_655) #container_lateral .modulo_Lista > ul > li > a{grid-template-columns:40px minmax(0,1fr)!important;}
  body:has(#modulo_655) #container_lateral .modulo_Lista > ul > li > a::after{display:none!important;}
  body:has(#modulo_655) #modulo_1652{padding:14px!important;}
  body:has(#modulo_655) #modulo_1652 > a::after{right:9px;bottom:9px;font-size:11.5px;padding:8px 10px;}
}