.fl-language-switcher { display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 1.5rem; font-size:.85rem; }
.fl-language-switcher a { padding:.45rem .8rem; border:1px solid #565656; border-radius:999px; color:#ededed; }
.fl-language-switcher a[aria-current=page] { border-color:#83e5b2; color:#83e5b2; }
.fl-language-switcher a:focus-visible, .fl-localized a:focus-visible { outline:2px solid #83e5b2; outline-offset:4px; }
.fl-skip { position:absolute; left:1rem; top:-8rem; z-index:100; background:#101010; padding:1rem; color:#fff; }
.fl-skip:focus { top:1rem; }
.fl-localized { overflow-wrap:anywhere; }
.fl-localized .article-meta { display:flex; flex-wrap:wrap; gap:.5rem 1rem; }
.fl-localized .article-subtitle { color:#b8b8b8; margin:1rem 0; }
.fl-source-note { font-size:.85rem; color:#b8b8b8; line-height:1.6; margin:1rem 0; }
.fl-source-note a { text-decoration:underline; }
.fl-localized .article-content table { min-width:640px; width:100%; }
.fl-localized .article-content .table-wrap { max-width:100%; overflow:auto; }
.fl-localized .table-wrap::before { display:none; }
.fl-localized pre { max-width:100%; overflow-x:auto; white-space:pre; }
.fl-localized .article-author-card { display:block; }
.fl-localized .article-author-card > p + p { font-size:.85rem; line-height:1.6; margin-top:.6rem; color:#b8b8b8; }
.fl-locale-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:2rem 0; }
.fl-locale-grid article { border:1px solid #363636; padding:1.5rem; border-radius:12px; }
.fl-locale-grid h2 { font-size:1.25rem; line-height:1.35; margin:.75rem 0; }
.fl-locale-grid p { color:#c0c0c0; line-height:1.6; margin:.75rem 0; }
.fl-locale-hub h1 { font-size:clamp(2rem,5vw,3.5rem); line-height:1.1; margin:1rem 0; }
.fl-locale-hub > header > p { line-height:1.7; max-width:65ch; }
/* Reuse the shell without its English hamburger/overlay behavior. */
html[lang=es] .article-nav { position:relative; }
html[lang=es] .article-nav-inner { height:auto; min-height:68px; padding-top:12px; padding-bottom:12px; gap:12px; flex-wrap:wrap; }
html[lang=es] .article-nav-actions {
  position:static !important; inset:auto; display:flex !important;
  flex-direction:row; flex-wrap:wrap; justify-content:flex-end; gap:8px;
  width:auto; height:auto; max-height:none; padding:0; margin:0;
  background:none; border:0; box-shadow:none; opacity:1; visibility:visible;
  transform:none; pointer-events:auto; backdrop-filter:none;
}
html[lang=es] .article-nav-actions .article-back { width:auto; border:1px solid #414141; border-radius:999px; margin:0; }
@media(max-width:720px) {
  .fl-locale-grid { grid-template-columns:1fr; }
  .fl-localized, .fl-locale-hub { padding:36px 20px 24px; }
  .fl-localized .article-sidebar { display:block; position:static; }
  .fl-localized .article-author-card { margin:1rem 0; }
  .fl-localized .article-toc nav { max-height:none; }
  .fl-localized .article-toc { display:none; }
  .fl-localized .article-hero-img { height:auto; width:100%; object-fit:contain; }
  .fl-localized .article-content th, .fl-localized .article-content td { padding:.6rem; overflow-wrap:anywhere; }
  .fl-localized .table-wrap::before { content:"Desliza para ver toda la tabla →"; display:block; font-size:.8rem; color:#b8b8b8; margin-bottom:.75rem; }
  html[lang=es] .article-nav-actions { flex-basis:100%; justify-content:flex-start; }
  html[lang=es] .article-nav-actions .article-back { font-size:12px; padding:6px 10px; }
  html[lang=es] .shell-footer-links { flex-wrap:wrap; }
}
