/* ==========================================================================
   Travel Guide — tema magazine estático
   Réplica estrutural do layout Soledad "Travel Guide Magazine" (header-3 /
   menu-style-2 / featured-style-27 / mag-cat 10-6-13 / magazine-1).
   Escrito do zero em CSS moderno (grid/flex) — sem WordPress, sem jQuery.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --accent: #26c6da;
  --accent-dark: #1aa9bc;
  --text: #313131;
  --heading: #313131;
  --meta: #888888;
  --border: #eeeeee;
  --border-strong: #dedede;
  --surface: #f5f5f5;
  --dark: #111111;
  --white: #ffffff;

  --font-head: "Overpass", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", -apple-system, "Segoe UI", sans-serif;
  --head-weight: 600;

  --container: 1170px;
  --gutter: 30px;
  --sidebar: 340px;
  --main-gap: 50px;

  --shadow: 0 5px 8px rgba(0, 0, 0, .2);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  /* O fundo era uma foto do demo do Soledad, sem licenca. Um gradiente de
     tons de mar cumpre o mesmo papel, pesa zero e e nosso. */
  background: #0d3b4f;
  background-image:
    radial-gradient(ellipse at 20% 0%, #14607d 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, #0a2f40 0%, transparent 55%),
    linear-gradient(160deg, #10495f 0%, #0b3346 100%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; border: 0; display: block; }

a { color: var(--text); text-decoration: none; transition: color .25s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  color: var(--heading);
  margin: 0;
  line-height: 1.4;
}

p { margin: 0 0 20px; }
figure { margin: 0; }          /* o browser aplica 1em 40px por padrão */
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Estrutura: wrapper boxed + container
   -------------------------------------------------------------------------- */
.wrapper-boxed {
  max-width: calc(var(--container) + 60px);   /* 1230px */
  margin: 0 auto;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.clearfix::after { content: ""; display: block; clear: both; }

/* --------------------------------------------------------------------------
   4. Header (logo + banner)
   -------------------------------------------------------------------------- */
.inner-header {
  background: var(--surface);
}

.inner-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0;
}

.site-logo { flex: 0 0 auto; }
.site-logo img { width: 240px; max-width: 100%; }

.header-banner { flex: 0 1 auto; text-align: right; line-height: 0; }
.header-banner img { display: inline-block; }

/* --------------------------------------------------------------------------
   5. Navegação principal
   -------------------------------------------------------------------------- */
.main-nav {
  position: relative;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.main-nav > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.menu > li { position: relative; }

.menu > li > a {
  display: inline-block;
  padding: 0 14px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: var(--head-weight);
  line-height: 58px;
  text-transform: uppercase;
  color: var(--text);
}

.menu > li:first-child > a { padding-left: 0; }
.menu > li:hover > a,
.menu > li.current > a { color: var(--accent); }

.menu .caret {
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* --- dropdown simples --- */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 8px 20px;
  background: var(--white);
  border-top: 4px solid var(--border-strong);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s;
}

.sub-menu::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 0; height: 4px;
  background: var(--accent);
  transition: width .4s cubic-bezier(.87, .02, .23, 1);
}

.menu > li:hover > .sub-menu,
.menu > li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu > li:hover > .sub-menu::before,
.menu > li.is-open > .sub-menu::before { width: 100%; }

.sub-menu li > a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: var(--head-weight);
  text-transform: uppercase;
  color: var(--text);
}

/* --- mega menu --- */
.menu > li.has-mega { position: static; }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: flex;
  background: var(--white);
  border-top: 4px solid var(--border-strong);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 0; height: 4px;
  background: var(--accent);
  transition: width .4s cubic-bezier(.87, .02, .23, 1);
}

.menu > li.has-mega:hover > .mega-menu,
.menu > li.has-mega.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu > li.has-mega:hover > .mega-menu::before,
.menu > li.has-mega.is-open > .mega-menu::before { width: 100%; }

.mega-cats {
  flex: 0 0 230px;
  padding: 12px 0;
  border-right: 1px solid #f1f1f2;
}

.mega-cats a {
  display: block;
  padding: 6px 0 6px 20px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: var(--head-weight);
  text-transform: uppercase;
  color: var(--text);
}

