.hs-bc-wrap {
  background: #faf7f0 !important;
  box-shadow: 0 0 0 100vmax #faf7f0 !important;
  clip-path: inset(0 -100vmax) !important;
}

.hs-bc-wrap nav.hs-bc,
.hs-bc-wrap ol,
.hs-bc-wrap li,
.hs-bc-wrap a {
  background: transparent !important;
}

/* BASE DEL ARTÍCULO */
.gp {
  --paper: #fffdf8;
  --cream: #faf7f0;
  --green: #3e574b;
  --dark: #293f35;
  --sage: #dbe2d4;
  --terra: #a64e38;
  --ink: #292f2a;

  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  padding: 48px 0 72px;
}

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

.gp a {
  color: var(--green);
  text-underline-offset: 4px;
}

.gp a:hover {
  color: var(--terra);
}

.gp a:focus-visible,
.gp summary:focus-visible,
.gpr a:focus-visible {
  outline: 3px solid #a64e38;
  outline-offset: 5px;
}

.gp img {
  display: block;
  max-width: 100%;
  height: auto;
}

.gp__wrap,
.gpr__wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.gp__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  align-items: start;
}

.gp__article {
  min-width: 0;
  background: var(--paper);
  border: 1px solid #dedfd4;
  border-radius: 20px;
  overflow: clip;
}

/* PORTADA: imagen a todo el ancho */
.gp__hero {
  margin: 0;
  padding: 0;
  background: #ece4d6;
  border-bottom: 1px solid #dedfd4;
}

.gp .gp__hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.gp__body {
  padding: clamp(24px, 4vw, 52px);
}

.gp__kicker {
  display: block;
  color: var(--terra);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.gp h1,
.gp h2,
.gp h3,
.gp p {
  margin-top: 0;
}

.gp h1,
.gp h2,
.gp h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-wrap: balance;
}

.gp h1 {
  margin: 14px 0 22px;
  color: var(--dark);
  font-size: clamp(34px, 4vw, 53px);
  line-height: 1.1;
  letter-spacing: -1.7px;
}

.gp h2 {
  margin-bottom: 20px;
  color: var(--dark);
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.7px;
}

.gp h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.3;
}

.gp p {
  margin-bottom: 20px;
}

.gp .gp__intro {
  margin-top: 0 !important;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.65;
}

/* AUTORA, FECHA Y TIEMPO DE LECTURA */
.gp__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid #dedfd4;
  border-bottom: 1px solid #dedfd4;
}

.gp__writer {
  display: flex;
  align-items: center;
  gap: 13px;
}

.gp__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  background: var(--green);
  border-radius: 50%;
  color: var(--paper);
  font: italic 22px Georgia, serif;
}

/* Logo de Gina dentro del círculo */
.gp img.gp__avatar {
  height: 46px;
  padding: 4px;
  background: #ece4d6;
  object-fit: contain;
}

.gp__writer-info {
  display: grid;
  gap: 3px;
}

.gp .gp__writer-name {
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.gp .gp__writer-name:hover {
  color: var(--terra);
  text-decoration: underline;
}

.gp__writer-role {
  color: #5f665e;
  font-size: 12px;
  line-height: 1.5;
}

.gp__reading-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: #5f665e;
  font-size: 13px;
  line-height: 1.5;
}

.gp__reading-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 30px;
  background: #eef1e8;
  color: var(--green);
}

/* SECCIONES */
.gp__section {
  margin-top: 42px;
  scroll-margin-top: 32px;
}

.gp__error-number {
  display: block;
  margin-bottom: 10px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.gp__fix {
  padding: 18px 22px;
  background: #f3efe6;
  border-radius: 12px;
}

.gp__fix strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
}

.gp__fix p:last-child,
.gp__note p:last-child,
.gp__example p:last-child {
  margin-bottom: 0;
}

.gp__note {
  margin: 30px 0;
  padding: 26px 28px;
  background: var(--sage);
  border-left: 3px solid var(--green);
  border-radius: 0 16px 16px 0;
}

/* IMÁGENES INTERMEDIAS: a todo el ancho */
.gp__visual {
  margin: 40px 0;
  overflow: hidden;
  background: #ece4d6;
  border-radius: 16px;
}

.gp .gp__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* TARJETAS DENTRO DEL ARTÍCULO (antes, durante, después…) */
.gp__examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.gp__example {
  min-width: 0;
  overflow: hidden;
  background: #f3efe6;
  border: 1px solid #e5dece;
  border-radius: 12px;
}

.gp .gp__example img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gp__example-body {
  padding: 19px 17px 22px;
}

.gp__example h3 {
  font-size: 24px;
}

.gp__example p {
  font-size: 14px;
  line-height: 1.75;
}

.gp ul,
.gp ol {
  padding-left: 23px;
}

.gp li {
  padding-left: 4px;
  margin-bottom: 10px;
}

/* BOTONES */
.gp .gp__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 12px 19px;
  background: var(--terra);
  border: 1px solid var(--terra);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.gp .gp__button:hover {
  background: #853c2a;
  border-color: #853c2a;
  color: #fff;
}

/* PREGUNTAS FRECUENTES */
.gp__faq {
  border-top: 1px solid #dedfd4;
}

.gp__faq details {
  padding: 17px 0;
  border-bottom: 1px solid #dedfd4;
}

.gp__faq summary {
  padding: 5px 0;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.6;
}

.gp__faq details p {
  margin: 15px 0 4px;
  color: #50594f;
}

/* FUENTES */
.gp__sources {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #dedfd4;
  font-size: 14px;
  overflow-wrap: anywhere;
  scroll-margin-top: 32px;
}

