:root {
  --rcs-azul-brujula: #163B4D;
  --rcs-coral: #E87A67;
  --rcs-marfil: #FAF8F5;
  --rcs-salvia: #A7B8A0;
  --rcs-gris: #66707A;
  --rcs-blanco: #FFFFFF;
  --rcs-font-title: 'Fraunces', serif;
  --rcs-font-body: "Inter", sans-serif;
  --rcs-radius: 18px;
  --rcs-shadow: 0 12px 30px rgba(22, 59, 77, 0.10);
}

.rcs-taxonomy {
  background: var(--rcs-marfil);
  color: var(--rcs-azul-brujula);
  font-family: var(--rcs-font-body);
}

.rcs-tax-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.rcs-tax-section {
  padding: 60px 0;
}

/* HERO */
.rcs-tax-hero {
  padding: 0 0 28px;
  background:
    radial-gradient(circle at top right, rgba(232, 122, 103, 0.16), transparent 32%),
    linear-gradient(135deg, var(--rcs-marfil), #ffffff);
}

.rcs-tax-hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 500px;
  padding: 65px 56px;
  overflow: hidden;
  border-radius: 30px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  box-shadow: var(--rcs-shadow);
}

.rcs-tax-hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(250, 248, 245, 1) 0%, rgba(250, 248, 245, 0.98) 18%, rgba(250, 248, 245, 0.9) 32%, rgba(250, 248, 245, 0.72) 48%, rgba(250, 248, 245, 0.28) 66%, rgba(250, 248, 245, 0.05) 84%, rgba(250, 248, 245, 0) 100%);
  pointer-events: none;
}

.rcs-tax-hero-grid > div:first-child {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
}

