/* Public interiors follow the approved home's copper surfaces and spacing.
   This layer deliberately excludes home, shared chrome, forms and account views. */

/* Keep introductions spacious without turning each inner page into another hero. */
body:not([data-page="home"]) #main-content > .page-heading {
  padding-block: clamp(34px, 4.5vw, 60px) clamp(32px, 3.5vw, 48px);
}

body:not([data-page="home"]) #main-content .page-heading > p,
body:not([data-page="home"]) #main-content .page-heading > div > p {
  max-width: 680px;
  color: #B8AAA0;
  font-size: clamp(12px, 1.15vw, 14px);
  line-height: 2.2;
}

/* The same warm, inset edge used on the home cards; no new artwork or motion. */
body:not([data-page="home"]) #main-content .guide-detail > article,
body:not([data-page="home"]) #main-content .service-grid > .service-card,
body:not([data-page="home"]) #main-content .course-feature-grid > div,
body:not([data-page="home"]) #main-content .course-layout .instructor-card,
body:not([data-page="home"]) #main-content .course-layout > .purchase-card,
body:not([data-page="home"]) #main-content .about-layout > .about-statement {
  background: radial-gradient(ellipse at 90% 0%, #CF946714, transparent 66%),
    linear-gradient(145deg, #241B15, #17110E 62%, #100C09);
  border: 1px solid #CF946745;
  border-radius: 18px;
  box-shadow: 0 22px 42px -30px #000000BB, inset 0 1px 0 #E1B18C12;
}

body:not([data-page="home"]) #main-content .guide-cta,
body:not([data-page="home"]) #main-content .registration-banner {
  background: linear-gradient(115deg, #241B15, #17110E);
  border-color: #CF94674D;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 #E1B18C0D;
}

/* Course detail retains its sticky summary and the existing responsive grid. */
body:not([data-page="home"]) #main-content .course-layout .course-section {
  padding-top: clamp(36px, 4vw, 52px);
}

body:not([data-page="home"]) #main-content .course-layout .course-section > p,
body:not([data-page="home"]) #main-content .about-copy > p,
body:not([data-page="home"]) #main-content .contact-copy > p {
  color: #B8AAA0;
  font-size: 13px;
  line-height: 2.3;
}

body:not([data-page="home"]) #main-content .course-feature-grid > div {
  min-width: 0;
  padding: 22px 20px;
}

body:not([data-page="home"]) #main-content .course-feature-grid h3 {
  font-size: 14px;
  line-height: 1.9;
}

body:not([data-page="home"]) #main-content .course-feature-grid p {
  color: #B8AAA0;
  font-size: 12px;
  line-height: 2.1;
}

body:not([data-page="home"]) #main-content .course-layout .curriculum-list details {
  background: #100C09;
  border-color: #443026;
  border-radius: 14px;
}

body:not([data-page="home"]) #main-content .course-layout .curriculum-list summary {
  background: linear-gradient(105deg, #17110E, #211811);
}

body:not([data-page="home"]) #main-content .course-layout .curriculum-list details[open] {
  border-color: #CF946763;
}

/* Supporting copy and card titles use the home's quiet, readable hierarchy. */
body:not([data-page="home"]) #main-content .guide-detail > article > span,
body:not([data-page="home"]) #main-content .service-grid .service-no {
  color: #E1B18C;
}

body:not([data-page="home"]) #main-content .guide-detail p,
body:not([data-page="home"]) #main-content .service-grid .service-card > p {
  color: #B8AAA0;
  font-size: 13px;
  line-height: 2.2;
}

body:not([data-page="home"]) #main-content .guide-detail h2 {
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.8;
}

body:not([data-page="home"]) #main-content .service-grid .service-state {
  padding-block: 12px;
  border-top: 1px solid #443026;
  align-self: stretch;
  line-height: 2;
}

body:not([data-page="home"]) #main-content .contact-copy h2 {
  font-size: clamp(28px, 3vw, 35px);
  line-height: 1.7;
}

/* Editorial cards already share home styles. Only the reading measure changes. */
body:not([data-page="home"]) #main-content .article-grid .article-body > p {
  font-size: 13px;
  line-height: 2.2;
}

body:not([data-page="home"]) #main-content .article-page {
  padding-block: clamp(34px, 4vw, 55px) clamp(56px, 7vw, 90px);
}

body:not([data-page="home"]) #main-content .article-page .article-lead {
  color: #D4C4B6;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2.15;
}

body:not([data-page="home"]) #main-content .article-page .article-text {
  padding-top: 24px;
  border-top: 1px solid #443026;
  color: #E2D6CB;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 2.35;
  overflow-wrap: break-word;
}

body:not([data-page="home"]) #main-content .article-page .article-text p {
  margin-bottom: 22px;
}

@media (max-width: 730px) {
  body:not([data-page="home"]) #main-content .course-feature-grid {
    gap: 16px;
  }

  body:not([data-page="home"]) #main-content .course-feature-grid > div {
    padding: 21px;
  }

  body:not([data-page="home"]) #main-content .course-layout .course-section > p,
  body:not([data-page="home"]) #main-content .about-copy > p,
  body:not([data-page="home"]) #main-content .contact-copy > p {
    font-size: 12px;
  }

  body:not([data-page="home"]) #main-content .guide-detail > article,
  body:not([data-page="home"]) #main-content .service-grid > .service-card {
    border-radius: 16px;
  }

  body:not([data-page="home"]) #main-content .article-page .article-text {
    padding-top: 20px;
    line-height: 2.3;
  }
}
