:root {
  --lp-bg: #fffaf2;
  --lp-surface: #ffffff;
  --lp-ink: #172033;
  --lp-muted: #5f6877;
  --lp-line: #ebe4d8;
  --lp-gold: #da9d29;
  --lp-gold-deep: #98610c;
  --lp-amber: #fff1c7;
  --lp-deep: #1a2636;
  --lp-night: #101927;
  --lp-shadow: 0 18px 48px rgba(25, 36, 51, 0.09);
  --lp-radius: 22px;
}

body {
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 34%, #fffaf2 100%);
  color: var(--lp-ink);
}

a {
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* Header remains controlled by Kadence Customizer; these are only light polish details. */
.site-header {
  box-shadow: 0 8px 28px rgba(25, 36, 51, 0.05);
}

.site-branding a.brand img,
.site-branding img {
  max-height: 64px;
  width: auto;
}

.main-navigation .primary-menu-container > ul > li > a {
  font-weight: 700;
  letter-spacing: .01em;
}

.main-navigation .primary-menu-container > ul > li > a:hover {
  color: var(--lp-gold);
}

/* Do not let Kadence print a standalone “Home” title strip above our custom front-page layout. */
.home .entry-hero-container,
.home .entry-hero-container-inner,
.home .entry-header,
.front-page .entry-hero-container,
.front-page .entry-hero-container-inner {
  display: none !important;
}

/* Shared small label used across the homepage and content blocks. */
.lightspr-kicker {
  display: inline-flex;
  align-items: center;
  gap: .52rem;
  margin: 0 0 .8rem;
  color: var(--lp-gold-deep);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  font-weight: 800;
}

.lightspr-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--lp-gold);
}

.lightspr-button,
.entry-content .lightspr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--lp-deep);
  color: #ffffff !important;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(25, 36, 51, .16);
}

.lightspr-button:hover,
.entry-content .lightspr-button:hover {
  transform: translateY(-1px);
  background: #07111d;
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(25, 36, 51, .22);
}

.lightspr-button--ghost {
  border: 1px solid rgba(255, 255, 255, .43);
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
}

.lightspr-button--ghost:hover {
  background: #ffffff;
  color: var(--lp-deep) !important;
}

/* Homepage */
.lightspr-homepage {
  max-width: 1220px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}

.lightspr-homepage h1,
.lightspr-homepage h2,
.lightspr-homepage h3 {
  color: var(--lp-ink);
  letter-spacing: -.045em;
}

.lp-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  min-height: 510px;
  overflow: hidden;
  padding: clamp(32px, 5.8vw, 72px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 13% 5%, rgba(255, 221, 137, .19), transparent 28%),
    linear-gradient(135deg, #111d2c 0%, #1e3045 57%, #32445c 100%);
  color: #ffffff;
  box-shadow: 0 24px 65px rgba(25, 36, 51, .18);
}

.lp-home-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -44%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(255, 199, 76, .10);
  filter: blur(8px);
}

.lp-home-hero__content,
.lp-home-hero__image,
.lp-home-hero__glow {
  position: relative;
  z-index: 1;
}

.lp-home-hero .lightspr-kicker {
  color: #ffe7aa;
}

.lp-home-hero .lightspr-kicker::before {
  background: #ffe7aa;
}

.lp-home-hero h1 {
  max-width: 670px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.6rem, 5.3vw, 5.15rem);
  line-height: .94;
}

.lp-home-hero__content > p:not(.lightspr-kicker) {
  max-width: 625px;
  margin: 0;
  color: #e7edf4;
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

.lp-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.lp-home-hero__image {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 24px;
  background: #2a394c;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .22);
}

.lp-home-hero__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(7, 16, 28, .78));
  pointer-events: none;
}

.lp-home-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.lp-home-hero__image figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 21px;
  left: 22px;
  display: grid;
  gap: 3px;
  color: #ffffff;
}

.lp-home-hero__image figcaption span {
  color: #ffe4a1;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  font-weight: 800;
}

.lp-home-hero__image figcaption strong {
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  letter-spacing: -.02em;
}

.lp-home-hero__glow {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 26px;
  background: rgba(255, 255, 255, .09);
}

.lp-home-hero__glow span {
  display: block;
  height: 110px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(255, 215, 116, .94), rgba(255, 255, 255, .16));
  box-shadow: 0 0 42px rgba(255, 202, 80, .34);
}

.lp-home-hero__glow span:nth-child(2) {
  margin-left: 42px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(255, 204, 83, .9));
}

.lp-home-hero__glow span:nth-child(3) {
  margin-right: 54px;
  background: linear-gradient(90deg, rgba(255, 197, 61, .9), rgba(255, 255, 255, .14));
}

.lp-section {
  margin-top: 52px;
}

.lp-section-head {
  max-width: 790px;
  margin-bottom: 22px;
}

.lp-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.95rem, 3vw, 3rem);
  line-height: 1;
}

.lp-section-head p {
  color: var(--lp-muted);
}

.lp-section-head--row {
  display: flex;
  max-width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.lp-section-head--row > a {
  flex: 0 0 auto;
  padding-bottom: 4px;
  color: var(--lp-gold-deep);
  font-weight: 800;
  text-decoration: none;
}

.lp-section-head--row > a:hover {
  color: var(--lp-deep);
}

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

.lp-category-card {
  position: relative;
  display: flex;
  min-height: 204px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--lp-shadow);
  color: var(--lp-ink);
  text-decoration: none;
}

.lp-category-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 24px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--lp-amber);
}

.lp-category-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: #fff3d0;
}

.lp-category-card__eyebrow,
.lp-category-card strong,
.lp-category-card em,
.lp-category-card__arrow {
  position: relative;
  z-index: 1;
}

.lp-category-card__eyebrow {
  position: absolute;
  top: 31px;
  left: 34px;
  color: var(--lp-gold-deep);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .66rem;
  font-weight: 900;
}

.lp-category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.23rem;
  letter-spacing: -.02em;
}

.lp-category-card em {
  max-width: 88%;
  color: var(--lp-muted);
  font-size: .93rem;
  font-style: normal;
  line-height: 1.48;
}

.lp-category-card__arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--lp-deep);
  color: #ffffff;
  font-weight: 800;
}

.lp-category-card:hover {
  transform: translateY(-3px);
  border-color: #e5c373;
  box-shadow: 0 23px 52px rgba(25, 36, 51, .14);
}

.lp-category-card:hover .lp-category-card__arrow {
  background: var(--lp-gold);
  color: #1d1608;
}

.lp-post-grid {
  display: grid;
  gap: 20px;
}

.lp-post-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-post-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--lp-shadow);
}

.lp-post-card__image {
  display: block;
  min-height: 205px;
  overflow: hidden;
  background: #fff3d0;
}

.lp-post-card__image img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}

.lp-post-card:hover .lp-post-card__image img {
  transform: scale(1.035);
}

.lp-post-card__fallback {
  display: grid;
  height: 220px;
  place-items: center;
  color: var(--lp-gold-deep);
  font-weight: 900;
}

.lp-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.lp-post-card__body > span,
.lp-mini-card > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--lp-gold-deep);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .68rem;
  font-weight: 900;
}

.lp-post-card__body h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
  line-height: 1.14;
}

.lp-post-card__body h3 a,
.lp-mini-card h3 a {
  color: var(--lp-ink);
  text-decoration: none;
}

.lp-post-card__body h3 a:hover,
.lp-mini-card h3 a:hover {
  color: var(--lp-gold-deep);
}

.lp-post-card__body p,
.lp-mini-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: .94rem;
  line-height: 1.55;
}

.lp-post-card__read {
  display: inline-flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--lp-deep);
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}

.lp-post-card__read:hover {
  color: var(--lp-gold-deep);
}

.lp-seasonal {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 30px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #f0dfb0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 208, 91, .42), transparent 22%),
    linear-gradient(135deg, #fff7dd, #ffffff);
  box-shadow: 0 16px 40px rgba(25, 36, 51, .07);
}

.lp-seasonal h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.lp-seasonal p {
  max-width: 640px;
  margin: 0;
  color: var(--lp-muted);
}

.lp-seasonal__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lp-seasonal__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 68px;
  padding: 14px 17px;
  border-radius: 15px;
  background: var(--lp-deep);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.lp-seasonal__links a b {
  color: #ffe4a1;
  font-size: 1.15rem;
}

.lp-seasonal__links a:hover {
  transform: translateY(-1px);
  background: var(--lp-gold);
  color: #221805;
}

.lp-seasonal__links a:hover b {
  color: #221805;
}

.lp-post-grid--latest {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-mini-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(25, 36, 51, .06);
}

.lp-mini-card h3 {
  margin: 0 0 10px;
  font-size: 1.09rem;
  line-height: 1.18;
}

.lp-mini-card:hover {
  transform: translateY(-2px);
  border-color: #e5c373;
  box-shadow: 0 18px 36px rgba(25, 36, 51, .1);
}

/* Trust content can be reused on the homepage or with shortcode. */
.lightspr-trust {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: linear-gradient(135deg, #ffffff 0%, #fff7e1 100%);
}

.lightspr-trust h2 {
  margin: 0 0 12px;
  line-height: 1.04;
}

.lightspr-trust p {
  color: var(--lp-muted);
}

.lightspr-trust__cards {
  display: grid;
  gap: 12px;
}

.lightspr-trust__cards div {
  padding: 18px;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(25, 36, 51, .05);
}

.lightspr-trust__cards strong {
  display: block;
  margin-bottom: 4px;
}

.lightspr-trust__cards span {
  color: var(--lp-muted);
  font-size: .94rem;
  line-height: 1.45;
}

/* Optional shortcode-only visual blocks. */
.lightspr-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 34px;
  padding: clamp(46px, 7vw, 86px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 210, 94, .55), transparent 26%),
    linear-gradient(135deg, #172334 0%, #2e4259 56%, #d99a22 180%);
  color: #ffffff;
  box-shadow: var(--lp-shadow);
}

.lightspr-hero .lightspr-kicker {
  color: #ffe7a4;
}

.lightspr-hero .lightspr-kicker::before {
  background: #ffe7a4;
}

.lightspr-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.3rem, 6vw, 5.2rem);
  line-height: .95;
  letter-spacing: -.065em;
}