.gp__sources h2 {
  font-size: 22px;
}

.gp__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
}

/* COLUMNA LATERAL */
.gp__aside {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.gp__box {
  padding: 25px;
  background: var(--paper);
  border: 1px solid #dedfd4;
  border-radius: 16px;
}

.gp__box h2,
.gp__toc summary {
  margin-bottom: 16px;
  color: var(--dark);
  font: 24px/1.3 Georgia, serif;
}

.gp__toc summary {
  margin-bottom: 0;
  padding: 2px 0;
  cursor: pointer;
}

.gp__toc nav {
  margin-top: 20px;
}

.gp__toc ol {
  margin: 0;
  padding-left: 20px;
}

.gp__toc li {
  margin-bottom: 12px;
  font-size: 14px;
}

.gp__toc a {
  display: inline-block;
  padding-block: 3px;
  text-decoration: none;
}

.gp__toc a:hover {
  text-decoration: underline;
}

.gp__side-course {
  padding: 0;
  overflow: hidden;
}

.gp__side-course img {
  width: 100%;
  aspect-ratio: 1376 / 768;
  object-fit: cover;
}

.gp__side-content {
  padding: 24px;
}

.gp__side-content .gp__kicker {
  margin-bottom: 10px;
}

.gp__side-content p,
.gp__help p {
  font-size: 14px;
  line-height: 1.7;
}

.gp__side-content .gp__button {
  width: 100%;
}

.gp__help {
  background: var(--sage);
  border-color: var(--sage);
}

/* OTROS ARTÍCULOS (sección inferior) */
.gpr {
  padding: 72px 0;
  background: #ecefe5;
  color: #292f2a;
  border-top: 1px solid #d6ddcd;
  font-family: Arial, Helvetica, sans-serif;
}

.gpr__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.gpr__heading-text {
  max-width: 720px;
}

.gpr__kicker {
  display: block;
  margin-bottom: 13px;
  color: #a64e38;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gpr h2 {
  margin: 0 0 16px;
  color: #293f35;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 43px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  text-wrap: balance;
}

.gpr h2 em {
  color: #a64e38;
  font-weight: 400;
}

.gpr__intro {
  max-width: 600px;
  margin: 0;
  color: #586252;
  font-size: 16px;
  line-height: 1.8;
}

.gpr .gpr__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-shrink: 0;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #3e574b;
  border-radius: 6px;
  color: #3e574b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.gpr .gpr__all:hover {
  background: #3e574b;
  color: #faf7f0;
}

.gpr__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gpr__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid #d9dfd1;
  border-radius: 16px;
}

.gpr__media {
  margin: 0;
  overflow: hidden;
  background: #f3efe6;
  border-bottom: 1px solid #e8e6dc;
}

.gpr .gpr__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gpr__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 27px;
}

.gpr__category {
  display: block;
  margin-bottom: 12px;
  color: #a64e38;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.gpr h3 {
  margin: 0 0 15px;
  color: #293f35;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.4px;
  text-wrap: balance;
}

.gpr__description {
  margin: 0 0 25px;
  color: #586252;
  font-size: 15px;
  line-height: 1.8;
}

.gpr__bottom {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e1e4d9;
}

.gpr__pending {
  display: inline-block;
  padding: 6px 12px;
  background: #eef1e8;
  border-radius: 30px;
  color: #52634d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

/* ORDENADOR: la columna lateral acompaña al artículo */
@media (min-width: 981px) {
  .gp .gp__aside {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
}

/* TABLET: una sola columna, lateral debajo del artículo */
@media (max-width: 980px) {
  .gp__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .gp .gp__aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .gp__toc {
    grid-column: 1 / -1;
  }

  .gp__toc ol {
    columns: 2;
    column-gap: 35px;
  }

  .gp__toc li {
    break-inside: avoid;
  }

  .gpr__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .gpr__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .gp__examples {
    grid-template-columns: minmax(0, 1fr);
  }

  .gp .gp__example img {
    aspect-ratio: 16 / 9;
    max-height: 230px;
    object-fit: cover;
  }

  .gp__example-body {
    padding: 23px;
  }
}

/* MÓVIL */
@media (max-width: 600px) {
  .gp {
    padding: 24px 0 44px;
  }

  .gp__wrap {
    width: calc(100% - 28px);
  }

  .gp__body {
    padding: 26px 21px;
  }

  .gp__article {
    border-radius: 14px;
  }

  .gp h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .gp .gp__intro {
    font-size: 18px;
  }

  .gp__byline {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .gp__reading-info {
    width: 100%;
    justify-content: space-between;
  }

  .gp__note {
    padding: 23px;
  }

  .gp .gp__aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .gp__toc ol {
    columns: 1;
  }

  .gp__section {
    margin-top: 34px;
  }

  .gpr {
    padding: 48px 0;
  }

  .gpr__wrap {
    width: calc(100% - 32px);
  }

  .gpr__heading {
    gap: 22px;
    margin-bottom: 26px;
  }

  .gpr__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .gpr__content {
    padding: 24px;
  }

  .gpr h3 {
    font-size: 25px;
  }
}

/* IMPRESIÓN */
@media print {
  .gp {
    padding: 0;
    background: white;
  }

  .gp__wrap {
    width: 100%;
  }

  .gp__layout {
    display: block;
  }

  .gp .gp__aside,
  .gp__back,
  .gpr {
    display: none;
  }

  .gp__article {
    border: 0;
  }

  .gp__body {
    padding: 0;
  }
}