.mega-cats a.is-active { color: var(--accent); }

.mega-cats a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mega-qtd {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--meta);
  padding-right: 16px;
}

.mega-panels { flex: 1 1 auto; padding: 20px; min-width: 0; }

.mega-panel { display: none; }
.mega-panel.is-active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mega-post-thumb {
  position: relative;
  display: block;
  background: var(--surface);
  overflow: hidden;
}

.mega-post-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .5s;
}

.mega-post:hover .mega-post-thumb img { transform: scale(1.06); }

.mega-post-thumb .cat-badge {
  max-width: calc(100% - 12px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: absolute;
  left: 0; bottom: 0;
  z-index: 3;
  height: 18px;
  padding: 0 6px;
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 18px;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
}

.mega-post h4 {
  margin: 10px 0 4px;
  font-size: 13px;
  line-height: 1.45;
}

.mega-post time {
  font-size: 12px;
  color: var(--meta);
}

/* --- ações à direita da nav --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav-socials { display: flex; align-items: center; gap: 14px; }
.nav-socials a { color: var(--text); line-height: 1; }
.nav-socials a:hover { color: var(--accent); }
.nav-socials svg { width: 15px; height: 15px; fill: currentColor; display: block; }

.search-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 0 0 0 6px;
  cursor: pointer;
  color: var(--text);
}
.search-toggle:hover { color: var(--accent); }
.search-toggle svg { width: 16px; height: 16px; fill: currentColor; }

.search-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 340px;
  padding: 20px;
  background: var(--white);
  border-top: 4px solid var(--accent);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 20;
}

.search-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.search-panel input {
  width: 100%;
  padding: 11px 15px;
  font-size: 13px;
  border: 1px solid var(--border-strong);
  background: none;
  outline: none;
}
.search-panel input:focus { border-color: var(--accent); }

/* --- botão do menu mobile --- */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 18px 0;
  cursor: pointer;
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; fill: currentColor; }

/* --------------------------------------------------------------------------
   6. Featured area (mosaico 5 posts — featured-style-27)
   -------------------------------------------------------------------------- */
.featured-area { margin-bottom: 10px; }

.featured-slider { position: relative; overflow: hidden; }

.featured-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.featured-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.featured-slide .feat-item:first-child { grid-column: span 2; }

.feat-item {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  background: var(--surface);
}

.feat-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.feat-item:hover img { transform: scale(1.05); }

.feat-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .72) 100%);
}

.feat-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 17px 20px;
}

.feat-caption h2,
.feat-caption h3 {
  font-size: 16px;
  line-height: 1.3;
  color: #fff;
}

.featured-slide .feat-item:first-child .feat-caption h2 { font-size: 22px; }

.feat-caption a { color: #fff; }
.feat-caption a:hover { color: var(--accent); }

.featured-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .9);
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s;
}
.featured-slider:hover .featured-nav { opacity: 1; }
.featured-nav.prev { left: 0; }
.featured-nav.next { right: 0; }
.featured-nav svg { width: 14px; height: 14px; fill: var(--text); }

/* --------------------------------------------------------------------------
   7. Barra de newsletter
   -------------------------------------------------------------------------- */
.signup-bar {
  background: var(--surface);
  padding: 20px;
  margin-bottom: 60px;
}

.signup-bar form {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.signup-bar p {
  flex: 1 1 300px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.signup-bar input[type="text"],
.signup-bar input[type="email"] {
  flex: 0 0 238px;
  padding: 11px 20px;
  font-size: 13px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-strong);
  outline: none;
}
.signup-bar input::placeholder { color: #999; }
.signup-bar input:focus { border-color: var(--accent); }

.btn-submit {
  padding: 12px 20px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: var(--head-weight);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: var(--dark);
  border: 0;
  cursor: pointer;
  transition: background .25s;
}
.btn-submit:hover { background: var(--accent); }

/* --------------------------------------------------------------------------
   7b. Painel do Mar — previsão de swell, vento e maré na home
   -------------------------------------------------------------------------- */
.sea-panel {
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.sea-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: var(--dark);
  color: #fff;
}

.sea-panel__head h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
}

.sea-panel__head .updated { font-size: 12px; color: #9a9a9a; }

.spot-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ccc;
}

.spot-picker select {
  padding: 6px 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: var(--head-weight);
  color: #fff;
  background: #262626;
  border: 1px solid #3a3a3a;
  outline: none;
  cursor: pointer;
}
.spot-picker select:focus { border-color: var(--accent); }

.sea-panel__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sea-card { padding: 20px; border-right: 1px solid var(--border); }
.sea-card:last-child { border-right: 0; }

.sea-card h3 {
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--meta);
}