.lightspr-hero__text {
  max-width: 720px;
  color: #fff7e3;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.lightspr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.lightspr-finder {
  margin: 28px 0;
  padding: 30px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 35px rgba(25, 36, 51, .06);
}

.lightspr-finder h2 {
  margin: 0 0 18px;
}

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

.lightspr-finder__grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid #f2d99d;
  border-radius: 16px;
  background: #fff8e7;
  color: var(--lp-deep);
  font-weight: 800;
  text-decoration: none;
}

.lightspr-finder__grid a::after {
  content: "→";
  color: var(--lp-gold);
}

.lightspr-finder__grid a:hover {
  transform: translateY(-1px);
  border-color: var(--lp-deep);
  background: var(--lp-deep);
  color: #ffffff;
}

/* Page-based buying-guide layout plus clean informational-article reading layout. */
.single-post .entry-hero-container,
body.lightspr-money-page .entry-hero-container {
  border-bottom: 1px solid var(--lp-line);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 218, 127, .30), transparent 24%),
    linear-gradient(135deg, #fffdf8, #fff5dc);
}

.single-post .entry-hero-container .entry-hero,
body.lightspr-money-page .entry-hero-container .entry-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: clamp(40px, 5vw, 68px);
  padding-bottom: clamp(38px, 4.5vw, 60px);
}

.single-post .entry-title,
body.lightspr-money-page .entry-title {
  max-width: 1050px;
  margin-bottom: 14px;
  color: var(--lp-ink);
  font-size: clamp(2.2rem, 4.3vw, 4.15rem);
  line-height: .99;
  letter-spacing: -.055em;
}

.single-post .entry-meta,
.single-post .entry-meta a,
body.lightspr-money-page .entry-meta,
body.lightspr-money-page .entry-meta a {
  color: var(--lp-muted);
  font-size: .9rem;
}

.single-post .content-area,
body.lightspr-money-page .content-area {
  margin-top: clamp(28px, 4vw, 48px);
}

.single-post .entry-content,
body.lightspr-money-page .entry-content {
  color: #2e3745;
  font-size: 1.055rem;
  line-height: 1.77;
}

.single-post .entry-content > p,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > blockquote,
body.lightspr-money-page .entry-content > p,
body.lightspr-money-page .entry-content > ul,
body.lightspr-money-page .entry-content > ol,
body.lightspr-money-page .entry-content > blockquote {
  max-width: 860px;
}

.single-post .entry-content .lightspr-single-intro,
body.lightspr-money-page .entry-content .lightspr-single-intro {
  color: #465262;
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  line-height: 1.72;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
body.lightspr-money-page .entry-content h2,
body.lightspr-money-page .entry-content h3,
body.lightspr-money-page .entry-content h4 {
  color: var(--lp-ink);
  letter-spacing: -.025em;
}

.single-post .entry-content h2,
body.lightspr-money-page .entry-content h2 {
  margin-top: 2.45em;
  margin-bottom: .65em;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.1;
}

.single-post .entry-content h3,
body.lightspr-money-page .entry-content h3 {
  margin-top: 1.9em;
  margin-bottom: .55em;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.18;
}

.single-post .entry-content h4,
body.lightspr-money-page .entry-content h4 {
  margin-top: 1.65em;
  margin-bottom: .65em;
  font-size: 1.05rem;
  line-height: 1.25;
}

body.lightspr-money-page .entry-content h2.lightspr-guide-heading {
  position: relative;
  padding-top: 17px;
}

body.lightspr-money-page .entry-content h2.lightspr-guide-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 4px;
  border-radius: 99px;
  background: var(--lp-gold);
}

body.lightspr-money-page .entry-content h2.lightspr-product-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2.55em;
  padding: 20px 22px;
  border: 1px solid var(--lp-line);
  border-radius: 17px;
  background: linear-gradient(135deg, #ffffff 0%, #fff9ea 100%);
  box-shadow: 0 10px 24px rgba(25, 36, 51, .05);
}

body.lightspr-money-page .entry-content h2.lightspr-product-heading::before {
  content: attr(data-lightspr-product);
  display: inline-grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--lp-deep);
  color: #ffffff;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: 0;
}

body.lightspr-money-page .entry-content h2.lightspr-product-heading + p img,
body.lightspr-money-page .entry-content h2.lightspr-product-heading + figure img,
body.lightspr-money-page .entry-content h2.lightspr-product-heading + .wp-block-image img {
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(25, 36, 51, .08);
}

body.lightspr-money-page .entry-content img {
  border-radius: 18px;
}

body.lightspr-money-page .entry-content hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--lp-line);
}

.lightspr-disclosure {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  max-width: 980px;
  margin: 0 0 27px;
  padding: 16px 18px;
  border: 1px solid #efdc9f;
  border-left: 4px solid var(--lp-gold);
  border-radius: 14px;
  background: #fff9e7;
  color: #4b4435;
  font-size: .94rem;
  line-height: 1.52;
}

.lightspr-disclosure strong {
  color: #6e480c;
  white-space: nowrap;
}

.lightspr-disclosure span {
  display: block;
}


body.lightspr-money-page .entry-content ul,
body.lightspr-money-page .entry-content ol {
  padding-left: 1.28em;
}

body.lightspr-money-page .entry-content li {
  margin-bottom: .48em;
}

body.lightspr-money-page .entry-content .lightspr-product-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.85em;
  margin-bottom: .78em;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: .86rem;
  line-height: 1;
  letter-spacing: .01em;
}

body.lightspr-money-page .entry-content .lightspr-product-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

body.lightspr-money-page .entry-content .lightspr-product-label--features {
  background: #eef4fb;
  color: #3c5d85;
}

body.lightspr-money-page .entry-content .lightspr-product-label--likes {
  background: #ecf8ef;
  color: #356c47;
}

body.lightspr-money-page .entry-content .lightspr-product-label--caution {
  background: #fff3e3;
  color: #9d5d17;
}

body.lightspr-money-page .entry-content .lightspr-product-label--overall {
  background: #fff4ce;
  color: #81580c;
}

body.lightspr-money-page .entry-content .lightspr-product-list {
  max-width: 860px;
  margin-top: 0;
  margin-bottom: 1.5em;
  padding: 17px 20px 15px 39px;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  background: #ffffff;
}

body.lightspr-money-page .entry-content .lightspr-product-list--features {
  border-color: #d7e5f5;
  background: #f9fcff;
}

body.lightspr-money-page .entry-content .lightspr-product-list--likes {
  border-color: #d8eadc;
  background: #fbfffc;
}

body.lightspr-money-page .entry-content .lightspr-product-list--caution {
  border-color: #f1ddbe;
  background: #fffdf8;
}

body.lightspr-money-page .entry-content blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--lp-gold);
  border-radius: 0 14px 14px 0;
  background: #fff9e9;
  color: #4d4537;
}

/* Common table-of-contents plugin selectors. */
.single-post #ez-toc-container,
.single-post .lwptoc,
.single-post .simpletoc,
.single-post .toc_container,
.single-post .table-of-contents,
.single-post .wp-block-kadence-advancedtoc,
.single-post .wp-block-kadence-toc,
body.lightspr-money-page #ez-toc-container,
body.lightspr-money-page .lwptoc,
body.lightspr-money-page .simpletoc,
body.lightspr-money-page .toc_container,
body.lightspr-money-page .table-of-contents,
body.lightspr-money-page .wp-block-kadence-advancedtoc,
body.lightspr-money-page .wp-block-kadence-toc {
  max-width: 980px;
  margin: 30px 0;
  padding: 20px 22px;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(25, 36, 51, .06);
}

.single-post #ez-toc-container a,
.single-post .lwptoc a,
.single-post .simpletoc a,
.single-post .toc_container a,
.single-post .table-of-contents a,
.single-post .wp-block-kadence-advancedtoc a,
.single-post .wp-block-kadence-toc a,
body.lightspr-money-page #ez-toc-container a,
body.lightspr-money-page .lwptoc a,
body.lightspr-money-page .simpletoc a,
body.lightspr-money-page .toc_container a,
body.lightspr-money-page .table-of-contents a,
body.lightspr-money-page .wp-block-kadence-advancedtoc a,
body.lightspr-money-page .wp-block-kadence-toc a {
  color: #4d5b6a;
  text-decoration: none;
}

.single-post #ez-toc-container a:hover,
.single-post .lwptoc a:hover,
.single-post .simpletoc a:hover,
.single-post .toc_container a:hover,
.single-post .table-of-contents a:hover,
.single-post .wp-block-kadence-advancedtoc a:hover,
.single-post .wp-block-kadence-toc a:hover,
body.lightspr-money-page #ez-toc-container a:hover,
body.lightspr-money-page .lwptoc a:hover,
body.lightspr-money-page .simpletoc a:hover,
body.lightspr-money-page .toc_container a:hover,
body.lightspr-money-page .table-of-contents a:hover,
body.lightspr-money-page .wp-block-kadence-advancedtoc a:hover,
body.lightspr-money-page .wp-block-kadence-toc a:hover {
  color: var(--lp-gold-deep);
}

.single-post .entry-content > h2[id],
.single-post .entry-content > h3[id],
.single-post .entry-content > h4[id],
body.lightspr-money-page .entry-content > h2[id],
body.lightspr-money-page .entry-content > h3[id],
body.lightspr-money-page .entry-content > h4[id] {
  scroll-margin-top: 120px;
}

/* Archive and loop-card polish. */
.entry.loop-entry,
.post-archive .entry,
.wp-block-latest-posts li {
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 20px !important;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(25, 36, 51, .08);
}

.loop-entry:hover,
.post-archive .entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(25, 36, 51, .13);
}

