/* Original MAG identity, with a quieter utility strip and a bold editorial stage. */
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern{
  --smag-masthead-ink:#102e3a;
  --smag-masthead-paper:#fff4dd;
  --smag-masthead-cyan:#a4c6d5;
  --smag-masthead-coral:#ff7058;
  background:var(--smag-masthead-ink);
  color:var(--smag-masthead-paper);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe{
  background:#0b2530;
  border-bottom:1px solid rgba(164,198,213,.15);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-inner{
  display:flex;
  align-items:center;
  min-height:48px;
  gap:20px;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-label{
  color:#b4c7ce;
  font-size:9px;
  font-weight:650;
  letter-spacing:.1em;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-links{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:6px;
  min-width:0;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 12px;
  border:1px solid transparent;
  border-radius:999px;
  color:#d6e3e7;
  font-size:10px;
  font-weight:650;
  line-height:1.2;
  white-space:nowrap;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-links a[aria-current]{
  background:rgba(164,198,213,.13);
  border-color:rgba(164,198,213,.25);
  color:var(--smag-masthead-paper);
  font-weight:800;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-links a:hover{
  border-color:rgba(164,198,213,.4);
  color:var(--smag-masthead-paper);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-stage{
  position:relative;
  isolation:isolate;
  background:var(--smag-masthead-ink);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-art{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-orbit{
  position:absolute;
  top:-194px;
  left:calc(50% - 245px);
  width:490px;
  height:390px;
  border:38px solid rgba(164,198,213,.09);
  border-radius:50%;
  transform:rotate(-18deg);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-dot{
  position:absolute;
  bottom:20px;
  left:calc(50% + 119px);
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--smag-masthead-coral);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) 168px minmax(0,1fr);
  align-items:center;
  gap:24px;
  min-height:144px;
  padding-block:14px;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-intro{
  grid-column:1;
  grid-row:1;
  min-width:0;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-eyebrow{
  display:block;
  margin-bottom:9px;
  color:var(--smag-masthead-cyan);
  font-size:10px;
  font-weight:700;
  letter-spacing:.09em;
  line-height:1.3;
  text-transform:uppercase;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-note{
  display:block;
  max-width:none;
  margin:0;
  color:var(--smag-masthead-paper);
  font-family:var(--smag-display);
  font-size:18px;
  font-weight:650;
  line-height:1.35;
  letter-spacing:-.02em;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-note span{
  display:inline;
  margin:0 0 0 .22em;
  color:inherit;
  font:inherit;
  letter-spacing:inherit;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-topics{
  margin:10px 0 0;
  color:#b4c7ce;
  font-size:10px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.025em;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-link{
  grid-column:2;
  grid-row:1;
  justify-self:center;
  display:block;
  width:148px;
  min-width:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-link img{
  width:148px;
  height:112px;
  max-width:100%;
  object-fit:contain;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-tools{
  grid-column:3;
  grid-row:1;
  justify-self:end;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  width:auto;
  min-width:0;
  max-width:100%;
  margin:0;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-header-socials{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:2px;
  width:auto;
  min-width:0;
  margin:0;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-tools .smag-icon-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 40px;
  width:40px;
  min-width:40px;
  height:40px;
  min-height:40px;
  padding:10px;
  border:1px solid transparent;
  border-radius:50%;
  background:transparent;
  color:var(--smag-masthead-paper);
  box-shadow:none;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-tools .smag-icon-button svg{
  display:block;
  width:18px;
  height:18px;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-tools .smag-icon-button:hover{
  border-color:rgba(164,198,213,.35);
  background:rgba(164,198,213,.1);
  color:var(--smag-masthead-cyan);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-menu-toggle{
  display:none;
  margin:0;
  color:var(--smag-masthead-paper);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead a:focus-visible,
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead button:focus-visible,
body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-links a:focus-visible{
  outline:2px solid var(--smag-masthead-cyan);
  outline-offset:3px;
}
@media (min-width:861px) and (max-width:1000px){
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead{gap:18px}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-note{font-size:18px}
}
@media (max-width:860px){
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead{
    grid-template-columns:128px minmax(0,1fr) 40px;
    gap:10px 14px;
    min-height:126px;
    padding-block:12px;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-link{grid-column:1;grid-row:1;justify-self:start;width:128px}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-link img{width:128px;height:97px}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-tools{grid-column:2;grid-row:1;justify-self:end;gap:4px;margin:0}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-intro{grid-column:1/-1;grid-row:2}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-eyebrow,
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-topics{display:none}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-note{font-size:17px;line-height:1.35;letter-spacing:-.02em}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-note span{display:inline;margin-left:4px}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-menu-toggle{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
    padding:0;
    border:1px solid rgba(164,198,213,.3);
    border-radius:50%;
    background:transparent;
    margin:0;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-menu-toggle > span:first-child{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-menu-toggle:hover{background:rgba(164,198,213,.1)}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-orbit{left:-80px;top:-224px;width:420px;height:360px;border-width:30px}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-dot{left:146px;bottom:30px;width:12px;height:12px}
}
@media (max-width:760px){
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe .smag-shell{width:calc(100% - 48px)}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-inner{min-height:46px;gap:0}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-links a{padding-inline:6px;font-size:10px;white-space:nowrap}
}
@media (max-width:600px){
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe .smag-shell{width:calc(100% - 32px)}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead{
    grid-template-columns:104px minmax(0,1fr);
    gap:0 12px;
    min-height:108px;
    padding-block:12px;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-intro{display:none}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-link{grid-column:1;grid-row:1;width:104px}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-brand-link img{width:104px;height:79px}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-tools{
    grid-column:2;
    grid-row:1;
    justify-self:end;
    align-self:end;
    display:inline-grid;
    grid-template-columns:repeat(4,40px);
    grid-template-rows:none;
    grid-auto-rows:40px;
    align-items:center;
    justify-content:end;
    gap:4px;
    width:172px;
    max-width:100%;
    margin:44px 0 0;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-header-socials{grid-column:1/3;grid-row:1;display:flex;gap:4px;width:84px}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-header-about{grid-column:3;grid-row:1}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-theme-toggle{grid-column:4;grid-row:1}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-menu-toggle{grid-column:2;grid-row:1;align-self:start;justify-self:end;z-index:2;width:40px;height:40px;min-height:40px}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-masthead-dot{left:113px;bottom:18px;width:10px;height:10px}
}
@media (max-width:360px){
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe .smag-shell{width:calc(100% - 28px)}
  body:not(.smag-compose-page):not(.page-template-page-redactar) .smag-header-modern .smag-universe-links a{padding-inline:4px;font-size:9px}
}
