/* Track D — /uk/already-have-a-website/ education page layout */

.second-site-education > .silo-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2.5rem, 5vw, 3.75rem) var(--page-gutter, clamp(1.25rem, 3.5vw, 2rem));
  box-sizing: border-box;
}

.second-site-education > .silo-section:nth-of-type(even) {
  background: transparent;
  border-block: none;
}

.second-site-band__inner {
  max-width: min(58rem, 100%);
  margin-inline: auto;
}

.second-site-band__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.88);
}

.second-site-band--compare .second-site-band__eyebrow {
  color: rgba(125, 211, 252, 0.9);
}

.second-site-band--niche .second-site-band__eyebrow {
  color: rgba(94, 234, 212, 0.88);
}

.second-site-band--process .second-site-band__eyebrow {
  color: rgba(251, 191, 36, 0.9);
}

.second-site-band--warn .second-site-band__eyebrow {
  color: rgba(251, 146, 60, 0.92);
}

.second-site-band--packages .second-site-band__eyebrow {
  color: rgba(196, 181, 253, 0.92);
}

.second-site-education .silo-section h2 {
  margin: 0 0 0.85rem;
  max-width: 28ch;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.2;
  text-wrap: balance;
}

.second-site-band__lede {
  margin: 0 0 1.35rem;
  max-width: 52ch;
  color: var(--text-muted, #94a3b8);
  font-size: 0.98rem;
  line-height: 1.55;
}

.second-site-education > .silo-section.second-site-band {
  background:
    radial-gradient(ellipse 80% 55% at 12% 0%, rgba(99, 102, 241, 0.07), transparent 58%),
    radial-gradient(ellipse 70% 50% at 95% 100%, rgba(56, 189, 248, 0.05), transparent 52%),
    rgba(15, 23, 42, 0.42);
  border-block: 1px solid rgba(148, 163, 184, 0.1);
}

.second-site-education > .silo-section.second-site-band--compare {
  background:
    radial-gradient(ellipse 75% 60% at 88% 0%, rgba(56, 189, 248, 0.09), transparent 55%),
    radial-gradient(ellipse 65% 45% at 8% 100%, rgba(129, 140, 248, 0.08), transparent 50%),
    rgba(2, 6, 23, 0.55);
}

.second-site-education > .silo-section.second-site-band--niche {
  background:
    radial-gradient(ellipse 80% 55% at 90% 10%, rgba(45, 212, 191, 0.08), transparent 55%),
    rgba(15, 23, 42, 0.48);
}

.second-site-education > .silo-section.second-site-band--process {
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(251, 191, 36, 0.06), transparent 52%),
    rgba(15, 23, 42, 0.45);
}

.second-site-education > .silo-section.second-site-band--warn {
  background: rgba(2, 6, 23, 0.35);
  border-block: none;
}

.second-site-education > .silo-section.second-site-band--packages {
  background:
    radial-gradient(ellipse 85% 60% at 50% 0%, rgba(129, 140, 248, 0.1), transparent 58%),
    rgba(15, 23, 42, 0.52);
}

/* Icon card grid — why-not + niche points */
.second-site-card-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.second-site-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.second-site-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(129, 140, 248, 0.28);
  color: #c7d2fe;
  flex-shrink: 0;
}

.second-site-band--niche .second-site-card__icon {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.28);
  color: #5eead4;
}

.second-site-card__text {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* Fork intersection — main site vs separate niche site */
.second-site-fork {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
}

@media (min-width: 720px) {
  .second-site-fork {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 0.85rem;
  }
}

.second-site-fork__path {
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  text-align: center;
}

.second-site-fork__path--main {
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.18);
}

.second-site-fork__path--niche {
  border: 1px solid rgba(52, 211, 153, 0.32);
  background: rgba(6, 78, 59, 0.22);
}

.second-site-fork__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9;
}

.second-site-fork__cue {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.4;
}

.second-site-fork__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

@media (max-width: 719px) {
  .second-site-fork__divider {
    padding: 0.15rem 0;
  }
}

/* Comparison table — enhanced container */
.second-site-compare-wrap {
  padding: 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.45);
  overflow-x: auto;
}