/* leitura principal (número grande + unidade) */
.sea-reading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.sea-reading .value {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--heading);
}

.sea-reading .unit { font-size: 14px; color: var(--meta); }

.sea-sub { font-size: 13px; color: var(--meta); }
.sea-sub strong { color: var(--text); font-weight: 600; }

/* seta de direção do swell/vento */
.dir-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--accent);
}
.dir-arrow svg { width: 12px; height: 12px; fill: #fff; }

/* gráfico de barras (próximas horas) */
.sea-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 54px;
  margin-top: 14px;
}

.sea-chart .bar {
  flex: 1 1 0;
  min-width: 0;
  background: var(--accent);
  opacity: .28;
  border-radius: 1px 1px 0 0;
  transition: opacity .2s;
}
.sea-chart .bar.is-now { opacity: 1; }
.sea-chart:hover .bar { opacity: .5; }
.sea-chart:hover .bar.is-now { opacity: 1; }

.sea-chart-labels {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  font-size: 10px;
  color: var(--meta);
}
.sea-chart-labels span { flex: 1 1 0; text-align: center; min-width: 0; }

/* maré: linha do tempo com pré-amar / baixa-mar */
.tide-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.tide-strip div {
  padding: 10px 8px;
  text-align: center;
  background: var(--surface);
}

.tide-strip .kind {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--meta);
}

.tide-strip .hour {
  display: block;
  margin: 3px 0 1px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: var(--head-weight);
  color: var(--heading);
}

.tide-strip .lvl { font-size: 12px; color: var(--meta); }

.tide-strip .is-high .hour { color: var(--accent); }

.sea-panel__foot {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--meta);
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.sea-panel__foot a { color: var(--accent); }

/* --------------------------------------------------------------------------
   7c. Gráficos de ondas e vento (dados do CPTEC)
   -------------------------------------------------------------------------- */
.sea-graficos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.sg-bloco { padding: 18px 20px; border-right: 1px solid var(--border); min-width: 0; }
.sg-bloco:last-child { border-right: 0; }

.sg-bloco h3 {
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--meta);
}

.sg-chart { display: flex; align-items: stretch; gap: 8px; }

.sg-eixo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 34px;
  font-size: 10px;
  color: var(--meta);
  flex: 0 0 auto;
  text-align: right;
}

/* rola no celular em vez de espremer as barras */
.sg-grid {
  display: flex;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.sg-dia { flex: 1 1 0; min-width: 96px; }

.sg-dia-nome {
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: var(--head-weight);
  text-align: center;
  text-transform: capitalize;
  color: var(--text);
  background: var(--surface);
  padding: 3px 0;
}

.sg-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 118px;
  border-bottom: 1px solid var(--border);
}

.sg-bar {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  cursor: default;
}

.sg-val {
  font-size: 10px;
  line-height: 1;
  margin-bottom: 3px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: var(--head-weight);
}

.sg-fill {
  display: block;
  width: 100%;
  border-radius: 2px 2px 0 0;
  transition: opacity .2s;
}

.sg-fill.sg-vento { background: linear-gradient(to top, #f0932b, #f7b731); }

.sg-bar:hover .sg-fill { opacity: .75; }

.sg-per {
  position: absolute;
  bottom: -16px;
  font-size: 9px;
  color: var(--meta);
}

.sg-legenda {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--meta);
}

.sg-dirs { display: flex; gap: 3px; flex: 1 1 auto; overflow-x: auto; }

.sg-dir {
  flex: 1 1 0;
  min-width: 26px;
  padding: 3px 0;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  background: var(--surface);
}

.sg-vazio { font-size: 13px; color: var(--meta); }

/* a tira de marés vira lista quando vem da API (ícone + tipo) */
.tide-strip .kind svg { width: 10px; height: 10px; fill: currentColor; margin-right: 4px; }
.tide-strip .is-high .kind svg { fill: var(--accent); }

/* --------------------------------------------------------------------------
   8. Grid principal (conteúdo + sidebar)
   -------------------------------------------------------------------------- */
.site-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar);
  column-gap: var(--main-gap);
  align-items: start;
  padding-bottom: 60px;
}

