/* WhiteMirror News · tema Ghost
   Estética WHITE MIRROR: degradado lavanda, tinta negra, Outfit, titulares en mayúsculas, paneles claros redondeados. */
:root {
  --wm-top: #D8DAE2; --wm-mid: #A8AED3; --wm-bottom: #7C85C6;
  --wm-ink: #0A0A0A; --wm-soft: #3E4470; --wm-accent: #2E3486;
  --wm-panel: #F4F5FB; --wm-panel-alt: #E6E8F7; --wm-line: #C9CCEA; --wm-circle: #C3C7EE;
  --wm-font: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --wm-radius: 24px; --wm-width: 760px; --wm-wide: 1080px;
}
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; min-height: 100%;
  background: var(--wm-mid) linear-gradient(180deg, var(--wm-top) 0%, var(--wm-mid) 45%, var(--wm-bottom) 100%) no-repeat;
}
body { margin: 0; color: var(--wm-ink); font-size: 17px; line-height: 1.6; font-family: var(--gh-font-body, var(--wm-font)); background: transparent; }
a { color: var(--wm-accent); }
img { max-width: 100%; height: auto; }
.wm-inner { width: 100%; max-width: var(--wm-width); margin: 0 auto; padding: 0 16px; }
.wm-main { padding-bottom: 48px; }

/* Cabecera */
.wm-header { padding: 28px 0 8px; }
.wm-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: var(--wm-wide); }
.wm-logo { display: block; width: 190px; height: auto; }
.wm-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wm-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.wm-nav a { color: var(--wm-ink); text-decoration: none; font-weight: 600; }
.wm-nav a:hover { text-decoration: underline; }

/* Tipografía del banner */
.wm-claim { font-size: 20px; font-weight: 300; margin: 32px 0 6px; }
h1, h2, h3, .wm-big { font-family: var(--gh-font-heading, var(--wm-font)); }
.wm-big { font-size: clamp(30px, 5.4vw, 52px); line-height: 1.05; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 18px; }
.wm-lead { font-size: 19px; font-weight: 300; max-width: 640px; margin: 0 0 28px; }
.wm-section-title { font-size: 18px; font-weight: 800; text-transform: uppercase; border-bottom: 2px solid var(--wm-ink); padding-bottom: 6px; margin: 40px 0 18px; }
.wm-muted { color: var(--wm-soft); font-weight: 300; }
.wm-small { font-size: 13px; }

/* Paneles */
.wm-card { background: rgba(255,255,255,.62); border-radius: var(--wm-radius); padding: 26px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wm-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.wm-post-card { background: var(--wm-panel); position: relative; overflow: hidden; }
.wm-post-card:first-child { background-image: radial-gradient(circle at 92% 18%, var(--wm-circle) 0, var(--wm-circle) 90px, transparent 91px); }
.wm-post-card-title { font-size: 22px; line-height: 1.2; font-weight: 800; text-transform: uppercase; margin: 6px 0 8px; }
.wm-post-card-title a { color: var(--wm-ink); text-decoration: none; }
.wm-post-card-title a:hover { text-decoration: underline; }
.wm-post-card-excerpt { margin: 0 0 8px; }
.wm-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wm-accent); text-decoration: none; }
.wm-meta { font-size: 13px; color: var(--wm-soft); margin: 0; }

/* Botones y formulario */
.wm-btn { display: inline-block; background: var(--wm-ink); color: #fff !important; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 600; text-decoration: none !important; cursor: pointer; }
.wm-btn-ghost { background: transparent; color: var(--wm-ink) !important; border: 2px solid var(--wm-ink); }
.wm-subscribe { margin: 8px 0 12px; }
.wm-subscribe h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; margin: 0 0 8px; }
.wm-form label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 14px; }
.wm-form input[type=email], .wm-form input[type=text] { width: 100%; padding: 12px 14px; border: 1px solid var(--wm-line); border-radius: 14px; font: inherit; background: var(--wm-panel); }
.wm-newsletters { border: 0; padding: 0; margin: 14px 0 0; }
.wm-newsletters legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.wm-form .wm-check { display: flex; gap: 8px; align-items: center; font-weight: 400; margin: 4px 0; }
.wm-form .wm-btn { margin-top: 18px; }
.wm-msg { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--wm-panel-alt); }
.wm-form.loading .wm-msg-loading, .wm-form.success .wm-msg-success, .wm-form.error .wm-msg-error { display: block; }

/* Artículo (edición) */
.wm-article-header { padding-top: 24px; }
.wm-article-header .wm-claim { margin-top: 10px; }
.wm-feature img { border-radius: var(--wm-radius); }
.wm-content { background: var(--wm-panel); font-size: 18px; }
.gh-content > * + * { margin-top: 1.1em; }
.gh-content h2 { font-size: 20px; font-weight: 800; text-transform: uppercase; border-bottom: 2px solid var(--wm-ink); padding-bottom: 6px; margin-top: 2em; }
.gh-content h3 { font-size: 21px; line-height: 1.25; font-weight: 700; margin-top: 1.6em; }
.gh-content h3 a { color: var(--wm-ink); text-decoration: none; }
.gh-content blockquote { margin: .8em 0; padding: 12px 16px; background: var(--wm-panel-alt); border-radius: 14px; border: 0; font-size: 16px; }
.gh-content hr { border: 0; border-top: 1px solid var(--wm-line); margin: 2em 0; }
.gh-content figure { margin: 1.5em 0; }
.gh-content img { border-radius: 14px; }
.gh-content .wm-meta-line, .gh-content p small { color: var(--wm-soft); font-size: 13px; }

/* Tarjetas de Koenig (obligatorias para Ghost) */
.kg-width-wide { position: relative; width: min(var(--wm-wide), 100vw - 32px); left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.kg-width-full img { border-radius: 0; }
.kg-image-card img, .kg-gallery-image img { display: block; margin: 0 auto; }
.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; gap: 8px; }
.kg-gallery-row + .kg-gallery-row { margin-top: 8px; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-card a { color: inherit; }
.kg-embed-card { display: flex; justify-content: center; }

/* Paginación y pie */
.pagination { display: flex; justify-content: space-between; align-items: center; margin: 24px 0; }
.pagination a { color: var(--wm-ink); font-weight: 600; }
.wm-footer { padding: 36px 0 48px; font-size: 14px; }
.wm-footer ul { display: flex; gap: 16px; list-style: none; padding: 0; margin: 10px 0; flex-wrap: wrap; }
.wm-footer a { color: var(--wm-ink); }
.wm-footer-brand strong { font-weight: 800; letter-spacing: .06em; }

@media (min-width: 760px) {
  .wm-grid { grid-template-columns: 1fr 1fr; }
  .wm-post-card:first-child { grid-column: 1 / -1; }
  .wm-post-card:first-child .wm-post-card-title { font-size: 30px; }
}
