/* ONYX 2027 / Education visual harmonization (body sections only).
   Visual language derived from approved Solara/Financing preview styles:
   DM Sans, Italiana, deep green, bone/ivory, champagne.
   Does NOT style or replace .onx27-header, .onx27-mobile, or footer. */
body.v7-education {
  --ed2027-black:#101512;
  --ed2027-dark:#171c18;
  --ed2027-olive:#292f29;
  --ed2027-bone:#eeeae2;
  --ed2027-porcelain:#f5f2eb;
  --ed2027-champagne:#bca789;
  --ed2027-soft:#b3bdb5;
  margin:0;
  background:var(--ed2027-black);
  color:var(--ed2027-bone);
  font-family:'DM Sans',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.v7-education main{display:block!important;overflow:hidden;background:var(--ed2027-black);color:var(--ed2027-bone);font-family:'DM Sans',Arial,sans-serif}
body.v7-education main, body.v7-education main *{box-sizing:border-box}
body.v7-education main h1,body.v7-education main h2,body.v7-education main h3,body.v7-education main p{margin-top:0}
body.v7-education main .eyebrow{color:var(--ed2027-champagne)!important;font:700 10px/1.5 'DM Sans',Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.25em!important}
body.v7-education main .short-rule{display:block!important;width:53px!important;height:1px!important;min-height:1px!important;background:var(--ed2027-champagne)!important;border:0!important;margin:29px 0!important;opacity:.9!important}
body.v7-education main .reveal{opacity:1}

/* 01 / Education introduction: same atmospheric charcoal-green family as Financing. */
body.v7-education main .education-hero{
  position:relative!important;isolation:isolate;display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;
  align-items:center!important;gap:clamp(35px,5vw,90px)!important;
  width:100%!important;max-width:none!important;min-height:680px!important;
  margin:0!important;padding:clamp(88px,9.5vw,155px) clamp(26px,7vw,126px)!important;
  background:radial-gradient(ellipse at 86% 44%,rgba(102,123,101,.20),transparent 39%),
             radial-gradient(ellipse at 24% 94%,rgba(89,103,88,.13),transparent 36%),#111713!important;
  color:var(--ed2027-bone)!important;overflow:hidden!important;
  border-bottom:1px solid rgba(238,234,226,.1)!important;
}
body.v7-education main .education-hero::before{
  content:''!important;position:absolute!important;inset:0 0 0 48%!important;
  z-index:0!important;pointer-events:none!important;
  background-image:linear-gradient(rgba(215,233,220,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(215,233,220,.075) 1px,transparent 1px)!important;
  background-size:90px 90px!important;mask-image:linear-gradient(to right,transparent,black 42%)!important;
}
body.v7-education main .education-hero .hero-copy{max-width:785px!important;width:100%!important;position:relative!important;z-index:2!important;margin:0!important;padding:0!important;color:var(--ed2027-bone)!important}
body.v7-education main .education-hero .hero-copy h1{
  margin:21px 0 30px!important;color:var(--ed2027-bone)!important;
  font-family:'Italiana',Georgia,serif!important;font-size:clamp(60px,6.9vw,111px)!important;
  font-weight:400!important;line-height:1.01!important;letter-spacing:-.043em!important;
  text-transform:none!important;max-width:none!important;
}
body.v7-education main .education-hero .hero-copy h1 em{
  color:var(--ed2027-champagne)!important;font-family:'Italiana',Georgia,serif!important;
  font-style:normal!important;font-weight:400!important;
}
body.v7-education main .education-hero .hero-body{
  max-width:590px!important;margin:0!important;color:#c4ccc4!important;
  font:400 clamp(15px,1.17vw,18px)/1.86 'DM Sans',Arial,sans-serif!important;
  letter-spacing:0!important;
}
/* The original hero visual is empty. Give it subtle architectural depth, not a substitute photograph. */
body.v7-education main .education-hero .hero-visual{
  position:relative!important;display:block!important;min-height:clamp(365px,38vw,550px)!important;
  width:100%!important;max-width:none!important;margin:0!important;
  background:radial-gradient(circle at 50% 45%,rgba(188,167,137,.20),transparent 33%),
             radial-gradient(ellipse at 75% 80%,rgba(92,127,99,.21),transparent 42%),
             linear-gradient(135deg,rgba(185,169,139,.045),rgba(11,24,17,.1))!important;
  border:1px solid rgba(188,167,137,.14)!important;overflow:hidden!important;
}
body.v7-education main .education-hero .hero-visual::before{
  content:''!important;position:absolute!important;inset:15% 11%!important;
  border:1px solid rgba(188,167,137,.21)!important;border-radius:50%!important;
  transform:rotate(-21deg)!important;box-shadow:0 0 0 55px rgba(188,167,137,.024),0 0 0 115px rgba(188,167,137,.018)!important;
}
body.v7-education main .education-hero .hero-visual::after{
  content:'EDUCATION / ONYX'!important;position:absolute!important;bottom:28px!important;left:29px!important;
  font:600 9px/1.4 'DM Sans',Arial,sans-serif!important;letter-spacing:.25em!important;
  color:rgba(238,234,226,.55)!important;
}

/* 02 / Six training pillars: dark green cards, subtle champagne strokes. */
body.v7-education main .approach{
  display:block!important;width:100%!important;max-width:none!important;margin:0!important;
  padding:clamp(94px,9vw,148px) clamp(26px,7vw,126px)!important;
  background:#171c18!important;color:var(--ed2027-bone)!important;
}
body.v7-education main .approach .approach-heading{
  display:block!important;max-width:980px!important;margin:0 0 64px!important;padding:0!important;
  color:var(--ed2027-bone)!important;
}
body.v7-education main .approach .approach-heading h2{
  font:400 clamp(52px,5.75vw,88px)/1.05 'Italiana',Georgia,serif!important;
  letter-spacing:-.041em!important;text-transform:none!important;color:var(--ed2027-bone)!important;
  margin:18px 0 16px!important;max-width:960px!important;
}
body.v7-education main .approach .approach-heading p:not(.eyebrow){
  color:#bac4bc!important;max-width:640px!important;
  font:400 clamp(15px,1.15vw,17px)/1.82 'DM Sans',Arial,sans-serif!important;
}
body.v7-education main .approach .approach-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1px!important;width:100%!important;max-width:1380px!important;
  margin:0 auto!important;padding:1px!important;
  background:rgba(188,167,137,.2)!important;border:0!important;
}
body.v7-education main .approach .approach-card{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;
  margin:0!important;min-width:0!important;min-height:285px!important;
  padding:clamp(27px,3.2vw,48px)!important;border:0!important;border-radius:0!important;
  background:#202923!important;color:var(--ed2027-bone)!important;
  box-shadow:none!important;transform:none;
}
body.v7-education main .approach .approach-card:nth-child(2n){background:#1d261f!important}
body.v7-education main .approach .approach-card svg{
  display:block!important;width:46px!important;height:46px!important;max-width:46px!important;
  margin:0 0 31px!important;fill:none!important;stroke:var(--ed2027-champagne)!important;
  stroke-width:1.5px!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
body.v7-education main .approach .approach-card h3{
  font:500 clamp(19px,1.75vw,24px)/1.2 'DM Sans',Arial,sans-serif!important;
  letter-spacing:-.025em!important;text-transform:none!important;color:var(--ed2027-bone)!important;
  margin:0 0 16px!important;text-align:left!important;
}
body.v7-education main .approach .approach-card p{
  font:400 14px/1.75 'DM Sans',Arial,sans-serif!important;color:#b5c0b6!important;
  max-width:360px!important;margin:0!important;text-align:left!important;
}

/* 03 / Expert teaching: warm porcelain creates the same light/dark rhythm as Financing. */
body.v7-education main .experts{
  position:relative!important;display:flex!important;align-items:center!important;
  width:100%!important;max-width:none!important;min-height:525px!important;margin:0!important;
  padding:clamp(95px,9.5vw,156px) clamp(26px,7vw,126px)!important;
  background:var(--ed2027-porcelain)!important;color:var(--ed2027-black)!important;
  overflow:hidden!important;
}
body.v7-education main .experts .experts-copy{
  position:relative!important;z-index:2!important;max-width:970px!important;margin:0!important;padding:0!important;
}
body.v7-education main .experts .eyebrow{color:#88735e!important}
body.v7-education main .experts h2{
  font:400 clamp(60px,6.5vw,101px)/1.02 'Italiana',Georgia,serif!important;
  color:#111713!important;letter-spacing:-.043em!important;text-transform:none!important;
  margin:22px 0 22px!important;max-width:1000px!important;
}
body.v7-education main .experts .short-rule{background:#a48b6c!important}
body.v7-education main .experts p:not(.eyebrow){
  font:400 clamp(15px,1.18vw,17px)/1.86 'DM Sans',Arial,sans-serif!important;
  color:#48534c!important;max-width:630px!important;
}

/* 04 / CTA: deep forest, pearl copy, champagne detailing; original destination retained. */
body.v7-education main .education-cta{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
  width:100%!important;max-width:none!important;min-height:570px!important;margin:0!important;
  padding:clamp(92px,10vw,160px) clamp(26px,7vw,126px)!important;
  background:radial-gradient(ellipse at 78% 27%,rgba(99,127,94,.23),transparent 52%),#112016!important;
  border-top:1px solid rgba(188,167,137,.14)!important;
  color:var(--ed2027-bone)!important;text-align:left!important;
}
body.v7-education main .education-cta .cta-icon{
  display:block!important;width:44px!important;height:44px!important;margin:0 0 35px!important;
  stroke:var(--ed2027-champagne)!important;fill:none!important;stroke-width:1.6px!important;
}
body.v7-education main .education-cta h2{
  max-width:1020px!important;margin:0!important;
  font:400 clamp(57px,6.4vw,99px)/1.04 'Italiana',Georgia,serif!important;
  color:var(--ed2027-bone)!important;letter-spacing:-.041em!important;text-transform:none!important;
}
body.v7-education main .education-cta p{
  max-width:650px!important;margin:0 0 38px!important;
  font:400 clamp(15px,1.18vw,17px)/1.85 'DM Sans',Arial,sans-serif!important;
  color:#c0ccc1!important;
}
body.v7-education main .education-cta .primary-cta{
  display:inline-flex!important;align-items:center!important;justify-content:space-between!important;
  width:auto!important;min-width:min(100%,320px)!important;min-height:58px!important;
  margin:0!important;padding:17px 24px!important;
  background:var(--ed2027-bone)!important;color:#15231a!important;border:1px solid var(--ed2027-bone)!important;
  border-radius:0!important;box-shadow:none!important;text-decoration:none!important;
  font:700 10px/1.4 'DM Sans',Arial,sans-serif!important;text-transform:uppercase!important;
  letter-spacing:.13em!important;white-space:normal!important;
}
body.v7-education main .education-cta .primary-cta:hover,
body.v7-education main .education-cta .primary-cta:focus-visible{
  background:var(--ed2027-champagne)!important;border-color:var(--ed2027-champagne)!important;
}
body.v7-education main .education-cta .primary-cta span{
  margin-left:24px!important;font-size:19px!important;line-height:1!important;
}

@media(max-width:960px){
  body.v7-education main .education-hero{grid-template-columns:1fr!important;gap:48px!important;min-height:0!important}
  body.v7-education main .education-hero .hero-visual{min-height:340px!important}
  body.v7-education main .approach .approach-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  body.v7-education main .education-hero,
  body.v7-education main .approach,
  body.v7-education main .experts,
  body.v7-education main .education-cta{padding-left:24px!important;padding-right:24px!important}
  body.v7-education main .education-hero{padding-top:74px!important;padding-bottom:75px!important;gap:35px!important}
  body.v7-education main .education-hero .hero-copy h1{font-size:clamp(52px,12vw,75px)!important;letter-spacing:-.044em!important}
  body.v7-education main .education-hero .hero-visual{min-height:265px!important}
  body.v7-education main .approach{padding-top:80px!important;padding-bottom:80px!important}
  body.v7-education main .approach .approach-heading{margin-bottom:42px!important}
  body.v7-education main .approach .approach-heading h2{font-size:clamp(48px,11vw,67px)!important}
  body.v7-education main .approach .approach-grid{grid-template-columns:1fr!important}
  body.v7-education main .approach .approach-card{min-height:230px!important;padding:35px 28px!important}
  body.v7-education main .experts{min-height:0!important;padding-top:90px!important;padding-bottom:95px!important}
  body.v7-education main .experts h2{font-size:clamp(52px,11vw,73px)!important}
  body.v7-education main .education-cta{min-height:0!important;padding-top:94px!important;padding-bottom:94px!important}
  body.v7-education main .education-cta h2{font-size:clamp(52px,10.6vw,73px)!important}
}
@media(prefers-reduced-motion:reduce){body.v7-education main *,body.v7-education main *::before,body.v7-education main *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
