.msfc-head {
  padding: 15px 18px;
  border: 1px solid rgba(17, 19, 24, .04);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(17, 19, 24, .07);
  z-index: 20;
  transition: box-shadow .25s ease, transform .25s ease;
}
.msfc-head.sticky { position: sticky; top: 12px; }
.msfc-brand {
  display: flex; align-items: center; gap: 9px; min-height: 44px;
  font-weight: 950; font-style: italic; font-size: 21px; letter-spacing: -1px;
}
.msfc-brand img { display: block; max-width: 210px; max-height: 54px; width: auto; height: auto; object-fit: contain; }
.msfc-head p { display: flex; align-items: center; gap: 8px; }
.msfc-head p i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229,28,42,.13); }
.msfc-reference { margin: 0 0 12px; padding: 12px 15px; border-radius: 12px; background: #fff8e6; color: #63552f; font-size: 11px; line-height: 1.45; }
.msfc-reference strong { color: var(--ink); }
.msfc-compare button small { display: block; margin-top: 9px; color: #8b6d23; font-size: 8px; line-height: 1.3; }
.msfc-select-wrap { display: none; margin: 14px 0 8px; }
.msfc-select-wrap span { display: block; margin: 0 0 6px 4px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .9px; text-transform: uppercase; }
.msfc-select-wrap select { width: 100%; min-height: 48px; padding: 0 42px 0 15px; border: 1px solid rgba(17,19,24,.13); border-radius: 13px; background: #fff; color: var(--ink); font: 800 15px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; box-shadow: 0 8px 22px rgba(17,19,24,.05); }
.msfc-head { flex-direction: column; justify-content: center; gap: 9px; text-align: center; }
.msfc-brand { justify-content: center; width: 100%; }
.msfc-brand img { max-width: min(280px, 72vw); max-height: 72px; }
.msfc-head p { justify-content: center; }
.msfc-city-picker { margin: 18px 0 13px; }
.msfc-city-picker > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: 1.1px; text-align: center; text-transform: uppercase; }
.msfc-city-picker .msfc-citybar { justify-content: center; flex-wrap: wrap; overflow: visible; padding: 0; }
.msfc-city-picker .msfc-citybar button { min-height: 43px; padding: 10px 19px; border-width: 1.5px; font-size: 12px; box-shadow: 0 5px 16px rgba(17,19,24,.05); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.msfc-city-picker .msfc-citybar button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(17,19,24,.1); }
.msfc-app { width: 100%; min-width: 0; text-align: center; }
.msfc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.msfc-nav { width: 100%; padding: 10px; gap: 10px; background: transparent; }
.msfc-nav button { display: flex; min-height: 96px; padding: 16px 20px; align-items: center; justify-content: center; gap: 14px; border: 1px solid rgba(17,19,24,.08); border-radius: 18px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 8px 24px rgba(17,19,24,.06); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.msfc-nav button i { position: relative; display: block; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 15px; background: #fff1f2; color: var(--red); }
.msfc-nav button i::before { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-style: normal; font-weight: 900; }
.msfc-nav button:nth-child(1) i::before { content: '●'; }
.msfc-nav button:nth-child(2) i::before { content: '◆'; }
.msfc-nav button:nth-child(3) i::before { content: '°'; font-size: 31px; }
.msfc-nav button span { display: flex; flex-direction: column; gap: 4px; }
.msfc-nav button b { font-size: 18px; line-height: 1; }
.msfc-nav button small { color: var(--muted); font-size: 9px; font-weight: 650; }
.msfc-nav button.active { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 14px 30px rgba(229,28,42,.24); }
.msfc-nav button.active i { background: rgba(255,255,255,.18); color: #fff; }
.msfc-nav button.active small { color: rgba(255,255,255,.82); }
.msfc-nav button:hover { transform: translateY(-3px); box-shadow: 0 13px 28px rgba(17,19,24,.12); }
.msfc-nav + section { width: 100%; min-height: 340px; }
.msfc-all { display: grid; width: 100%; gap: 22px; }
.msfc-all > section { width: 100%; }
.msfc-grid article,
.msfc-wide,
.msfc-compare button { text-align: center; }
.msfc-grid article { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 190px; }
.msfc-grid .alert { min-height: 130px; }
.msfc-grid label,
.msfc-wide label,
.msfc-compare label { text-align: center; }
.msfc-grid p,
.msfc-wide p,
.msfc-compare span { text-align: center; }
.duo { justify-content: center; width: 100%; }
.msfc-wide { display: flex; flex-direction: column; justify-content: center; }
.msfc-wide header { flex-direction: column; align-items: center; justify-content: center; gap: 13px; text-align: center; }
.msfc-wide header > strong { text-align: center; }
.msfc-bars { width: 100%; }
.msfc-compare { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: 12px; }
.msfc-compare > header { padding: 12px 10px 8px; text-align: center; }
.msfc-compare > header h2 { margin: 6px 0 0; font-size: clamp(27px, 4vw, 40px); }
.msfc-compare button { display: grid; grid-template-columns: minmax(180px, 1.45fr) repeat(3, minmax(130px, 1fr)); min-height: 125px; padding: 18px 26px; align-items: center; gap: 18px; text-align: left; }
.msfc-compare button.active { outline-width: 3px; background: #fffafa; }
.msfc-compare button label { margin-bottom: 7px; }
.msfc-compare .msfc-place,
.msfc-compare .msfc-reading { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.msfc-compare .msfc-place b { font-size: clamp(20px, 2.5vw, 28px); }
.msfc-compare .msfc-reading strong { display: block; margin: 0; font-size: clamp(27px, 3.5vw, 42px); line-height: 1; letter-spacing: -1.3px; }
.msfc-compare .msfc-reading.main strong { color: var(--red); font-size: clamp(36px, 5vw, 58px); }
.empty { display: flex; min-height: 220px; align-items: center; justify-content: center; }
.note { text-align: center; }
.msfc-rain { align-self: stretch; width: 100%; }
.msfc-rain > header h2 { font-size: clamp(28px, 4vw, 42px); }
.msfc-rain-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; margin-top: 24px; }
.msfc-rain-summary article { display: flex; min-height: 170px; padding: 24px 18px; flex-direction: column; align-items: center; justify-content: center; border-radius: 18px; background: #f7f7f5; }
.msfc-rain-summary article:first-child { background: var(--red); color: #fff; }
.msfc-rain-summary article:first-child label,
.msfc-rain-summary article:first-child span { color: #fff; }
.msfc-rain-summary strong { display: block; margin: 13px 0 8px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -1.5px; }
.msfc-rain-summary span { color: var(--muted); font-size: 10px; }
.msfc-rain-block { width: 100%; padding-top: 34px; }
.msfc-rain-block + .msfc-rain-block { margin-top: 18px; border-top: 1px solid var(--line); }
.msfc-subhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; width: 100%; }
.msfc-subhead h3 { margin: 5px 0 0; font-size: clamp(22px, 3vw, 30px); }
.msfc-subhead > strong { font-size: 24px; }
.msfc-subhead small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 500; }

/* Escala tipográfica más legible y consistente. */
.msfc-head p { font-size: 14px; line-height: 1.45; }
.msfc-city-picker > span { margin-bottom: 12px; font-size: 12px; letter-spacing: 1.4px; }
.msfc-city-picker .msfc-citybar button { min-height: 50px; padding: 12px 22px; font-size: 14px; }
.msfc-nav button { min-height: 108px; padding: 19px 22px; }
.msfc-nav button { justify-content: center; text-align: center; }
.msfc-nav button span { width: 100%; align-items: center; text-align: center; }
.msfc-nav button i { flex-basis: 52px; width: 52px; height: 52px; }
.msfc-nav button b { font-size: 22px; }
.msfc-nav button small { margin-top: 2px; font-size: 12px; line-height: 1.3; }
.msfc-grid label,
.msfc-wide label,
.msfc-compare label { font-size: 11px; letter-spacing: 1.35px; }
.msfc-grid article { padding: 30px 24px; }
.msfc-grid article > label { font-size: clamp(15px, 1.8vw, 19px); line-height: 1.2; letter-spacing: .9px; }
.msfc-grid article > strong { font-size: clamp(48px, 6vw, 68px); line-height: 1; }
.msfc-grid p { font-size: 14px; line-height: 1.5; }
.duo { gap: clamp(28px, 5vw, 58px); }
.duo b { font-size: clamp(38px, 4.5vw, 54px); line-height: 1; }
.duo small { margin-top: 8px; font-size: 12px; }
.msfc-wide h2 { font-size: clamp(30px, 4vw, 44px); }
.msfc-rain-summary span { font-size: 12px; line-height: 1.4; }
.msfc-subhead small { font-size: 11px; }
.msfc-bars { height: 300px; }
.msfc-bars b { margin: 8px 0 5px; font-size: 13px; }
.msfc-bars small { font-size: 11px; }
.msfc-bars span { width: min(42px, 82%); }
.msfc-compare button label { font-size: 10px; }
.msfc-compare .msfc-place b { font-size: clamp(23px, 3vw, 32px); }
.msfc-compare .msfc-reading strong { font-size: clamp(32px, 4vw, 48px); }
.msfc-compare .msfc-reading.main strong { font-size: clamp(44px, 6vw, 66px); }
.empty { font-size: 15px; line-height: 1.5; }
.note { font-size: 12px; line-height: 1.55; }
.msfc-app > footer { font-size: 11px; line-height: 1.5; }

/* Vista limpia: solo afecta a la página que contiene el clima. */
body.msfc-page { margin: 0; background: #fff; }
body.msfc-page .wp-site-blocks > header,
body.msfc-page .wp-site-blocks > footer,
body.msfc-page header.wp-block-template-part,
body.msfc-page footer.wp-block-template-part,
body.msfc-page .wp-block-post-title,
body.msfc-page .entry-title,
body.msfc-page nav[aria-label="Migas de pan"] { display: none !important; }
body.msfc-page .wp-site-blocks,
body.msfc-page main,
body.msfc-page .wp-block-post-content,
body.msfc-page .entry-content { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; }
body.msfc-page .wp-site-blocks > main > *,
body.msfc-page main > .wp-block-group,
body.msfc-page main > .wp-block-post-content,
body.msfc-page main > article,
body.msfc-page main > article > .entry-content { margin-top: 0 !important; padding-top: 0 !important; max-width: none !important; width: 100% !important; }
body.msfc-page main { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; }
body.msfc-page .wp-block-post-content,
body.msfc-page .entry-content { display: flex; justify-content: center; }
body.msfc-page .msfc-app { box-sizing: border-box; flex: 0 0 auto; width: min(1180px, calc(100vw - 32px)) !important; max-width: 1180px !important; margin: 0 auto !important; }
@media (max-width: 560px) {
  body.msfc-page .msfc-app { width: 100%; margin: 0 auto !important; min-height: 100vh; }
  .msfc-head { display: flex; padding: 15px 13px; border-radius: 14px; }
  .msfc-head.sticky { top: 6px; }
  .msfc-brand { min-height: 38px; }
  .msfc-brand img { max-width: 210px; max-height: 58px; }
  .msfc-head p { font-size: 10px; margin: 0; }
  .msfc-head p i { display: block; }
  .msfc-select-wrap { display: none; }
  .msfc-city-picker { margin: 15px 0 11px; }
  .msfc-city-picker .msfc-citybar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .msfc-city-picker .msfc-citybar button { width: 100%; min-height: 46px; padding: 9px 7px; font-size: 11px; }
  .msfc-nav + section { min-height: 430px; }
  .msfc-all { gap: 14px; }
  .msfc-nav { display: grid; grid-template-columns: 1fr; overflow: visible; }
  .msfc-nav button { width: 100%; min-height: 76px; padding: 12px 15px; justify-content: center; }
  .msfc-nav button i { flex-basis: 42px; width: 42px; height: 42px; border-radius: 13px; }
  .msfc-nav button b { font-size: 17px; }
  .msfc-nav button small { font-size: 9px; }
  .msfc-grid article { min-height: 165px; }
  .msfc-grid { grid-template-columns: 1fr; }
  .msfc-grid .alert { min-height: 125px; }
  .msfc-wide header { display: flex; align-items: center; }
  .msfc-subhead { flex-direction: column; align-items: center; }
  .msfc-rain .msfc-bars { overflow-x: auto; justify-content: flex-start; }
  .msfc-rain .msfc-bars > div { flex: 0 0 42px; }
  .msfc-rain-summary { grid-template-columns: 1fr; }
  .msfc-rain-summary article { min-height: 145px; }
  .msfc-compare button { grid-template-columns: 1fr 1fr; min-height: 190px; padding: 20px 14px; gap: 18px 8px; }
  .msfc-compare .msfc-place { grid-column: 1 / -1; }
  .msfc-compare .msfc-reading.main { grid-column: 1 / -1; }
  .msfc-compare .msfc-reading strong { font-size: 29px; }
  .msfc-compare .msfc-reading.main strong { font-size: 48px; }
  .msfc-head p { font-size: 11px; }
  .msfc-city-picker > span { font-size: 11px; }
  .msfc-city-picker .msfc-citybar button { min-height: 50px; padding: 11px 8px; font-size: 13px; }
  .msfc-nav button { min-height: 84px; }
  .msfc-nav button b { font-size: 19px; }
  .msfc-nav button small { font-size: 10px; }
  .msfc-grid label,
  .msfc-wide label,
  .msfc-compare label { font-size: 10px; }
  .msfc-grid article { padding: 27px 20px; }
  .msfc-grid article > label { font-size: 16px; }
  .msfc-grid article > strong { font-size: 54px; }
  .msfc-grid p { font-size: 13px; }
  .duo b { font-size: 42px; }
  .msfc-bars { height: 240px; }
  .msfc-bars b { font-size: 12px; }
  .msfc-bars small { font-size: 10px; }
}