/* --------------------------------------------------------------------------
   9. Título de seção
   -------------------------------------------------------------------------- */
.section-title {
  position: relative;
  margin: 0 0 30px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--border);
}

.section-title h2,
.section-title h3 {
  font-size: 15px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 45px; height: 3px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   10. Cartões de post
   -------------------------------------------------------------------------- */
.post-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.post-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s;
}

.post-thumb:hover img { transform: scale(1.05); }

.post-meta {
  margin-top: 7px;
  font-size: 13px;
  color: var(--meta);
}
.post-meta a { color: var(--meta); }
.post-meta a:hover { color: var(--accent); }
.post-meta .sep { margin: 0 8px; color: #ccc; }
.post-meta .author { color: var(--text); }

.post-excerpt {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
}
.post-excerpt p { margin: 0; }

.cat-link {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--accent);
}

/* ícone de vídeo sobre a thumb */
.play-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
}
.play-badge svg { width: 13px; height: 13px; fill: #fff; margin-left: 2px; }

/* --- 10a. Bloco categoria estilo "10": 2 destaques + 4 compactos --- */
.cat-block { margin-bottom: 50px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}

.card-lead {
  padding-bottom: 22px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.card-lead h3 {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.4;
}

/* item compacto: thumb à esquerda */
.card-compact {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.card-compact .post-thumb { flex: 0 0 120px; }
.card-compact .post-thumb img { aspect-ratio: 3 / 2; }
.card-compact h4 { font-size: 14px; line-height: 1.5; }
.card-compact .post-meta { margin-top: 5px; font-size: 12px; }

.grid-2 > .card-compact:nth-last-child(-n+2) { margin-bottom: 0; }

/* --- 10b. Bloco categoria estilo "6": destaque horizontal + 4 compactos --- */
.card-wide {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.card-wide .post-thumb { flex: 0 0 46.25%; }
.card-wide .card-body { flex: 1 1 auto; min-width: 0; }
.card-wide h3 { font-size: 22px; line-height: 1.3; }
.card-wide .post-meta { margin-top: 10px; }

/* --- 10c. Bloco categoria estilo "13": grade de 3 --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-grid h3 {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.4;
}
.card-grid .post-meta { font-size: 12px; }

/* --- 10d. Lista "latest" (magazine-1) --- */
.post-list > li {
  display: flex;
  gap: 30px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.post-list > li:last-child { border-bottom: 0; }

.post-list .post-thumb { flex: 0 0 46.25%; }
.post-list .card-body { flex: 1 1 auto; min-width: 0; }
.post-list h2 { font-size: 22px; line-height: 1.3; }
.post-list .post-meta { margin-top: 10px; }
.post-list .post-excerpt { margin-top: 18px; }

/* --------------------------------------------------------------------------
   11. Blocos de anúncio
   -------------------------------------------------------------------------- */
.ad-block {
  margin: 0 0 50px;
  text-align: center;
}

.ad-block--inline { margin-top: -20px; }

.ad-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b5b5b5;
}

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  overflow: hidden;
  background: var(--surface);
}

/* o criativo nunca estica: respeita as dimensões do bloco de anúncio */
.ad-slot img { width: auto; max-width: 100%; height: auto; }
.ad-slot ins.adsbygoogle { width: 100%; }

.ad-slot--rect { min-height: 250px; }

/* --------------------------------------------------------------------------
   12. Paginação
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  gap: 5px;
  padding-top: 10px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 5px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: var(--head-weight);
  color: var(--meta);
  border: 1px solid var(--border);
}

.pagination .current {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.pagination a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   13. Sidebar
   -------------------------------------------------------------------------- */
.widget { margin-bottom: 50px; }
.widget:last-child { margin-bottom: 0; }

.widget-title {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--border);
}

.widget-title h3 {
  font-size: 14px;
  line-height: 1.3;
  text-transform: uppercase;
}

.widget-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 45px; height: 3px;
  background: var(--accent);
}

/* redes sociais em 2 colunas */
.social-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.social-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: var(--head-weight);
  text-transform: uppercase;
}
.social-list svg { width: 14px; height: 14px; fill: currentColor; flex: 0 0 auto; }

