/*
 * Consumidor_Claude_Theme · capa de diseño
 * Se carga después de style.css. Todo va bajo body.cc-claude para no
 * depender del orden ni pisar el tema original.
 */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

body.cc-claude {
  --ccc-brand: #244e8a;
  --ccc-brand-dark: #16325c;
  --ccc-ink: #14213d;
  --ccc-muted: #4a5568;
  --ccc-ground: #f4f6f9;
  --ccc-card: #ffffff;
  --ccc-line: #dde3ec;
  --ccc-cyan: #3db9d3;
  --ccc-cyan-soft: #bfe9f3;
  --ccc-good: #1e6b45;
  --ccc-good-bg: #e6f4ec;
  --ccc-warn: #9a4a10;
  --ccc-warn-bg: #fceedf;
  --ccc-info-bg: #e3ecf7;
  --ccc-bar: #8da2bf;
  --ccc-radius: 16px;
  --ccc-shadow: 0 1px 3px rgba(20, 33, 61, 0.1);
  --ccc-head: "Montserrat", system-ui, sans-serif;
  --ccc-body: "Source Sans 3", system-ui, sans-serif;

  background: var(--ccc-ground);
  color: var(--ccc-ink);
  font-family: var(--ccc-body);
  font-size: 17px;
  line-height: 1.55;
}

body.cc-claude :where(h1, h2, h3, h4) { font-family: var(--ccc-head); }

body.cc-claude :focus-visible { outline: 3px solid var(--ccc-cyan); outline-offset: 2px; }

/* ===== Cabecera común ===== */

body.cc-claude .site-header {
  background: var(--ccc-brand);
  color: #fff;
}

body.cc-claude .site-header .inside-header {
  padding-block: 10px;
  align-items: center;
}

body.cc-claude .site-header .site-logo img,
body.cc-claude .site-header .header-image {
  max-height: 64px;
  width: auto;
}

body.cc-claude .site-description {
  font-family: var(--ccc-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ccc-cyan-soft);
}

body.cc-claude .main-navigation,
body.cc-claude .main-navigation ul ul {
  background: var(--ccc-brand);
}

body.cc-claude .slideout-navigation.main-navigation { background: var(--ccc-brand-dark); }

body.cc-claude .main-navigation .main-nav ul li a,
body.cc-claude .main-navigation .menu-toggle {
  color: #fff;
  font-family: var(--ccc-head);
  font-weight: 700;
  font-size: 15px;
}

body.cc-claude .main-navigation .main-nav ul li:hover > a,
body.cc-claude .main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--ccc-cyan-soft);
  background: transparent;
}

body.cc-claude .main-navigation .menu-toggle { min-height: 44px; }

/* La cabecera de las entradas semanales se muestra (regla original retirada en style.css). */
body.cc-claude.single-post:has(.cc-weekly) #sticky-placeholder,
body.cc-claude.single-post:has(.cc-weekly) .navigation-clone { display: none !important; }

/* ===== Pie común ===== */

body.cc-claude .site-footer,
body.cc-claude .site-info {
  background: var(--ccc-brand-dark);
  color: #fff;
}

body.cc-claude .site-info a { color: var(--ccc-cyan-soft); }

/* ===== Entrada semanal (.cc-weekly) ===== */
body.cc-claude.single-post:has(.cc-weekly),
body.cc-claude article.cc-weekly {
  background: var(--ccc-ground) !important;
}

body.cc-claude .cc-weekly {
  color: var(--ccc-ink) !important;
  font-family: var(--ccc-body) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  padding-bottom: 0 !important;
}

body.cc-claude article.cc-weekly :where(p, li, td, th, summary, dd, dt) {
  font-size: 17px !important;
  line-height: 1.55 !important;
}

body.cc-claude article.cc-weekly :where(h1, h2, h3) {
  font-family: var(--ccc-head) !important;
  letter-spacing: -0.01em !important;
  color: var(--ccc-ink) !important;
}

/* Portada de la entrada */
body.cc-claude .cc-weekly .cc-weekly__hero {
  background: var(--ccc-brand) !important;
  padding: clamp(28px, 5vw, 56px) 0 clamp(44px, 6vw, 72px) !important;
}

body.cc-claude .cc-weekly .cc-weekly__hero .cc-weekly__inner {
  max-width: 880px !important;
  margin-inline: auto !important;
  padding-inline: 20px !important;
}

body.cc-claude .cc-weekly .cc-weekly__hero h1 {
  color: #fff !important;
  font-weight: 800 !important;
  font-size: clamp(30px, 5.4vw, 52px) !important;
  line-height: 1.1 !important;
  max-width: 22ch !important;
  margin: 10px 0 14px !important;
}

body.cc-claude .cc-weekly .cc-weekly__hero .cc-weekly__eyebrow {
  color: var(--ccc-cyan-soft) !important;
}

body.cc-claude .cc-weekly .cc-weekly__lede {
  color: #e3ecf7 !important;
  font-size: clamp(18px, 2.2vw, 21px) !important;
  line-height: 1.45 !important;
  max-width: none !important;
}

body.cc-claude .cc-weekly .cc-weekly__meta {
  color: #c9d7ea !important;
  font-size: 15px !important;
  margin-bottom: 0 !important;
}

/* Etiquetas pequeñas sobre los títulos */
body.cc-claude .cc-weekly .cc-weekly__eyebrow {
  font-family: var(--ccc-head) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--ccc-muted) !important;
  margin-bottom: 6px !important;
}

