/* v210: styles of the public top bar and footer drawn by site-shell.js (before, the script added them when the settings
   arrived). Linked last in the <head> of the 20 public pages, so they keep the same priority they had. */

/* ---- The bar: one for the 20 pages (v215, paso B) ----
   Measures, icon and letters of Fable's samples (muestras.css, «como la del sitio»): 68px high, icon 40×46. The site
   keeps its «Menú» button on narrow screens (Propietario, 2026-11-20, pregunta 5): from 1050px down on every page,
   where the links stop fitting (before: 1180px on Inicio and the Guía pages, 1050px on the others). */
.topbar{position:sticky;top:0;z-index:40;border-bottom:1px solid rgba(181,150,88,.24);background:rgba(8,8,10,.9);backdrop-filter:blur(16px)}
.topbar .shell{width:min(1180px,calc(100% - 40px));margin:0 auto}
.topbar .nav{min-height:68px;display:flex;align-items:center;gap:24px}
.topbar .brand{display:flex;align-items:center;gap:12px;flex:none}
.topbar .brand-mark{width:40px;height:46px;display:grid;place-items:center;flex:none}
.topbar .brand-mark img{width:100%;height:100%;object-fit:contain}
.topbar .brand-copy{display:block;min-width:0}
.topbar .brand-name{display:block;font-size:1.02rem;font-weight:400;letter-spacing:.12em;text-transform:uppercase}
.topbar .brand-sub{display:block;color:var(--dim,#b9ad94);font:.64rem Arial,Helvetica,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.topbar .nav-links{display:flex;gap:2px;margin-left:auto}
.topbar .nav-links a{padding:9px 10px;color:#c9bea8;font:.76rem Arial,Helvetica,sans-serif;letter-spacing:.04em;white-space:nowrap;border-bottom:1px solid transparent}
.topbar .nav-links a:hover,.topbar .nav-links a[aria-current]{color:#fff;border-color:var(--gold,#b59658)}
.topbar .nav-toggle{display:none;margin-left:auto;padding:9px 12px;color:var(--parchment,#e7dcc2);background:transparent;border:1px solid var(--line,rgba(181,150,88,.35));font:700 .875rem Arial,sans-serif;cursor:pointer}
@media(max-width:1050px){
  .topbar .nav-toggle{display:block}
  .topbar .site-nav{display:none;position:absolute;top:68px;left:20px;right:20px;z-index:20;grid-template-columns:repeat(2,1fr);padding:14px;background:#111014;border:1px solid var(--line,rgba(181,150,88,.35));box-shadow:0 20px 45px rgba(0,0,0,.45)}
  .topbar .site-nav.open{display:grid}
  .topbar .site-nav a{display:block;padding:11px 10px;font-size:.875rem}
}
@media(max-width:900px){.topbar .brand-sub{display:none}.topbar .nav{gap:12px}}
@media(max-width:720px){.topbar .shell{width:calc(100% - 32px)}.topbar .site-nav{left:16px;right:16px;grid-template-columns:1fr}}

/* ---- The footer: as before v215 (it changes with each page's own look in its tanda) ---- */
/* From subpage.css (the 19 pages other than Inicio). The :where() adds no weight. Since the v222 no page loads
   subpage.css (removed, D57), so this rule no longer applies and every page takes the one of Inicio below. */
:where(html:has(link[href*="subpage."])) footer{padding:42px 0;border-top:1px solid var(--line);background:#08080a}
/* From the <style> of Inicio (once the only page without subpage.css, known from the <head>; today, all of them). */
:where(html:not(:has(link[href*="subpage."]))) footer{padding:54px 0 35px;border-top:1px solid rgba(181,150,88,.24);background:#08080a}
:where(html:not(:has(link[href*="subpage."]))) footer h3{margin:0 0 12px;color:var(--gold-pale);font-size:1rem;letter-spacing:.08em;text-transform:uppercase}
:where(html:not(:has(link[href*="subpage."]))) footer p,:where(html:not(:has(link[href*="subpage."]))) footer a{color:#9f9584;font-family:Arial,Helvetica,sans-serif;font-size:.82rem}
/* Since v210, for the 20 pages. */
.global-footer{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding-top:34px}.global-footer p{white-space:pre-line;overflow-wrap:anywhere}.global-footer-links{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:14px}.global-footer-links a{color:#d5bd82;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere;max-width:100%;padding:6px 0}.global-footer-links a:hover,.global-footer-links a:focus-visible{color:#fff0c7}.global-footer-links a:focus-visible{outline:2px solid #d5bd82;outline-offset:4px}.global-copyright{color:#9f9584;padding-bottom:24px}.editorial-paragraph{white-space:pre-line}@media(max-width:540px){.global-footer{grid-template-columns:1fr}}