/* busca */
.widget-search input {
  width: 100%;
  padding: 12px 15px;
  font-size: 13px;
  border: 1px solid var(--border-strong);
  outline: none;
}
.widget-search input:focus { border-color: var(--accent); }

/* lista de posts recentes / populares */
.mini-list li {
  display: flex;
  gap: 15px;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border);
}
.mini-list li:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }

.mini-list .post-thumb { flex: 0 0 85px; }
.mini-list h4 { font-size: 13px; line-height: 1.5; }
.mini-list time { display: block; margin-top: 5px; font-size: 12px; color: var(--meta); }

/* variante numerada (popular) */
.mini-list.is-ranked .post-thumb { position: relative; overflow: visible; }

.mini-list .rank {
  position: absolute;
  top: -8px; left: -8px;
  z-index: 3;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: var(--head-weight);
  color: #fff;
  background: var(--dark);
  border-radius: 50%;
}

/* instagram */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.insta-grid img { aspect-ratio: 1 / 1; object-fit: cover; }
.insta-grid a { display: block; overflow: hidden; }
.insta-grid img { transition: transform .5s; }
.insta-grid a:hover img { transform: scale(1.08); }

/* newsletter da sidebar */
.widget-signup { padding: 0; text-align: center; }
.widget-signup p { font-size: 14px; }
.widget-signup input {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 15px;
  font-size: 13px;
  border: 1px solid var(--border-strong);
  outline: none;
}
.widget-signup input:focus { border-color: var(--accent); }
.widget-signup .btn-submit { width: 100%; background: var(--surface); color: var(--text); }
.widget-signup .btn-submit:hover { background: var(--accent); color: #fff; }

/* widget tábua de maré */
.tide-card { border: 1px solid var(--border); }

.tide-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  background: var(--surface);
}
.tide-place { font-family: var(--font-head); font-size: 13px; }
.tide-date { font-size: 12px; color: var(--meta); }

.tide-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.tide-list svg { width: 13px; height: 13px; flex: 0 0 auto; fill: var(--meta); }
.tide-list .is-high svg,
.tide-list li.is-high svg { fill: var(--accent); }
.tide-list .t { font-family: var(--font-head); font-weight: var(--head-weight); }
.tide-list .d { color: var(--meta); }
.tide-list .h { margin-left: auto; font-family: var(--font-head); font-weight: var(--head-weight); }
.tide-list li.is-high .h { color: var(--accent); }

.tide-more {
  display: block;
  padding: 11px 15px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: var(--head-weight);
  text-transform: uppercase;
  text-align: center;
  color: var(--accent);
  border-top: 1px solid var(--border);
}
.tide-more:hover { color: #fff; background: var(--accent); }

/* widget previsão */
.weather-card { border: 1px solid var(--border); }

.weather-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.weather-place { font-family: var(--font-head); font-size: 13px; }
/* quando o CPTEC nao cobre o spot, dizemos de qual cidade veio o dado */
.weather-ref { font-size: 11px; color: var(--meta); }

.weather-now {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 15px;
  background: var(--surface);
}
.weather-now .temp {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--heading);
}
.weather-now .cond { font-size: 13px; line-height: 1.5; }
.weather-now .temp-min { font-size: 20px; font-weight: 400; color: var(--meta); margin-left: 4px; }
.temp-rot { display: block; font-size: 11px; color: var(--meta); }
.weather-now small { color: var(--meta); }

.weather-days li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.weather-days .d { flex: 0 0 40px; font-family: var(--font-head); font-weight: var(--head-weight); }
.weather-days .c { color: var(--meta); }
.weather-days .t { margin-left: auto; }


/* ícones de tempo na sidebar */
.weather-now .w-icone {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 46px; width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
}
.weather-now .w-icone svg { width: 30px; height: 30px; }