.second-site-compare {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.second-site-compare th,
.second-site-compare td {
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  vertical-align: top;
  text-align: left;
}

.second-site-compare thead th {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.second-site-compare thead th:nth-child(2) {
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
}

.second-site-compare thead th:nth-child(3) {
  background: rgba(6, 78, 59, 0.28);
  color: #a7f3d0;
}

.second-site-compare tbody th {
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0;
  font-weight: 600;
  width: 22%;
}

.second-site-compare tbody td:nth-child(2) {
  background: rgba(127, 29, 29, 0.08);
  color: rgba(254, 202, 202, 0.88);
}

.second-site-compare tbody td:nth-child(3) {
  background: rgba(6, 78, 59, 0.1);
  color: rgba(167, 243, 208, 0.92);
}

.second-site-compare-col-icon {
  display: inline-flex;
  vertical-align: -0.2em;
  margin-right: 0.35rem;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .second-site-compare-wrap {
    padding: 0;
    border: none;
    background: transparent;
    overflow-x: visible;
  }

  .second-site-compare {
    min-width: 0;
  }

  .second-site-compare thead {
    display: none;
  }

  .second-site-compare tr {
    display: block;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    overflow: hidden;
  }

  .second-site-compare tbody th {
    display: block;
    width: auto;
    border-bottom: none;
  }

  .second-site-compare td {
    display: block;
    border: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .second-site-compare td:last-child {
    border-bottom: none;
  }

  .second-site-compare td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .second-site-compare td[data-label='Add to main website'] {
    background: rgba(127, 29, 29, 0.12);
  }

  .second-site-compare td[data-label='Separate niche website'] {
    background: rgba(6, 78, 59, 0.14);
  }
}

/* Pull quote */
.second-site-pullquote {
  margin: 1.35rem 0 0;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-left: 3px solid rgba(45, 212, 191, 0.65);
  border-radius: 0 0.65rem 0.65rem 0;
  background: rgba(45, 212, 191, 0.06);
}

.second-site-pullquote p {
  margin: 0;
  max-width: 52ch;
  color: rgba(226, 232, 240, 0.92);
  font-size: 1.02rem;
  line-height: 1.55;
  font-style: italic;
}

/* Numbered process steps */
.second-site-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .second-site-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.second-site-steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 0;
  padding: 1.05rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(2, 6, 23, 0.4);
}

.second-site-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.second-site-steps__item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: #f1f5f9;
}

.second-site-steps__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted, #94a3b8);
}

.second-site-education .silo-section-note {
  margin-top: 1.15rem;
  max-width: 52ch;
  font-size: 0.92rem;
}

/* Not-for-you callout panel */
.second-site-callout-panel {
  padding: 1.25rem 1.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(251, 146, 60, 0.32);
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(251, 146, 60, 0.1), transparent 55%),
    rgba(2, 6, 23, 0.5);
}

.second-site-callout-panel h2 {
  max-width: none;
  margin-bottom: 0.65rem;
}

.second-site-callout-panel p {
  margin: 0 0 0.85rem;
  max-width: 52ch;
  color: var(--text-muted, #94a3b8);
  line-height: 1.55;
}

.second-site-callout-panel p:last-child {
  margin-bottom: 0;
}

/* Package grid — shared with specialist launch */
.track-d-package-grid {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: 1fr;
  max-width: 58rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .track-d-package-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .track-d-package-grid .track-d-package-card--authority-pro {
    grid-column: 1;
    order: 1;
  }

  .track-d-package-grid .track-d-package-card--preferred {
    grid-column: 2;
    order: 2;
    border-color: rgba(226, 232, 240, 0.55);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(186, 230, 253, 0.22);
  }
}

.track-d-package-card--preferred {
  order: -1;
}

.track-d-preferred-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.track-d-package-card {
  position: relative;
}

.second-site-education .authority-recommend {
  max-width: 52ch;
  margin-bottom: 1.15rem;
  line-height: 1.55;
}

/* FAQ grid */
.second-site-faq-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .second-site-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.second-site-education .faq-item {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.32);
}

.second-site-education .faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.second-site-education .faq-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Contact + enquiry bands */
.second-site-education > .silo-section#contact-routes,
.second-site-education > .silo-section#second-site-enquiry {
  background: rgba(15, 23, 42, 0.38);
  border-block: 1px solid rgba(148, 163, 184, 0.1);
}

.second-site-education > .silo-section#contact-routes p,
.second-site-education > .silo-section#second-site-enquiry > p {
  max-width: 52ch;
}

.second-site-education > .silo-section#second-site-enquiry .csmbac-enquiry {
  margin-top: 0.75rem;
}

/* Hero prose width */
.second-site-education > .silo-hero > p:not(.hero-year) {
  max-width: 52ch;
}
