/* About > Testimonials — layout comes from the shared .sp-* kit in base.css */
/* Marcellus = headings (same as the home page headings) */
@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");

/* =========================================================================
   Typography only — matches the home page. Layout and the other colours
   still come from the shared kit.
     main headings = Marcellus, capitals, weight 400, underline
     sub headings  = Cormorant Garamond (var(--font-head)), weight 400
     names         = Cormorant Garamond, bold
     paragraphs    = var(--font-body), weight 400 + 0.15px stroke
   Brinjal (#4B1740) is the same brinjal colour the home page uses.
   ========================================================================= */

/* ---------- Intro: breadcrumb, title, line under the title ---------- */
.sp-page [class*="intro"] h1 {
  display: inline-block;
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 3px solid currentColor;     /* underline = text width, same colour as the title */
}
.sp-page [class*="intro"] p:not([class*="crumb"]) {
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.9;
  -webkit-text-stroke: 0.15px currentColor;
}
.sp-page [class*="intro"] [class*="crumb"] {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
}

/* ---------- Section headings: small label = main heading, line under it = sub heading ---------- */
.sp-page .sp-eyebrow {
  display: inline-block !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #4B1740 !important;
  padding: 0 0 4px !important;
  margin: 0 0 22px;
  border: 0;
  border-bottom: 3px solid #4B1740;
}
.sp-page .sp-eyebrow i { display: none; }

.sp-page .sp-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.sp-page .sp-section [class*="head"] p:not(.sp-eyebrow) {
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.9;
  -webkit-text-stroke: 0.15px currentColor;
}

/* ---------- Featured story + testimonial cards ---------- */
.sp-feature blockquote {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  -webkit-text-stroke: 0.15px currentColor;
}
.sp-quote {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
  -webkit-text-stroke: 0.15px currentColor;
}
.sp-who b {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  -webkit-text-stroke: 0.3px currentColor;
}
.sp-who small {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
}

/* ---------- Bottom call-to-action ---------- */
.sp-page [class*="cta"] h2 {
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.sp-page [class*="cta"] p {
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.9;
  -webkit-text-stroke: 0.15px currentColor;
}

@media (max-width: 700px) {
  .sp-page [class*="intro"] p:not([class*="crumb"]),
  .sp-page [class*="cta"] p,
  .sp-page .sp-section [class*="head"] p:not(.sp-eyebrow) { font-size: 1.05rem; }
  .sp-feature blockquote { font-size: 1.2rem; }
  .sp-quote { font-size: 1.05rem; }
  .sp-who b { font-size: 1.3rem; }
}

/* =========================================================================
   Fixes
   ========================================================================= */

/* Breadcrumb on its own line, title below it */
.sp-page [class*="intro"] [class*="crumb"] {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

/* Small gradient line under the title: removed */
.sp-page [class*="intro"] h1::before,
.sp-page [class*="intro"] h1::after,
.sp-page [class*="intro"] hr,
.sp-page [class*="intro"] [class*="rule"],
.sp-page [class*="intro"] [class*="bar"],
.sp-page [class*="intro"] [class*="divider"],
.sp-page [class*="intro"] [class*="underline"] {
  display: none !important;
}

/* =========================================================================
   Testimonial cards — FULL 3D BLOCK in brinjal (same as the home page
   "Our School Highlights" cards): thin dark-brinjal outline, glossy face,
   solid block thickness on the right + bottom, soft ground shadow.
   Hover = whole card comes straight forward (no tilt) · Click = presses into its edge.
   ========================================================================= */
.sp-page .sp-card {
  --line: #4B1740;                 /* thin outline colour (brinjal) */
  --edge: #D3B7CC;                 /* colour of the solid 3D side (right + bottom) */
  position: relative;
  background:
    radial-gradient(120% 80% at 0% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(145deg, #FFFAFE 0%, #F1E0EC 100%) !important;
  border: 1.5px solid var(--line) !important;
  border-radius: 18px;
  transform-style: preserve-3d;
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.95),
    inset -3px -3px 7px rgba(75, 23, 64, 0.16),
    1px 1px 0 var(--edge),
    2px 2px 0 var(--edge),
    3px 3px 0 var(--edge),
    4px 4px 0 var(--edge),
    5px 5px 0 var(--edge),
    6px 6px 0 var(--edge),
    7px 7px 0 var(--edge),
    8px 8px 0 1px var(--line),
    16px 22px 30px -6px rgba(75, 23, 64, 0.45) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sp-page .sp-card::before { display: none !important; content: none !important; }

/* hover: whole card comes straight forward (no tilt) like a real 3D block */
.sp-page .sp-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.95),
    inset -3px -3px 7px rgba(75, 23, 64, 0.16),
    1px 1px 0 var(--edge),
    2px 2px 0 var(--edge),
    3px 3px 0 var(--edge),
    4px 4px 0 var(--edge),
    5px 5px 0 var(--edge),
    6px 6px 0 var(--edge),
    7px 7px 0 var(--edge),
    8px 8px 0 1px var(--line),
    22px 34px 40px -8px rgba(75, 23, 64, 0.5) !important;
}
/* click: block is pressed into the page */
.sp-page .sp-card:active {
  transform: translate(5px, 5px);
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.95),
    inset -3px -3px 7px rgba(75, 23, 64, 0.16),
    1px 1px 0 var(--edge),
    2px 2px 0 var(--edge),
    3px 3px 0 1px var(--line),
    8px 10px 14px -6px rgba(75, 23, 64, 0.4) !important;
}