.weather-days .c { display: flex; align-items: center; gap: 6px; min-width: 0; }
.weather-days .c svg { width: 18px; height: 18px; flex: 0 0 auto; }
.weather-days .t { white-space: nowrap; }

/* categorias */
.cat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cat-list li:first-child { padding-top: 0; }
.cat-list a { font-family: var(--font-head); font-size: 13px; font-weight: var(--head-weight); }
.cat-list .count { font-size: 13px; color: var(--meta); }
.cat-list .child { padding-left: 20px; }

/* sidebar sticky */
.sidebar-sticky { position: sticky; top: 20px; }

/* --------------------------------------------------------------------------
   14. Rodapé
   -------------------------------------------------------------------------- */
.footer-widgets {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-widgets .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-widgets .widget { margin-bottom: 0; }

.site-footer {
  background: var(--dark);
  color: #999;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 30px;
  padding: 30px 0 20px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: var(--head-weight);
  text-transform: uppercase;
  color: var(--accent);
}
.footer-socials a:hover { color: #fff; }
.footer-socials svg { width: 14px; height: 14px; fill: currentColor; }

.footer-copyright {
  padding-bottom: 30px;
  font-size: 13px;
  text-align: center;
  color: #999;
}
.footer-copyright a { color: var(--accent); }

/* --------------------------------------------------------------------------
   15. Voltar ao topo
   -------------------------------------------------------------------------- */
.go-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 300;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .45);
  border: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, background .25s;
}
.go-top.is-visible { opacity: 1; visibility: visible; }
.go-top:hover { background: var(--accent); }
.go-top svg { width: 14px; height: 14px; fill: #fff; }

/* --------------------------------------------------------------------------
   16. Página de post (single)
   -------------------------------------------------------------------------- */
.single-header { margin-bottom: 30px; }

.single-header .cat-link { font-size: 13px; margin-bottom: 10px; }

.single-header h1 {
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 15px;
}

.single-thumb { margin-bottom: 30px; }
.single-thumb img { width: 100%; }

.post-content { font-size: 15px; line-height: 1.85; }
.post-content p { margin: 0 0 24px; }
.post-content h2 { font-size: 24px; margin: 36px 0 16px; }
.post-content h3 { font-size: 19px; margin: 30px 0 14px; }
.post-content ul { margin: 0 0 24px; padding-left: 20px; }
.post-content ul li { list-style: disc; margin-bottom: 8px; }
.post-content a { color: var(--accent); }

.post-content blockquote {
  margin: 30px 0;
  padding: 5px 0 5px 25px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-head);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: var(--heading);
}

.post-content figure { margin: 0 0 24px; }
.post-content figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--meta);
  text-align: center;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.post-tags a {
  padding: 5px 12px;
  font-size: 12px;
  color: var(--meta);
  border: 1px solid var(--border);
}
.post-tags a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.post-author {
  display: flex;
  gap: 25px;
  padding: 30px;
  margin-bottom: 50px;
  background: var(--surface);
}
.post-author img,
.post-author .avatar {
  flex: 0 0 90px; width: 90px; height: 90px;
  border-radius: 50%; object-fit: cover;
}
.post-author .avatar {
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
}
.post-author .avatar svg { width: 52px; height: 52px; }
.post-author h4 { font-size: 16px; margin-bottom: 8px; }
.autor-links { margin-top: 10px !important; font-size: 13px; }
.autor-links a { color: var(--accent); }
.post-author p { margin: 0; font-size: 14px; }

.breadcrumb {
  padding: 25px 0 0;
  font-size: 13px;
  color: var(--meta);
}
.breadcrumb a { color: var(--meta); }
.breadcrumb .sep { margin: 0 8px; }

/* --------------------------------------------------------------------------
   16b. Blocos do conteúdo migrado
   -------------------------------------------------------------------------- */

/* "O essencial": resposta factual no topo — é o trecho que a busca
   por IA extrai, e o que o leitor apressado lê antes de decidir ficar. */
.resumo-essencial {
  padding: 20px 25px;
  margin-bottom: 30px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}

.resumo-essencial h2 {
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--meta);
}