.rcs-tax-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(167, 184, 160, 0.22);
  color: var(--rcs-azul-brujula);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rcs-tax-hero h1 {
  margin: 0;
  color: var(--rcs-azul-brujula);
  font-family: var(--rcs-font-title);
  font-size: clamp(3rem, 6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.rcs-tax-hero h1 em {
  color: var(--rcs-coral);
  font-style: italic;
}

.rcs-tax-subtitle {
  max-width: 620px;
  margin-top: 18px;
  color: #44566a;
  font-size: 18px;
  line-height: 1.6;
}

.rcs-tax-subtitle p:last-child {
  margin-bottom: 0;
}

/* BLOQUES */
.rcs-tax-card,
.rcs-tax-guide,
.rcs-tax-content,
.rcs-tax-tips,
.rcs-tax-faq,
.rcs-tax-cta,
.rcs-tax-empty {
  border-radius: var(--rcs-radius);
  background: var(--rcs-blanco);
  box-shadow: var(--rcs-shadow);
  width: 100%;
  box-sizing: border-box;
}

.rcs-tax-card,
.rcs-tax-content,
.rcs-tax-tips,
.rcs-tax-faq,
.rcs-tax-empty {
  padding: clamp(22px, 5vw, 42px);
  max-width: 1200px;
  margin: 0 auto;
}

.rcs-tax-intro {
  font-size: 1.05rem;
  line-height: 1.8;
}

.rcs-tax-guide {
  padding: clamp(22px, 5vw, 38px);
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(167, 184, 160, 0.35);
  background: linear-gradient(135deg, #ffffff, rgba(167, 184, 160, 0.12));
}

/* Editorial content follows the results. These rules improve its internal
   hierarchy without changing the shared hero treatment. */
.rcs-tax-guide-section {
  padding-bottom: 18px;
}

.rcs-tax-guide > :is(h3, h4),
.rcs-tax-content > :is(h3, h4) {
  color: var(--rcs-azul-brujula);
  font-family: var(--rcs-font-title);
  line-height: 1.2;
}

.rcs-tax-content > h2:not(:first-child) {
  margin-top: clamp(32px, 5vw, 54px);
  padding-top: clamp(24px, 4vw, 38px);
  border-top: 1px solid rgba(17, 52, 74, 0.12);
}

.rcs-tax-content > :is(p, ul, ol) {
  max-width: 76ch;
}

.rcs-tax-guide li {
  min-height: 100%;
  border: 1px solid rgba(167, 184, 160, 0.26);
}

.rcs-tax-guide h2,
.rcs-tax-content h2,
.rcs-tax-tips h2,
.rcs-tax-faq h2,
.rcs-tax-cta h2,
.rcs-tax-section > .rcs-tax-container > h2 {
  margin-top: 0;
  color: var(--rcs-coral);
  font-family: var(--rcs-font-title);
  letter-spacing: -0.02em;
	margin-bottom:24px;
}

.rcs-tax-guide ul,
.rcs-tax-tips ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.rcs-tax-guide li,
.rcs-tax-tips li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 14px;
  background: rgba(250, 248, 245, 0.82);
  line-height: 1.55;
}

.rcs-tax-guide li::before,
.rcs-tax-tips li::before {
  content: "✦";
  position: absolute;
  left: 16px;
  color: var(--rcs-coral);
}

/* GRID PRODUCTOS */
.rcs-tax-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.rcs-tax-product {
  overflow: hidden;
  border-radius: var(--rcs-radius);
  background: var(--rcs-blanco);
  box-shadow: var(--rcs-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rcs-tax-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(22, 59, 77, 0.14);
}

.rcs-tax-product a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rcs-tax-product-image {
  background: #fff;
}

.rcs-tax-product-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.rcs-tax-product-body {
  padding: 16px;
}

.rcs-tax-product h3 {
  margin: 0;
  color: var(--rcs-azul-brujula);
  font-family: var(--rcs-font-title);
  font-size: 1.15rem;
  line-height: 1.25;
	  transition: .25s;

}


.rcs-tax-product:hover h3 {

  color: var(--rcs-coral);


}

/* CONTENIDO */
.rcs-tax-content {
  line-height: 1.78;
}

.rcs-tax-content h2,
.rcs-tax-content h3 {
  margin-top: 1.7em;
}

.rcs-tax-content p:last-child,
.rcs-tax-card p:last-child,
.rcs-tax-guide p:last-child,
.rcs-tax-tips p:last-child,
.rcs-tax-faq p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.rcs-tax-faq details {
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 0;
  border-radius: 16px;
  background: var(--rcs-marfil);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.rcs-tax-faq details:last-child {
  margin-bottom: 0;
}

.rcs-tax-faq details[open] {
  background: var(--rcs-marfil);
  box-shadow: none;
}

.rcs-tax-faq summary {
  cursor: pointer;
  color: var(--rcs-azul-brujula);
  font-weight: 800;
  list-style: none;
}

.rcs-tax-faq summary::-webkit-details-marker {
  display: none;
}

/* CTA */
.rcs-tax-cta {
  padding: clamp(28px, 6vw, 52px);
  text-align: center;
  background: var(--rcs-azul-brujula);
  color: var(--rcs-blanco);
}

.rcs-tax-cta h2 {
  color: var(--rcs-blanco);
}

.rcs-tax-cta p {
  max-width: 680px;
  margin: 0 auto 22px;
  opacity: 0.92;
  line-height: 1.7;
}

.rcs-tax-button {
	transition:.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--rcs-coral);
  color: var(--rcs-blanco);
  font-weight: 800;
  text-decoration: none;
}

.rcs-tax-button:hover {
	transform:translateY(-2px);
  background: var(--rcs-coral-soft);
  color: var(--rcs-azul-brujula);
}

.rcs-tax-pagination {
  margin-top: 32px;
}

/* RESPONSIVE */
@media (min-width: 720px) {
  .rcs-tax-section {
    padding: 44px 0;
  }

  .rcs-tax-hero {
    padding: 70px 0 46px;
  }

  .rcs-tax-hero-grid {
    min-height: 500px;
    padding: 65px 56px;
  }

  .rcs-tax-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .rcs-tax-guide ul,
  .rcs-tax-tips ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .rcs-tax-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .rcs-tax-container {
    width: calc(100% - 24px);
  }

  .rcs-tax-section {
    padding: 34px 0;
  }

  .rcs-tax-hero {
    padding: 24px 0 18px;
  }

  .rcs-tax-hero-grid {
    display: flex;
    align-items: flex-start;
    min-height: 110px;
    padding: 42px 20px 28px;
    border-radius: 0;
    background-position: 78% 10%;
  }

  .rcs-tax-hero h1 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 0.98;
    letter-spacing: -0.03em;
  }

  .rcs-tax-subtitle {
    max-width: 300px;
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.45;
  }

  .rcs-tax-hero-grid > div:first-child {
    max-width: 340px;
  }

  .rcs-tax-hero-grid::before {
    background: linear-gradient(90deg, rgba(250, 248, 245, 1) 0%, rgba(250, 248, 245, 0.99) 14%, rgba(250, 248, 245, 0.92) 28%, rgba(250, 248, 245, 0.78) 42%, rgba(250, 248, 245, 0.45) 60%, rgba(250, 248, 245, 0.12) 80%, rgba(250, 248, 245, 0) 100%);
  }

  .rcs-tax-card,
  .rcs-tax-guide,
  .rcs-tax-content,
  .rcs-tax-tips,
  .rcs-tax-faq,
  .rcs-tax-cta,
  .rcs-tax-empty {
    border-radius: 20px;
  }

  .rcs-tax-card,
  .rcs-tax-content,
  .rcs-tax-tips,
  .rcs-tax-faq,
  .rcs-tax-empty,
  .rcs-tax-guide {
    padding: 20px 16px;
  }

  .rcs-tax-guide h2,
  .rcs-tax-content h2,
  .rcs-tax-tips h2,
  .rcs-tax-faq h2,
  .rcs-tax-cta h2,
  .rcs-tax-section > .rcs-tax-container > h2 {
    margin-bottom: 16px;
    font-size: 1.55rem;
    line-height: 1.05;
  }

  .rcs-tax-guide ul,
  .rcs-tax-tips ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rcs-tax-guide li,
  .rcs-tax-tips li {
    padding: 12px 14px 12px 38px;
  }

  .rcs-tax-guide-section {
    padding-bottom: 12px;
  }

  .rcs-tax-content > h2:not(:first-child) {
    margin-top: 32px;
    padding-top: 24px;
  }

  .rcs-tax-faq details {
    margin-bottom: 10px;
    padding: 14px 14px;
    border-radius: 14px;
  }

  .rcs-tax-faq summary {
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .rcs-tax-cta {
    padding: 24px 16px;
  }

  .rcs-tax-cta p {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 0.98rem;
  }

  .rcs-tax-button {
    width: 100%;
  }
}

.rcs-tax-location-form {
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid rgba(22, 59, 77, 0.12);
  border-radius: 16px;
  background: #fff;
}

.rcs-tax-location-form label {
  display: block;
  margin-bottom: 9px;
  color: #163b4d;
  font-weight: 700;
}

.rcs-tax-location-form > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rcs-tax-location-form select,
.rcs-tax-location-form button,
.rcs-tax-location-form a {
  min-height: 42px;
  border-radius: 10px;
}

.rcs-tax-location-form select {
  flex: 1 1 190px;
  padding: 0 12px;
  border: 1px solid rgba(22, 59, 77, 0.18);
  background: #faf8f5;
  color: #163b4d;
}

.rcs-tax-location-form button {
  padding: 0 16px;
  border: 0;
  background: #163b4d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.rcs-tax-location-form a {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #163b4d;
  font-weight: 700;
}

.rcs-tax-location-form p {
  margin: 10px 0 0;
  color: #66707a;
  font-size: 0.9rem;
}

/* Reusable Experience Geo Layer selector. The native form remains available
   without JavaScript; the dialog is the enhanced desktop/mobile experience. */
.rcs-experience-location { margin-top: 16px; }
.rcs-experience-location[hidden] { display: none; }
.rcs-experience-location__trigger { min-height: 42px; padding: 9px 14px; border: 1px solid rgba(22,59,77,.18); border-radius: 999px; background: #fff; color: #163b4d; font-weight: 700; cursor: pointer; }
.rcs-experience-location__fallback { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.rcs-location-enhanced .rcs-experience-location__fallback { display: none; }
.rcs-experience-location__fallback label { font-size: .9rem; font-weight: 700; color: #163b4d; }
.rcs-experience-location__fallback select, .rcs-experience-location__fallback button { min-height: 42px; border-radius: 10px; }
.rcs-experience-location__fallback select { padding: 0 10px; border: 1px solid rgba(22,59,77,.18); background: #faf8f5; }
.rcs-experience-location__fallback button { padding: 0 15px; border: 0; background: #163b4d; color: #fff; font-weight: 700; }
.rcs-experience-location__dialog { position: fixed !important; inset: 50% auto auto 50% !important; transform: translate(-50%, -50%); width: min(560px, calc(100% - 32px)) !important; max-height: min(720px, calc(100% - 32px)); padding: 30px !important; border: 0 !important; border-radius: 24px !important; color: #163b4d; background: #fffdf9 !important; box-shadow: 0 22px 70px rgba(16,48,61,.3) !important; }
.rcs-experience-location__dialog::backdrop { background: rgba(18,49,60,.5); }
.rcs-experience-location__dialog h2 { margin: 0 40px 8px 0; font-size: 1.55rem; }
.rcs-experience-location__dialog > p { margin: 0 0 18px; color: #5b6970; }
.rcs-experience-location__close { position: absolute; top: 12px; right: 14px; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #f1f4ed; color: #163b4d; cursor: pointer; }
.rcs-experience-location__close svg { display: block; width: 22px; height: 22px; }
.rcs-experience-location__close:focus-visible { outline: 3px solid rgba(232,122,103,.55); outline-offset: 2px; }
.rcs-experience-location__near, .rcs-experience-location__all { width: 100%; min-height: 50px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.rcs-experience-location__near { border: 1px solid #b7c9b0 !important; background: #eff5ec !important; color: #284d38 !important; }
.rcs-experience-location__all { margin-top: 14px; border: 0; background: #163b4d; color: #fff; }
.rcs-experience-location__status { min-height: 20px; margin: 9px 0 !important; font-size: .9rem; }
.rcs-experience-location__dialog input { box-sizing: border-box; width: 100%; min-height: 46px; margin: 8px 0 12px; padding: 0 12px; border: 1px solid rgba(22,59,77,.2); border-radius: 10px; }
.rcs-experience-location__cities { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; max-height: 250px; overflow: auto; }
.rcs-experience-location__cities button { min-height: 48px; padding: 10px 13px; border: 1px solid #d9e4de !important; border-radius: 12px !important; background: #f8fbf7 !important; color: #163b4d !important; font-weight: 700; text-align: left; cursor: pointer; }
.rcs-experience-location__cities button::before { content: '⌖'; margin-right: 8px; color: #e87a67; }
.rcs-experience-location__cities button:hover, .rcs-experience-location__cities button:focus { border-color: #e87a67 !important; background: #fff3ee !important; }
@media (max-width: 700px) { .rcs-experience-location__dialog { inset: auto 0 0 !important; transform: none; width: auto !important; max-height: 78vh; margin: 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)) !important; border-radius: 22px 22px 0 0 !important; } .rcs-experience-location__cities { grid-template-columns: 1fr; max-height: 260px; } }

/* Blog relacionado con el Hub SEO actual. */
.rcs-hub-guides {
  padding: 24px 0 12px;
}

.rcs-hub-guides__intro {
  max-width: 680px;
  margin-bottom: 20px;
}

.rcs-hub-guides__eyebrow {
  margin: 0 0 6px;
  color: var(--rcs-coral);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rcs-hub-guides__intro h2 {
  margin: 0 0 8px;
  color: var(--rcs-azul-brujula);
  font-family: var(--rcs-font-title);
  letter-spacing: -0.02em;
}

.rcs-hub-guides__intro > p:last-child {
  margin: 0;
  color: var(--rcs-gris);
}

.rcs-hub-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rcs-hub-guides__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(17, 52, 74, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 52, 74, 0.07);
}

.rcs-hub-guides__cluster {
  margin: 0 0 9px;
  color: var(--rcs-coral);
  font-size: 0.8rem;
  font-weight: 800;
}

.rcs-hub-guides__card h3 {
  margin: 0 0 10px;
  color: var(--rcs-azul-brujula);
  font-family: var(--rcs-font-title);
  font-size: 1.28rem;
  line-height: 1.2;
}

.rcs-hub-guides__card h3 a {
  color: inherit;
  text-decoration: none;
}

.rcs-hub-guides__card h3 a:hover,
.rcs-hub-guides__link:hover {
  color: var(--rcs-coral);
}

.rcs-hub-guides__excerpt {
  margin: 0 0 18px;
  color: var(--rcs-gris);
}

.rcs-hub-guides__link {
  margin-top: auto;
  color: var(--rcs-azul-brujula);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .rcs-hub-guides__grid {
    grid-template-columns: 1fr;
  }
}

/* Navidad V1.1.1: compact editorial cards without changing the shared
   supporting-post query or the stored excerpts. */
.rcs-owner-navidad .rcs-hub-guides {
  padding: 16px 0 8px;
}

.rcs-owner-navidad .rcs-hub-guides__intro {
  margin-bottom: 12px;
}

.rcs-owner-navidad .rcs-hub-guides__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rcs-owner-navidad .rcs-hub-guides__card {
  min-height: 0;
  padding: 15px 16px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(17, 52, 74, 0.06);
}

.rcs-owner-navidad .rcs-hub-guides__cluster {
  margin-bottom: 5px;
  font-size: 0.72rem;
}

.rcs-owner-navidad .rcs-hub-guides__card h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.22;
}

.rcs-owner-navidad .rcs-hub-guides__excerpt {
  display: none;
}

.rcs-owner-navidad .rcs-hub-guides__link {
  margin-top: 12px;
  font-size: 0.9rem;
}

.rcs-owner-navidad .rcs-hub-guides__card h3 a:focus-visible,
.rcs-owner-navidad .rcs-hub-guides__link:focus-visible {
  outline: 3px solid rgba(232, 122, 103, 0.6);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .rcs-owner-navidad .rcs-hub-guides__grid {
    grid-template-columns: 1fr;
  }
}

.rcs-owner-navidad .rcs-hub-guides__more {
  margin-top: 16px;
}

.rcs-owner-navidad .rcs-hub-guides__more summary {
  display: flex;
  width: max-content;
  margin: 16px auto 0;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(22, 59, 77, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--rcs-azul-brujula);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.rcs-owner-navidad .rcs-hub-guides__more summary:hover {
  border-color: rgba(232, 122, 103, 0.45);
  background: var(--rcs-coral-soft);
  color: var(--rcs-coral);
}

.rcs-owner-navidad .rcs-hub-guides__more summary::-webkit-details-marker {
  display: none;
}

.rcs-owner-navidad .rcs-hub-guides__more summary::after {
  content: '↓';
  color: var(--rcs-coral);
}

.rcs-owner-navidad .rcs-hub-guides__more[open] summary::after {
  content: '↑';
}

.rcs-owner-navidad .rcs-hub-guides__more summary:focus-visible {
  outline: 3px solid rgba(232, 122, 103, 0.6);
  outline-offset: 3px;
}

.rcs-owner-navidad .rcs-hub-guides__more-close {
  display: none;
}

.rcs-owner-navidad .rcs-hub-guides__more[open] .rcs-hub-guides__more-open {
  display: none;
}

.rcs-owner-navidad .rcs-hub-guides__more[open] .rcs-hub-guides__more-close {
  display: inline;
}

.rcs-owner-navidad .rcs-hub-guides__more-grid {
  margin-top: 12px;
}

.rcs-owner-navidad .rcs-hub-guides__more-grid .rcs-hub-guides__card {
  padding: 11px 13px;
  box-shadow: 0 2px 9px rgba(17, 52, 74, 0.05);
}

.rcs-owner-navidad .rcs-hub-guides__more-grid .rcs-hub-guides__card h3 {
  font-size: 1rem;
}

/* V1.6: the compact guide treatment is opt-in for registered term Owners.
   Navidad keeps its existing selectors above; this class extends the same
   presentation without changing legacy taxonomy pages. */
.rcs-hub-guides--owner {
  padding: 16px 0 8px;
}

.rcs-hub-guides--owner .rcs-hub-guides__intro {
  margin-bottom: 12px;
}

.rcs-hub-guides--owner .rcs-hub-guides__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rcs-hub-guides--owner .rcs-hub-guides__card {
  min-height: 0;
  padding: 15px 16px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(17, 52, 74, 0.06);
}

.rcs-hub-guides--owner .rcs-hub-guides__cluster {
  margin-bottom: 5px;
  font-size: 0.72rem;
}

.rcs-hub-guides--owner .rcs-hub-guides__card h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.22;
}

.rcs-hub-guides--owner .rcs-hub-guides__excerpt {
  display: none;
}

.rcs-hub-guides--owner .rcs-hub-guides__link {
  margin-top: 12px;
  font-size: 0.9rem;
}

.rcs-hub-guides--owner .rcs-hub-guides__card h3 a:focus-visible,
.rcs-hub-guides--owner .rcs-hub-guides__link:focus-visible {
  outline: 3px solid rgba(232, 122, 103, 0.6);
  outline-offset: 3px;
  border-radius: 4px;
}

.rcs-hub-guides--owner .rcs-hub-guides__more {
  margin-top: 16px;
}

.rcs-hub-guides--owner .rcs-hub-guides__more summary {
  display: flex;
  width: max-content;
  margin: 16px auto 0;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(22, 59, 77, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--rcs-azul-brujula);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.rcs-hub-guides--owner .rcs-hub-guides__more summary:hover {
  border-color: rgba(232, 122, 103, 0.45);
  background: var(--rcs-coral-soft);
  color: var(--rcs-coral);
}

.rcs-hub-guides--owner .rcs-hub-guides__more summary::-webkit-details-marker {
  display: none;
}

.rcs-hub-guides--owner .rcs-hub-guides__more summary::after {
  content: '↓';
  color: var(--rcs-coral);
}

.rcs-hub-guides--owner .rcs-hub-guides__more[open] summary::after {
  content: '↑';
}

.rcs-hub-guides--owner .rcs-hub-guides__more summary:focus-visible {
  outline: 3px solid rgba(232, 122, 103, 0.6);
  outline-offset: 3px;
}

.rcs-hub-guides--owner .rcs-hub-guides__more-close {
  display: none;
}

.rcs-hub-guides--owner .rcs-hub-guides__more[open] .rcs-hub-guides__more-open {
  display: none;
}

.rcs-hub-guides--owner .rcs-hub-guides__more[open] .rcs-hub-guides__more-close {
  display: inline;
}

.rcs-hub-guides--owner .rcs-hub-guides__more-grid {
  margin-top: 12px;
}

.rcs-hub-guides--owner .rcs-hub-guides__more-grid .rcs-hub-guides__card {
  padding: 11px 13px;
  box-shadow: 0 2px 9px rgba(17, 52, 74, 0.05);
}

.rcs-hub-guides--owner .rcs-hub-guides__more-grid .rcs-hub-guides__card h3 {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .rcs-hub-guides--owner .rcs-hub-guides__grid {
    grid-template-columns: 1fr;
  }
}

.rcs-tax-results-bar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}

.rcs-tax-results-bar h2 {
  margin-bottom: 6px;
}

.rcs-tax-results-bar p {
  margin: 0;
  color: var(--rcs-gris);
  font-weight: 700;
}

.rcs-tax-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rcs-tax-sort label {
  color: var(--rcs-gris);
  font-size: 0.9rem;
  font-weight: 700;
}

.rcs-tax-sort select {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(22, 59, 77, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--rcs-azul-brujula);
  font-weight: 700;
}

@media (min-width: 720px) {
  .rcs-tax-results-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.rcs-tax-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.rcs-tax-active-label {
  color: var(--rcs-gris);
  font-size: 0.9rem;
  font-weight: 700;
}

.rcs-tax-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--rcs-blanco);
  color: var(--rcs-azul-brujula);
  box-shadow: 0 6px 18px rgba(22, 59, 77, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

.rcs-tax-chip.is-locked {
  background: rgba(167, 184, 160, 0.22);
  border: 1px solid rgba(167, 184, 160, 0.45);
}

.rcs-tax-discovery {
  padding: 24px 0 10px;
}

.rcs-tax-discovery .rgc-discovery-v2 {
  padding: 0;
  background: transparent;
}

.rcs-tax-discovery .rgc-discovery-heading {
  display: none;
}

.rcs-tax-discovery .rgc-toolbar {
  margin: 0;
  max-width: 100%;
}

.rcs-tax-discovery .rgc-toolbar {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
}

.rcs-tax-discovery .rgc-filter-wrap,
.rcs-tax-discovery .rgc-search-wrap {
  min-width: 0;
}

.rcs-tax-discovery .rgc-filter[disabled] {
  opacity: 1;
  cursor: default;
  background: rgba(167, 184, 160, 0.18);
}

.rcs-tax-active-filters {
  margin-top: 4px;
  margin-bottom: 0;
}

.rcs-tax-discovery .rcs-tax-container {
  max-width: 1120px;
}

.rcs-tax-discovery .rgc-discovery-v2 {
  width: 100%;
}

.rcs-tax-discovery .rgc-toolbar {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) auto;
  align-items: stretch;
}

.rcs-tax-discovery .rgc-search-wrap,
.rcs-tax-discovery .rgc-filter-wrap {
  min-width: 0;
}

.rcs-tax-discovery .rgc-filter {
  width: 100%;
}

.rcs-tax-discovery .rgc-toolbar-divider {
  display: none;
}

@media (max-width: 900px) {
  .rcs-tax-discovery .rgc-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .rcs-tax-discovery .rgc-search-wrap {
    grid-column: 1 / -1;
  }
}
/* TAXONOMÍA: buscador compacto */
.rcs-tax-discovery {
  padding: 24px 0 18px;
}

.rcs-tax-discovery .rgc-discovery-v2 {
  padding: 0;
  background: transparent;
}

.rcs-tax-discovery .rgc-discovery-heading {
  display: none;
}

.rcs-tax-discovery .rgc-toolbar {
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr repeat(5, minmax(120px, 1fr));
  align-items: stretch;
}

.rcs-tax-discovery .rgc-search-wrap,
.rcs-tax-discovery .rgc-filter-wrap {
  min-width: 0;
}

.rcs-tax-discovery .rgc-filter,
.rcs-tax-discovery .rgc-search {
  width: 100%;
}

/* Ocultamos botón lateral y panel de más filtros en taxonomías */
.rcs-tax-discovery .rgc-advanced-filter,
.rcs-tax-discovery .rgc-filter-panel,
.rcs-tax-discovery .rgc-filter-panel-overlay {
  display: none !important;
}

/* Popovers por encima del contenido */
.rcs-tax-discovery .rgc-filter-popover {
  z-index: 50;
}

@media (max-width: 900px) {
  .rcs-tax-discovery .rgc-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .rcs-tax-discovery .rgc-search-wrap {
    grid-column: 1 / -1;
  }
}

.rcs-tax-breadcrumb {
  margin-top: 24px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--rcs-gris);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rcs-tax-breadcrumb a {
  color: var(--rcs-azul-brujula);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.rcs-tax-breadcrumb a:hover {
  color: var(--rcs-coral);
}

.rcs-tax-breadcrumb .separator {
  margin: 0 4px;
  color: var(--rcs-salvia);
  font-weight: 700;
}

.rcs-tax-breadcrumb span:last-child {
  color: var(--rcs-azul-brujula);
  font-weight: 800;
}

.rcs-tax-active-filters {
  padding: 2px 0 0;
}

.rcs-related {
  padding: 56px 0 32px;
}

.rcs-related h2 {
  margin: 0 0 22px;
  color: var(--rcs-azul-brujula);
  font-family: var(--rcs-font-title);
  letter-spacing: -0.02em;
}

.rcs-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.rcs-related-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(17, 52, 74, 0.08);
  box-shadow: 0 10px 30px rgba(17, 52, 74, 0.08);
}

.rcs-related-column h3 {
  margin: 0;
  color: var(--rcs-azul-brujula);
  font-family: var(--rcs-font-title);
  line-height: 1.15;
}

.rcs-related-column h3 span {
  margin-right: 8px;
}

.rcs-related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.rcs-related-tags a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(167, 184, 160, 0.14);
  border: 1px solid rgba(22, 59, 77, 0.08);
  color: var(--rcs-azul-brujula);
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.rcs-related-tags a:hover {
  background: var(--rcs-coral);
  color: #fff;
  transform: translateY(-1px);
  border-color: var(--rcs-coral);
}

.rcs-related-strategic {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(22, 59, 77, 0.12);
}

.rcs-related-strategic h3 {
  margin: 0 0 12px;
  color: var(--rcs-azul-brujula);
  font-family: var(--rcs-font-title);
  font-size: 1.15rem;
  line-height: 1.2;
}

.rcs-related-strategic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rcs-related-strategic-list a {
  color: var(--rcs-azul-brujula);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rcs-tax-chip {
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rcs-tax-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(22, 59, 77, 0.10);
}

.rcs-tax-sort select {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rcs-tax-sort select:focus {
  outline: none;
  border-color: rgba(232, 122, 103, 0.55);
  box-shadow: 0 0 0 4px rgba(232, 122, 103, 0.12);
}

@media (min-width: 640px) {
  .rcs-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .rcs-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .rcs-related {
    padding: 36px 0 16px;
  }

  .rcs-related .rcs-tax-container {
    width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rcs-related h2 {
    margin: 0 0 16px;
    font-size: 1.55rem;
    line-height: 1.08;
  }

  .rcs-related-grid {
    gap: 12px;
  }

  .rcs-related-column {
    gap: 12px;
    padding: 18px 16px;
    border-radius: 20px;
  }

  .rcs-related-column h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .rcs-related-tags {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rcs-related-tags a {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .rcs-related-strategic {
    margin-top: 22px;
    padding-top: 18px;
  }

  .rcs-related-strategic-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
