.rapunzel-guide {
  --rapunzel-gold: #ffd88f;
  --rapunzel-pink: #efb6dd;
  --rapunzel-purple: #7f4aa4;
  overflow-x: clip;
}

.rapunzel-guide .secret-lair-hero {
  overflow: hidden;
  background-position: 74% 42%;
}

.rapunzel-guide .blog-hero-content,
.rapunzel-guide .blog-hero-content > *,
.rapunzel-guide .blog-article-layout,
.rapunzel-guide .blog-article-main {
  min-width: 0;
}

.rapunzel-guide .blog-hero h1,
.rapunzel-guide .blog-hero-copy {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.rapunzel-guide .blog-hero-copy {
  max-width: 720px;
}

.rapunzel-guide .secret-lair-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rapunzel-guide .secret-lair-hero-action {
  display: inline-flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(239, 246, 242, .48);
  border-radius: 999px;
  background: rgba(7, 12, 10, .48);
  color: #f6fbf8;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.rapunzel-guide .secret-lair-hero-action--affiliate {
  flex-direction: column;
  border-color: rgba(133, 230, 171, .8);
  background: #b9f6d0;
  color: #102018;
}

.rapunzel-guide .secret-lair-hero-action--affiliate small {
  margin-top: 2px;
  color: #31513f;
  font-size: .61rem;
  font-weight: 750;
}

.rapunzel-verdict {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid #4a644f;
  border-radius: 18px;
  background: linear-gradient(120deg, #14251c, #17141e);
}

.rapunzel-verdict strong {
  display: block;
  color: #c7ea46;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.15;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.rapunzel-verdict p:not(.blog-section-label) {
  color: #b8c6bf;
}

.rapunzel-product-gallery {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
  margin: 28px 0;
}

.rapunzel-product-gallery figure {
  margin: 0;
  min-width: 0;
  padding: 18px;
  border: 1px solid #343b38;
  border-radius: 18px;
  background: #fff;
}

.rapunzel-product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rapunzel-product-gallery figcaption {
  margin-top: 12px;
  color: #4b4650;
  font-size: .82rem;
  line-height: 1.45;
}

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

.rapunzel-math-card {
  padding: 20px;
  border: 1px solid #3d4943;
  border-radius: 16px;
  background: #111917;
}

.rapunzel-math-card span,
.rapunzel-math-card small {
  display: block;
  color: #aab8b0;
}

.rapunzel-math-card strong {
  display: block;
  margin: 7px 0;
  color: var(--rapunzel-gold);
  font-size: 1.7rem;
}

.rapunzel-price-ladder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.rapunzel-price-step {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #3d4943;
  background: #121a18;
}

.rapunzel-price-step[data-tone="buy"] {
  border-color: #6f8d46;
}

.rapunzel-price-step[data-tone="consider"] {
  border-color: #8d7546;
}

.rapunzel-price-step[data-tone="skip"] {
  border-color: #8d4f57;
}

.rapunzel-price-step strong,
.rapunzel-price-step span {
  display: block;
}

.rapunzel-price-step strong {
  color: #fff;
  font-size: 1.25rem;
}

.rapunzel-price-step span {
  margin: 5px 0 11px;
  color: #c7ea46;
  font-weight: 750;
}

.rapunzel-guide .secret-lair-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.rapunzel-guide .secret-lair-table th[scope="row"] {
  text-align: left;
}

.rapunzel-guide .ff-card-spotlight {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin: 30px 0;
  padding: 24px;
  border: 1px solid #33493c;
  border-radius: 18px;
  background: linear-gradient(115deg, #192c23, #101716);
}

.rapunzel-guide .ff-card-spotlight img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.rapunzel-guide .ff-card-spotlight figcaption {
  min-width: 0;
}

.rapunzel-guide .ff-card-spotlight h3 {
  margin: 8px 0;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.2;
}

.rapunzel-guide .ff-card-spotlight p {
  margin: 8px 0;
}

.rapunzel-guide .ff-card-spotlight a {
  color: #b8f9cf;
}

.rapunzel-guide .blog-article-main,
.rapunzel-guide .blog-related {
  min-width: 0;
}

@media (max-width: 760px) {
  .rapunzel-guide .blog-shell {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    overflow: hidden;
  }

  .rapunzel-guide .blog-breadcrumbs,
  .rapunzel-guide .secret-lair-hero,
  .rapunzel-guide .blog-article-layout,
  .rapunzel-guide .blog-article-main,
  .rapunzel-guide .blog-related,
  .rapunzel-guide .rapunzel-verdict {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .rapunzel-guide .secret-lair-hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .rapunzel-guide .blog-hero-content {
    width: calc(100vw - 62px) !important;
    max-width: calc(100vw - 62px) !important;
    overflow: hidden;
  }

  .rapunzel-guide .blog-hero-content h1,
  .rapunzel-guide .blog-hero-content .blog-hero-copy,
  .rapunzel-guide .blog-hero-content .secret-lair-hero-actions {
    width: calc(100vw - 62px) !important;
    max-width: calc(100vw - 62px) !important;
  }

  .rapunzel-guide .top-nav {
    grid-template-columns: 1fr;
    width: 100%;
    overflow: hidden;
  }

  .rapunzel-guide .top-nav .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .rapunzel-guide .top-nav .nav-dropdowns {
    display: flex !important;
    grid-column: 1;
    grid-row: 2;
    flex-wrap: wrap !important;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .rapunzel-guide .top-nav .nav-dropdown,
  .rapunzel-guide .top-nav .nav-dropdown summary {
    width: auto;
    min-width: 0;
    overflow: hidden;
  }

  .rapunzel-guide .top-nav .nav-dropdown {
    flex: 1 1 96px !important;
  }

  .rapunzel-guide .top-nav .nav-dropdown summary {
    width: 100%;
  }

  .rapunzel-guide .top-nav .nav-dropdown summary {
    padding-inline: 6px;
    font-size: .74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rapunzel-product-gallery {
    grid-template-columns: 1fr;
  }

  .rapunzel-product-gallery figure:last-child {
    max-width: 360px;
  }

  .rapunzel-math-grid,
  .rapunzel-price-ladder {
    grid-template-columns: 1fr;
  }

  .rapunzel-guide .blog-related > *,
  .rapunzel-guide .rapunzel-verdict > * {
    max-width: calc(100vw - 70px);
    overflow-wrap: anywhere;
  }

  .rapunzel-guide .ff-card-spotlight {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .rapunzel-guide .ff-card-spotlight h3 {
    font-size: 1.12rem;
  }
}

@media (max-width: 600px) {
  .rapunzel-guide .secret-lair-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 16px;
  }

  .rapunzel-guide .secret-lair-hero-action {
    width: 100%;
    padding: 8px 10px;
    font-size: .71rem;
  }

  .rapunzel-guide .secret-lair-table {
    min-width: 0;
  }

  .rapunzel-guide .secret-lair-table thead {
    display: none;
  }

  .rapunzel-guide .secret-lair-table,
  .rapunzel-guide .secret-lair-table tbody,
  .rapunzel-guide .secret-lair-table tr,
  .rapunzel-guide .secret-lair-table th,
  .rapunzel-guide .secret-lair-table td {
    display: block;
    width: 100%;
  }

  .rapunzel-guide .secret-lair-table tr {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #34413b;
    border-radius: 12px;
    background: #111917;
  }

  .rapunzel-guide .secret-lair-table td::before {
    content: attr(data-label);
    display: block;
    color: #9bad9f;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
}
