:root {
  --blue: #0f766e;
  --blue-dark: #115e59;
  --ink: #13161a;
  --muted: #5b6470;
  --surface: #f5f7fa;
  --border: #e1e5ea;
  --white: #fff;
  --shadow: 0 5px 18px rgba(15, 23, 42, .055);
  --radius: 6px;
  --shell: 1240px;
  --content: 760px;
  --sidebar: 300px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f7f8fa;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
.site-shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; top: 8px; left: 8px; padding: 10px 14px; background: #fff; color: #111; z-index: 9999; }

/* Barra superior */
.trends-bar { background: #0c1520; color: #fff; font-size: 12px; }
.trends-inner { min-height: 31px; display: flex; align-items: center; gap: 20px; }
.trends-content { min-width: 0; display: flex; align-items: center; gap: 11px; overflow: hidden; }
.trends-label { font-weight: 500; white-space: nowrap; }
.trends-menu, .top-social-menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.trends-menu { gap: 17px; overflow: hidden; }
.trends-menu li { position: relative; }
.trends-menu li + li::before { content: "•"; position: absolute; left: -10px; color: #14b8a6; }
.trends-menu a, .top-social-menu a { color: #fff; }
.top-social-menu { margin-left: auto; gap: 8px; }
.top-social-menu a { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; color: #fff; opacity: .96; font-size: 0; }
.top-social-menu a:hover { text-decoration: none; background: rgba(255,255,255,.08); }
.top-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-size: 13px; font-weight: 800; line-height: 1; }

/* Cabecera */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 30; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 32px; }
.site-branding { flex: 0 0 auto; }
.custom-logo { display: block; max-height: 48px; width: auto; }
.default-logo, .footer-logo a, .default-logo--footer { display: inline-flex; align-items: center; }
.default-logo img { display: block; width: 142px; height: auto; }
.default-logo--footer, .footer-logo { display: inline-flex; padding: 6px 9px; background: #fff; border-radius: 4px; }
.default-logo--footer img, .footer-logo img { width: 132px; height: auto; filter: none; }
.text-logo { display: inline-block; color: #111; font-size: 39px; line-height: 1; font-weight: 900; letter-spacing: -3px; text-decoration: none; }
.text-logo span { color: var(--blue); }
.text-logo:hover { text-decoration: none; }
.main-navigation { margin-left: auto; }
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; gap: 27px; }
.primary-menu > li { position: relative; }
.primary-menu a { color: #111419; font-size: 13px; font-weight: 750; }
.primary-menu > .menu-item-has-children > a::after { content: "⌄"; display: inline-block; margin-left: 5px; font-size: 12px; transform: translateY(-1px); }
.primary-menu .sub-menu { display: none; position: absolute; top: calc(100% + 10px); left: -14px; min-width: 210px; padding: 13px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: var(--radius); z-index: 50; }
.primary-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 11px; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu li + li { margin-top: 8px; }
.header-search { width: 28px; height: 28px; flex: 0 0 28px; position: relative; color: #111; }
.header-search span { position: absolute; width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; left: 3px; top: 2px; }
.header-search span::after { content: ""; position: absolute; width: 8px; height: 2px; background: currentColor; transform: rotate(-48deg); right: -6px; bottom: -3px; border-radius: 2px; }
.header-search:hover { text-decoration: none; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; background: #111; margin: 5px; }

/* Estructura */
.site-main-wrap { padding-block: 22px 52px; }
body.has-sidebar .site-main-wrap { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar); align-items: start; gap: 24px; }
.content-area { min-width: 0; }
.home-panel, .single-content, .archive-panel, .not-found {
  background: #fff;
  border: 1px solid #e8ebef;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.home-panel { padding: 20px; }
.home-panel + .home-panel { margin-top: 14px; }
.section-title, .archive-header h1 { font-size: 19px; margin: 0 0 16px; padding-left: 9px; border-left: 3px solid var(--blue); line-height: 1.18; }

/* Tarjetas */
.post-card { min-width: 0; }
.card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9edf2; border-radius: var(--radius); position: relative; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .25s ease; }
.post-card:hover .card-media img { transform: scale(1.012); }
.media-eyebrow { display: none; }
.card-body { padding-top: 10px; }
.eyebrow { display: inline-block; color: var(--blue); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .025em; }
.card-title { font-size: 19px; line-height: 1.25; margin: 4px 0 7px; letter-spacing: -.012em; }
.card-title a { color: #111318; }
.card-excerpt { color: var(--muted); font-size: 14px; line-height: 1.55; }
.card-excerpt p { margin: 0; }
.card-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 9px; color: #737c88; font-size: 12px; }
.card-meta a { color: inherit; }
.meta-separator { color: #9aa1aa; }
.posts-list--home .post-card--horizontal { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 19px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.posts-list--home .post-card--horizontal:first-child { padding-top: 0; }
.posts-list--home .post-card--horizontal:last-child { border-bottom: 0; padding-bottom: 2px; }
.posts-list--home .post-card--horizontal .card-body { padding: 2px 0 0; }
.posts-list--home .post-card--horizontal .card-title { font-size: 18px; }
.posts-list--home .post-card--horizontal .card-excerpt { font-size: 13px; }
.posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
.post-card--grid .card-title { font-size: 20px; }
.home-more-wrap { text-align: center; margin-top: 18px; }
.button-outline { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; min-height: 39px; padding: 8px 18px; border: 1.5px solid var(--blue); border-radius: 5px; color: var(--blue); font-size: 13px; font-weight: 750; }
.button-outline:hover { background: var(--blue); color: #fff; text-decoration: none; }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.post-card--mini .card-body { padding-top: 7px; }
.post-card--mini .card-title { font-size: 13px; line-height: 1.35; margin: 4px 0 0; }
.post-card--mini .eyebrow { font-size: 9px; }

/* Paginación */
.pagination, .nav-links { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding-inline: 9px; border: 1px solid var(--border); border-radius: 4px; color: #24272c; background: #fff; }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Barra lateral */
.sidebar { min-width: 0; position: sticky; top: 18px; }
.widget { padding: 16px; background: #fff; border: 1px solid #e7eaee; box-shadow: var(--shadow); border-radius: var(--radius); margin-bottom: 14px; }
.widget-title { font-size: 16px; line-height: 1.2; margin: 0 0 14px; padding-left: 8px; border-left: 3px solid var(--blue); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { margin-top: 10px; }
.widget img { height: auto; }
.financierate-social-buttons { display: grid; gap: 8px; }
.financierate-social-button { min-height: 39px; display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; color: #fff; border-radius: 4px; font-size: 11px; font-weight: 750; }
.financierate-social-button:hover { color: #fff; text-decoration: none; filter: brightness(.97); }
.financierate-social-button--x { background: #111827; }
.financierate-social-button--youtube { background: #ec2d35; }
.financierate-social-button--telegram { background: #229ED9; }
.financierate-social-icon { font-size: 14px; text-align: center; }
.financierate-social-count { font-size: 9px; font-weight: 600; opacity: .95; }
.financierate-sidebar-posts { display: grid; gap: 16px; }
.financierate-sidebar-post { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; }
.financierate-sidebar-thumb { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #111821; }
.financierate-sidebar-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.financierate-sidebar-thumb .financierate-media-image { position: relative; z-index: 2; }
.financierate-sidebar-thumb.financierate-media--contain::after { content: ""; position: absolute; z-index: 1; inset: 0; background: rgba(6, 12, 20, .10); pointer-events: none; }
.financierate-sidebar-thumb.financierate-media--contain .financierate-media-image { object-fit: contain; object-position: center; transform: none; }
.financierate-sidebar-post-title { display: block; color: #13161a; font-size: 14px; line-height: 1.24; font-weight: 800; }
.financierate-sidebar-post-body time { display: block; margin-top: 6px; color: #7a838e; font-size: 12px; }

/* Entradas */
.single-content { padding: 20px 22px 42px; }
.single-article { max-width: 100%; }
.breadcrumbs { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; color: #7a838e; font-size: 12px; margin-bottom: 18px; line-height: 1.45; }
.breadcrumbs a { color: #69727e; }
.breadcrumbs-separator { color: #a1a8b1; }
.entry-header { margin-top: 5px; }
.entry-title { font-size: clamp(34px, 3.3vw, 44px); line-height: 1.09; letter-spacing: -.035em; margin: 7px 0 12px; color: #101216; }
.entry-deck { font-size: 17px; line-height: 1.52; color: #505864; max-width: 790px; }
.entry-deck p { margin: 0; }
.entry-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 16px; color: #606975; font-size: 12px; }
.entry-meta a { color: #303640; }
.byline a { font-weight: 750; }
.author-avatar { display: inline-flex; width: 38px; height: 38px; margin-right: 2px; }
.author-avatar img { display: block; width: 38px; height: 38px; border-radius: 50%; }
.single-featured-image { margin: 22px 0 24px; }
.single-featured-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.entry-content { max-width: var(--content); font-size: 17px; line-height: 1.76; }
body:not(.has-sidebar) .entry-content, body:not(.has-sidebar) .post-navigation, body:not(.has-sidebar) .comments-area { margin-inline: auto; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.35em; }
.entry-content h2 { font-size: 27px; line-height: 1.2; margin: 1.7em 0 .6em; scroll-margin-top: 90px; }
.entry-content h3 { font-size: 22px; line-height: 1.25; margin: 1.45em 0 .55em; scroll-margin-top: 90px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content blockquote { margin: 1.7em 0; padding: 15px 20px; border-left: 4px solid var(--blue); background: var(--surface); }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.entry-content figure { margin-block: 1.7em; }
.entry-content figcaption { color: #69727d; font-size: 12px; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 9px; text-align: left; }
.post-navigation { max-width: var(--content); margin: 42px 0 0; padding-top: 20px; border-top: 1px solid var(--border); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { max-width: 47%; font-weight: 700; }
.post-navigation span { display: block; color: #687180; font-size: 11px; text-transform: uppercase; }
.comments-area { max-width: var(--content); margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--border); }
.comment-list { padding-left: 20px; }
.comment-body { margin-bottom: 24px; }
.comment-form input:not([type=submit]), .comment-form textarea, .search-form .search-field { width: 100%; border: 1px solid #cfd5dc; border-radius: 4px; padding: 11px 12px; background: #fff; }
.comment-form .submit, .search-form .search-submit { border: 0; border-radius: 4px; padding: 11px 17px; background: var(--blue); color: #fff; font-weight: 700; }

/* Archivos y páginas */
.archive-header { margin-bottom: 22px; }
.archive-description { color: var(--muted); }
.archive-panel, .not-found { padding: 24px; }

/* Pie */
.site-footer { background: #0c1725; color: #e7edf5; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 44px; padding-block: 40px; }
.footer-brand p { max-width: 340px; color: #c4cfdd; font-size: 14px; }
.site-footer a { color: #f2f6fb; }
.site-footer .widget { padding: 0; background: transparent; border: 0; box-shadow: none; }
.site-footer .widget-title { border: 0; padding: 0; color: #fff; }
.footer-bottom { padding-block: 16px; border-top: 1px solid rgba(255,255,255,.14); color: #aeb9c7; font-size: 12px; }

/* Integración visual limitada. Financiérate Cookies queda completamente fuera. */
#ez-toc-container, .lwptoc, .toc-container, .toc_wrap, .financierate-toc, .financierate-index {
  max-width: 100%; margin: 24px 0; padding: 16px 18px !important; background: #fff !important;
  border: 1px solid #d9dee5 !important; border-radius: 6px !important; box-shadow: none !important;
}
#ez-toc-container a, .lwptoc a, .financierate-toc a, .financierate-index a { color: var(--blue) !important; }
.yarpp-related, .jp-relatedposts, .crp_related, .rp4wp-related-posts, .financierate-related, .financierate-relacionadas { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); }
.aawp, .amazon-auto-links, .amalinkspro, .financierate-amazon, .financierate-affiliate { font-size: 14px; color: var(--ink); }
.aawp-product, .amazon-auto-links-product, .amalinkspro-product { border: 1px solid var(--border) !important; border-radius: 6px !important; box-shadow: none !important; }
.aawp-button, .amalinkspro-button, .amazon-auto-links a.button { background: #ffb000 !important; color: #171717 !important; border-radius: 4px !important; font-weight: 750 !important; }
.financierate-amazon, .financierate-affiliate { margin: 22px 0; padding: 15px; background: #fff; border: 1px solid #d8dee6; border-radius: 6px; }
.financierate-amazon img, .financierate-affiliate img, .financierate-related img, .financierate-relacionadas img { max-width: 100%; height: auto; }

@media (max-width: 980px) {
  body.has-sidebar .site-main-wrap { display: block; }
  .sidebar { display: none; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 17px 22px; }
  .main-navigation.is-open { display: block; }
  .primary-menu { display: block; }
  .primary-menu li + li { margin-top: 13px; }
  .primary-menu .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 8px 0 0 15px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-search { order: 2; }
  .menu-toggle { order: 3; }
  .header-inner { gap: 14px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-list--home .post-card--horizontal { grid-template-columns: 250px minmax(0, 1fr); }
  .entry-content, .post-navigation, .comments-area { margin-inline: auto; }
}

@media (max-width: 680px) {
  body { background: #fff; font-size: 15px; }
  .site-shell { width: min(calc(100% - 24px), var(--shell)); }
  .trends-bar { display: none; }
  .header-inner { min-height: 67px; }
  .default-logo img { width: 126px; height: auto; }
  .text-logo { font-size: 34px; }
  .custom-logo { max-height: 42px; }
  .site-main-wrap { padding-top: 12px; padding-bottom: 36px; }
  .home-panel, .single-content, .archive-panel, .not-found { border-radius: 5px; box-shadow: 0 3px 14px rgba(15,23,42,.05); }
  .home-panel { padding: 14px; }
  .home-panel + .home-panel { margin-top: 12px; }
  .section-title { font-size: 17px; margin-bottom: 13px; }
  .posts-list--home .post-card--horizontal { display: block; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
  .posts-list--home .post-card--horizontal:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
  .posts-list--home .post-card--horizontal .card-body { padding-top: 8px; }
  .posts-list--home .post-card--horizontal .card-title { font-size: 17px; }
  .posts-list--home .post-card--horizontal .card-excerpt { font-size: 13px; }
  .media-eyebrow { display: inline-flex; position: absolute; left: 9px; top: 9px; z-index: 2; padding: 3px 6px; color: #fff; background: var(--blue); border-radius: 3px; font-size: 9px; line-height: 1.2; font-weight: 850; text-transform: uppercase; letter-spacing: .02em; }
  .card-eyebrow { display: none; }
  .button-outline { width: 100%; min-width: 0; }
  .posts-grid { grid-template-columns: 1fr; gap: 24px; }
  .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .post-card--mini .card-title { font-size: 11px; }
  .post-card--mini .eyebrow { font-size: 8px; }
  .single-content { padding: 14px 13px 34px; }
  .breadcrumbs { font-size: 11px; margin-bottom: 15px; }
  .entry-title { font-size: 28px; line-height: 1.12; margin-top: 6px; }
  .entry-deck { font-size: 16px; }
  .entry-meta { font-size: 11px; }
  .author-avatar, .author-avatar img { width: 34px; height: 34px; }
  .single-featured-image { margin: 20px 0 22px; }
  .entry-content { font-size: 16px; line-height: 1.72; }
  .entry-content h2 { font-size: 23px; }
  .entry-content h3 { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-column { border-top: 1px solid rgba(255,255,255,.13); padding-top: 18px; }
  #ez-toc-container, .lwptoc, .toc-container, .toc_wrap, .financierate-toc, .financierate-index, .financierate-amazon, .financierate-affiliate { padding: 14px !important; }
}

@media (max-width: 390px) {
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-media img { transition: none; }
}

/* Listados de noticias y categorías */
.posts-list--archive .post-card--horizontal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}
.posts-list--archive .post-card--horizontal:first-child { padding-top: 0; }
.posts-list--archive .post-card--horizontal:last-child { border-bottom: 0; }
.posts-list--archive .post-card--horizontal .card-body { padding-top: 1px; }

@media (max-width: 680px) {
  .archive-panel { padding: 14px; }
  .posts-list--archive .post-card--horizontal { display: block; padding: 0 0 22px; margin-bottom: 22px; }
  .posts-list--archive .post-card--horizontal:last-child { margin-bottom: 0; padding-bottom: 0; }
  .posts-list--archive .post-card--horizontal .card-body { padding-top: 8px; }
}

/* ==============================================================
   Financiérate v1.3.4 · identidad y portada editorial
   ============================================================== */
:root {
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-heading: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.card-title,
.widget-title,
.section-title,
.primary-menu a,
.financierate-sidebar-post-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-synthesis: weight;
}

.primary-menu a { font-weight: 700; }
.eyebrow, .media-eyebrow, .home-featured-category { font-weight: 700; }
.card-title { font-weight: 700; letter-spacing: -.018em; }
.entry-title { font-weight: 700; letter-spacing: -.035em; }
.entry-content h2, .entry-content h3 { font-weight: 700; letter-spacing: -.018em; }

/* Logos oficiales: variante clara para cabecera y blanca para el pie. */
.default-logo { display: inline-flex; align-items: center; line-height: 0; }
.default-logo img { width: 146px; height: auto; }
.default-logo--footer {
  display: inline-flex;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.default-logo--footer img { width: 220px; height: auto; }
.footer-social { margin-top: 17px; }
.footer-social .top-social-menu { margin-left: 0; justify-content: flex-start; gap: 7px; }
.footer-social .top-social-menu a { background: rgba(255,255,255,.07); }
.footer-social .top-social-menu a:hover { background: rgba(255,255,255,.16); }

/* Noticia principal de portada. */
.home-featured-card {
  position: relative;
  min-height: 375px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #dfe4ea;
  border-radius: var(--radius);
  background: #0a0d12;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.home-featured-media,
.home-featured-media img,
.home-featured-overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.home-featured-media img { object-fit: cover; object-position: center; }
.home-featured-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3,7,12,.92) 0%, rgba(3,7,12,.75) 42%, rgba(3,7,12,.20) 76%, rgba(3,7,12,.05) 100%),
    linear-gradient(0deg, rgba(3,7,12,.88) 0%, rgba(3,7,12,.08) 72%);
}
.home-featured-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 375px;
  max-width: 610px;
  padding: 32px 34px;
  color: #fff;
}
.home-featured-category {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.home-featured-category:hover { color: #fff; text-decoration: none; filter: brightness(.97); }
.home-featured-title {
  max-width: 590px;
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 700;
}
.home-featured-title a { color: inherit; }
.home-featured-title a:hover { text-decoration: none; }
.home-featured-excerpt {
  max-width: 570px;
  margin-top: 13px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.55;
}
.home-featured-excerpt p { margin: 0; }
.home-featured-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  color: rgba(255,255,255,.86);
  font-size: 11px;
}
.home-featured-meta a { color: #fff; }
.home-featured-meta .byline a { font-weight: 700; }
.home-featured-avatar,
.home-featured-avatar img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.home-featured-avatar img { border: 1px solid rgba(255,255,255,.5); }

/* Bloque dinámico de guías. */
.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-heading-row .section-title { margin-bottom: 0; }
.section-note { color: #7a838e; font-size: 11px; white-space: nowrap; }
.home-guides .post-card--mini .card-title { font-size: 14px; line-height: 1.3; }
.home-guides .post-card--mini .eyebrow { font-size: 9px; }

/* Sidebar más próxima al preview. */
.widget-title { font-size: 17px; }
.financierate-sidebar-post-title { font-size: 14px; line-height: 1.25; }
.financierate-sidebar-post-body time { font-size: 11px; }

@media (max-width: 980px) {
  .home-featured-card,
  .home-featured-content { min-height: 350px; }
}

@media (max-width: 680px) {
  .default-logo img { width: 128px; }
  .home-featured-card {
    min-height: 0;
    background: #fff;
    border-color: var(--border);
  }
  .home-featured-media {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .home-featured-media img { position: absolute; inset: 0; }
  .home-featured-overlay {
    background: linear-gradient(0deg, rgba(3,7,12,.68), rgba(3,7,12,.03) 65%);
  }
  .home-featured-content {
    min-height: 0;
    max-width: none;
    padding: 15px 14px 18px;
    color: var(--ink);
    background: #fff;
  }
  .home-featured-category { margin-bottom: 8px; }
  .home-featured-title { color: #111318; font-size: 22px; line-height: 1.16; }
  .home-featured-excerpt { margin-top: 9px; color: var(--muted); font-size: 13px; }
  .home-featured-meta { margin-top: 12px; color: #717985; }
  .home-featured-meta a { color: #303640; }
  .home-featured-avatar img { border-color: #d8dde4; }
  .section-note { display: none; }
  .section-heading-row { margin-bottom: 13px; }
  .home-guides .post-card--mini .card-title { font-size: 11px; }
}

/* Footer v1.3.5: compatibilidad con widgets de bloques y menús de respaldo. */
.footer-column { min-width: 0; }
.footer-heading,
.site-footer .footer-column h2,
.site-footer .footer-column h3,
.site-footer .wp-block-heading {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}
.footer-menu,
.site-footer .footer-column ul,
.site-footer .wp-block-navigation__container {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .footer-column li { margin: 0; }
.site-footer .footer-column a {
  color: #e8eef7;
  font-size: 13px;
  line-height: 1.4;
}
.site-footer .footer-column a:hover { color: #fff; }
.site-footer .wp-block-navigation { display: block; }

/* Buscador desplegable de cabecera */
.header-search {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.header-search[aria-expanded="true"] { color: var(--blue); }
.header-search-panel {
  border-top: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 9px 20px rgba(15, 23, 42, .08);
}
.header-search-panel[hidden] { display: none !important; }
.header-search-inner { padding-block: 14px; }
.header-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  max-width: 820px;
  margin-inline: auto;
}
.header-search-field {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 15px;
  border: 1px solid #cbd2da;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}
.header-search-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 91, 216, .12);
}
.header-search-submit {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.header-search-submit:hover { background: var(--blue-dark); }
.header-search-close {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #303640;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 680px) {
  .header-search-inner { padding-block: 10px; }
  .header-search-form { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .header-search-submit { padding-inline: 14px; }
  .header-search-close { grid-column: 1 / -1; justify-self: end; width: 34px; height: 28px; margin-top: -4px; }
}

/* Encuadre híbrido de imágenes: recorte 16:9 o imagen completa con fondo. */
.card-media,
.home-featured-media,
.financierate-sidebar-thumb {
  isolation: isolate;
}

.financierate-media-blur {
  position: absolute;
  z-index: 0;
  inset: -6%;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: blur(8px) saturate(.96);
  opacity: .78;
  transform: scale(1.03);
  pointer-events: none;
}

.card-media .financierate-media-image,
.home-featured-media .financierate-media-image {
  position: relative;
  z-index: 2;
}

.card-media.financierate-media--contain,
.home-featured-media.financierate-media--contain,
.financierate-sidebar-thumb.financierate-media--contain {
  background: #111821;
}

.card-media.financierate-media--contain::after,
.home-featured-media.financierate-media--contain::after,
.financierate-sidebar-thumb.financierate-media--contain::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(6, 12, 20, .10);
  pointer-events: none;
}

.card-media.financierate-media--contain .financierate-media-image,
.home-featured-media.financierate-media--contain .financierate-media-image,
.financierate-sidebar-thumb.financierate-media--contain .financierate-media-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.post-card:hover .card-media.financierate-media--contain .financierate-media-image {
  transform: scale(1.006);
}

.card-media .media-eyebrow {
  z-index: 3;
}

.home-featured-media .home-featured-overlay {
  z-index: 3;
}

.home-featured-content {
  z-index: 4;
}

@media (max-width: 680px) {
  .financierate-media-blur { filter: blur(6px) saturate(.94); }
}


/* ==============================================================
   Financiérate v1.3.10 · relacionadas sin subrayado y sidebar en móvil
   ============================================================== */
.yarpp-related a,
.jp-relatedposts a,
.crp_related a,
.rp4wp-related-posts a,
.financierate-related a,
.financierate-relacionadas a,
.entry-content .yarpp-related a,
.entry-content .jp-relatedposts a,
.entry-content .crp_related a,
.entry-content .rp4wp-related-posts a,
.entry-content .financierate-related a,
.entry-content .financierate-relacionadas a {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.yarpp-related a:hover,
.jp-relatedposts a:hover,
.crp_related a:hover,
.rp4wp-related-posts a:hover,
.financierate-related a:hover,
.financierate-relacionadas a:hover {
  text-decoration: none !important;
}

@media (max-width: 680px) {
  /* En el DOM la barra lateral ya está después del contenido principal,
     de modo que se muestra tras las guías y antes del footer. */
  body.has-sidebar .sidebar {
    display: block;
    position: static;
    top: auto;
    width: 100%;
    margin-top: 14px;
  }

  body.has-sidebar .sidebar .widget:last-child {
    margin-bottom: 0;
  }

  .financierate-sidebar-post {
    grid-template-columns: minmax(120px, 34vw) minmax(0, 1fr);
    align-items: center;
  }
}


/* Financiérate v1.3.12: miniaturas 16:9 híbridas en “No te pierdas”. */
