/* Singular posts use Avada's legacy template, not the landing-page containers. */
body.single-post .pm-identidad-oficial {
  display: block;
  width: 250px;
  max-width: 100%;
  line-height: 0;
  text-decoration: none;
}
body.single-post .fusion-header .fusion-logo {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 100%;
}
body.single-post .pm-identidad-oficial img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  border-radius: 0;
}
body.single-post .pm-identidad-articulo-cabecera .pm-logo-oscuro,
body.single-post .pm-identidad-articulo-pie .pm-logo-claro { display: none !important; }
body.single-post .pm-identidad-articulo-pie { width: 288px; }
/* The footer has a permanently dark background; use the official white mark. */
body.single-post .fusion-header {
  background-color: #fff !important;
  --header_bg_color: #fff;
}
body.single-post .fusion-main-menu > ul > li:not(.fusion-menu-item-button) > a {
  color: #004983 !important;
}
body.single-post .fusion-header .fusion-toggle-icon-line { background-color: #004983 !important; }
body.single-post .pm-identidad-oficial:focus-visible,
body.single-post .pm-articulos summary:focus-visible,
body.single-post .pm-articulos-panel a:focus-visible {
  outline: 3px solid #0f72b8;
  outline-offset: 3px;
}
body.single-post .pm-identidad-menu-articulos { position: relative; }
body.single-post .pm-articulos { position: relative; font-size: 14px; font-weight: 700; }
body.single-post .pm-articulos summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: var(--nav_height, 90px);
  padding: 12px 8px;
  color: #004983;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
body.single-post .pm-articulos summary::-webkit-details-marker { display: none; }
body.single-post .pm-articulos[open] summary span { transform: rotate(180deg); }
body.single-post .pm-articulos-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10001;
  width: 320px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  background: #fff;
  border: 1px solid #dbe7ee;
  border-radius: 14px;
  box-shadow: 0 16px 36px #00233c24;
}
body.single-post .pm-articulos-panel a {
  display: block !important;
  padding: 12px !important;
  height: auto !important;
  line-height: 1.5 !important;
  color: #004983 !important;
  -webkit-text-fill-color: #004983 !important;
  white-space: normal;
  border: 0 !important;
  border-radius: 8px;
  text-align: left;
}
body.single-post .pm-articulos-panel a:hover { background: #edf5fa; }
body.single-post .pm-articulos-panel .pm-articulos-todos { border-bottom: 1px solid #dbe7ee !important; }
body.single-post .fusion-mobile-navigation .pm-articulos summary { min-height: 48px; }
body.single-post .fusion-mobile-navigation .pm-articulos-panel {
  position: static;
  width: min(100%, 420px);
  margin: 0 auto 16px;
  box-shadow: none;
}
@media (prefers-color-scheme: dark) {
  body.single-post .fusion-header { background-color: #071d29 !important; --header_bg_color: #071d29; }
  body.single-post .pm-identidad-articulo-cabecera .pm-logo-claro { display: none !important; }
  body.single-post .pm-identidad-articulo-cabecera .pm-logo-oscuro { display: block !important; }
  body.single-post .fusion-main-menu > ul > li:not(.fusion-menu-item-button) > a,
  body.single-post .pm-articulos summary { color: #f2f7fa !important; }
  body.single-post .fusion-header .fusion-toggle-icon-line { background-color: #f2f7fa !important; }
  body.single-post .pm-articulos-panel { background: #0b202c; border-color: #365967; }
  body.single-post .pm-articulos-panel a { color: #e8f3f8 !important; -webkit-text-fill-color: #e8f3f8 !important; }
  body.single-post .pm-articulos-panel a:hover { background: #183746; }
}
@media (max-width: 640px) {
  body.single-post .pm-identidad-articulo-cabecera { width: 220px; }
}
