/* EA4AC cafe: HTML final desde PHP, sin reconstruccion ni flash de imagenes.
   Se limita al widget ya registrado en la barra lateral Modern. */
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe {
  max-width: 100%;
  text-align: center;
  font-family: inherit;
  line-height: 1.5;
  color: var(--text, #f1f6ff);
}
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-title {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
  text-align: center;
  color: inherit;
}
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-cup {
  display: block;
  width: min(84%, 180px);
  height: auto;
  max-height: 165px;
  margin: 0 auto 13px;
  object-fit: contain;
  border: 0;
  background: transparent;
}
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-lead {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
  text-align: center;
  color: inherit;
}
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-copy {
  margin: 0 0 15px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted, #c0cad7);
  text-align: center;
}
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 7px;
  width: 100%;
  max-width: 235px;
  min-width: 0;
  margin: 0 auto 12px;
  padding: 9px;
  border: 1px solid var(--line, #304d6b);
  border-radius: 11px;
  text-decoration: none;
  background: var(--surface-2, #182b43);
  color: var(--text, #fff);
  box-shadow: none;
}
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-link:hover,
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-link:focus-visible {
  border-color: var(--accent, #4ab9ff);
  color: var(--text, #fff);
  transform: translateY(-1px);
}
/* Los logos oficiales propios ya incluyen su composicion y color; se
   respeta su proporcion natural dentro de la tarjeta blanca. */
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-logo {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 80px;
  padding: 5px 8px;
  box-sizing: border-box;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #fff;
  line-height: 1;
}
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-logo > img {
  display: block !important;
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: min(180px, 100%) !important;
  height: auto !important;
  max-height: 74px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
/* Hide the retired Search/Archive sidebar widgets if a template bypasses
   widget_display_callback; header search remains untouched. */
.article-aside > :is(.widget_search, .widget_archive, .widget_archives, #search-7, #archives-6) {
  display: none !important;
}
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-caption {
  display: block;
  text-align: center;
  color: inherit;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}
.article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe-thanks {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted, #c0cad7);
}
@media (max-width: 860px) {
  .article-aside .ea4ac-cafe-server .ea4ac-ssr-cafe {max-width: 300px; margin-inline: auto;}
}
