/* PuntoRacing — estilo magazine inspirado en ColorMag Pro */

:root {
  --accent: #ef0000;
  --header-bg: #f2f2f2;
  --footer-bg: #2c2e34;
  --text: #333;
  --muted: #666;
  --border: #e5e5e5;
  --inner-width: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.inner-wrap {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header { background: var(--header-bg); border-bottom: 3px solid var(--accent); }

.header-inner {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 14px 16px 12px;
  min-height: 96px;
}

.header-logo {
  flex: 0 1 auto;
  text-align: left;
  max-width: min(720px, calc(100% - 200px));
  margin-right: auto;
}

.header-social {
  display: flex;
  align-items: center;
}

.header-tools {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
}

.lang-switch-fused {
  display: inline-flex;
  align-items: stretch;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
  background: #fff;
}

.lang-switch-half {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  position: relative;
  text-decoration: none;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

a.lang-switch-half:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.lang-switch-half.is-active {
  box-shadow: inset 0 0 0 2px var(--accent);
  z-index: 1;
}

.lang-switch-half.is-disabled {
  opacity: 0.35;
  filter: grayscale(1);
  cursor: not-allowed;
}

.lang-flag-es,
.lang-flag-en {
  display: block;
  height: 20px;
  width: auto;
  border-radius: 0;
}

.lang-flag-es {
  width: 24px;
}

.lang-flag-en {
  width: 24px;
}

.lang-switch-half.is-es .lang-flag-es {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.lang-switch-half.is-en .lang-flag-en {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.post-header .lang-switch {
  justify-content: flex-start;
  margin: 8px 0 4px;
}

.section-intro {
  margin: -8px 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.logo-link { display: inline-block; line-height: 0; }

.header-logo img {
  max-height: 88px;
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

@media (max-width: 599px) {
  .header-inner { min-height: 78px; padding: 12px 12px 10px; }
  .header-logo { max-width: calc(100% - 140px); }
  .header-logo img { max-height: 64px; }
  .header-tools { right: 12px; }
  .lang-flag-es { width: 22px; height: 18px; }
  .lang-flag-en { width: 22px; height: 18px; }
}

.social-follow {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.social-follow-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.social-follow-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-follow-btn {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: #222;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.social-follow-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-follow-facebook:hover { background: #1877f2; }
.social-follow-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-follow-youtube:hover { background: #ff0000; }
.social-follow-tiktok:hover { background: #010101; }

.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social .social-follow {
  align-items: center;
  margin-bottom: 4px;
}

.footer-social .social-follow-label {
  color: #aaa;
}

.footer-social .social-follow-links { justify-content: center; }

.footer-social .social-follow-btn {
  background: #444;
}

@media (max-width: 599px) {
  .social-follow-label { font-size: 0.65rem; }
  .social-follow-btn { width: 34px; height: 34px; }
  .social-icon { width: 16px; height: 16px; }
}

.main-nav { background: #222; color: #fff; }

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
}

.nav-home {
  color: #fff;
  font-size: 1.25rem;
  padding: 8px 12px;
  background: var(--accent);
  border-radius: 3px;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid #666;
  color: #fff;
  padding: 6px 10px;
  cursor: pointer;
}

.nav-menu-wrap { flex: 1; }

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-menu > li > a:hover { background: var(--accent); }

.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #333;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
@media (hover: hover) and (min-width: 769px) {
  .nav-menu li:hover > .sub-menu { display: block; }
}
.sub-menu a { display: block; padding: 8px 14px; color: #eee; font-size: 0.85rem; text-decoration: none; }
.sub-menu a:hover { background: var(--accent); color: #fff; }
.sub-menu-group { list-style: none; }
.sub-menu-label {
  display: block;
  padding: 10px 14px 4px;
  color: #aaa;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sub-menu-nested {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
}
.sub-menu-nested a { padding-left: 22px; }

.nav-search { display: flex; margin-left: auto; }
.nav-search input { border: none; padding: 8px 10px; min-width: 120px; }
.nav-search button { border: none; background: var(--accent); color: #fff; padding: 8px 12px; cursor: pointer; }

@media (max-width: 768px) {
  .nav-toggle { display: block; min-width: 44px; min-height: 44px; }
  .nav-menu-wrap { display: none; width: 100%; }
  .nav-menu-wrap.is-open { display: block; }
  .nav-menu { flex-direction: column; }
  .nav-menu > li > a,
  .sub-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-menu .sub-menu {
    position: static;
    box-shadow: none;
    background: #2a2a2a;
    border-left: 3px solid var(--accent);
    margin: 0 0 4px;
  }
  .nav-menu > li.has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .nav-menu > li.has-children > a::after {
    content: "▸";
    font-size: 0.85rem;
    opacity: 0.85;
    transition: transform 0.15s ease;
  }
  .nav-menu > li.has-children.is-submenu-open > a::after {
    transform: rotate(90deg);
  }
  .nav-menu > li.has-children.is-submenu-open > .sub-menu { display: block; }
  .nav-search { width: 100%; margin-left: 0; }
  .nav-search input { flex: 1; min-width: 0; }
}

.hero-highlights { padding: 24px 0; background: #fafafa; }

.pr-promo-slot {
  margin: 0;
}

.pr-promo-slot--home,
.pr-promo-slot--home-mid,
.pr-promo-slot--category {
  padding: 12px 0 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.pr-promo-slot--home-mid {
  padding: 8px 0 16px;
  background: #fafafa;
}

.pr-promo-slot--home .inner-wrap,
.pr-promo-slot--category .inner-wrap {
  padding-bottom: 12px;
}

.pr-promo-slot--home-mid .inner-wrap {
  padding-bottom: 4px;
}

.pr-promo-slot--sidebar {
  margin-bottom: 20px;
}

.pr-promo-slot--post-footer {
  margin: 28px 0 8px;
}

.pr-promo-label {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pr-promo-link {
  display: block;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f8f8f8;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.pr-promo-link:hover,
.pr-promo-link:focus-visible {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.pr-promo-media {
  display: block;
  width: 100%;
  height: auto;
}

.pr-promo-media--wide {
  max-height: 200px;
  object-fit: cover;
}

.pr-promo-media--inline {
  max-height: 150px;
  object-fit: cover;
}

.pr-promo-media--side {
  max-height: 250px;
  object-fit: contain;
}

.pr-promo-link--cta {
  cursor: pointer;
}

.pr-promo-carousel {
  position: relative;
}

.pr-promo-carousel-viewport {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #111;
  touch-action: pan-y pinch-zoom;
}

.pr-promo-slot--carousel .pr-promo-link {
  border: 0;
  border-radius: 0;
}

.pr-promo-carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.pr-promo-carousel-track.is-dragging {
  transition: none;
}

@media (max-width: 768px) {
  .pr-promo-carousel-track:not(.is-dragging) {
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
}

.pr-promo-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.pr-promo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.pr-promo-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.pr-promo-carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.pr-promo-carousel-dot:hover,
.pr-promo-carousel-dot:focus-visible {
  background: #999;
  outline: none;
}

.pr-promo-carousel-dot.is-active:hover,
.pr-promo-carousel-dot.is-active:focus-visible {
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .pr-promo-carousel-track {
    transition: none;
  }
}

body.pr-promo-dialog-open {
  overflow: hidden;
}

.pr-promo-dialog[hidden] {
  display: none !important;
}

.pr-promo-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pr-promo-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.72);
}

.pr-promo-dialog-panel {
  position: relative;
  width: min(100%, 440px);
  padding: 28px 24px 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.pr-promo-dialog-title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--text);
}

.pr-promo-dialog-msg {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.pr-promo-dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #ef0000;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.pr-promo-dialog-close:hover,
.pr-promo-dialog-close:focus-visible {
  background: #c40000;
  outline: none;
  transform: translateY(-1px);
}

@media (min-width: 960px) {
  .pr-promo-slot--sidebar {
    position: sticky;
    top: 16px;
  }
}

@media (max-width: 599px) {
  .pr-promo-slot--home,
  .pr-promo-slot--category {
    padding-top: 8px;
  }

  .pr-promo-media--wide {
    max-height: 120px;
  }
}

.home-jumps {
  padding: 14px 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.home-jumps-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.home-jumps-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-jump-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: #111;
  background: #fff;
  border: 2px solid var(--jump-color, var(--accent));
  transition: background 0.15s ease, color 0.15s ease;
}

.home-jump-chip:hover,
.home-jump-chip:focus-visible {
  background: var(--jump-color, var(--accent));
  color: #fff;
  text-decoration: none;
  outline: none;
}

.featured-block { scroll-margin-top: 16px; }

.popular-posts {
  padding: 24px 0 32px;
  margin-top: 8px;
  background: #fafafa;
  border-top: 1px solid var(--border);
}
.popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}
.popular-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.popular-list-item:last-child { border-bottom: none; }
.popular-list-item:hover { background: #fafafa; }
.popular-list-link {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}
.popular-list-link:hover { color: var(--accent); }
.popular-list .popular-rank {
  position: static;
  flex-shrink: 0;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
}

.section-label {
  margin: 0 0 16px;
  font-size: 1.1rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.highlight-card { background: #fff; border: 1px solid var(--border); overflow: hidden; }
.highlight-card img { width: 100%; aspect-ratio: 392/272; object-fit: cover; display: block; }
.highlight-card .card-body { padding: 12px; }
.highlight-card h3 { margin: 8px 0 0; font-size: 1rem; line-height: 1.35; }
.highlight-card h3 a { color: #111; text-decoration: none; }

.cat-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border-radius: 2px;
  margin-right: 4px;
}

.post-entities { margin: 8px 0 4px; }

.entity-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  border-radius: 2px;
  margin-right: 4px;
  text-decoration: none;
}
.entity-badge:hover { opacity: 0.9; color: #fff; }

.post-entities-block {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.post-entities-block h2 {
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.entity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.entity-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  background: #fafafa;
  min-width: 120px;
}
.entity-chip:hover { border-color: var(--accent); background: #fff; }
.entity-chip-type {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.entity-chip-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
}

.entity-page { padding: 16px 0 40px; }
.entity-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--accent);
}
.entity-header--brand { border-bottom-color: #1a5276; }
.entity-header--product { border-bottom-color: #7d3c98; }
.entity-header--person { border-bottom-color: #b9770e; }
.entity-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 6px;
}
.entity-lead {
  font-size: 1.05rem;
  color: #444;
  max-width: 720px;
  margin: 10px 0 0;
  line-height: 1.55;
}
.entity-website { margin: 12px 0 0; font-size: 0.9rem; }
.entity-related { margin-bottom: 24px; }
.entity-related h2 { font-size: 1rem; margin: 0 0 10px; }

.entity-source-link { margin: 8px 0 0; font-size: 0.9rem; }
.entity-parent-link { margin: 8px 0 0; font-size: 0.9rem; }

.entity-versions-timeline {
  margin: 0 0 28px;
  padding: 18px 0 6px;
  border-top: 1px solid var(--border);
}
.entity-versions-timeline h2 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.entity-versions-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 760px;
  line-height: 1.5;
}
.entity-version-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.entity-version-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 12px;
  border: 2px solid #7d3c98;
  border-radius: 6px;
  text-decoration: none;
  background: #faf8fc;
  transition: background 0.15s, border-color 0.15s;
}
.entity-version-link:hover {
  background: #fff;
  border-color: var(--accent);
}
.entity-version-kit {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
}
.entity-version-year {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

.entities-index { padding: 16px 0 48px; }
.entities-index-header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--accent);
}
.entities-index-intro {
  font-size: 1.05rem;
  color: #444;
  max-width: 720px;
  margin: 10px 0 0;
  line-height: 1.55;
}
.entities-index-section { margin-bottom: 32px; }
.entities-index-section h2 {
  font-size: 1.15rem;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.entities-index-section--brand h2 { border-bottom-color: #1a5276; }
.entities-index-section--product h2 { border-bottom-color: #7d3c98; }
.entities-index-section--person h2 { border-bottom-color: #b9770e; }
.entities-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px 16px;
}
.entities-index-list a {
  display: block;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 0.92rem;
}
.entities-index-list a:hover {
  border-color: var(--accent);
  background: #fafafa;
}

.post-meta-small { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

.manufacturer-hero img { width: 100%; height: auto; display: block; }
.manufacturer-hero figcaption,
.post-hero-source figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}
.manufacturer-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.manufacturer-gallery p {
  margin: 0;
}
.manufacturer-gallery img,
.manufacturer-gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.home-blocks { padding: 8px 0 32px; }

.home-blocks { padding: 8px 0 32px; }

.featured-block { margin-bottom: 32px; }
.featured-block .block-title {
  margin: 0 0 16px;
  border-bottom: 2px solid var(--cat-color, var(--accent));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.featured-block .block-title span {
  background: var(--cat-color, var(--accent));
  color: #fff;
  padding: 6px 12px;
  font-size: 0.95rem;
  font-weight: 800;
}
.featured-block .view-all { font-size: 0.85rem; font-weight: 600; white-space: nowrap; }

.featured-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) {
  .featured-layout { grid-template-columns: 1.2fr 1fr; }
}

.featured-main { border: 1px solid var(--border); overflow: hidden; }
.featured-main img { width: 100%; max-height: 260px; object-fit: cover; display: block; }
.featured-main .card-body { padding: 14px; }
.featured-main h3 { margin: 8px 0; font-size: 1.15rem; }
.featured-main .excerpt { color: var(--muted); font-size: 0.95rem; margin: 0; }

.featured-list { display: flex; flex-direction: column; gap: 12px; }
.featured-mini {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.featured-mini img { width: 130px; height: 90px; object-fit: cover; }
.featured-mini h4 { margin: 4px 0 0; font-size: 0.92rem; line-height: 1.3; }
.featured-mini h4 a { color: #111; text-decoration: none; }

.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px 16px 48px;
}
@media (min-width: 960px) {
  .post-layout { grid-template-columns: 1fr 280px; }
}

.post-title { margin: 12px 0; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; color: #111; }
.post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.post-hero { margin-bottom: 20px; }

.prose { font-size: 1.05rem; }
.prose a { overflow-wrap: anywhere; word-break: break-word; }
.prose h2, .prose h3 { margin-top: 1.5em; color: #111; }
.prose p { margin: 1em 0; }
.prose img { margin: 1em 0; }
.prose iframe { max-width: 100%; }

.prose .wp-block-columns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25em 0;
}

.prose .wp-block-column {
  min-width: 0;
}

@media (min-width: 768px) {
  .prose .wp-block-columns {
    flex-direction: row;
    align-items: flex-start;
  }

  .prose .wp-block-column {
    flex: 1;
  }
}

.prose .wp-block-table,
.prose figure.wp-block-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
}

.prose .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.25em 0;
}

.prose .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.prose figure.wp-caption {
  margin: 1.25em 0;
  text-align: center;
}

.prose figure.wp-caption img {
  margin: 0 auto;
}

.prose figure.wp-caption figcaption {
  margin-top: 0.5em;
  font-size: 0.9rem;
  color: var(--muted);
}

.prose .wp-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 1.25em 0;
}

.prose .wp-gallery .gallery-grid figure {
  margin: 0;
}

.prose .wp-gallery .gallery-grid img {
  width: 100%;
  height: auto;
  margin: 0;
}

.post-sidebar .widget-title span {
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  font-size: 0.85rem;
}

.post-sidebar .social-follow-links {
  justify-content: flex-start;
  margin-top: 10px;
}

.post-share {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--border);
  background: #fafafa;
}

.post-share-title {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #111;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.share-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.share-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.share-btn:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }
.share-x { background: #111; }
.share-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.share-tiktok { background: #010101; }

.share-copy-feedback {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.share-copy-feedback.is-visible { display: block; }

.related-posts { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--border); }
.related-posts ul { list-style: none; padding: 0; margin: 0; }
.related-posts li { padding: 6px 0; border-bottom: 1px solid var(--border); }

.category-header { padding: 24px 0 16px; border-bottom: 3px solid var(--cat-color, var(--accent)); margin-bottom: 24px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding-bottom: 40px;
}

.card-article { border: 1px solid var(--border); overflow: hidden; background: #fff; }
.card-article img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-article .card-body { padding: 14px; }
.card-article h2 { margin: 8px 0 0; font-size: 1.05rem; }
.card-article h2 a { color: #111; text-decoration: none; }

.static-page { padding: 24px 0 48px; }
.page-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 3px solid var(--accent); }
.page-header h1 { margin: 12px 0 0; font-size: clamp(1.5rem, 3vw, 2rem); color: #111; }

.site-footer { background: var(--footer-bg); color: #ccc; padding: 24px 0; margin-top: 24px; }

.search-page { padding: 24px 0 48px; }
.search-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 3px solid var(--accent); }
.search-header h1 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 1.85rem); color: #111; }
.search-intro { margin: 0 0 16px; color: var(--muted); }
.search-form {
  display: flex;
  gap: 8px;
  max-width: 560px;
}
.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
}
.search-form button {
  padding: 10px 18px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.search-status { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-result {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.search-result-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111;
}
.search-result a { text-decoration: none; }
.search-result a:hover .search-result-title { color: var(--accent); }
.search-result-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 16px 0; }
.footer-nav a { color: #ddd; font-size: 0.85rem; }
.copyright { font-size: 0.8rem; color: #999; margin: 16px 0 0; line-height: 1.5; }

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  z-index: 100;
}

/* —— Directorio Tiendas RC —— */
.tiendas-page .page-header { margin-bottom: 16px; }

.tiendas-intro {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 68ch;
}

.tiendas-region-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 0 28px;
  padding: 14px 0 16px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.tiendas-region-select-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.tiendas-region-select-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.tiendas-region-select {
  flex: 1;
  min-width: 0;
  max-width: 520px;
  padding: 10px 12px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.tiendas-regions {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.tiendas-region {
  scroll-margin-top: 120px;
}

.tiendas-region-header {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.tiendas-region-header h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: #111;
}

.tiendas-region-count {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.tiendas-region-empty {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.tiendas-banners {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tienda-banner {
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.tienda-banner-link {
  display: block;
  line-height: 0;
  background: #f6f6f6;
}

.tienda-banner-link img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
}

.tienda-banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.tienda-banner-name { font-weight: 700; color: #111; }

.tienda-banner-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tienda-banner-ficha {
  margin-left: auto;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.tienda-banner-ficha:hover { text-decoration: underline; }

.tienda-banner-cta .tienda-banner-link-cta {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-decoration: none;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border: 2px dashed var(--border);
}

.tienda-banner-cta-inner {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
}

.tienda-banner-link-cta:hover .tienda-banner-cta-inner {
  text-decoration: underline;
}

/* —— Móvil: home, cabecera y listados —— */
@media (max-width: 768px) {
  .home-jumps-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    scrollbar-width: none;
  }

  .home-jumps-scroll::-webkit-scrollbar { display: none; }

  .home-jump-chip { flex-shrink: 0; }

  .tiendas-region-nav { top: 0; }

  .tiendas-region-select { max-width: none; }

  .tiendas-region { scroll-margin-top: 140px; }

  .tienda-banner-ficha { margin-left: 0; width: 100%; }

  .featured-mini {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .featured-mini img {
    width: 100%;
    height: auto;
    max-height: 200px;
  }

  .featured-block .block-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .featured-block .view-all { white-space: normal; }

  .post-layout { padding: 16px 0 40px; }

  .post-share { padding: 16px; }

  .category-header { padding: 16px 0 12px; margin-bottom: 16px; }
}

@media (max-width: 599px) {
  .header-tools .social-follow-label { display: none; }

  .header-logo { max-width: calc(100% - 120px); }

  .highlights-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .inner-wrap { padding: 0 12px; }

  .prose { font-size: 1rem; }

  .scroll-top {
    bottom: 14px;
    right: 14px;
  }
}
