/* ================================================================
   TAKSHASHILA SCHOOL — SEO content sections
   Used by area pages, guides, FAQs and the extra sections added to
   existing pages. Builds on the variables in styles.css.
================================================================ */

.seo-hero {
  padding: 56px 40px 28px;
  background: var(--navy);
}

.seo-block {
  padding: 52px 40px;
  background: var(--navy);
  border-top: 1px solid var(--border-subtle);
}

.seo-block.alt {
  background: var(--navy-dark);
}

.seo-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.seo-wrap h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.25;
  margin-bottom: 20px;
}

.seo-wrap h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 18px;
}

.seo-wrap h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin: 26px 0 8px;
}

.seo-wrap p,
.seo-wrap li {
  color: var(--text-muted);
  font-size: calc(0.9375rem * 1.04);
  line-height: 1.8;
}

.seo-wrap p {
  margin-bottom: 14px;
}

.seo-wrap ul {
  list-style: disc;
  padding-left: 1.3em;
  margin-bottom: 16px;
}

.seo-wrap ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}

.seo-wrap li {
  margin-bottom: 6px;
}

.seo-wrap strong {
  color: var(--white);
}

.seo-wrap a {
  color: var(--gold);
  border-bottom: 1px solid rgba(163, 145, 97, 0.55);
  transition: opacity 0.2s;
}

.seo-wrap a:hover {
  opacity: 0.8;
}

.seo-lead {
  font-size: calc(1rem * 1.08) !important;
  color: var(--white) !important;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  border-bottom: 0 !important;
}

.breadcrumb span[aria-hidden] {
  margin: 0 6px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 10px 0 22px;
}

.seo-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.seo-wrap th,
.seo-wrap td {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  vertical-align: top;
  color: var(--text-muted);
  line-height: 1.6;
}

.seo-wrap thead th {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
}

.seo-wrap .quick-facts th {
  width: 34%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

/* Key takeaways */
.key-takeaways {
  border-left: 4px solid var(--gold);
  background: rgba(163, 145, 97, 0.1);
  padding: 18px 24px 8px;
  margin: 22px 0;
  border-radius: 4px;
}

/* Buttons */
.seo-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0 10px;
}

.seo-wrap a.seo-btn,
a.seo-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border: 2px solid var(--gold);
}

a.seo-btn.primary {
  background: var(--gold);
  color: var(--navy-dark);
}

a.seo-btn.secondary {
  background: transparent;
  color: var(--gold);
}

/* Images */
.seo-figure {
  margin: 26px 0;
}

.seo-figure img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 6px;
}

/* Closing call to action */
.seo-cta-band {
  padding: 56px 40px;
  background: var(--navy-dark);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.seo-cta-band p {
  color: var(--white);
  font-size: calc(1rem * 1.1);
  max-width: 720px;
  margin: 0 auto 18px;
  text-align: center;
}

.seo-cta-band .seo-ctas {
  justify-content: center;
}

/* Guide list on the blog index */
.guide-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 22px 24px;
  margin-bottom: 18px;
}

.guide-card h2 {
  margin-bottom: 8px;
}

.guide-card h2 a {
  border-bottom: 0;
}

/* Home welcome heading now an H1 */
.welcome-text h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 24px;
  text-align: left;
}

.welcome-text p + p {
  margin-top: 14px;
}

/* Footer: areas we serve */
.footer-areas {
  position: relative;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 40px;
  font-size: 15px;
  color: rgba(25, 40, 80, 0.8);
  text-align: left;
  line-height: 2;
}

.footer-contact-info span {
  text-align: left;
}

.footer-areas strong {
  color: var(--navy);
  margin-right: 10px;
}

.footer-areas a {
  color: rgba(25, 40, 80, 0.75);
  margin-right: 16px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer-areas a:hover {
  color: var(--gold);
}

/* Light variant for the leadership page */
.leadership-page .seo-block,
.leadership-page .seo-hero {
  background: var(--off-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.leadership-page .seo-wrap h2,
.leadership-page .seo-wrap h3,
.leadership-page .seo-wrap strong {
  color: var(--navy);
}

.leadership-page .seo-wrap p,
.leadership-page .seo-wrap li,
.leadership-page .seo-wrap td,
.leadership-page .seo-wrap th {
  color: rgba(25, 40, 80, 0.85);
}

.leadership-page .seo-wrap th,
.leadership-page .seo-wrap td {
  border-color: rgba(25, 40, 80, 0.15);
}

.leadership-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  color: rgba(25, 40, 80, 0.85);
}

.leader-profile {
  font-size: 0.95rem;
  color: rgba(25, 40, 80, 0.85);
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .seo-hero,
  .seo-block,
  .seo-cta-band {
    padding: 36px 18px;
  }
  .footer-areas {
    padding: 0 18px;
  }
  .welcome-text h1 {
    text-align: center;
  }
}
