/* ============================================================================
 * AquaSed · Blog de noticias. Se carga DESPUÉS de aquased.css y solo en
 * /aquased/noticias/. No modifica ninguna clase existente: todo va con prefijo n-.
 * ========================================================================= */

body.n-body { background: var(--white); padding-top: 0; }
.n-body .hdr nav a[aria-current="page"] { font-weight: 700; }
.n-body .hdr nav a[aria-current="page"]::after { transform: scaleX(1); }

.n-art, .n-listado { padding-top: 120px; }
.n-estrecho { max-width: 800px; }
.n-art .wrap.n-estrecho, .n-listado .wrap.n-estrecho { margin: 0 auto; }

.n-miga { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.n-miga a { color: var(--blue); text-decoration: none; }
.n-miga a:hover { text-decoration: underline; }
.n-miga span { margin: 0 6px; opacity: .6; }

.n-fecha { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.n-fecha time { font-weight: 600; color: var(--text); }
.n-art h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 0 0 20px; }
.n-entra { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); margin: 0 0 8px; line-height: 1.55; }

.n-hero { margin: 34px auto 0; max-width: 1040px; padding: 0 28px; }
.n-hero img { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper); }
.n-hero figcaption, .n-fig figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

.n-cuerpo { padding-top: 38px; padding-bottom: 70px; font-size: 18px; line-height: 1.7; }
.n-cuerpo p { margin: 0 0 1.15em; }
.n-cuerpo h2 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.12; margin: 2em 0 .6em; scroll-margin-top: 100px; }
.n-cuerpo h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; margin: 1.6em 0 .5em; }
.n-cuerpo ul, .n-cuerpo ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.n-cuerpo li { margin-bottom: .55em; }
.n-cuerpo a { color: var(--blue); }
.n-cuerpo a.btn { color: #fff; text-decoration: none; }
.n-cuerpo strong { color: var(--text); }

.n-toc { background: var(--paper); border-radius: 18px; padding: 22px 26px; margin: 0 0 34px; border: 1px solid var(--line); }
.n-toc h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; font-weight: 600; }
.n-toc ol { margin: 0; padding-left: 1.2em; font-size: 16.5px; }
.n-toc li { margin-bottom: .35em; }
.n-toc a { text-decoration: none; color: var(--text); }
.n-toc a:hover { color: var(--blue); text-decoration: underline; }

.n-fig { margin: 2em auto; max-width: 520px; }
.n-fig img { width: 100%; height: auto; border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); }

.n-aviso { background: var(--foam); border-left: 4px solid var(--sky); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 1.6em 0; font-size: 16.5px; }
.n-aviso p { margin: 0; }

.n-tabla-caja { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: 16px; }
.n-tabla { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; min-width: 560px; }
.n-tabla th, .n-tabla td { text-align: left; padding: 13px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.n-tabla thead th { background: var(--abyss); color: #fff; font-weight: 600; border-bottom: 0; }
.n-tabla tbody tr:last-child td { border-bottom: 0; }
.n-tabla tbody th { background: var(--paper); font-weight: 600; width: 24%; }

.n-cta { background: var(--abyss); color: #e8f4fa; border-radius: 24px; padding: clamp(26px, 4vw, 40px); margin: 2.2em 0; display: grid; gap: 14px; justify-items: start; }
.n-cta h3 { font-family: var(--serif); color: #fff; font-size: clamp(25px, 3vw, 34px); margin: 0; line-height: 1.12; }
.n-cta p { margin: 0; color: rgba(232,244,250,.8); font-size: 17px; }
.n-cta .btn { margin-top: 4px; }

.n-faq details { border-bottom: 1px solid var(--line); padding: 0; }
.n-faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; font-weight: 600; font-size: 18px; position: relative; }
.n-faq summary::-webkit-details-marker { display: none; }
.n-faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--blue); }
.n-faq details[open] summary::after { content: '\2212'; }
.n-faq details p { margin: 0 0 18px; color: var(--text); }

.n-rel { background: var(--paper); padding: 64px 0 80px; }
.n-rel h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 28px; }
.n-tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.n-tarjetas.n-dos { grid-template-columns: repeat(2, 1fr); }
.n-tarjeta { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.n-tarjeta:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(6,29,45,.5); }
.n-tarjeta img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper); }
.n-tarjeta div { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.n-tarjeta time { font-size: 13.5px; color: var(--muted); }
.n-tarjeta h3 { font-family: var(--serif); font-size: 22px; line-height: 1.18; margin: 0; }
.n-tarjeta p { margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.5; }

.n-listado { padding-bottom: 80px; }
.n-listado h1 { font-size: clamp(38px, 5.6vw, 68px); margin: 0 0 18px; }
.n-listado .n-tarjetas { margin-top: 44px; }

@media (max-width: 900px) {
  .n-tarjetas, .n-tarjetas.n-dos { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .n-art, .n-listado { padding-top: 92px; }
  .n-hero { padding: 0 18px; }
  .n-cuerpo { font-size: 17px; }
  .n-toc { padding: 18px 20px; }
  .n-cta .btn { width: 100%; white-space: normal; text-align: center; }
}
