/* Preview-only: Buyer’s Guide showcase + Insights section order. Not used on the live site. */

.insights-page .bg-showcase-sec {
  padding: 72px 0 80px;
  background: var(--bg-wash);
  border-bottom: 1px solid var(--line);
}

.insights-page #buyers-guide {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.insights-page .bg-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 12px 32px rgba(11, 11, 12, 0.06);
}

.insights-page .bg-showcase-cover {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 36px 32px;
}

.insights-page .bg-showcase-cover a {
  display: block;
  width: 100%;
  max-width: 340px;
  line-height: 0;
}

.insights-page .bg-showcase-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(11, 11, 12, 0.18), 0 4px 12px rgba(11, 11, 12, 0.08);
}

.insights-page .bg-showcase-copy {
  min-width: 0;
  max-width: 640px;
}

.insights-page .bg-showcase-copy .eyebrow {
  margin-bottom: 12px;
}

.insights-page .bg-showcase-title {
  margin: 0 0 16px;
  font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--black);
}

.insights-page .bg-showcase-accent {
  color: var(--red);
  font-style: normal;
  display: block;
}

.insights-page .bg-showcase-desc {
  margin: 0 0 22px;
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--muted);
}

.insights-page .bg-showcase-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.insights-page .bg-showcase-list li {
  position: relative;
  padding: 0 0 11px 22px;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}

.insights-page .bg-showcase-list li:last-child {
  padding-bottom: 0;
}

.insights-page .bg-showcase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 1px;
}

.insights-page .bg-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.insights-page .bg-showcase-actions .btn,
.insights-page .bg-showcase-btn {
  align-self: center;
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.insights-page .bg-showcase-actions .btn:hover,
.insights-page .bg-showcase-actions .btn:focus-visible,
.insights-page .bg-showcase-btn:hover,
.insights-page .bg-showcase-btn:focus-visible {
  background: #2A2A2C;
  border-color: #2A2A2C;
  color: #fff;
}

.insights-page .bg-showcase-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
}

.insights-page .bg-guides-sec {
  padding: 72px 0 64px;
  background: #fff;
}

.insights-page .bg-articles-sec {
  padding: 72px 0 80px;
  background: var(--bg-wash);
  border-top: 1px solid var(--line);
}

@media (max-width: 800px) {
  .insights-page .bg-showcase-sec {
    padding: 40px 0 48px;
  }
  .insights-page .bg-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    padding: 28px 20px 32px;
  }
  .insights-page .bg-showcase-cover {
    width: 100%;
    max-width: 400px;
    padding: 28px 24px;
  }
  .insights-page .bg-showcase-cover a {
    max-width: 260px;
    margin: 0 auto;
  }
  .insights-page .bg-showcase-cover-btn {
    max-width: 260px;
    margin: 0 auto;
  }
  .insights-page .bg-showcase-copy {
    max-width: none;
  }
  .insights-page .bg-showcase-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .insights-page .bg-showcase-actions .btn {
    width: 100%;
  }
}
/* Buyer’s Guide lead form (preview) */
/* Buyer’s Guide lead form (preview) */
.insights-page .bg-showcase-cover-btn {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
  font: inherit;
  text-align: left;
}
.insights-page .bg-showcase-cover-btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.bg-form-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 32px);
  width: 460px;
  color: var(--ink);
}
.bg-form-dialog::backdrop {
  background: rgba(11, 11, 12, 0.55);
}
.bg-form-panel {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 30px;
  box-shadow: 0 18px 48px rgba(11, 11, 12, 0.22);
}
.bg-form-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--black);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bg-form-close:hover,
.bg-form-close:focus-visible {
  background: var(--bg-soft);
}
.bg-form-panel .eyebrow { margin-bottom: 8px; }
.bg-form-panel h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  padding-right: 28px;
}
.bg-form-lede {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
.bg-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bg-form-field { display: flex; flex-direction: column; min-width: 0; }
.bg-form-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 650;
  color: var(--black);
  line-height: 1.3;
}
.bg-form-optional {
  font-weight: 500;
  color: var(--subtle);
}
.bg-form-field input[type="text"],
.bg-form-field input[type="email"],
.bg-form-field input[type="tel"] {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  line-height: 1.35;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bg-form-field input:hover { border-color: var(--line-strong); }
.bg-form-field input:focus,
.bg-form-field input:focus-visible {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(11, 11, 12, 0.12);
}
.bg-form-field input[aria-invalid="true"] {
  border-color: var(--black);
}
.bg-form-consent {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--subtle);
}
.bg-form-consent a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bg-form-error {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--black);
}
.bg-form .bg-showcase-btn {
  width: 100%;
  margin-top: 4px;
}
.bg-form-success[hidden],
.bg-form-main[hidden] { display: none; }
.bg-form-success p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.bg-form-success .bg-showcase-btn { width: 100%; }

@media (max-width: 520px) {
  .bg-form-dialog { width: calc(100vw - 24px); }
  .bg-form-panel { padding: 24px 20px 24px; }
  .bg-form-row { grid-template-columns: 1fr; }
  .bg-form-panel h2 { font-size: 23px; }
}

.bg-form-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
