/* Ajustes v16: Directorio, Inicio de Tu Gobierno y menú de Tu Municipio */

/* Directorio */
body:has(#modulo_1756) .header-page{
  display:none!important;
}
body:has(#modulo_1756) #modulo_1756,
body:has(#modulo_1756) #modulo_1756 *{
  font-family:Aptos,"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,sans-serif!important;
}
body:has(#modulo_1756) #modulo_1756 .directorio-coyotepec{
  padding-top:20px!important;
}
body:has(#modulo_1756) .dc-gobierno-encabezado{
  position:relative;
  overflow:hidden;
  margin:0 0 22px;
  padding:23px 26px;
  border:1px solid rgba(176,138,62,.55);
  border-radius:16px;
  background:linear-gradient(135deg,#501023 0%,#731c3b 62%,#9a315a 100%);
  color:#fff;
  box-shadow:0 11px 28px rgba(80,16,35,.18);
}
body:has(#modulo_1756) .dc-gobierno-encabezado::after{
  content:"";
  position:absolute;
  right:-34px;
  top:-46px;
  width:180px;
  height:180px;
  border-radius:50%;
  background:rgba(255,255,255,.06);
}
body:has(#modulo_1756) .dc-gobierno-encabezado span{
  position:relative;
  z-index:1;
  display:inline-block;
  margin:0 0 9px;
  padding:5px 11px;
  border-radius:999px;
  background:#c6a153;
  color:#3c1824;
  font-size:12px;
  font-weight:800;
  letter-spacing:.45px;
  text-transform:uppercase;
}
body:has(#modulo_1756) .dc-gobierno-encabezado h2{
  position:relative;
  z-index:1;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:31px!important;
  font-weight:780!important;
  line-height:1.12!important;
}
body:has(#modulo_1756) .dc-gobierno-encabezado p{
  position:relative;
  z-index:1;
  margin:8px 0 0!important;
  color:#f1dca8!important;
  font-size:15px!important;
  font-weight:700!important;
}
body:has(#modulo_1756) .dc-presidenta-contenido h2{
  margin:0 0 7px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#6b1930!important;
}
body:has(#modulo_1756) .dc-presidenta-cargo{
  color:#9a742d!important;
}
body:has(#modulo_1756) .dc-presidenta-semblanza{
  color:#392f32!important;
  font-size:15.5px!important;
  line-height:1.7!important;
}

/* Inicio de Tu Gobierno */
body:has(#modulo_655) #modulo_1757{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
body:has(#modulo_655) .tu-gobierno-inicio{
  width:100%;
  box-sizing:border-box;
  color:#392f32;
  font-family:Aptos,"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,sans-serif!important;
}
body:has(#modulo_655) .tgi-hero{
  position:relative;
  overflow:hidden;
  padding:34px 36px;
  border:1px solid rgba(176,138,62,.5);
  border-radius:18px;
  background:linear-gradient(135deg,#501023 0%,#711b39 58%,#963054 100%);
  color:#fff;
  box-shadow:0 12px 30px rgba(80,16,35,.17);
}
body:has(#modulo_655) .tgi-hero::after{
  content:"";
  position:absolute;
  right:-60px;
  top:-80px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(255,255,255,.06);
}
body:has(#modulo_655) .tgi-eyebrow{
  position:relative;
  z-index:1;
  display:inline-flex;
  margin:0 0 13px;
  padding:5px 11px;
  border-radius:999px;
  background:#c5a055;
  color:#3b1723;
  font-size:12px;
  font-weight:800;
  letter-spacing:.45px;
  text-transform:uppercase;
}
body:has(#modulo_655) .tgi-hero h2{
  position:relative;
  z-index:1;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:34px!important;
  font-weight:780!important;
  line-height:1.12!important;
}
body:has(#modulo_655) .tgi-hero p{
  position:relative;
  z-index:1;
  max-width:720px;
  margin:13px 0 0!important;
  color:#f7edf0!important;
  font-size:16px!important;
  line-height:1.6!important;
}
body:has(#modulo_655) .tgi-compromiso{
  margin:20px 0 0;
  padding:20px;
  border:1px solid #e5ddd8;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(76,35,47,.07);
}
body:has(#modulo_655) .tgi-seccion-titulo{
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 15px;
  padding:13px 16px;
  border:1px solid #eee5e1;
  border-left:4px solid #b08a3e;
  border-radius:12px;
  background:linear-gradient(135deg,#fff,#fbf7f4);
  color:#6b1930;
}
body:has(#modulo_655) .tgi-seccion-titulo span{
  color:#b08a3e;
  font-size:13px;
}
body:has(#modulo_655) .tgi-seccion-titulo h2{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#6b1930!important;
  font-size:22px!important;
  line-height:1.2!important;
}
body:has(#modulo_655) .tgi-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}
body:has(#modulo_655) .tgi-card{
  position:relative;
  min-width:0;
  padding:18px;
  border:1px solid #e7dfdb;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 15px rgba(70,43,50,.06);
}
body:has(#modulo_655) .tgi-numero{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  margin:0 0 13px;
  border-radius:11px;
  background:linear-gradient(145deg,#501023,#9b315a);
  color:#fff;
  font-size:12px;
  font-weight:800;
  box-shadow:0 5px 12px rgba(107,25,48,.2);
}
body:has(#modulo_655) .tgi-card h3{
  margin:0 0 8px!important;
  color:#6b1930!important;
  font-size:17px!important;
  line-height:1.25!important;
}
body:has(#modulo_655) .tgi-card p{
  margin:0!important;
  color:#655b5e!important;
  font-size:14px!important;
  line-height:1.55!important;
}
body:has(#modulo_655) .tgi-lema{
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin:16px 0 0;
  padding:15px 18px;
  border-radius:13px;
  background:#f7f1f3;
  color:#6b1930;
}
body:has(#modulo_655) .tgi-lema strong{font-weight:800;}
body:has(#modulo_655) .tgi-lema span{color:#8b6b2d;font-weight:750;}

/* Menú compacto de Tu Municipio */
body:has(#modulo_1769) > .container.clearfix:has(#modulo_1769){
  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_1769) > .container.clearfix:has(#modulo_1769) > .grid_4,
body:has(#modulo_1769) > .container.clearfix:has(#modulo_1769) > .grid_8{
  float:none!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}
body:has(#modulo_1769) #modulo_1769{
  position:sticky;
  top:18px;
  width:auto!important;
  margin:0!important;
  padding:10px!important;
  border:1px solid #e5ddd8!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 9px 28px rgba(76,35,47,.08)!important;
}
body:has(#modulo_1769) #menu_lateral{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:5px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body:has(#modulo_1769) #menu_lateral li{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body:has(#modulo_1769) #menu_lateral li a{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  height:50px!important;
  min-height:50px!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_1769) #menu_lateral li a:hover{
  border-color:#ead8df!important;
  background:#f8eff3!important;
  color:#6b1930!important;
  transform:translateX(2px);
}
body:has(#modulo_1769) #menu_lateral li.selected a{
  border-color:#6b1930!important;
  background:linear-gradient(135deg,#501023,#8b2850)!important;
  color:#fff!important;
  box-shadow:0 6px 15px rgba(107,25,48,.18)!important;
}
body:has(#modulo_1769) #container_lateral{
  min-width:0!important;
  padding:0!important;
}
@media(max-width:900px){
  body:has(#modulo_1769) > .container.clearfix:has(#modulo_1769){
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  body:has(#modulo_1769) #modulo_1769{position:static!important;}
  body:has(#modulo_1769) #menu_lateral{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body:has(#modulo_655) .tgi-grid{grid-template-columns:1fr!important;}
}
@media(max-width:640px){
  body:has(#modulo_1769) > .container.clearfix:has(#modulo_1769){
    width:min(100% - 20px,1180px)!important;
  }
  body:has(#modulo_1769) #menu_lateral{grid-template-columns:1fr!important;}
  body:has(#modulo_1769) #menu_lateral li a{height:44px!important;min-height:44px!important;font-size:13px!important;}
  body:has(#modulo_655) .tgi-hero{padding:25px 21px!important;}
  body:has(#modulo_655) .tgi-hero h2{font-size:27px!important;}
  body:has(#modulo_655) .tgi-compromiso{padding:14px!important;}
  body:has(#modulo_655) .tgi-lema{flex-direction:column!important;}
  body:has(#modulo_1756) .dc-gobierno-encabezado{padding:20px!important;}
  body:has(#modulo_1756) .dc-gobierno-encabezado h2{font-size:25px!important;}
}