.resumo-essencial p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* imagens vindas do acervo antigo */
.post-content img {
  height: auto;
  margin: 0 auto 24px;
}

.post-content > p > img { display: block; }

/* tabelas de dados — muito citáveis por IA, precisam rolar no celular */
.tabela-wrap { overflow-x: auto; margin: 0 0 24px; }

.tabela-dados {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tabela-dados th,
.tabela-dados td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.tabela-dados th {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: var(--head-weight);
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--surface);
}

.tabela-dados tr:hover td { background: #fafafa; }

.arquivo-desc {
  margin: -18px 0 30px;
  font-size: 15px;
  color: var(--meta);
}

.post-tags .tag-plain {
  padding: 5px 12px;
  font-size: 12px;
  color: var(--meta);
  border: 1px solid var(--border);
}


/* --------------------------------------------------------------------------
   16c. Embeds sociais
   -------------------------------------------------------------------------- */

/* enquanto o embed.js do Instagram nao carrega, o bloco ja e um cartao util */
blockquote.instagram-media {
  display: block;
  margin: 0 auto 24px;
  padding: 0;
  max-width: 540px;
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  color: var(--text);
}

.ig-fallback {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.ig-icone {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 42px; width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}
.ig-icone svg { width: 20px; height: 20px; fill: #fff; }

.ig-texto { display: flex; flex-direction: column; line-height: 1.4; }
.ig-texto strong { font-family: var(--font-head); font-size: 14px; }
.ig-texto em { font-style: normal; font-size: 13px; color: var(--meta); }

.fb-embed {
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 320px;
}
.fb-embed iframe { display: block; width: 100%; border: 0; }


/* --------------------------------------------------------------------------
   16d. Páginas de praia (/previsao/)
   -------------------------------------------------------------------------- */
.lista-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px 20px;
}

.lista-links li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.lista-links a { font-family: var(--font-head); font-size: 14px; font-weight: var(--head-weight); }
.lista-links .km { font-size: 12px; color: var(--meta); white-space: nowrap; }

.lista-praias li { padding: 8px 0; }

.lista-uf li { padding: 8px 0; }
.lista-uf li.is-atual a { color: var(--accent); font-weight: 700; }
.lista-uf li.is-atual::after { content: "você está aqui"; font-size: 11px; color: var(--meta); }

/* previsão em tamanho maior na página do spot */
.weather-days-lg li {
  padding: 13px 15px;
  font-size: 14px;
  border-top: 1px solid var(--border);
}
.weather-days-lg li:first-child { border-top: 0; }
.weather-days-lg { border: 1px solid var(--border); }
.weather-days-lg .d { flex: 0 0 52px; }
.weather-days-lg .c svg { width: 20px; height: 20px; }

/* honestidade sobre a distância da estação de maré */
.aviso-mare {
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--meta);
  background: #fffbe6;
  border-left: 3px solid #f7b731;
}

.sea-panel__head h2 { text-transform: none; font-size: 15px; }

/* --------------------------------------------------------------------------
   17. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1250px) {
  .wrapper-boxed { max-width: 100%; }
  .container { padding: 0 30px; }
}

@media (max-width: 1024px) {
  .site-main {
    grid-template-columns: 1fr;
    row-gap: 60px;
  }
  .sidebar-sticky { position: static; }
  .header-banner { display: none; }
  .inner-header .container { justify-content: center; padding: 30px 0; }
}

@media (max-width: 900px) {
  /* nav vira menu lateral */
  .menu-toggle { display: block; }

  /* O #main-nav tem position:relative + z-index:200, o que cria um contexto de
     empilhamento proprio. Dentro dele o menu vale 400, mas contra o backdrop
     (390, na raiz da pagina) quem disputa e o nav inteiro — com 200. Resultado:
     o fundo escuro ficava POR CIMA do menu e engolia todo toque, fechando o
     menu em vez de abrir o item. Subir o nav acima do backdrop resolve na
     origem; mexer no z-index do proprio menu nao resolveria nada. */
  .main-nav { z-index: 500; }

  .main-nav > .container { justify-content: space-between; }

  .menu {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 400;
    width: 300px;
    max-width: 85vw;
    display: block;
    padding: 30px 25px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: 4px 0 20px rgba(0, 0, 0, .15);
    transform: translateX(-100%);
    transition: transform .3s ease;
  }
  .menu.is-open { transform: translateX(0); }

  /* o texto ocupa a linha e navega; a setinha vira alvo de toque separado */
  .menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    line-height: 1.4;
  }
  /* a setinha continua pequena; quem cresce e a area de toque, via ::after.
     Usar padding aqui esticaria o triangulo (ele e feito de bordas). */
  .menu > li > a .caret {
    position: relative;
    width: 8px; height: 8px;
    margin: 0 4px 0 0;
    transform: translateY(-3px) rotate(45deg);
  }
  .menu > li > a .caret::after {
    content: "";
    position: absolute;
    top: -18px; right: -18px; bottom: -18px; left: -18px;
  }
  .menu > li.is-open > a .caret { transform: translateY(2px) rotate(-135deg); }
  .menu > li:first-child > a { padding-left: 0; }

  .sub-menu,
  .mega-menu {
    position: static;
    width: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: 0;
    box-shadow: none;
    padding: 0 0 10px 15px;
  }
  .menu > li.is-open > .sub-menu { display: block; }
  .menu > li.has-mega.is-open > .mega-menu { display: block; }
  .menu > li:hover > .sub-menu,
  .menu > li.has-mega:hover > .mega-menu { display: none; }
  .menu > li.is-open > .sub-menu,
  .menu > li.has-mega.is-open > .mega-menu { display: block; }

  .mega-cats { flex: none; border: 0; padding: 0; }
  .mega-panels { display: none; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 390;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .nav-socials { display: none; }

  /* featured vira 1 grande + 4 */
  .featured-slide { grid-template-columns: repeat(2, 1fr); }
  .featured-slide .feat-item:first-child { grid-column: span 2; }
  .feat-item { height: 220px; }
  .featured-slide .feat-item:first-child { height: 280px; }

  .search-panel { width: 300px; }
}