/* Secciones: tarjetas blancas sobre fondo claro, sin marcos anidados */
body.cc-claude .cc-weekly .cc-weekly__editorial,
body.cc-claude .cc-weekly .cc-weekly__section,
body.cc-claude .cc-weekly .cc-weekly__section--ranking,
body.cc-claude .cc-weekly .cc-weekly__section--flyer,
body.cc-claude .cc-weekly .cc-weekly__section--lesson,
body.cc-claude .cc-weekly .cc-weekly__cta {
  background: transparent !important;
  color: var(--ccc-ink) !important;
  width: auto !important;
  max-width: 880px !important;
  margin: 0 auto !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.cc-claude .cc-weekly > .cc-weekly__section:last-child,
body.cc-claude .cc-weekly > .wp-block-group__inner-container > .cc-weekly__section:last-child {
  border-radius: 0 !important;
  padding-bottom: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__section--ranking .cc-weekly__inner {
  position: static !important;
  top: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__editorial {
  margin-top: -28px !important;
  position: relative !important;
}

body.cc-claude .cc-weekly .cc-weekly__editorial .cc-weekly__inner,
body.cc-claude .cc-weekly .cc-weekly__section .cc-weekly__inner {
  background: var(--ccc-card) !important;
  border: 0 !important;
  border-radius: var(--ccc-radius) !important;
  box-shadow: var(--ccc-shadow) !important;
  padding: clamp(20px, 4vw, 36px) !important;
  margin-bottom: 16px !important;
  max-width: none !important;
}

body.cc-claude .cc-weekly .cc-weekly__editorial h2,
body.cc-claude .cc-weekly .cc-weekly__section h2,
body.cc-claude .cc-weekly .cc-weekly__cta h2 {
  font-weight: 800 !important;
  font-size: clamp(22px, 3.2vw, 30px) !important;
  line-height: 1.2 !important;
  margin: 0 0 14px !important;
  max-width: none !important;
}

body.cc-claude article.cc-weekly :where(h3) {
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  margin: 0 0 6px !important;
}

body.cc-claude .cc-weekly .cc-weekly__section .cc-weekly__inner > p:last-child,
body.cc-claude .cc-weekly .cc-weekly__editorial .cc-weekly__inner > p:last-child {
  margin-bottom: 0 !important;
}

/* Resumen rápido: lista vertical con iconos de color */
body.cc-claude .cc-weekly .cc-weekly__spotlights {
  display: block !important;
}

body.cc-claude .cc-weekly .cc-weekly__spotlights > .wp-block-group__inner-container,
body.cc-claude .cc-weekly .cc-weekly__spotlights:not(:has(> .wp-block-group__inner-container)) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.cc-claude .cc-weekly .cc-weekly__spotlight {
  background: var(--ccc-ground) !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  border: 0 !important;
  box-shadow: none !important;
  min-width: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__spotlight:nth-child(1) {
  background: var(--ccc-good-bg) !important;
}

body.cc-claude .cc-weekly .cc-weekly__spotlight:nth-child(3) {
  background: var(--ccc-good-bg) !important;
}

body.cc-claude .cc-weekly .cc-weekly__spotlight:nth-child(4) {
  background: var(--ccc-warn-bg) !important;
}

body.cc-claude .cc-weekly .cc-weekly__spotlight:nth-child(1) h3,
body.cc-claude .cc-weekly .cc-weekly__spotlight:nth-child(3) h3 {
  color: var(--ccc-good) !important;
}

body.cc-claude .cc-weekly .cc-weekly__spotlight:nth-child(4) h3 {
  color: var(--ccc-warn) !important;
}

body.cc-claude .cc-weekly .cc-weekly__spotlight h3 {
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

body.cc-claude .cc-weekly .cc-weekly__spotlight p {
  margin: 0 !important;
}

/* Ranking de cadenas con barras (anchura calculada en claude.js) */
body.cc-claude .cc-weekly .cc-weekly__ranking > .wp-block-group__inner-container,
body.cc-claude .cc-weekly .cc-weekly__ranking:not(:has(> .wp-block-group__inner-container)) {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank > .wp-block-group__inner-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: baseline !important;
  column-gap: 12px !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank-label {
  font-family: var(--ccc-body) !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  margin: 0 !important;
  color: var(--ccc-ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank-price {
  margin: 0 !important;
  font-family: var(--ccc-head) !important;
  font-weight: 800 !important;
  font-size: clamp(20px, 3vw, 26px) !important;
  color: var(--ccc-ink) !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank-price strong {
  font-weight: 800 !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank > .wp-block-group__inner-container::after {
  content: "";
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  height: 12px !important;
  margin-top: 6px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(var(--ccc-bar), var(--ccc-bar)) left / var(--cc-bar, 100%) 100% no-repeat,
    #eef1f5 !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank--winner > .wp-block-group__inner-container::after {
  background:
    linear-gradient(var(--ccc-good), var(--ccc-good)) left / var(--cc-bar, 100%) 100% no-repeat,
    #eef1f5 !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank > .wp-block-group__inner-container > p:not(.cc-weekly__rank-label):not(.cc-weekly__rank-price) {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  margin: 6px 0 0 !important;
  font-size: 15px !important;
  color: var(--ccc-muted) !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank:not(.cc-weekly__rank--winner) > .wp-block-group__inner-container > p:not(.cc-weekly__rank-label):not(.cc-weekly__rank-price) strong {
  color: var(--ccc-warn) !important;
}

body.cc-claude .cc-weekly .cc-weekly__rank--winner .cc-weekly__rank-label::after {
  content: "Más barata";
  display: inline-block !important;
  margin-left: 8px !important;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  background: var(--ccc-good-bg) !important;
  color: var(--ccc-good) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  vertical-align: 2px !important;
}

/* Notas y tarjetas que antes eran azul oscuro: ahora claras */
body.cc-claude .cc-weekly .cc-weekly__not-deal,
body.cc-claude .cc-weekly .cc-weekly__basket-note,
body.cc-claude .cc-weekly .cc-weekly__changes-card,
body.cc-claude .cc-weekly .cc-weekly__purchase-note {
  background: var(--ccc-ground) !important;
  color: var(--ccc-ink) !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  display: block !important;
}

body.cc-claude .cc-weekly .cc-weekly__not-deal :where(h2, h3, p, li, strong, a) {
  color: var(--ccc-ink) !important;
}

body.cc-claude .cc-weekly .cc-weekly__basket-note {
  margin-top: 18px !important;
  font-size: 15px !important;
}

body.cc-claude .cc-weekly .cc-weekly__changes-card {
  background: transparent !important;
  padding: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__purchase-note {
  background: var(--ccc-warn-bg) !important;
}

body.cc-claude .cc-weekly .cc-weekly__purchase-note h3 {
  color: var(--ccc-warn) !important;
}

body.cc-claude .cc-weekly .cc-weekly__purchase-note p {
  margin: 0 !important;
  padding: 10px 0 !important;
  border-top: 1px solid rgba(154, 74, 16, 0.18) !important;
}

body.cc-claude .cc-weekly .cc-weekly__purchase-note h3 + p {
  border-top: 0 !important;
}

/* Cambios detectados: filas sencillas */
body.cc-claude .cc-weekly .cc-weekly__findings {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin-top: 8px !important;
}

body.cc-claude .cc-weekly .cc-weekly__finding {
  display: block !important;
  padding: 14px 0 !important;
  border-top: 1px solid var(--ccc-line) !important;
  color: var(--ccc-ink) !important;
  background: transparent !important;
}

body.cc-claude .cc-weekly .cc-weekly__finding:first-child {
  border-top: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__finding :where(h3, p) {
  color: var(--ccc-ink) !important;
}

body.cc-claude .cc-weekly .cc-weekly__finding p {
  margin: 0 !important;
}

/* Texto oscuro garantizado en tarjetas claras (gana a los ajustes por entrada) */
html body.cc-claude article.cc-weekly .cc-weekly__changes-card :is(h2, h3, h4, p, li, strong, span, a),
html body.cc-claude article.cc-weekly .cc-weekly__findings :is(h3, h4, p, li, strong, span, a),
html body.cc-claude article.cc-weekly .cc-weekly__basket-note :is(p, strong, span, a),
html body.cc-claude article.cc-weekly .cc-weekly__purchase-note :is(p, strong, span, a),
html body.cc-claude article.cc-weekly .cc-weekly__lesson :is(p, strong, span, a) {
  color: var(--ccc-ink) !important;
}
html body.cc-claude article.cc-weekly .cc-weekly__purchase-note :is(h3),
html body.cc-claude article.cc-weekly .cc-weekly__lesson:nth-child(2) :is(h3) { color: var(--ccc-warn) !important; }
html body.cc-claude article.cc-weekly .cc-weekly__lesson:nth-child(1) :is(h3) { color: var(--ccc-good) !important; }
html body.cc-claude article.cc-weekly .cc-weekly__lesson:nth-child(3) :is(h3) { color: var(--ccc-brand) !important; }
html body.cc-claude article.cc-weekly .cc-weekly__changes-card :is(h2, h3) { color: var(--ccc-ink) !important; }
html body.cc-claude article.cc-weekly .cc-weekly__changes-card > .wp-block-group__inner-container,
html body.cc-claude article.cc-weekly .cc-weekly__changes-card .cc-weekly__finding,
html body.cc-claude article.cc-weekly .cc-weekly__changes-card .cc-weekly__findings > .wp-block-group__inner-container {
  background: transparent !important;
  border-color: var(--ccc-line) !important;
  padding-inline: 0 !important;
}

html body.cc-claude article.cc-weekly .cc-weekly__signup :is(p, label, span, a) { color: var(--ccc-ink) !important; }
html body.cc-claude article.cc-weekly .cc-weekly__signup .cc-weekly__privacy,
html body.cc-claude article.cc-weekly .cc-weekly__signup .cc-weekly__privacy a { color: var(--ccc-muted) !important; font-size: 13px !important; }
html body.cc-claude article.cc-weekly .cc-weekly__signup .cc-weekly__privacy a { color: var(--ccc-brand) !important; }

/* Sin rellenos heredados en los contenedores internos de bloques */
html body.cc-claude article.cc-weekly .wp-block-group__inner-container { padding: 0 !important; }
html body.cc-claude article.cc-weekly { margin-inline: 0 !important; width: 100% !important; max-width: none !important; }
body.cc-claude.single-post:has(.cc-weekly) .inside-article { padding: 0 !important; }
html body.cc-claude article.cc-weekly .cc-weekly__offers-table { min-width: 0 !important; }

html body.cc-claude article.cc-weekly .cc-weekly__quick-grid .cc-weekly__spotlight,
html body.cc-claude article.cc-weekly .cc-weekly__spotlights .cc-weekly__spotlight {
  border: 0 !important;
  box-shadow: none !important;
}

/* Tabla de ofertas */
body.cc-claude .cc-weekly .cc-weekly__offers-table-wrap {
  overflow-x: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--ccc-line) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table th {
  background: var(--ccc-brand-dark) !important;
  color: #fff !important;
  font-family: var(--ccc-head) !important;
  font-size: 14px !important;
  text-align: left !important;
  padding: 12px 14px !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table td {
  padding: 12px 14px !important;
  border-top: 1px solid var(--ccc-line) !important;
  color: var(--ccc-ink) !important;
  background: #fff !important;
  vertical-align: top !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table td:nth-child(3) {
  color: var(--ccc-good) !important;
  font-weight: 700 !important;
}

body.cc-claude .cc-weekly .cc-weekly__source {
  font-size: 14px !important;
  color: var(--ccc-muted) !important;
  margin-top: 10px !important;
}

/* Bajadas permanentes */
body.cc-claude .cc-weekly .cc-weekly__offers {
  display: block !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers > .wp-block-group__inner-container,
body.cc-claude .cc-weekly .cc-weekly__offers:not(:has(> .wp-block-group__inner-container)) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.cc-claude .cc-weekly .cc-weekly__offer {
  background: var(--ccc-ground) !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 16px !important;
  display: block !important;
  color: var(--ccc-ink) !important;
}

body.cc-claude .cc-weekly .cc-weekly__offer--lead {
  background: var(--ccc-good-bg) !important;
}

body.cc-claude .cc-weekly .cc-weekly__offer-price {
  font-family: var(--ccc-head) !important;
  font-weight: 800 !important;
  font-size: 24px !important;
  margin: 4px 0 !important;
  color: var(--ccc-ink) !important;
}

body.cc-claude .cc-weekly .cc-weekly__offer p {
  margin-bottom: 0 !important;
}

/* Recomendación: verde, naranja y azul */
body.cc-claude .cc-weekly .cc-weekly__lesson {
  background: var(--ccc-info-bg) !important;
  color: var(--ccc-ink) !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
}

body.cc-claude .cc-weekly .cc-weekly__lesson :where(h3, p) {
  color: var(--ccc-ink) !important;
}

body.cc-claude .cc-weekly .cc-weekly__lesson p {
  margin: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__lesson:nth-child(1) {
  background: var(--ccc-good-bg) !important;
}

body.cc-claude .cc-weekly .cc-weekly__lesson:nth-child(1) h3 {
  color: var(--ccc-good) !important;
}

body.cc-claude .cc-weekly .cc-weekly__lesson:nth-child(2) {
  background: var(--ccc-warn-bg) !important;
}

body.cc-claude .cc-weekly .cc-weekly__lesson:nth-child(2) h3 {
  color: var(--ccc-warn) !important;
}

body.cc-claude .cc-weekly .cc-weekly__lesson:nth-child(3) h3 {
  color: var(--ccc-brand) !important;
}

/* Método */
body.cc-claude .cc-weekly .cc-weekly__method {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.cc-claude .cc-weekly .cc-weekly__section:has(.cc-weekly__method) .cc-weekly__inner {
  padding-block: 6px !important;
}

body.cc-claude .cc-weekly .cc-weekly__method summary {
  font-family: var(--ccc-body) !important;
  font-weight: 700 !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  color: var(--ccc-ink) !important;
}

/* Bloque del boletín */
body.cc-claude .cc-weekly .cc-weekly__cta {
  padding-bottom: 32px !important;
}

body.cc-claude .cc-weekly .cc-weekly__cta-grid {
  background: var(--ccc-brand) !important;
  border: 0 !important;
  border-radius: var(--ccc-radius) !important;
  padding: clamp(22px, 4vw, 40px) !important;
}

body.cc-claude .cc-weekly .cc-weekly__cta :where(h2, p) {
  color: #fff !important;
}

body.cc-claude .cc-weekly .cc-weekly__cta .cc-weekly__eyebrow {
  color: var(--ccc-cyan-soft) !important;
}

body.cc-claude .cc-weekly .cc-weekly__cta .sib-form {
  background: transparent !important;
  padding: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__cta .sib-form-container,
body.cc-claude .cc-weekly .cc-weekly__cta #sib-container {
  background: #fff !important;
  border-radius: 14px !important;
}

body.cc-claude .cc-weekly .cc-weekly__cta #sib-container button,
body.cc-claude .cc-weekly .cc-weekly__cta .sib-form-block__button {
  background: var(--ccc-cyan) !important;
  color: #0e2240 !important;
  font-family: var(--ccc-head) !important;
  font-weight: 800 !important;
  min-height: 48px !important;
  border-radius: 10px !important;
}

body.cc-claude .cc-weekly .cc-weekly__privacy,
body.cc-claude .cc-weekly .cc-weekly__privacy a {
  color: #c9d7ea !important;
  font-size: 13px !important;
}

/* Boletín corto que claude.js inserta tras el ranking */
body.cc-claude .ccc-inline-cta {
  margin-top: 18px;
  background: var(--ccc-brand-dark);
  color: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.cc-claude .ccc-inline-cta strong { font-family: var(--ccc-head); font-size: 17px; color: #fff; }

body.cc-claude .ccc-inline-cta span { display: block; font-size: 15px; color: #d5e0ef; }

body.cc-claude .ccc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--ccc-cyan);
  color: #0e2240;
  font-family: var(--ccc-head);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

body.cc-claude .ccc-btn:hover { background: #69cbe0; color: #0e2240; }

body.cc-claude .ccc-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6); }

body.cc-claude .ccc-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ===== Móvil ===== */
@media (max-width: 700px) {body.cc-claude .cc-weekly .cc-weekly__spotlights > .wp-block-group__inner-container,
body.cc-claude .cc-weekly .cc-weekly__spotlights:not(:has(> .wp-block-group__inner-container)),
body.cc-claude .cc-weekly .cc-weekly__offers > .wp-block-group__inner-container,
body.cc-claude .cc-weekly .cc-weekly__offers:not(:has(> .wp-block-group__inner-container)) {
  grid-template-columns: minmax(0, 1fr) !important;
}

  /* La tabla se convierte en tarjetas (etiquetas puestas por claude.js) */
body.cc-claude .cc-weekly .cc-weekly__offers-table,
body.cc-claude .cc-weekly .cc-weekly__offers-table tbody,
body.cc-claude .cc-weekly .cc-weekly__offers-table tr,
body.cc-claude .cc-weekly .cc-weekly__offers-table td {
  display: block !important;
  width: 100% !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table {
  border: 0 !important;
  border-radius: 0 !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table thead {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table tr {
  border: 1px solid var(--ccc-line) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  margin-bottom: 10px !important;
  background: #fff !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table td {
  border: 0 !important;
  padding: 2px 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 12px !important;
  text-align: right !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table td:first-child {
  font-weight: 700 !important;
  text-align: left !important;
  padding-bottom: 6px !important;
}

body.cc-claude .cc-weekly .cc-weekly__offers-table td[data-label]:not(:first-child)::before {
  content: attr(data-label);
  font-weight: 400 !important;
  color: var(--ccc-muted) !important;
  text-align: left !important;
}
}

@media (prefers-reduced-motion: reduce) {
  body.cc-claude * { scroll-behavior: auto !important; transition: none !important; }
}

/* ===== Portada (front-page.php) ===== */

body.cc-claude.home .site-content { display: block; }

body.cc-claude .ccc-home-area { width: 100%; float: none; max-width: none; }

body.cc-claude .ccc-home { margin: 0; }

body.cc-claude.home .inside-article,
body.cc-claude.home .site-main { padding: 0; margin: 0; }

body.cc-claude .ccc-wrap { max-width: 1080px; margin-inline: auto; padding-inline: 16px; }

body.cc-claude .ccc-stack { display: flex; flex-direction: column; gap: 28px; padding-bottom: 48px; }

body.cc-claude .ccc-hero {
  background: var(--ccc-brand);
  color: #fff;
  margin-inline: calc(50% - 50vw);
  padding: clamp(36px, 7vw, 88px) 0 clamp(64px, 9vw, 112px);
}

body.cc-claude .ccc-hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 17ch;
  margin: 10px 0 16px;
}

body.cc-claude .ccc-hero__lede { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: #e3ecf7; max-width: 52ch; margin: 0 0 24px; }

body.cc-claude .ccc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

body.cc-claude .ccc-eyebrow {
  font-family: var(--ccc-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ccc-muted);
  margin: 0 0 6px;
}

body.cc-claude .ccc-eyebrow--light { color: var(--ccc-cyan-soft); }

body.cc-claude .ccc-card {
  background: var(--ccc-card);
  border-radius: var(--ccc-radius);
  box-shadow: var(--ccc-shadow);
  padding: clamp(20px, 4vw, 36px);
}

body.cc-claude .ccc-card h2,
body.cc-claude .ccc-section-title {
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ccc-ink);
}

body.cc-claude .ccc-week { margin-top: -48px; position: relative; }

body.cc-claude .ccc-ranking { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }

body.cc-claude .ccc-ranking__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; margin: 0; }

body.cc-claude .ccc-ranking__name { font-weight: 700; font-size: 19px; }

body.cc-claude .ccc-ranking__price { font-family: var(--ccc-head); font-weight: 800; font-size: clamp(20px, 3vw, 26px); }

body.cc-claude .ccc-ranking__bar { grid-column: 1 / -1; height: 12px; margin-top: 6px; border-radius: 999px; background: #eef1f5; overflow: hidden; }

body.cc-claude .ccc-ranking__bar span { display: block; height: 100%; border-radius: 999px; background: var(--ccc-bar); }

body.cc-claude .ccc-ranking__row.is-winner .ccc-ranking__bar span { background: var(--ccc-good); }

body.cc-claude .ccc-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ccc-good-bg);
  color: var(--ccc-good);
  font-size: 12px;
  font-weight: 700;
  vertical-align: 2px;
}

body.cc-claude .ccc-note { font-size: 15px; color: var(--ccc-muted); margin: 14px 0 22px; }

body.cc-claude .ccc-week__title { font-size: 20px; font-weight: 700; margin: 0 0 8px; padding-top: 18px; border-top: 1px solid var(--ccc-line); }

body.cc-claude .ccc-week__title a { color: var(--ccc-ink); text-decoration: none; }

body.cc-claude .ccc-week__title a:hover { color: var(--ccc-brand); }

body.cc-claude .ccc-link { font-weight: 700; color: var(--ccc-brand); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }

body.cc-claude .ccc-link:hover { text-decoration: underline; }

body.cc-claude .ccc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

body.cc-claude .ccc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

body.cc-claude .ccc-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--ccc-card);
  border-radius: var(--ccc-radius);
  box-shadow: var(--ccc-shadow);
  padding: 20px;
  color: var(--ccc-ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.cc-claude .ccc-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20, 33, 61, 0.12); color: var(--ccc-ink); }

body.cc-claude .ccc-tile__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ccc-info-bg); color: var(--ccc-brand); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }

body.cc-claude .ccc-tile__title { font-family: var(--ccc-head); font-weight: 800; font-size: 18px; }

body.cc-claude .ccc-tile__text { font-size: 15px; color: var(--ccc-muted); line-height: 1.45; }

body.cc-claude .ccc-signup {
  background: var(--ccc-brand);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

body.cc-claude .ccc-signup h2 { color: #fff; }

body.cc-claude .ccc-signup p { color: #e3ecf7; margin: 0; }

body.cc-claude .ccc-signup__form { background: #fff; color: var(--ccc-ink); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }

body.cc-claude .ccc-signup__form label { font-weight: 700; font-size: 15px; }

body.cc-claude .ccc-signup__form input[type="email"] {
  height: 48px;
  border: 1px solid #b8c4d6;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 16px;
  font-family: var(--ccc-body);
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: var(--ccc-ink);
}

body.cc-claude .ccc-signup__form .ccc-btn { width: 100%; min-height: 50px; }

body.cc-claude .ccc-signup__legal { font-size: 13px; color: var(--ccc-muted) !important; }

body.cc-claude .ccc-signup__legal a { color: var(--ccc-brand); }

body.cc-claude .ccc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

body.cc-claude .ccc-post { background: var(--ccc-card); border-radius: var(--ccc-radius); box-shadow: var(--ccc-shadow); overflow: hidden; display: flex; flex-direction: column; }

body.cc-claude .ccc-post__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: auto; }

body.cc-claude .ccc-post__body { padding: 16px 18px 20px; }

body.cc-claude .ccc-post__date { font-size: 14px; color: var(--ccc-muted); margin: 0 0 4px; }

body.cc-claude .ccc-post h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; }

body.cc-claude .ccc-post h3 a { color: var(--ccc-ink); text-decoration: none; }

body.cc-claude .ccc-post h3 a:hover { color: var(--ccc-brand); }

body.cc-claude .ccc-about p { max-width: 68ch; }

body.cc-claude .ccc-manifesto { margin-top: 12px; border-top: 1px solid var(--ccc-line); }

body.cc-claude .ccc-manifesto summary { cursor: pointer; font-weight: 700; color: var(--ccc-brand); min-height: 48px; display: flex; align-items: center; }

body.cc-claude .ccc-manifesto__body { max-width: 68ch; color: var(--ccc-ink); background: transparent; }

body.cc-claude .ccc-manifesto__body :where(p, li) { color: var(--ccc-ink); font-size: 17px; }

body.cc-claude .ccc-manifesto__body img { max-width: 240px; height: auto; }

body.cc-claude .ccc-social { text-align: center; }

body.cc-claude .ccc-social p { color: var(--ccc-muted); margin: 0 0 14px; }

body.cc-claude .ccc-social__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

body.cc-claude .ccc-social__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--ccc-card); box-shadow: var(--ccc-shadow);
  color: var(--ccc-brand); font-weight: 700; text-decoration: none;
}

body.cc-claude .ccc-social__list a:hover { background: var(--ccc-info-bg); }

@media (max-width: 900px) {
  body.cc-claude .ccc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

body.cc-claude .ccc-grid--3 { grid-template-columns: minmax(0, 1fr); }

body.cc-claude .ccc-signup { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body.cc-claude .ccc-grid { grid-template-columns: minmax(0, 1fr); }

body.cc-claude .ccc-actions .ccc-btn { width: 100%; }
}


/* Entrada semanal: la franja azul de portada ocupa todo el ancho de la pantalla. */
body.cc-claude.single-post:has(.cc-weekly) #page,
body.cc-claude.single-post:has(.cc-weekly) .site-content,
body.cc-claude.single-post:has(.cc-weekly) .content-area {
  max-width: none !important;
  width: 100% !important;
}


/* ===== Fondo azul de marca en entrada semanal y portada (tarjetas blancas encima) ===== */
html body.cc-claude.single-post:has(.cc-weekly),
html body.cc-claude.home {
  background: var(--ccc-brand) !important;
}
html body.cc-claude.single-post:has(.cc-weekly) :is(#page, .site-content, .content-area, .site-main, .inside-article, .entry-content),
html body.cc-claude.home :is(#page, .site-content, .content-area, .site-main, .inside-article),
html body.cc-claude article.cc-weekly {
  background: transparent !important;
}

/* Entrada semanal: más aire entre tarjetas */
html body.cc-claude article.cc-weekly .cc-weekly__editorial .cc-weekly__inner,
html body.cc-claude article.cc-weekly .cc-weekly__section .cc-weekly__inner {
  margin-bottom: 22px !important;
  box-shadow: 0 6px 20px rgba(8, 24, 52, 0.18) !important;
}
html body.cc-claude article.cc-weekly .cc-weekly__hero { padding-bottom: clamp(52px, 7vw, 84px) !important; }

/* Bloque del boletín: azul más oscuro con borde para que no se pierda en el fondo */
html body.cc-claude article.cc-weekly .cc-weekly__cta { padding-bottom: 48px !important; }
html body.cc-claude article.cc-weekly .cc-weekly__cta-grid {
  background: var(--ccc-brand-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* Portada */
body.cc-claude.home .ccc-stack { gap: 32px; padding-bottom: 64px; }
body.cc-claude.home .ccc-section-title { color: #fff; }
body.cc-claude.home .ccc-social p { color: var(--ccc-cyan-soft); }
body.cc-claude.home .ccc-signup {
  background: var(--ccc-brand-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
body.cc-claude.home :is(.ccc-card, .ccc-tile, .ccc-post) { box-shadow: 0 6px 20px rgba(8, 24, 52, 0.18); }


/* Desplegables ("Cómo hacemos la comparación", manifiesto): flecha en círculo a la derecha en lugar del "+" */
html body.cc-claude article.cc-weekly .cc-weekly__method summary,
html body.cc-claude .ccc-manifesto summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  list-style: none !important;
}
html body.cc-claude article.cc-weekly .cc-weekly__method summary::-webkit-details-marker,
html body.cc-claude .ccc-manifesto summary::-webkit-details-marker { display: none; }
html body.cc-claude article.cc-weekly .cc-weekly__method summary::before,
html body.cc-claude .ccc-manifesto summary::before { content: none !important; }
html body.cc-claude article.cc-weekly .cc-weekly__method summary::after,
html body.cc-claude .ccc-manifesto summary::after {
  content: "" !important;
  flex: none !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 0 0 auto !important;
  border-radius: 50% !important;
  font-size: 0 !important;
  background: var(--ccc-info-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23244e8a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}
html body.cc-claude article.cc-weekly .cc-weekly__method summary:hover::after,
html body.cc-claude .ccc-manifesto summary:hover::after { background-color: #cfdcef !important; }
html body.cc-claude article.cc-weekly .cc-weekly__method[open] > summary::after,
html body.cc-claude .ccc-manifesto[open] > summary::after { transform: rotate(180deg) !important; }


/* Portada: titular y entradilla ocupan todo el ancho de la columna */
body.cc-claude .ccc-hero h1,
body.cc-claude .ccc-hero__lede { max-width: none; }
body.cc-claude.home #page,
body.cc-claude.home .site-content,
body.cc-claude.home .content-area { max-width: none !important; width: 100% !important; }
body.cc-claude.home .ccc-hero { margin-inline: 0; }

/* Portada: "Quiénes somos" y manifiesto ocupan todo el ancho de la tarjeta */
body.cc-claude .ccc-about p,
body.cc-claude .ccc-manifesto__body { max-width: none; }

/* ===== Resto de páginas (Actualidad, archivos, entradas normales, páginas) ===== */
/* Mismo estilo que portada y entrada semanal: fondo azul y contenido en tarjetas blancas.
   No afecta a las páginas con diseño propio (landing y comparador). */
html body.cc-claude:not(.home):not(:has(.cc-weekly, .cc-landing, .cc-comparator)) {
  background: var(--ccc-brand) !important;
}
body.cc-claude:not(.home):not(:has(.cc-weekly, .cc-landing, .cc-comparator)) :is(#page, .site-content, .content-area, .site-main) {
  background: transparent !important;
}
body.cc-claude:not(.home):not(:has(.cc-weekly, .cc-landing, .cc-comparator)) .site-main > :is(article, .page-header, .paging-navigation, .comments-area) > :is(.inside-article, .inside-page-header, .nav-links, .comments-area),
body.cc-claude:not(.home):not(:has(.cc-weekly, .cc-landing, .cc-comparator)) .site-main > .page-header,
body.cc-claude:not(.home):not(:has(.cc-weekly, .cc-landing, .cc-comparator)) .site-main > .paging-navigation,
body.cc-claude:not(.home):not(:has(.cc-weekly, .cc-landing, .cc-comparator)) .site-main > .comments-area {
  background: var(--ccc-card) !important;
  color: var(--ccc-ink) !important;
  border-radius: var(--ccc-radius);
  box-shadow: 0 6px 20px rgba(8, 24, 52, 0.18);
  padding: clamp(20px, 4vw, 40px) !important;
}
body.cc-claude:not(.home):not(:has(.cc-weekly, .cc-landing, .cc-comparator)) .site-main > * { margin-bottom: 24px; }

/* Títulos y enlaces legibles dentro de las tarjetas */
body.cc-claude .inside-article :is(.entry-title, .entry-title a),
body.cc-claude .page-header :is(h1, .page-title) {
  color: var(--ccc-ink) !important;
  font-family: var(--ccc-head);
  font-weight: 800;
  line-height: 1.2;
}
body.cc-claude .inside-article .entry-title a:hover { color: var(--ccc-brand) !important; }
body.cc-claude .inside-article .entry-title { font-size: clamp(24px, 3.4vw, 34px); }
body.cc-claude.single .inside-article .entry-title,
body.cc-claude.page .inside-article .entry-title { font-size: clamp(28px, 4.4vw, 44px); }
body.cc-claude .inside-article :is(.entry-content, .entry-summary) a:not(.wp-block-button__link):not(.ccc-btn),
body.cc-claude .inside-article .read-more,
body.cc-claude .paging-navigation a,
body.cc-claude .comments-area a {
  color: var(--ccc-brand) !important;
  font-weight: 600;
}
body.cc-claude .inside-article .read-more:hover { text-decoration: underline; }
body.cc-claude .inside-article .entry-meta,
body.cc-claude .inside-article .entry-meta a { color: var(--ccc-muted) !important; font-size: 15px; }
body.cc-claude .inside-article :is(.post-image, .featured-image) img { border-radius: 12px; }

/* Barra lateral: se oculta si está vacía (solo tiene una imagen sin archivo) y el contenido ocupa todo el ancho */
body.cc-claude .widget:has(> img:not([src])):not(:has(img[src], p, a, li, form, h2, h3)) { display: none !important; }
body.cc-claude #right-sidebar:not(:has(img[src], p, a, li, form, h2, h3)) { display: none !important; }
body.cc-claude .site-content:not(:has(#right-sidebar :is(img[src], p, a, li, form, h2, h3))) > #primary {
  width: 100% !important;
  max-width: 920px;
  float: none;
  margin-inline: auto;
}
body.cc-claude .inside-right-sidebar .widget {
  background: var(--ccc-card) !important;
  color: var(--ccc-ink) !important;
  border-radius: var(--ccc-radius);
}
body.cc-claude .inside-right-sidebar .widget a { color: var(--ccc-brand) !important; }

/* ===== Actualidad, categorías y búsquedas (claude/news.php) ===== */
html body.cc-claude:has(.ccc-news) { background: var(--ccc-brand) !important; }
body.cc-claude:has(.ccc-news) :is(#page, .site-content, .content-area, .site-main) { background: transparent !important; }
body.cc-claude:has(.ccc-news) #page,
body.cc-claude:has(.ccc-news) .site-content,
body.cc-claude .ccc-news-area { max-width: none !important; width: 100% !important; float: none !important; padding: 0 !important; }
body.cc-claude:has(.ccc-news) #right-sidebar { display: none !important; }
body.cc-claude .ccc-news { margin: 0 !important; }

body.cc-claude .ccc-news__wrap { max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
body.cc-claude .ccc-news__head { padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 4vw, 40px); color: #fff; }
body.cc-claude .ccc-news__title {
  color: #fff; font-family: var(--ccc-head); font-weight: 800;
  font-size: clamp(36px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.02em; margin: 6px 0 12px;
}
body.cc-claude .ccc-news__intro { color: #e3ecf7; font-size: clamp(17px, 2vw, 20px); max-width: 60ch; margin: 0 0 22px; }

/* Filtros por tema */
body.cc-claude .ccc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.cc-claude .ccc-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
  color: #fff; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition: background-color 0.15s ease, color 0.15s ease;
}
body.cc-claude .ccc-chip:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
body.cc-claude .ccc-chip.is-active { background: #fff; color: var(--ccc-brand); box-shadow: none; }

body.cc-claude .ccc-news__body { display: flex; flex-direction: column; gap: 28px; padding-bottom: 64px; }

/* Tarjeta de noticia */
body.cc-claude .ccc-story {
  display: flex; flex-direction: column; background: var(--ccc-card); border-radius: 18px;
  overflow: hidden; box-shadow: 0 6px 20px rgba(8, 24, 52, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease; margin: 0;
}
body.cc-claude .ccc-story:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(8, 24, 52, 0.28); }
body.cc-claude .ccc-story__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ccc-info-bg); }
body.cc-claude .ccc-story__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
body.cc-claude .ccc-story:hover .ccc-story__media img { transform: scale(1.04); }
body.cc-claude .ccc-story__media.is-empty { display: flex; align-items: center; justify-content: center; }
body.cc-claude .ccc-story__placeholder { font-family: var(--ccc-head); font-weight: 800; font-size: 40px; color: var(--ccc-brand); opacity: 0.35; }
body.cc-claude .ccc-story__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; flex: 1; }
body.cc-claude .ccc-story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: 14px; color: var(--ccc-muted); }
body.cc-claude .ccc-story__cat {
  display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ccc-info-bg);
  color: var(--ccc-brand) !important; font-weight: 700; font-size: 13px; text-decoration: none;
}
body.cc-claude .ccc-story__cat:hover { background: #cfdcef; }
body.cc-claude .ccc-story__title { margin: 0; font-family: var(--ccc-head); font-weight: 800; font-size: 20px; line-height: 1.25; }
body.cc-claude .ccc-story__title a { color: var(--ccc-ink) !important; text-decoration: none; }
body.cc-claude .ccc-story__title a:hover { color: var(--ccc-brand) !important; }
body.cc-claude .ccc-story__title a::after { content: ""; position: absolute; inset: 0; }
body.cc-claude .ccc-story { position: relative; }
body.cc-claude .ccc-story__cat { position: relative; z-index: 1; }
body.cc-claude .ccc-story__excerpt { margin: 0; color: var(--ccc-muted); font-size: 16px; line-height: 1.5; }

/* Noticia principal */
body.cc-claude .ccc-story--lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
body.cc-claude .ccc-story--lead .ccc-story__media { aspect-ratio: auto; min-height: 340px; }
body.cc-claude .ccc-story--lead .ccc-story__body { padding: clamp(22px, 3vw, 40px); justify-content: center; gap: 14px; }
body.cc-claude .ccc-story--lead .ccc-story__title { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
body.cc-claude .ccc-story--lead .ccc-story__excerpt { font-size: 17px; }
body.cc-claude .ccc-story__cta { align-self: flex-start; margin-top: 6px; position: relative; z-index: 1; }

/* Rejilla */
body.cc-claude .ccc-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

/* Paginación */
body.cc-claude .ccc-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
body.cc-claude .ccc-pager :is(a, span) {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; font-weight: 700; text-decoration: none; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
body.cc-claude .ccc-pager a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
body.cc-claude .ccc-pager .current { background: #fff; color: var(--ccc-brand); box-shadow: none; }
body.cc-claude .ccc-pager .dots { box-shadow: none; }

body.cc-claude .ccc-news__signup { margin-top: 12px; }
body.cc-claude:has(.ccc-news) .ccc-signup { background: var(--ccc-brand-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }

@media (max-width: 960px) {
  body.cc-claude .ccc-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.cc-claude .ccc-story--lead { grid-template-columns: minmax(0, 1fr); }
  body.cc-claude .ccc-story--lead .ccc-story__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  body.cc-claude .ccc-news__grid { grid-template-columns: minmax(0, 1fr); }
  body.cc-claude .ccc-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  body.cc-claude .ccc-chip { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.cc-claude .ccc-story, body.cc-claude .ccc-story__media img { transition: none; }
  body.cc-claude .ccc-story:hover, body.cc-claude .ccc-story:hover .ccc-story__media img { transform: none; }
}

/* ===== Artículo individual (ccc_render_single_post) ===== */
html body.cc-claude:has(.ccc-article) { background: var(--ccc-brand) !important; }
body.cc-claude:has(.ccc-article) :is(#page, .site-content, .content-area, .site-main) { background: transparent !important; }
body.cc-claude:has(.ccc-article) #page,
body.cc-claude:has(.ccc-article) .site-content,
body.cc-claude .ccc-article-area { max-width: none !important; width: 100% !important; float: none !important; padding: 0 !important; }
body.cc-claude:has(.ccc-article) #right-sidebar { display: none !important; }
body.cc-claude .ccc-article-main { margin: 0 !important; padding-bottom: 64px; display: flex; flex-direction: column; gap: 48px; }

body.cc-claude .ccc-article__wrap { max-width: 820px; margin-inline: auto; padding-inline: 16px; box-sizing: content-box; }
body.cc-claude .ccc-article__wrap--wide { max-width: 1080px; }

/* Cabecera */
body.cc-claude .ccc-article__head { padding-top: clamp(28px, 5vw, 64px); color: #fff; }
body.cc-claude .ccc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
body.cc-claude .ccc-crumbs a { color: var(--ccc-cyan-soft) !important; text-decoration: none; }
body.cc-claude .ccc-crumbs a:hover { text-decoration: underline; }
body.cc-claude .ccc-crumbs span { color: rgba(255, 255, 255, 0.5); }
body.cc-claude .ccc-article__title {
  color: #fff !important; font-family: var(--ccc-head); font-weight: 800;
  font-size: clamp(32px, 5.2vw, 54px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 16px;
}
body.cc-claude .ccc-article__lede { color: #e3ecf7; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; margin: 0 0 18px; }
body.cc-claude .ccc-article__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: #c9d7ea; font-size: 15px; margin: 0; }
body.cc-claude .ccc-article__by { color: #fff; font-weight: 700; }

/* Imagen principal */
body.cc-claude .ccc-article__hero { margin-top: -16px; margin-bottom: -8px; }
body.cc-claude .ccc-article__hero img {
  display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover;
  border-radius: 20px; box-shadow: 0 14px 40px rgba(8, 24, 52, 0.35);
}
body.cc-claude .ccc-article__hero figcaption { color: #c9d7ea; font-size: 13px; margin-top: 8px; text-align: right; }

/* Cuerpo: compartir a la izquierda, texto en tarjeta */
body.cc-claude .ccc-article__layout { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; align-items: start; }
body.cc-claude .ccc-article__card {
  background: var(--ccc-card); color: var(--ccc-ink); border-radius: 20px;
  box-shadow: 0 6px 20px rgba(8, 24, 52, 0.18); padding: clamp(24px, 5vw, 64px);
}

/* Tipografía de lectura */
body.cc-claude .ccc-prose { max-width: 68ch; margin-inline: auto; font-size: clamp(18px, 1.6vw, 19px); line-height: 1.75; color: var(--ccc-ink); }
body.cc-claude .ccc-prose > * { margin-top: 0; margin-bottom: 1.15em; }
body.cc-claude .ccc-prose > p:first-child { font-size: 1.12em; line-height: 1.6; }
body.cc-claude .ccc-prose :is(p, li) { color: var(--ccc-ink) !important; font-size: inherit; }
body.cc-claude .ccc-prose :is(h2, h3, h4) { font-family: var(--ccc-head); font-weight: 800; color: var(--ccc-ink) !important; line-height: 1.25; letter-spacing: -0.01em; }
body.cc-claude .ccc-prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.8em; }
body.cc-claude .ccc-prose h3 { font-size: clamp(20px, 2.1vw, 23px); margin-top: 1.5em; }
body.cc-claude .ccc-prose a:not(.wp-block-button__link) { color: var(--ccc-brand) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
body.cc-claude .ccc-prose a:not(.wp-block-button__link):hover { color: var(--ccc-brand-dark) !important; }
body.cc-claude .ccc-prose :is(ul, ol) { padding-left: 1.3em; }
body.cc-claude .ccc-prose li { margin-bottom: 0.4em; }
body.cc-claude .ccc-prose li::marker { color: var(--ccc-brand); font-weight: 700; }
body.cc-claude .ccc-prose blockquote {
  margin-inline: 0; padding: 18px 22px; border-radius: 14px; background: var(--ccc-info-bg);
  border: 0; font-size: 1.05em; font-style: normal;
}
body.cc-claude .ccc-prose blockquote p:last-child { margin-bottom: 0; }
body.cc-claude .ccc-prose :is(img, video, iframe) { max-width: 100%; height: auto; border-radius: 14px; }
body.cc-claude .ccc-prose figure { margin-inline: 0; }
body.cc-claude .ccc-prose figcaption { font-size: 14px; color: var(--ccc-muted); text-align: center; margin-top: 6px; }
body.cc-claude .ccc-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
body.cc-claude .ccc-prose :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--ccc-line); text-align: left; }
body.cc-claude .ccc-prose th { background: var(--ccc-ground); font-weight: 700; }
body.cc-claude .ccc-prose hr { border: 0; height: 1px; background: var(--ccc-line); margin: 2em 0; }

/* Compartir */
body.cc-claude .ccc-share { display: flex; align-items: center; gap: 10px; }
body.cc-claude .ccc-share__label { font-size: 13px; font-weight: 700; color: var(--ccc-muted); text-transform: uppercase; letter-spacing: 0.08em; }
body.cc-claude .ccc-share__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--ccc-info-bg); color: var(--ccc-brand) !important; padding: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
body.cc-claude .ccc-share__btn:hover { background: #cfdcef; transform: translateY(-1px); }
body.cc-claude .ccc-share__btn.is-copied { background: var(--ccc-good-bg); color: var(--ccc-good) !important; }
body.cc-claude .ccc-share--side { flex-direction: column; position: sticky; top: 110px; padding-top: 8px; }
body.cc-claude .ccc-share--side .ccc-share__label { color: var(--ccc-cyan-soft); font-size: 11px; writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 4px; }
body.cc-claude .ccc-share--side .ccc-share__btn { background: rgba(255, 255, 255, 0.12); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
body.cc-claude .ccc-share--side .ccc-share__btn:hover { background: rgba(255, 255, 255, 0.22); }
body.cc-claude .ccc-article__foot {
  max-width: 68ch; margin: 36px auto 0; padding-top: 24px; border-top: 1px solid var(--ccc-line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}

/* Relacionados y boletín */
body.cc-claude .ccc-related__title { color: #fff !important; font-family: var(--ccc-head); font-weight: 800; font-size: clamp(24px, 3vw, 32px); margin: 0 0 18px; }
body.cc-claude .ccc-related .ccc-story__title { font-size: 18px; }
body.cc-claude .ccc-article__signup .ccc-signup { background: var(--ccc-brand-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }

/* Barra de progreso de lectura */
body.cc-claude .ccc-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 100000; pointer-events: none; }
body.admin-bar.cc-claude .ccc-progress { top: 32px; }
body.cc-claude .ccc-progress span { display: block; height: 100%; background: var(--ccc-cyan); transform-origin: 0 50%; transform: scaleX(0); }

@media (max-width: 900px) {
  body.cc-claude .ccc-article__layout { grid-template-columns: minmax(0, 1fr); }
  body.cc-claude .ccc-share--side { display: none; }
}
@media (max-width: 782px) { body.admin-bar.cc-claude .ccc-progress { top: 46px; } }
@media (max-width: 600px) {
  body.cc-claude .ccc-article__card { border-radius: 16px; padding: 22px 18px; }
  body.cc-claude .ccc-article__hero img { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.cc-claude .ccc-share__btn { transition: none; }
}

body.cc-claude .ccc-article__head { padding-bottom: 28px; }
body.cc-claude .ccc-article__hero { margin-top: 0; margin-bottom: 0; }
body.cc-claude .ccc-article__hero.is-small img { width: auto; max-width: 100%; margin-inline: auto; }
body.cc-claude .ccc-article__hero + .ccc-article__layout { margin-top: 28px; }
body.cc-claude .ccc-article__hero.is-small figcaption { text-align: center; }
@media (max-width: 600px) { body.cc-claude .ccc-article__meta span[aria-hidden] { display: none; } body.cc-claude .ccc-article__meta { gap: 2px 14px; } }

/* Mismo borde en todas las tarjetas (como las de la entrada semanal): esquinas de 16 px y sombra suave */
body.cc-claude :is(.ccc-story, .ccc-article__card, .ccc-card, .ccc-tile, .ccc-post, .ccc-signup) { border-radius: var(--ccc-radius) !important; }
body.cc-claude .ccc-article__hero img { border-radius: var(--ccc-radius) !important; box-shadow: 0 6px 20px rgba(8, 24, 52, 0.18) !important; }
body.cc-claude :is(.ccc-story, .ccc-article__card) { box-shadow: 0 6px 20px rgba(8, 24, 52, 0.18); }

/* Artículo: mismo margen interior que las tarjetas de la entrada semanal y texto a todo el ancho de la tarjeta */
body.cc-claude .ccc-article__card { padding: clamp(20px, 4vw, 36px) !important; }
body.cc-claude .ccc-prose,
body.cc-claude .ccc-article__foot { max-width: none !important; margin-inline: 0 !important; }

/* Actualidad: cabecera centrada y subtítulo en una línea */
body.cc-claude .ccc-news__head { text-align: center; }
body.cc-claude .ccc-news__intro { max-width: none; margin-inline: auto; }
body.cc-claude .ccc-news__head .ccc-chips { justify-content: center; }
@media (max-width: 600px) { body.cc-claude .ccc-news__head .ccc-chips { justify-content: flex-start; } }

/* ===== Los 40 Básicos y otras páginas del comparador (.cc-comparator) y landings (.cc-landing) ===== */
/* Ocupan todo el ancho (la regla de la barra lateral vacía las limitaba a 920 px) */
body.cc-claude:has(.cc-comparator, .cc-landing) .site-content > #primary { max-width: none !important; width: 100% !important; margin: 0 !important; float: none !important; }
body.cc-claude:has(.cc-comparator, .cc-landing) .inside-article { padding: 0 !important; }
html body.cc-claude.cc-comparator-page { background: var(--ccc-brand) !important; }
/* Cabecera y pie de la web visibles, como en el resto de páginas (el logo repetido del bloque azul se oculta) */
body.cc-claude.cc-comparator-page .site-header { display: block; }
body.cc-claude.cc-comparator-page #site-navigation { display: block; }
body.cc-claude.cc-comparator-page .site-footer { display: block; }
@media (max-width: 768px) {
  body.cc-claude.cc-comparator-page #mobile-header { display: none !important; }
}
body.cc-claude .cc-comparator__brand { display: none !important; }
/* Titular: puede partirse en dos líneas en lugar de salirse de la pantalla */
body.cc-claude .cc-comparator__hero h1 { white-space: normal !important; max-width: none !important; font-size: clamp(34px, 5.6vw, 76px) !important; line-height: 1.05 !important; }

/* Los 40 Básicos: fotos con el mismo tamaño visual (el recorte lo hace claude.js) */
body.cc-claude .cc-comparator__media { padding: 12px !important; min-height: 15.5rem; }
body.cc-claude .cc-comparator__media img { transform: none !important; max-height: 190px; }
body.cc-claude .cc-comparator__media img.is-trimmed { max-width: 100%; max-height: none; object-fit: contain; }

/* Los 40 Básicos: filtros en varias líneas, sin barra de desplazamiento */
@media (min-width: 901px) {
  body.cc-claude .cc-comparator__filters { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px !important; overflow: visible !important; padding-bottom: 4px; }
  body.cc-claude .cc-comparator__filters > * { width: 100%; margin: 0 !important; justify-content: center; text-align: center; white-space: nowrap; padding-inline: 8px !important; }
}
@media (max-width: 900px) {
  body.cc-claude .cc-comparator__filters { scrollbar-width: none; }
  body.cc-claude .cc-comparator__filters::-webkit-scrollbar { display: none; }
}

/* Los 40 Básicos: con un filtro activo (no "Todos") solo queda un call to action, arriba a la derecha */
body.cc-claude .cc-comparator:has(.cc-comparator__filters [aria-pressed="true"]:not([data-cc-filter="all"])) .cc-comparator__newsletter-card ~ .cc-comparator__newsletter-card { display: none !important; }
@media (min-width: 60.0625rem) {
  body.cc-claude .cc-comparator:has(.cc-comparator__filters [aria-pressed="true"]:not([data-cc-filter="all"])) .cc-comparator__grid { grid-auto-flow: row dense; }
  body.cc-claude .cc-comparator:has(.cc-comparator__filters [aria-pressed="true"]:not([data-cc-filter="all"])) .cc-comparator__newsletter-card { grid-column: 2; grid-row: 1; }
}
@media (max-width: 60rem) {
  body.cc-claude .cc-comparator:has(.cc-comparator__filters [aria-pressed="true"]:not([data-cc-filter="all"])) .cc-comparator__newsletter-card { order: 1; }
}

/* Los 40 Básicos: el menú lateral también se oculta en el CSS original de la página; lo recuperamos */
body.cc-claude.cc-comparator-page #generate-slideout-menu { display: block !important; }

/* Imágenes tipo tarjeta para compartir: enteras, con el azul de marca de fondo */
body.cc-claude img.is-share { object-fit: contain !important; background: #244E8A; }
body.cc-claude .has-share { background: #244E8A; }

/* Análisis semanal: su cabecera propia ya hace de portada; la imagen destacada solo se usa al compartir y en los listados */
body.cc-claude.single-post:has(.cc-weekly) .featured-image.page-header-image-single { display: none !important; }

/* ===== Comparativa semanal (página fija) y aviso de ediciones antiguas ===== */
body.cc-claude .ccc-hub__ranking { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 8px; }
body.cc-claude .ccc-hub__ranking li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--ccc-ground); font-weight: 600; color: var(--ccc-ink); }
body.cc-claude .ccc-hub__ranking li strong { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.1rem; }
body.cc-claude .ccc-hub__ranking li.is-winner { background: var(--ccc-good-bg); color: var(--ccc-good); }
body.cc-claude .ccc-hub__subtitle { color: #fff; font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 32px); margin: clamp(32px, 5vw, 56px) 0 18px; text-align: center; }
body.cc-claude .ccc-old-edition { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: 1100px; margin: 0 auto 24px; padding: 16px 20px; border-radius: var(--ccc-radius); background: var(--ccc-warn-bg); color: var(--ccc-warn); box-sizing: border-box; }
body.cc-claude .ccc-old-edition p { margin: 0; font-size: 1rem; line-height: 1.45; color: inherit; }
body.cc-claude .ccc-old-edition .ccc-btn { white-space: nowrap; }
@media (max-width: 600px) { body.cc-claude .ccc-old-edition { margin-inline: 16px; } body.cc-claude .ccc-old-edition .ccc-btn { width: 100%; text-align: center; white-space: normal; } }

/* Análisis semanal: mismo ancho que la comparativa semanal y Actualidad (1160 px de contenido) */
body.cc-claude .cc-weekly > .wp-block-group:not(.cc-weekly__hero) { max-width: 1184px !important; }
body.cc-claude .cc-weekly .cc-weekly__hero .cc-weekly__inner { max-width: 1200px !important; }
body.cc-claude .cc-weekly .cc-weekly__hero h1 { max-width: none !important; }
body.cc-claude .ccc-old-edition { max-width: 1160px; }

/* Análisis semanal: tarjetas de ofertas a la altura de su contenido y texto explicativo más legible */
body.cc-claude .cc-weekly .cc-weekly__offer { min-height: 0 !important; }
body.cc-claude .cc-weekly .cc-weekly__offer p:not(.cc-weekly__offer-price) { font-size: 15px !important; line-height: 1.45 !important; }