.loop-entry .entry-title {
  font-size: 1.35rem;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.post-thumbnail img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.archive-title {
  letter-spacing: -.04em;
}

.taxonomy-description {
  max-width: 780px;
  color: var(--lp-muted);
}

.widget-area .widget {
  padding: 20px;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(25, 36, 51, .06);
}

.widget-title {
  color: var(--lp-gold-deep);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .9rem;
}


/* Page-based information architecture: the homepage contains hub pages and child buying pages, never category archives. */
.lp-category-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-post-card--money-page .lp-post-card__body > span {
  color: var(--lp-gold-deep);
}

/* Informational posts stay editorial. They never receive review-product card treatment. */
body.lightspr-information-post .entry-content > p,
body.lightspr-information-post .entry-content > ul,
body.lightspr-information-post .entry-content > ol,
body.lightspr-information-post .entry-content > blockquote {
  max-width: 820px;
}

body.lightspr-information-post .entry-content img {
  border-radius: 18px;
}

body.lightspr-information-post .entry-content blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--lp-gold);
  border-radius: 0 14px 14px 0;
  background: #fff9e9;
  color: #4d4537;
}

@media (max-width: 1120px) {
  .lp-category-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Floating back-to-top control. */
.lightspr-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  visibility: hidden;
  border: 0;
  border-radius: 50%;
  background: var(--lp-deep);
  color: #ffffff;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.lightspr-back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.lightspr-back-to-top:hover {
  background: var(--lp-gold);
  color: #1d1608;
}

@media (max-width: 960px) {
  .lp-home-hero,
  .lp-seasonal,
  .lightspr-trust {
    grid-template-columns: 1fr;
  }

  .lp-home-hero__image,
  .lp-home-hero__glow {
    max-width: 680px;
  }

  .lp-category-grid,
  .lp-category-grid--four,
  .lp-post-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .lightspr-homepage {
    padding: 25px 16px 52px;
  }

  .lp-home-hero {
    min-height: auto;
    padding: 35px 23px;
    border-radius: 24px;
  }

  .lp-home-hero__actions,
  .lightspr-hero__actions {
    display: grid;
  }

  .lp-home-hero__actions .lightspr-button,
  .lightspr-hero__actions .lightspr-button,
  .lightspr-button {
    width: 100%;
  }

  .lp-home-hero__image,
  .lp-home-hero__image img {
    min-height: 270px;
  }

  .lp-section {
    margin-top: 40px;
  }

  .lp-section-head--row {
    display: block;
  }

  .lp-section-head--row > a {
    display: inline-block;
    margin-top: 4px;
  }

  .lp-category-grid,
  .lp-post-grid--featured,
  .lp-post-grid--latest,
  .lp-seasonal__links,
  .lightspr-finder__grid {
    grid-template-columns: 1fr;
  }

  .lp-category-card {
    min-height: 184px;
  }

  .single-post .entry-title,
body.lightspr-money-page .entry-title {
    font-size: 2.15rem;
  }

  .single-post .entry-content,
body.lightspr-money-page .entry-content {
    font-size: 1rem;
  }

  body.lightspr-money-page .entry-content h2.lightspr-product-heading {
    gap: 10px;
    padding: 17px;
    font-size: 1.43rem;
  }

  .lightspr-disclosure {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 15px;
  }

  .lightspr-back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

/* v1.0.4 — focused buying-guide layout with an automatic sidebar.
   This applies only to money pages beneath the four LightsPR page hubs. */
body.lightspr-money-page {
  background: #f4f7fa;
}

body.lightspr-money-page .entry-hero-container {
  border: 0;
  background: #eaf0f5;
}

body.lightspr-money-page .entry-hero-container .entry-hero {
  max-width: 1160px;
  padding: clamp(34px, 4.5vw, 56px) 24px;
}

body.lightspr-money-page .entry-hero-container .entry-header,
body.lightspr-money-page .entry-hero-container .entry-title {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

body.lightspr-money-page .entry-title {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}

body.lightspr-money-page .content-area {
  width: min(1160px, calc(100% - 40px));
  max-width: 1160px;
  margin: clamp(28px, 4vw, 48px) auto clamp(60px, 7vw, 92px);
}

body.lightspr-money-page .content-area,
body.lightspr-money-page .site-main,
body.lightspr-money-page article.entry,
body.lightspr-money-page .entry-content,
body.lightspr-money-page .entry-content-wrap {
  background: transparent;
  box-shadow: none;
}

body.lightspr-money-page .entry-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* The generated content wrapper creates a readable 720px main column and a sticky right rail. */
body.lightspr-money-page .lightspr-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(248px, 300px);
  align-items: start;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
}

body.lightspr-money-page .lightspr-guide-content {
  min-width: 0;
  padding: clamp(25px, 4vw, 46px);
  border: 1px solid #e5eaef;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(26, 38, 54, .055);
}

body.lightspr-money-page .lightspr-guide-content > p,
body.lightspr-money-page .lightspr-guide-content > ul,
body.lightspr-money-page .lightspr-guide-content > ol,
body.lightspr-money-page .lightspr-guide-content > blockquote,
body.lightspr-money-page .lightspr-guide-content > figure,
body.lightspr-money-page .lightspr-guide-content > .wp-block-image,
body.lightspr-money-page .lightspr-guide-content > .wp-block-group {
  max-width: 100%;
}

body.lightspr-money-page .lightspr-guide-content > p:first-child {
  margin-top: 0;
}

body.lightspr-money-page .lightspr-guide-content .lightspr-single-intro {
  color: #43556b;
  font-size: 1.08rem;
  line-height: 1.75;
}

/* The old inline ToC is replaced by the right-rail navigation so the opening stays clean. */
body.lightspr-money-page .lightspr-guide-content #ez-toc-container,
body.lightspr-money-page .lightspr-guide-content .lwptoc,
body.lightspr-money-page .lightspr-guide-content .simpletoc,
body.lightspr-money-page .lightspr-guide-content .toc_container,
body.lightspr-money-page .lightspr-guide-content .table-of-contents,
body.lightspr-money-page .lightspr-guide-content .wp-block-kadence-advancedtoc,
body.lightspr-money-page .lightspr-guide-content .wp-block-kadence-toc {
  display: none !important;
}

/* Product entries read as clean editorial sections, not giant rounded banners. */
body.lightspr-money-page .lightspr-guide-content h2.lightspr-product-heading {
  display: block;
  margin-top: 3.1em;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid #e5eaf0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  line-height: 1.18;
}

body.lightspr-money-page .lightspr-guide-content h2.lightspr-product-heading::before {
  display: none;
}

body.lightspr-money-page .lightspr-guide-content h2.lightspr-guide-heading {
  margin-top: 2.6em;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

body.lightspr-money-page .lightspr-guide-content h2,
body.lightspr-money-page .lightspr-guide-content h3,
body.lightspr-money-page .lightspr-guide-content h4 {
  scroll-margin-top: 120px;
}

/* Right sidebar. It is automatic, while optional widgets can be added in Appearance > Widgets. */
.lightspr-guide-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.lightspr-side-card {
  padding: 20px;
  border: 1px solid #e2e8ee;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(26, 38, 54, .045);
}

.lightspr-side-card__eyebrow {
  margin: 0 0 7px;
  color: #9a6712;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .66rem;
  font-weight: 900;
}

.lightspr-side-card__title {
  margin: 0 0 13px;
  color: #172033;
  font-size: 1.05rem;
  line-height: 1.2;
}

.lightspr-guide-nav ol {
  display: grid;
  gap: 2px;
  max-height: min(49vh, 440px);
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  scrollbar-width: thin;
}

.lightspr-guide-nav li {
  margin: 0;
  padding: 0;
}

.lightspr-guide-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: #506075;
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.32;
  text-decoration: none;
}

.lightspr-guide-nav a:hover {
  background: #fff6df;
  color: #77500f;
}

.lightspr-side-hubs__links {
  display: grid;
  gap: 3px;
}

.lightspr-side-hubs__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f3;
  color: #3f5065;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.lightspr-side-hubs__links a:last-child {
  border-bottom: 0;
}

.lightspr-side-hubs__links a b {
  color: #af7618;
}

.lightspr-side-hubs__links a:hover {
  color: #172033;
}

.lightspr-guide-sidebar__widgets {
  display: grid;
  gap: 16px;
}

.lightspr-guide-sidebar__widgets .widget {
  margin: 0;
}

@media (max-width: 980px) {
  body.lightspr-money-page .content-area {
    width: min(820px, calc(100% - 32px));
  }

  body.lightspr-money-page .lightspr-guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .lightspr-guide-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightspr-guide-sidebar__widgets {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.lightspr-money-page .content-area {
    width: min(100% - 24px, 820px);
    margin-top: 22px;
  }

  body.lightspr-money-page .entry-hero-container .entry-hero {
    padding: 30px 18px;
  }

  body.lightspr-money-page .entry-title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  body.lightspr-money-page .lightspr-guide-content {
    padding: 24px 19px;
    border-radius: 16px;
  }

  .lightspr-guide-sidebar,
  .lightspr-guide-sidebar__widgets {
    grid-template-columns: 1fr;
  }
}


/* v1.0.5 — refined guide rail, untouched Amazon links, and child-page hub directories. */

/* Amazon / affiliate buttons are intentionally not styled by this theme.
   Their plugin or custom CSS remains the single source of truth. */

/* Back-to-top uses an SVG, not a text glyph, to keep the icon truly centered. */
.lightspr-back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.lightspr-back-to-top svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Slightly narrower guide column plus a quieter, unified right rail. */
body.lightspr-money-page .content-area {
  width: min(1080px, calc(100% - 40px));
  max-width: 1080px;
}

body.lightspr-money-page .entry-hero-container .entry-hero {
  max-width: 1080px;
}

body.lightspr-money-page .lightspr-guide-layout {
  grid-template-columns: minmax(0, 700px) minmax(250px, 280px);
  gap: clamp(28px, 4vw, 48px);
}

body.lightspr-money-page .lightspr-guide-content {
  padding: clamp(25px, 4vw, 40px);
  border-radius: 18px;
}

.lightspr-guide-sidebar {
  top: 102px;
  display: block;
}

.lightspr-side-card {
  padding: 0;
  overflow: hidden;
  border-color: #e3e9ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(26, 38, 54, .055);
}

.lightspr-guide-panel__head {
  padding: 20px 20px 13px;
  border-bottom: 1px solid #edf1f4;
}

.lightspr-side-card__eyebrow {
  margin-bottom: 5px;
  color: #987026;
  letter-spacing: .1em;
}

.lightspr-side-card__title {
  margin: 0;
  color: #1b2738;
  font-size: 1.05rem;
  font-weight: 800;
}

.lightspr-guide-nav {
  padding: 10px;
}

.lightspr-guide-nav ol {
  gap: 0;
  max-height: min(42vh, 360px);
}

.lightspr-guide-nav li + li {
  border-top: 1px solid #f0f3f6;
}

.lightspr-guide-nav a {
  position: relative;
  padding: 10px 8px 10px 16px;
  color: #51627a;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.34;
}

.lightspr-guide-nav a::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d5a13e;
}