@media (max-width: 860px) {
  .sea-panel__body { grid-template-columns: 1fr; }
  .sea-card { border-right: 0; border-bottom: 1px solid var(--border); }
  .sea-card:last-child { border-bottom: 0; }
}

@media (max-width: 700px) {
  .container { padding: 0 20px; }

  .sea-panel__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tide-strip { grid-template-columns: repeat(2, 1fr); }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .grid-2 > .card-compact:nth-last-child(-n+2) { margin-bottom: 30px; }
  .grid-2 > .card-compact:last-child { margin-bottom: 0; }

  .card-wide,
  .post-list > li { flex-direction: column; gap: 20px; }
  .card-wide .post-thumb,
  .post-list .post-thumb { flex: none; }

  .card-wide h3,
  .post-list h2 { font-size: 19px; }

  .signup-bar form { flex-direction: column; align-items: stretch; }
  .signup-bar input[type="text"],
  .signup-bar input[type="email"] { flex: none; width: 100%; }
  .signup-bar .btn-submit { width: 100%; }

  .featured-slide { grid-template-columns: 1fr; }
  .featured-slide .feat-item:first-child { grid-column: span 1; }
  /* no celular, 5 heros empilhados empurram o conteúdo para longe demais:
     mostramos 3 e o resto continua acessível pelo feed. */
  .featured-slide .feat-item:nth-child(n+4) { display: none; }
  .feat-item,
  .featured-slide .feat-item:first-child { height: 230px; }
  .featured-slide .feat-item:first-child .feat-caption h2 { font-size: 18px; }

  .footer-widgets .container { grid-template-columns: 1fr; gap: 50px; }

  .single-header h1 { font-size: 26px; }

  .post-author { flex-direction: column; gap: 15px; padding: 25px 20px; }
}

/* Rodape: lista de estados e links institucionais -------------------------- */
.cat-list--estados { columns: 2; column-gap: 24px; }
.cat-list--estados li { break-inside: avoid; }
.cat-list--estados span { opacity: .55; font-size: 12px; margin-left: 4px; }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  justify-content: center; margin-bottom: 10px;
}
.footer-legal a { font-size: 13px; opacity: .8; }
.footer-legal a:hover { opacity: 1; }
