/* v3.1.8 -- additive module; municipalities.css and agenda_v3.1.3.css unchanged */
.feed-agenda .evento-acciones{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}
.feed-agenda .btn-detalles,.feed-agenda .aft-draft-link,.feed-agenda .evento-pie>a.btn-detalles{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.52rem .9rem;border:1px solid #1a365d;border-radius:9px;background:#1a365d;color:#fff!important;font-weight:700;text-decoration:none;line-height:1.35;max-width:100%;overflow-wrap:anywhere}
.feed-agenda .btn-detalles:hover,.feed-agenda .btn-detalles:focus-visible{background:#284a77;color:#fff}
.feed-agenda .evento-estado-revision{font-size:.78rem;line-height:1.35;color:#765315;display:inline-block}
.aft-services-group{margin:1.15rem 0 1.7rem;min-width:0}
.aft-services-group>h3{font-size:1.17rem;line-height:1.35;margin:0 0 .85rem;border-left:5px solid var(--municipio-color,#1a365d);padding:.4rem .8rem;background:rgba(110,120,130,.065);border-radius:0 7px 7px 0}
.aft-services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:1rem;align-items:stretch}
.aft-services-grid>.municipal-service{height:100%;box-sizing:border-box;border-left:5px solid var(--municipio-color,#1a365d);min-width:0}
.aft-services-grid>.municipal-service:first-child{grid-column:auto}
.aft-services-grid>.municipal-service h3{overflow-wrap:anywhere}
@media(max-width:650px){.aft-services-grid{grid-template-columns:minmax(0,1fr)}.feed-agenda .btn-detalles{width:100%}}

/* v3.1.9 · Contraste estable del botón: normal, hover, teclado y visitado.
   Sobrescribe exclusivamente la apariencia, no la navegación ni los colores municipales. */
.agenda-unified .feed-agenda .card-evento .evento-acciones a.btn-detalles,
.agenda-unified .feed-agenda .card-evento .evento-acciones a.btn-detalles:link,
.agenda-unified .feed-agenda .card-evento .evento-acciones a.btn-detalles:visited {
  background-color:#1A365D !important;
  color:#FFFFFF !important;
  border:2px solid #1A365D !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
  -webkit-text-fill-color:#FFFFFF !important;
  font-weight:700;
}
.agenda-unified .feed-agenda .card-evento .evento-acciones a.btn-detalles:hover,
.agenda-unified .feed-agenda .card-evento .evento-acciones a.btn-detalles:focus-visible {
  background-color:#FFFFFF !important;
  color:#1A365D !important;
  border-color:#1A365D !important;
  -webkit-text-fill-color:#1A365D !important;
  text-decoration:none;
  outline:3px solid #E6A323;
  outline-offset:2px;
}
.agenda-unified .feed-agenda .card-evento .evento-acciones a.btn-detalles:active {
  background-color:#10243F !important;
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}