.lightspr-guide-nav a:hover {
  background: #faf7ef;
  color: #34250c;
}

.lightspr-side-hubs {
  padding: 15px 18px 18px;
  border-top: 1px solid #edf1f4;
  background: #fcfdfd;
}

.lightspr-side-hubs > p {
  margin: 0 0 10px;
  color: #7c8796;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .64rem;
  font-weight: 900;
}

.lightspr-side-hubs__links {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.lightspr-side-hubs__links a {
  justify-content: space-between;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e7edf2;
  border-radius: 9px;
  color: #44556a;
  background: #ffffff;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.2;
}

.lightspr-side-hubs__links a:last-child {
  border-bottom: 1px solid #e7edf2;
}

.lightspr-side-hubs__links a span {
  color: #b27d1c;
  font-size: .9rem;
}

.lightspr-side-hubs__links a:hover {
  border-color: #d8b565;
  color: #1c2a3b;
  background: #fffaf0;
}

.lightspr-guide-sidebar__widgets {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.lightspr-guide-sidebar__widgets .widget {
  margin: 0;
}

/* Main hub pages: compact landing pages with an automatic directory of child buying guides. */
body.lightspr-hub-page {
  background: #f5f7fa;
}

body.lightspr-hub-page .entry-hero-container {
  border: 0;
  background: linear-gradient(135deg, #f4f7fa 0%, #eef3f7 100%);
}

body.lightspr-hub-page .entry-hero-container .entry-hero {
  max-width: 1160px;
  padding: clamp(34px, 4.5vw, 58px) 24px;
}

body.lightspr-hub-page .entry-hero-container .entry-header,
body.lightspr-hub-page .entry-hero-container .entry-title {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

body.lightspr-hub-page .entry-title {
  margin-bottom: 0;
  color: #172033;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -.052em;
}

body.lightspr-hub-page .content-area {
  width: min(1160px, calc(100% - 40px));
  max-width: 1160px;
  margin: clamp(28px, 4vw, 48px) auto clamp(64px, 8vw, 96px);
}

body.lightspr-hub-page .content-area,
body.lightspr-hub-page .site-main,
body.lightspr-hub-page article.entry,
body.lightspr-hub-page .entry-content,
body.lightspr-hub-page .entry-content-wrap {
  background: transparent;
  box-shadow: none;
}

body.lightspr-hub-page .entry-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.lightspr-hub-intro {
  max-width: 760px;
  margin-bottom: 34px;
  padding: clamp(23px, 3.5vw, 34px);
  border: 1px solid #e1e8ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(26, 38, 54, .045);
}

.lightspr-hub-intro > :first-child {
  margin-top: 0;
}

.lightspr-hub-intro > :last-child {
  margin-bottom: 0;
}

.lightspr-hub-intro p,
.lightspr-hub-intro li {
  color: #4e5d70;
  font-size: 1.05rem;
  line-height: 1.72;
}

.lightspr-hub-guides {
  padding-top: 4px;
}

.lightspr-hub-guides__head {
  max-width: 720px;
  margin-bottom: 22px;
}

.lightspr-hub-guides__head h2 {
  margin: 0 0 8px;
  color: #172033;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.07;
  letter-spacing: -.045em;
}

.lightspr-hub-guides__head > p:last-child {
  margin: 0;
  color: #5a6a7d;
  line-height: 1.6;
}

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

.lightspr-hub-guide-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e7ee;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(26, 38, 54, .045);
}

.lightspr-hub-guide-card:hover {
  transform: translateY(-2px);
  border-color: #d6b76f;
  box-shadow: 0 16px 34px rgba(26, 38, 54, .09);
}

.lightspr-hub-guide-card__image {
  display: block;
  min-height: 172px;
  overflow: hidden;
  background: #eff3f7;
}

.lightspr-hub-guide-card__image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform .28s ease;
}

.lightspr-hub-guide-card:hover .lightspr-hub-guide-card__image img {
  transform: scale(1.03);
}

.lightspr-hub-guide-card__fallback {
  display: grid;
  height: 190px;
  place-items: center;
  color: #93722e;
  font-size: .86rem;
  font-weight: 800;
}

.lightspr-hub-guide-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px;
}

.lightspr-hub-guide-card__body > span {
  margin-bottom: 8px;
  color: #99711e;
  text-transform: uppercase;
  letter-spacing: .085em;
  font-size: .64rem;
  font-weight: 900;
}

.lightspr-hub-guide-card h3 {
  margin: 0 0 9px;
  font-size: 1.12rem;
  line-height: 1.22;
  letter-spacing: -.022em;
}

.lightspr-hub-guide-card h3 a {
  color: #1b2738;
  text-decoration: none;
}

.lightspr-hub-guide-card h3 a:hover {
  color: #8d6519;
}

.lightspr-hub-guide-card p {
  margin: 0;
  color: #667488;
  font-size: .9rem;
  line-height: 1.55;
}

.lightspr-hub-guide-card__link {
  display: inline-flex;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  color: #293c52;
  font-size: .87rem;
  font-weight: 800;
  text-decoration: none;
}

.lightspr-hub-guide-card__link:hover {
  color: #9b6b13;
}

@media (max-width: 980px) {
  body.lightspr-money-page .content-area,
  body.lightspr-hub-page .content-area {
    width: min(820px, calc(100% - 32px));
  }

  .lightspr-guide-sidebar {
    position: static;
    margin-top: 4px;
  }

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

@media (max-width: 620px) {
  body.lightspr-money-page .content-area,
  body.lightspr-hub-page .content-area {
    width: min(100% - 24px, 820px);
  }

  body.lightspr-hub-page .entry-hero-container .entry-hero {
    padding: 30px 18px;
  }

  body.lightspr-hub-page .entry-title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .lightspr-side-hubs__links,
  .lightspr-hub-guide-grid {
    grid-template-columns: 1fr;
  }

  .lightspr-hub-intro {
    padding: 22px 19px;
  }
}


/* v1.0.6 — balanced guide width, compact sidebar heading, and editor-controlled disclosure. */
body.lightspr-money-page .content-area {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
}

body.lightspr-money-page .entry-hero-container .entry-hero {
  max-width: 1120px;
}

/* The guide body gains usable room while staying within comfortable reading measure. */
body.lightspr-money-page .lightspr-guide-layout {
  grid-template-columns: minmax(0, 760px) minmax(250px, 280px);
  gap: clamp(30px, 3.4vw, 42px);
}

body.lightspr-money-page .lightspr-guide-content {
  padding: clamp(28px, 3.25vw, 38px);
}

/* Keep the sidebar visually quiet: one small label, then the navigation list. */
body.lightspr-money-page .entry-content .lightspr-guide-panel__head {
  padding: 17px 20px 8px;
  border-bottom: 0;
}

body.lightspr-money-page .entry-content .lightspr-guide-panel__head .lightspr-side-card__eyebrow {
  margin: 0 !important;
  padding: 0 !important;
  color: #987026;
  font-size: .67rem !important;
  line-height: 1.2 !important;
  letter-spacing: .11em !important;
}

body.lightspr-money-page .entry-content .lightspr-guide-nav {
  padding: 7px 12px 12px;
}

body.lightspr-money-page .entry-content .lightspr-guide-nav ol {
  max-height: min(43vh, 340px);
}

/* Strong reset in case Kadence's heading rules ever target sidebar widgets. */
body.lightspr-money-page .entry-content .lightspr-side-card__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 1.05rem !important;
  line-height: 1.22 !important;
  letter-spacing: -.015em !important;
}

/* User fills this through the LightsPR Guide Disclosure editor field. */
body.lightspr-money-page .lightspr-guide-content > .lightspr-disclosure {
  max-width: none;
  margin: 0 0 26px;
}

.lightspr-disclosure {
  display: block;
  padding: 15px 18px 16px;
  border: 1px solid #ecdba8;
  border-left: 4px solid var(--lp-gold);
  border-radius: 13px;
  background: #fffaf0;
  box-shadow: none;
}

.lightspr-disclosure__label {
  margin: 0 0 5px !important;
  color: #8c651d;
  text-transform: uppercase;
  letter-spacing: .095em;
  font-size: .67rem;
  font-weight: 900;
  line-height: 1.2;
}

.lightspr-disclosure__text,
.lightspr-disclosure__text p {
  margin: 0;
  color: #5c5039;
  font-size: .93rem;
  line-height: 1.55;
}

.lightspr-disclosure__text p + p {
  margin-top: .55em;
}

@media (max-width: 980px) {
  body.lightspr-money-page .content-area {
    width: min(840px, calc(100% - 32px));
  }

  body.lightspr-money-page .lightspr-guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  body.lightspr-money-page .lightspr-guide-content {
    padding: 24px 19px;
  }
}

/* v1.0.8 — editor-controlled sidebar and fuller mobile reading space. */
/* The old disclosure field is removed. Buying-guide side content now lives entirely in Widgets. */

/* Keep the automatic part of the rail deliberately small. Everything beneath it is editor-controlled. */
.lightspr-guide-sidebar__widgets {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.lightspr-guide-sidebar__widgets .lightspr-side-card.widget {
  padding: 20px;
  overflow: visible;
}

.lightspr-guide-sidebar__widgets .lightspr-side-card__title,
.lightspr-guide-sidebar__widgets .widget-title {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #1b2738;
  font-size: 1rem !important;
  font-weight: 800;
  line-height: 1.28 !important;
  letter-spacing: -.015em !important;
  text-transform: none;
}

.lightspr-guide-sidebar__widgets p,
.lightspr-guide-sidebar__widgets li {
  color: #58697d;
  font-size: .9rem;
  line-height: 1.58;
}

.lightspr-guide-sidebar__widgets p:first-child,
.lightspr-guide-sidebar__widgets ul:first-child,
.lightspr-guide-sidebar__widgets ol:first-child {
  margin-top: 0;
}

.lightspr-guide-sidebar__widgets p:last-child,
.lightspr-guide-sidebar__widgets ul:last-child,
.lightspr-guide-sidebar__widgets ol:last-child {
  margin-bottom: 0;
}

.lightspr-guide-sidebar__widgets a {
  color: #805c18;
  font-weight: 750;
}

.lightspr-guide-sidebar__widgets a:hover {
  color: #1c2a3b;
}

/* On phones the article becomes edge-to-edge instead of a narrow card inside another container. */
@media (max-width: 620px) {
  body.lightspr-money-page {
    background: #ffffff;
  }

  body.lightspr-money-page .content-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 42px;
  }

  body.lightspr-money-page .lightspr-guide-layout {
    display: grid;
    gap: 24px;
  }

  body.lightspr-money-page .lightspr-guide-content {
    width: 100%;
    padding: 27px 20px 38px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.lightspr-money-page .lightspr-guide-content .lightspr-single-intro {
    font-size: 1.04rem;
    line-height: 1.72;
  }

  body.lightspr-money-page .entry-hero-container .entry-hero {
    padding: 28px 20px;
  }

  .lightspr-guide-sidebar {
    margin: 0 16px;
  }

  .lightspr-guide-sidebar__widgets .lightspr-side-card.widget {
    padding: 18px;
  }
}


/* v1.0.9 — single-column buying guides, in-content navigation, and an easier mobile reading experience. */
/* Amazon / affiliate buttons intentionally receive no theme styling. */

/* Money guides are one focused reading column; the former right sidebar is fully removed. */
body.lightspr-money-page {
  background: #f4f7fa;
}

body.lightspr-money-page .content-area {
  width: min(920px, calc(100% - 40px));
  max-width: 920px;
  margin: clamp(26px, 4vw, 46px) auto clamp(60px, 7vw, 88px);
}

body.lightspr-money-page .entry-hero-container,
body.lightspr-money-page .entry-hero-container .entry-hero {
  width: 100%;
}

body.lightspr-money-page .entry-hero-container .entry-header,
body.lightspr-money-page .entry-hero-container .entry-title {
  max-width: 920px;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: left !important;
}

body.lightspr-money-page .entry-title {
  max-width: 860px;
  font-size: clamp(2.15rem, 4.25vw, 3.65rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.052em !important;
}

body.lightspr-money-page .lightspr-guide-layout {
  display: block;
  width: 100%;
}

body.lightspr-money-page .lightspr-guide-content {
  width: 100%;
  padding: clamp(28px, 4.5vw, 48px);
  border: 1px solid #e2e9ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(26, 38, 54, .05);
}

/* Any old sidebar or widget markup from cached page output stays hidden. */
body.lightspr-money-page .lightspr-guide-sidebar,
body.lightspr-money-page .lightspr-guide-sidebar__widgets {
  display: none !important;
}

/* The only ToC shown on money guides is the automatic in-content one. */
body.lightspr-money-page .lightspr-guide-content #ez-toc-container,
body.lightspr-money-page .lightspr-guide-content .lwptoc,
body.lightspr-money-page .lightspr-guide-content .simpletoc,
body.lightspr-money-page .lightspr-guide-content .toc_container,
body.lightspr-money-page .lightspr-guide-content .table-of-contents,
body.lightspr-money-page .lightspr-guide-content .wp-block-kadence-advancedtoc,
body.lightspr-money-page .lightspr-guide-content .wp-block-kadence-toc {
  display: none !important;
}

/* Global, editable disclosure — close to introductory content and any affiliate links. */
.lightspr-affiliate-disclosure {
  margin: 28px 0 18px;
  padding: 15px 17px;
  border: 1px solid #ead8a7;
  border-left: 4px solid var(--lp-gold);
  border-radius: 13px;
  background: #fffaf0;
  color: #574b37;
}

.lightspr-affiliate-disclosure__label {
  margin: 0 0 5px !important;
  color: #8a641e;
  text-transform: uppercase;
  letter-spacing: .095em;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.25;
}

.lightspr-affiliate-disclosure__text {
  margin: 0 !important;
  color: #5f513b;
  font-size: .93rem;
  line-height: 1.56;
}

/* Editorial, in-content navigation. */
.lightspr-inline-toc {
  margin: 0 0 34px;
  padding: 0;
  border: 1px solid #e0e8ef;
  border-radius: 16px;
  overflow: hidden;
  background: #fbfcfd;
  box-shadow: 0 8px 22px rgba(26, 38, 54, .035);
}

.lightspr-inline-toc__eyebrow {
  margin: 0 !important;
  padding: 15px 19px 12px;
  border-bottom: 1px solid #e9eef2;
  color: #8f681f;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .69rem;
  font-weight: 900;
  line-height: 1.2;
}

.lightspr-inline-toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 !important;
  padding: 5px 11px 10px !important;
  list-style: none !important;
}

.lightspr-inline-toc__list li {
  margin: 0 !important;
  min-width: 0;
}

.lightspr-inline-toc__list a {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 10px 11px 10px 23px;
  border-radius: 8px;
  color: #465b72;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.37;
  text-decoration: none;
}

.lightspr-inline-toc__list a::before {
  content: "";
  position: absolute;
  top: 1.02em;
  left: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lp-gold);
}

.lightspr-inline-toc__list a:hover {
  background: #fff6df;
  color: #5f4310;
}

/* Keep product entries calm and readable rather than boxed, especially on phones. */
body.lightspr-money-page .lightspr-guide-content h2.lightspr-product-heading {
  margin-top: 2.7em;
  padding-top: 25px;
  border-top: 1px solid #e5ebf0;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.17;
}

body.lightspr-money-page .lightspr-guide-content h2.lightspr-guide-heading {
  margin-top: 2.45em;
}

@media (max-width: 767px) {
  body.lightspr-money-page {
    background: #ffffff;
  }

  body.lightspr-money-page .site-header .site-header-row-container-inner,
  body.lightspr-money-page .site-header .site-header-row-container,
  body.lightspr-money-page .site-header .site-header-main-section {
    min-height: 76px !important;
  }

  body.lightspr-money-page .site-branding a.brand img,
  body.lightspr-money-page .site-branding img {
    max-height: 52px !important;
  }

  body.lightspr-money-page .entry-hero-container .entry-hero {
    padding: 29px 20px 31px !important;
  }

  body.lightspr-money-page .entry-hero-container .entry-header,
  body.lightspr-money-page .entry-hero-container .entry-title {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body.lightspr-money-page .entry-title {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(2.1rem, 10.2vw, 2.9rem) !important;
    line-height: 1.055 !important;
    letter-spacing: -.06em !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.lightspr-money-page .content-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 42px !important;
  }

  body.lightspr-money-page .lightspr-guide-content {
    padding: 28px 20px 44px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.lightspr-money-page .entry-content,
  body.lightspr-money-page .lightspr-guide-content {
    font-size: 1.04rem !important;
    line-height: 1.72 !important;
  }

  body.lightspr-money-page .lightspr-guide-content .lightspr-single-intro,
  body.lightspr-money-page .lightspr-guide-content > p {
    font-size: 1.06rem !important;
    line-height: 1.74 !important;
  }

  body.lightspr-money-page .lightspr-guide-content h2,
  body.lightspr-money-page .lightspr-guide-content h2.lightspr-guide-heading {
    font-size: clamp(1.55rem, 7.5vw, 2.05rem) !important;
    line-height: 1.13 !important;
  }

  body.lightspr-money-page .lightspr-guide-content h2.lightspr-product-heading {
    font-size: clamp(1.42rem, 7vw, 1.85rem) !important;
    line-height: 1.17 !important;
  }

  .lightspr-affiliate-disclosure {
    margin-top: 24px;
    padding: 14px 15px;
  }

  .lightspr-inline-toc {
    margin-bottom: 30px;
    border-radius: 14px;
  }

  .lightspr-inline-toc__list {
    grid-template-columns: 1fr;
    padding: 5px 9px 9px !important;
  }

  .lightspr-inline-toc__list a {
    padding: 10px 10px 10px 22px;
    font-size: .92rem;
  }

  .lightspr-back-to-top {
    right: 15px !important;
    bottom: 18px !important;
  }
}

/* v1.0.10 — wider, image-led buying guides and finished page-based hub landings. */
/* Affiliate disclosure stays concise and readable, while Amazon wording remains editor-controlled. */

/* A smaller, calmer title area for long commercial-guide titles. */
body.lightspr-money-page .entry-hero-container {
  border-bottom: 1px solid #e3e9ef;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 215, 121, .28), transparent 28%),
    linear-gradient(135deg, #f7fafc 0%, #eef3f8 100%);
}

body.lightspr-money-page .entry-hero-container .entry-hero {
  width: min(1080px, calc(100% - 48px)) !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: clamp(34px, 5vw, 58px) 0 clamp(34px, 4.5vw, 50px) !important;
}

body.lightspr-money-page .entry-hero-container .entry-header,
body.lightspr-money-page .entry-hero-container .entry-title {
  width: 100% !important;
  max-width: 920px !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
}

body.lightspr-money-page .entry-title,
body.lightspr-money-page .entry-hero-container .entry-title.entry-title {
  margin-bottom: 0 !important;
  color: #152039 !important;
  font-size: clamp(2.2rem, 4.2vw, 3.35rem) !important;
  font-weight: 750 !important;
  line-height: 1.06 !important;
  letter-spacing: -.052em !important;
  text-wrap: balance;
}

body.lightspr-money-page .content-area {
  width: min(1080px, calc(100% - 48px)) !important;
  max-width: 1080px !important;
  margin: clamp(28px, 4vw, 46px) auto clamp(66px, 8vw, 96px) !important;
}

body.lightspr-money-page .lightspr-guide-layout {
  display: block !important;
  width: 100% !important;
}

body.lightspr-money-page .lightspr-guide-shell {
  width: 100%;
  overflow: hidden;
  border: 1px solid #e1e8ef;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(20, 32, 51, .055);
}

body.lightspr-money-page .lightspr-guide-content {
  width: 100% !important;
  max-width: none !important;
  padding: clamp(38px, 5.5vw, 64px) clamp(36px, 7vw, 74px) clamp(46px, 6vw, 72px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* The article text area now lands around 900px on wide screens, instead of a narrow card. */
body.lightspr-money-page .lightspr-guide-content > * {
  max-width: 100%;
}

.lightspr-guide-featured {
  margin: 0;
  overflow: hidden;
  background: #edf2f6;
}

.lightspr-guide-featured__image {
  display: block;
  width: 100%;
  height: clamp(290px, 42vw, 480px);
  object-fit: cover;
  object-position: center;
}

/* Keep the disclosure present near affiliate links, but visually quieter than the editorial content. */
.lightspr-affiliate-disclosure {
  margin: 0 0 18px !important;
  padding: 10px 13px !important;
  border: 1px solid #e5e9ee !important;
  border-left: 2px solid #b98a32 !important;
  border-radius: 9px !important;
  background: #fafbfc !important;
  box-shadow: none !important;
}

.lightspr-affiliate-disclosure__label {
  margin: 0 0 3px !important;
  color: #768191 !important;
  letter-spacing: .08em !important;
  font-size: .61rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

.lightspr-affiliate-disclosure__text {
  margin: 0 !important;
  color: #596575 !important;
  font-size: .79rem !important;
  line-height: 1.48 !important;
}

/* The inline contents stays in the article, with a low-contrast, compact presentation. */
.lightspr-inline-toc {
  margin: 0 0 34px !important;
  border: 1px solid #e2e8ee !important;
  border-radius: 14px !important;
  background: #fbfcfd !important;
  box-shadow: none !important;
}

.lightspr-inline-toc__eyebrow {
  padding: 13px 17px 10px !important;
  color: #697688 !important;
  font-size: .66rem !important;
}

.lightspr-inline-toc__list a {
  color: #506176 !important;
  font-size: .9rem !important;
}

body.lightspr-money-page .lightspr-guide-content .lightspr-single-intro {
  color: #405168 !important;
  font-size: clamp(1.09rem, 1.6vw, 1.22rem) !important;
  line-height: 1.74 !important;
}

body.lightspr-money-page .lightspr-guide-content h2.lightspr-guide-heading {
  margin-top: 2.7em !important;
  color: #17233a !important;
  font-size: clamp(1.72rem, 3vw, 2.22rem) !important;
}

body.lightspr-money-page .lightspr-guide-content h2.lightspr-product-heading {
  margin-top: 3em !important;
  padding-top: 28px !important;
  color: #17233a !important;
  font-size: clamp(1.55rem, 2.65vw, 2rem) !important;
}

/* Rebuild each root page as a proper hub landing page, not a plain page plus card grid. */
body.lightspr-hub-page {
  background: #f6f8fb;
}

body.lightspr-hub-page .entry-hero-container,
body.lightspr-hub-page .entry-hero-container-inner,
body.lightspr-hub-page .entry-header {
  display: none !important;
}

body.lightspr-hub-page .content-area {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin: clamp(32px, 5vw, 58px) auto clamp(70px, 8vw, 104px) !important;
}

body.lightspr-hub-page .entry-content,
body.lightspr-hub-page .entry-content-wrap,
body.lightspr-hub-page article.entry {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lightspr-hub-landing__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(24, 37, 56, .06);
}

.lightspr-hub-landing__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5.6vw, 70px);
}

.lightspr-hub-landing__copy h1 {
  max-width: 650px;
  margin: 0 0 15px !important;
  color: #16223a;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem) !important;
  font-weight: 760;
  line-height: .99;
  letter-spacing: -.06em;
}

.lightspr-hub-landing__intro {
  max-width: 610px;
  color: #526276;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
}

.lightspr-hub-landing__intro > :first-child { margin-top: 0; }
.lightspr-hub-landing__intro > :last-child { margin-bottom: 0; }

.lightspr-hub-landing__media {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 226, 143, .86), rgba(255, 226, 143, 0) 20%),
    radial-gradient(circle at 67% 64%, rgba(255, 182, 70, .58), rgba(255, 182, 70, 0) 24%),
    linear-gradient(145deg, #17273a, #314864);
}

.lightspr-hub-landing__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.lightspr-hub-landing__glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.lightspr-hub-landing__glow::before,
.lightspr-hub-landing__glow::after,
.lightspr-hub-landing__glow span {
  position: absolute;
  display: block;
  border-radius: 50%;
  content: "";
}

.lightspr-hub-landing__glow::before {
  top: 15%;
  left: 17%;
  width: 132px;
  height: 132px;
  background: #fff0bd;
  box-shadow: 0 0 64px 25px rgba(255, 210, 101, .45);
}

.lightspr-hub-landing__glow::after {
  right: 12%;
  bottom: 13%;
  width: 202px;
  height: 202px;
  border: 1px solid rgba(255,255,255,.25);
}

.lightspr-hub-landing__glow span:nth-child(1) {
  top: 12%;
  right: 20%;
  width: 12px;
  height: 12px;
  background: #ffe99e;
  box-shadow: 0 0 28px 12px rgba(255, 221, 123, .7);
}

.lightspr-hub-landing__glow span:nth-child(2) {
  right: 36%;
  bottom: 28%;
  width: 24px;
  height: 24px;
  background: #fff8d6;
  box-shadow: 0 0 40px 17px rgba(255, 220, 121, .62);
}

.lightspr-hub-landing__glow span:nth-child(3) {
  bottom: 16%;
  left: 25%;
  width: 10px;
  height: 10px;
  background: #ffe49a;
  box-shadow: 0 0 24px 9px rgba(255, 205, 82, .68);
}

.lightspr-hub-guides {
  margin-top: clamp(46px, 7vw, 76px);
  padding-top: 0 !important;
}

.lightspr-hub-guides__head {
  max-width: 690px;
  margin-bottom: 24px;
}

.lightspr-hub-guides__head h2 {
  margin: 0 0 9px !important;
  color: #17233a !important;
  font-size: clamp(1.82rem, 3.1vw, 2.8rem) !important;
  line-height: 1.05 !important;
}

.lightspr-hub-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.lightspr-hub-guide-card {
  border-color: #dfe7ee !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(24, 37, 56, .045) !important;
}

.lightspr-hub-guide-card__image,
.lightspr-hub-guide-card__image img,
.lightspr-hub-guide-card__fallback {
  min-height: 195px !important;
  height: 210px !important;
}

.lightspr-hub-guide-card__body {
  padding: 21px !important;
}

.lightspr-hub-guide-card h3 {
  font-size: 1.16rem !important;
  line-height: 1.22 !important;
}

@media (max-width: 900px) {
  body.lightspr-money-page .entry-hero-container .entry-hero,
  body.lightspr-money-page .content-area,
  body.lightspr-hub-page .content-area {
    width: min(100% - 32px, 920px) !important;
  }

  .lightspr-hub-landing__hero {
    grid-template-columns: 1fr;
  }

  .lightspr-hub-landing__media,
  .lightspr-hub-landing__image {
    min-height: 300px;
  }

  .lightspr-hub-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.lightspr-money-page {
    background: #ffffff;
  }

  body.lightspr-money-page .entry-hero-container .entry-hero {
    width: 100% !important;
    padding: 28px 20px 30px !important;
  }

  body.lightspr-money-page .entry-hero-container .entry-header,
  body.lightspr-money-page .entry-hero-container .entry-title {
    max-width: none !important;
    margin: 0 !important;
  }

  body.lightspr-money-page .entry-title,
  body.lightspr-money-page .entry-hero-container .entry-title.entry-title {
    font-size: clamp(2rem, 8.1vw, 2.45rem) !important;
    line-height: 1.07 !important;
    letter-spacing: -.047em !important;
    text-wrap: pretty;
  }

  body.lightspr-money-page .content-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 42px !important;
  }

  body.lightspr-money-page .lightspr-guide-shell {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.lightspr-money-page .lightspr-guide-content {
    padding: 30px 20px 46px !important;
  }

  .lightspr-guide-featured__image {
    height: min(64vw, 330px);
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .lightspr-affiliate-disclosure {
    margin-bottom: 16px !important;
    padding: 9px 11px !important;
  }

  .lightspr-affiliate-disclosure__text {
    font-size: .78rem !important;
    line-height: 1.46 !important;
  }

  body.lightspr-money-page .lightspr-guide-content .lightspr-single-intro {
    font-size: 1.08rem !important;
    line-height: 1.72 !important;
  }

  body.lightspr-money-page .lightspr-guide-content h2.lightspr-guide-heading {
    font-size: clamp(1.55rem, 7.2vw, 1.92rem) !important;
  }

  body.lightspr-money-page .lightspr-guide-content h2.lightspr-product-heading {
    font-size: clamp(1.42rem, 6.7vw, 1.75rem) !important;
  }

  body.lightspr-hub-page .content-area {
    width: min(100% - 28px, 680px) !important;
  }

  .lightspr-hub-landing__hero {
    border-radius: 20px;
  }

  .lightspr-hub-landing__copy {
    padding: 30px 24px 26px;
  }

  .lightspr-hub-landing__copy h1 {
    font-size: clamp(2.1rem, 10vw, 2.85rem) !important;
    line-height: 1.02;
  }

  .lightspr-hub-landing__media,
  .lightspr-hub-landing__image {
    min-height: 230px;
  }

  .lightspr-hub-guide-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.11 — image-led hub landings, clickable topic cards, and calmer guide-title spacing. */

/* Give longer buying-guide titles enough room above and below the text. */
body.lightspr-money-page .entry-hero-container .entry-hero {
  width: min(1080px, calc(100% - 48px)) !important;
  max-width: 1080px !important;
  padding: clamp(52px, 5.8vw, 66px) 0 clamp(56px, 5.5vw, 68px) !important;
}

body.lightspr-money-page .entry-hero-container .entry-header,
body.lightspr-money-page .entry-hero-container .entry-title {
  max-width: 940px !important;
}

body.lightspr-money-page .entry-title,
body.lightspr-money-page .entry-hero-container .entry-title.entry-title {
  font-size: clamp(2.25rem, 4.15vw, 3.45rem) !important;
  line-height: 1.07 !important;
}

/* Hub hero: real image when supplied, otherwise a simple full-width editorial introduction. */
.lightspr-hub-landing__hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  border-radius: 28px;
}

.lightspr-hub-landing__hero--no-media {
  grid-template-columns: 1fr;
}

.lightspr-hub-landing__hero--no-media .lightspr-hub-landing__copy {
  max-width: 780px;
}

.lightspr-hub-landing__copy {
  padding: clamp(34px, 5.2vw, 68px);
}

.lightspr-hub-landing__copy h1 {
  max-width: 620px;
  margin-bottom: 12px !important;
}

.lightspr-hub-landing__lead {
  max-width: 590px;
  margin: 0 0 16px;
  color: #1d2b3e;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  font-weight: 760;
  line-height: 1.32;
  letter-spacing: -.027em;
}

.lightspr-hub-landing__intro {
  max-width: 600px;
}

.lightspr-hub-landing__media {
  min-height: 420px;
  margin: 0;
  background: #e8eef4;
}

.lightspr-hub-landing__image {
  min-height: 420px;
  object-position: center;
}

/* The old generated glow artwork is no longer shown. Use a page Featured Image or
   Appearance > Customize > LightsPR Hub Visuals for an authentic hub photograph. */
.lightspr-hub-landing__glow {
  display: none !important;
}

/* Topic cards turn the existing “Explore by need” editor list into usable navigation. */
.lightspr-hub-explore {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #e1e8ef;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(24, 37, 56, .045);
}

.lightspr-hub-explore__head {
  max-width: 680px;
  margin-bottom: 21px;
}

.lightspr-hub-explore__head h2 {
  margin: 0 !important;
  color: #17233a !important;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em;
}

.lightspr-hub-explore__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lightspr-hub-explore-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 72px;
  padding: 17px 18px;
  border: 1px solid #e1e8ef;
  border-radius: 15px;
  background: #fbfcfd;
  color: #3c4e63;
  font-weight: 760;
  line-height: 1.3;
  text-decoration: none;
}

.lightspr-hub-explore-card:hover {
  transform: translateY(-2px);
  border-color: #d6b469;
  background: #fffaf0;
  color: #1a2a3d;
  box-shadow: 0 12px 22px rgba(24, 37, 56, .075);
}

.lightspr-hub-explore-card__arrow {
  flex: 0 0 auto;
  color: #b57b16;
  font-size: 1.1rem;
}

/* Keep the category advice useful, but stop it from reading as a long continuation of the hero. */
.lightspr-hub-buyers-note {
  margin-top: 24px;
  padding: clamp(25px, 4vw, 40px);
  border-left: 4px solid #dba032;
  border-radius: 0 20px 20px 0;
  background: #fffaf0;
}

.lightspr-hub-buyers-note__content {
  max-width: 890px;
}

.lightspr-hub-buyers-note__content h2 {
  margin: 0 0 12px !important;
  color: #1a293b !important;
  font-size: clamp(1.45rem, 2.35vw, 2rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em;
}

.lightspr-hub-buyers-note__content p {
  color: #536174;
  line-height: 1.7;
}

.lightspr-hub-buyers-note__content > :last-child {
  margin-bottom: 0;
}

/* Keep long hubs focused. The rest of the cards load only when a visitor asks to see them. */
.lightspr-hub-guides:not(.is-expanded) .lightspr-hub-guide-card--extra {
  display: none;
}

.lightspr-hub-guides__more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.lightspr-hub-guides__toggle {
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid #d7b76f;
  border-radius: 999px;
  background: #ffffff;
  color: #2c3d52;
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
}

.lightspr-hub-guides__toggle:hover {
  border-color: #b27b18;
  background: #fff8e8;
  color: #17233a;
}

@media (max-width: 767px) {
  body.lightspr-money-page .entry-hero-container .entry-hero {
    width: 100% !important;
    padding: 38px 20px 42px !important;
  }

  body.lightspr-money-page .entry-title,
  body.lightspr-money-page .entry-hero-container .entry-title.entry-title {
    font-size: clamp(2rem, 9.4vw, 2.65rem) !important;
    line-height: 1.075 !important;
  }

  .lightspr-hub-landing__hero {
    border-radius: 21px;
  }

  .lightspr-hub-landing__copy {
    padding: 31px 24px 30px;
  }

  .lightspr-hub-landing__lead {
    font-size: 1.22rem;
  }

  .lightspr-hub-landing__media,
  .lightspr-hub-landing__image {
    min-height: 255px;
  }

  .lightspr-hub-explore {
    margin-top: 28px;
    padding: 22px 18px;
    border-radius: 19px;
  }

  .lightspr-hub-explore__grid {
    grid-template-columns: 1fr;
  }

  .lightspr-hub-explore-card {
    min-height: 64px;
    padding: 15px 16px;
  }

  .lightspr-hub-buyers-note {
    margin-top: 18px;
    padding: 23px 20px;
    border-radius: 0 16px 16px 0;
  }
}


/* v1.0.12 — give long buying-guide titles a calmer, more generous title band.
   The title width stays the same so it remains easy to scan; only the vertical
   breathing room grows around multi-line H1s. */
body.lightspr-money-page .entry-hero-container .entry-hero {
  padding: clamp(56px, 6.2vw, 78px) 0 clamp(62px, 6.5vw, 84px) !important;
}

@media (max-width: 767px) {
  body.lightspr-money-page .entry-hero-container .entry-hero {
    padding: 46px 20px 52px !important;
  }
}

/* v1.0.13 — corrected Kadence page-hero selector.
   Kadence renders `.entry-hero-container-inner`, not `.entry-hero-container`.
   This is the title-band rule that actually controls the visible guide hero. */
body.lightspr-money-page .entry-hero.page-hero-section {
  border-bottom: 1px solid #e3e9ef !important;
  background: linear-gradient(135deg, #f7fafc 0%, #eef3f8 100%) !important;
}

body.lightspr-money-page .entry-hero.page-hero-section .entry-hero-container-inner {
  padding: clamp(68px, 7vw, 92px) 0 clamp(72px, 7.35vw, 98px) !important;
}

body.lightspr-money-page .entry-hero.page-hero-section .hero-container.site-container {
  width: min(1080px, calc(100% - 48px)) !important;
  max-width: 1080px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.lightspr-money-page .entry-hero.page-hero-section .entry-header {
  min-height: 0 !important;
  width: 100% !important;
  max-width: 940px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body.lightspr-money-page .entry-hero.page-hero-section .entry-title,
body.lightspr-money-page .entry-title {
  max-width: 940px !important;
  margin: 0 auto !important;
  color: #152039 !important;
  font-size: clamp(2.25rem, 4.15vw, 3.45rem) !important;
  font-weight: 750 !important;
  line-height: 1.07 !important;
  letter-spacing: -.052em !important;
  text-align: center !important;
  text-wrap: balance;
}

@media (max-width: 767px) {
  body.lightspr-money-page .entry-hero.page-hero-section .entry-hero-container-inner {
    padding: 48px 0 56px !important;
  }

  body.lightspr-money-page .entry-hero.page-hero-section .hero-container.site-container {
    width: calc(100% - 40px) !important;
  }

  body.lightspr-money-page .entry-hero.page-hero-section .entry-title,
  body.lightspr-money-page .entry-title {
    font-size: clamp(2rem, 9.4vw, 2.65rem) !important;
    line-height: 1.075 !important;
  }
}

/* ========================================================================
   v1.0.14 — Dedicated editorial layout for informational Posts
   ========================================================================
   Posts no longer borrow the oversized/overlapping hero treatment. The
   reading order is now: category → title → reading time → featured image →
   article. Money pages and hub pages are intentionally untouched.
*/
body.lightspr-information-post {
  background: #f7f9fc;
}

body.lightspr-information-post .content-area,
body.lightspr-information-post .site-main,
body.lightspr-information-post article.entry,
body.lightspr-information-post .entry-content,
body.lightspr-information-post .entry-content-wrap {
  background: transparent;
  box-shadow: none;
}

body.lightspr-information-post .content-area {
  margin: 0;
}

.lightspr-editorial-main {
  width: min(1120px, calc(100% - 48px));
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(50px, 6vw, 78px) 0 clamp(72px, 8vw, 108px);
}

.lightspr-editorial-article {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.lightspr-editorial-header {
  width: min(900px, 100%);
  margin: 0 auto clamp(24px, 3vw, 34px);
  padding: 0;
  text-align: left;
}

.lightspr-editorial-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #b66a00;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

.lightspr-editorial-category::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--lp-gold);
}

.lightspr-editorial-category:hover {
  color: var(--lp-ink);
}

.lightspr-editorial-title {
  max-width: 900px;
  margin: 0;
  color: #152039;
  font-size: clamp(2.55rem, 5vw, 3.55rem);
  font-weight: 750;
  line-height: 1.075;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.lightspr-editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 16px;
  color: #6d7786;
  font-size: .92rem;
  font-weight: 600;
}

.lightspr-editorial-featured {
  width: min(1000px, 100%);
  margin: 0 auto clamp(34px, 4.5vw, 54px);
  overflow: hidden;
  border-radius: 20px;
  background: #e9edf2;
  box-shadow: 0 18px 48px rgba(23, 32, 51, .10);
}

.lightspr-editorial-featured__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

body.lightspr-information-post .lightspr-editorial-content {
  width: min(820px, 100%);
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  color: #303946;
  font-size: 1.055rem;
  line-height: 1.78;
}

body.lightspr-information-post .lightspr-editorial-content > p,
body.lightspr-information-post .lightspr-editorial-content > ul,
body.lightspr-information-post .lightspr-editorial-content > ol,
body.lightspr-information-post .lightspr-editorial-content > blockquote,
body.lightspr-information-post .lightspr-editorial-content > h2,
body.lightspr-information-post .lightspr-editorial-content > h3,
body.lightspr-information-post .lightspr-editorial-content > h4,
body.lightspr-information-post .lightspr-editorial-content > figure,
body.lightspr-information-post .lightspr-editorial-content > table,
body.lightspr-information-post .lightspr-editorial-content > .wp-block-group,
body.lightspr-information-post .lightspr-editorial-content > .wp-block-columns {
  max-width: 100%;
}

body.lightspr-information-post .lightspr-editorial-content > p:first-child {
  color: #465262;
  font-size: clamp(1.08rem, 1.45vw, 1.18rem);
  line-height: 1.72;
}

body.lightspr-information-post .lightspr-editorial-content h2 {
  margin-top: 2.35em;
  margin-bottom: .65em;
  color: #172033;
  font-size: clamp(1.75rem, 2.7vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

body.lightspr-information-post .lightspr-editorial-content h3 {
  margin-top: 1.85em;
  margin-bottom: .55em;
  color: #172033;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

body.lightspr-information-post .lightspr-editorial-content h4 {
  color: #172033;
}

body.lightspr-information-post .lightspr-editorial-content img {
  border-radius: 16px;
}

body.lightspr-information-post .lightspr-editorial-content blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--lp-gold);
  border-radius: 0 14px 14px 0;
  background: #fff9e9;
  color: #4d4537;
}

body.lightspr-information-post .navigation.post-navigation {
  width: min(820px, 100%);
  margin: clamp(54px, 7vw, 82px) auto 0;
  padding-top: 24px;
  border-top: 1px solid #e1e6ec;
}

body.lightspr-information-post .navigation.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.lightspr-information-post .navigation.post-navigation a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid #e2e7ed;
  border-radius: 16px;
  background: #ffffff;
  color: #172033;
  text-decoration: none;
}

body.lightspr-information-post .navigation.post-navigation a:hover {
  transform: translateY(-1px);
  border-color: #d7b968;
  box-shadow: 0 12px 30px rgba(23, 32, 51, .07);
}

.lightspr-editorial-nav__label {
  display: block;
  margin-bottom: 6px;
  color: #8a6a26;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lightspr-editorial-nav__title {
  display: block;
  font-weight: 750;
  line-height: 1.35;
}

/* Neutralize old Kadence single-post hero styles if cached/global rules remain. */
body.lightspr-information-post .entry-hero-container,
body.lightspr-information-post .entry-hero.page-hero-section {
  display: none !important;
}

@media (max-width: 767px) {
  .lightspr-editorial-main {
    width: min(100% - 32px, 1120px);
    padding: 38px 0 72px;
  }

  .lightspr-editorial-header {
    margin-bottom: 22px;
  }

  .lightspr-editorial-title {
    font-size: clamp(2rem, 9.3vw, 2.55rem);
    line-height: 1.09;
    letter-spacing: -.043em;
  }

  .lightspr-editorial-meta {
    margin-top: 13px;
    font-size: .86rem;
  }

  .lightspr-editorial-featured {
    margin-bottom: 32px;
    border-radius: 15px;
  }

  body.lightspr-information-post .lightspr-editorial-content {
    font-size: 1rem;
    line-height: 1.74;
  }

  body.lightspr-information-post .navigation.post-navigation .nav-links {
    grid-template-columns: 1fr;
  }
}


/* ========================================================================
   v1.0.15 — Editorial comparison tables
   ========================================================================
   Gives ordinary tables inside informational posts a clear comparison-card
   treatment while preserving horizontal scrolling on smaller screens.
*/
body.lightspr-information-post .lightspr-table-scroll,
body.lightspr-information-post figure.wp-block-table.lightspr-table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 2.1em 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #dde3ea;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 32, 51, .055);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c4ccd6 transparent;
}

body.lightspr-information-post figure.wp-block-table.lightspr-table-scroll {
  padding: 0;
}

body.lightspr-information-post .lightspr-table-scroll::-webkit-scrollbar,
body.lightspr-information-post figure.wp-block-table.lightspr-table-scroll::-webkit-scrollbar {
  height: 8px;
}

body.lightspr-information-post .lightspr-table-scroll::-webkit-scrollbar-thumb,
body.lightspr-information-post figure.wp-block-table.lightspr-table-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #c4ccd6;
  background-clip: padding-box;
}

body.lightspr-information-post .lightspr-editorial-content table {
  width: 100%;
  min-width: 650px;
  margin: 0;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  color: #303946;
  font-size: .96rem;
  line-height: 1.48;
  table-layout: auto;
}

body.lightspr-information-post .lightspr-editorial-content table th,
body.lightspr-information-post .lightspr-editorial-content table td {
  padding: 15px 18px;
  border: 0 !important;
  border-bottom: 1px solid #e8ecf1 !important;
  vertical-align: top;
  text-align: left;
}

body.lightspr-information-post .lightspr-editorial-content table thead th {
  background: #f1f4f8;
  color: #172033;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
}

body.lightspr-information-post .lightspr-editorial-content table tbody tr:nth-child(even) td {
  background: #fbfcfd;
}

body.lightspr-information-post .lightspr-editorial-content table tbody td:first-child {
  color: #202b3d;
  font-weight: 700;
}

body.lightspr-information-post .lightspr-editorial-content table tr:last-child td {
  border-bottom: 0 !important;
}

body.lightspr-information-post .lightspr-editorial-content table caption {
  padding: 12px 16px;
  color: #6d7786;
  font-size: .82rem;
  line-height: 1.4;
  text-align: left;
}

@media (max-width: 767px) {
  body.lightspr-information-post .lightspr-table-scroll,
  body.lightspr-information-post figure.wp-block-table.lightspr-table-scroll {
    margin: 1.75em 0;
    border-radius: 12px;
  }

  body.lightspr-information-post .lightspr-editorial-content table {
    min-width: 620px;
    font-size: .93rem;
  }

  body.lightspr-information-post .lightspr-editorial-content table th,
  body.lightspr-information-post .lightspr-editorial-content table td {
    padding: 13px 15px;
  }
}

/* v1.0.16 — Collapsible TOC for money guides and informational posts. */
.lightspr-inline-toc {
  margin: 0 0 34px;
  border: 1px solid #e0e8ef;
  border-radius: 14px;
  overflow: hidden;
  background: #fbfcfd;
  box-shadow: 0 8px 22px rgba(26,38,54,.035);
}

.lightspr-inline-toc__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 17px;
  border: 0;
  background: transparent;
  color: #223247;
  cursor: pointer;
  text-align: left;
}

.lightspr-inline-toc__toggle:hover,
.lightspr-inline-toc__toggle:focus-visible {
  background: #fff8e8;
}

.lightspr-inline-toc__toggle:focus-visible {
  outline: 2px solid var(--lp-gold);
  outline-offset: -2px;
}

.lightspr-inline-toc__eyebrow {
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0;
  border: 0;
  color: #5a4520;
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.25;
}

.lightspr-inline-toc__toggle-text {
  color: #7b694a;
  font-size: .8rem;
  font-weight: 700;
}

.lightspr-inline-toc__chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform .2s ease;
}

.lightspr-inline-toc__toggle[aria-expanded="true"] .lightspr-inline-toc__chevron {
  transform: rotate(180deg);
}

.lightspr-inline-toc__panel {
  border-top: 1px solid #e9eef2;
}

.lightspr-inline-toc__panel[hidden] {
  display: none !important;
}

.lightspr-inline-toc__list {
  max-height: min(52vh, 540px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

body.lightspr-information-post .lightspr-inline-toc {
  width: 100%;
  margin-top: 30px;
  margin-bottom: 34px;
}

body.lightspr-information-post .lightspr-inline-toc__list a {
  font-size: .91rem;
}

@media (max-width: 767px) {
  .lightspr-inline-toc {
    margin-bottom: 28px;
    border-radius: 12px;
  }

  .lightspr-inline-toc__toggle {
    min-height: 50px;
    padding: 13px 14px;
  }

  .lightspr-inline-toc__list {
    grid-template-columns: 1fr;
    max-height: 48vh;
    padding: 6px 8px 10px !important;
  }
}


/* v1.0.17 — Keep the TOC header visually stable after Show/Hide clicks.
   Kadence/global button focus/active styles can otherwise bleed into this custom button. */
.lightspr-inline-toc__toggle,
.lightspr-inline-toc__toggle:visited,
.lightspr-inline-toc__toggle:active,
.lightspr-inline-toc__toggle:focus {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  color: #223247 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.lightspr-inline-toc__toggle:hover {
  background: #fff8e8 !important;
  background-color: #fff8e8 !important;
}

.lightspr-inline-toc__toggle:focus-visible {
  background: #fff8e8 !important;
  background-color: #fff8e8 !important;
  outline: 2px solid var(--lp-gold);
  outline-offset: -2px;
}

.lightspr-inline-toc__toggle .lightspr-inline-toc__eyebrow {
  color: #5a4520 !important;
}

.lightspr-inline-toc__toggle .lightspr-inline-toc__toggle-text {
  color: #7b694a !important;
}
