/* Shared beauty banner rules cover every beauty subcategory, including future additions. */
body#educationFeaturePage.feature-type-beauty {
 --beauty-banner-start:#30473c; --beauty-banner-end:#8fa895; --beauty-banner-shade:24,44,34; --beauty-photo-position:50% center;
}
body#educationFeaturePage.feature-type-beauty.feature-page-hair-salons {
 --beauty-banner-start:#3e2530; --beauty-banner-end:#a16b70; --beauty-banner-shade:47,25,34; --beauty-photo-position:50% center;
}
body#educationFeaturePage.feature-type-beauty.feature-page-medspas {
 --beauty-banner-start:#483317; --beauty-banner-end:#6b5137; --beauty-banner-shade:72,51,23; --beauty-photo-position:50% center;
}
/* Use the existing photo sampler's colours for this banner instead of the fixed Beauty gradient. */
body#educationFeaturePage.feature-type-beauty.feature-page-medspas .feature-hero {
 background:linear-gradient(115deg,var(--subcategory-hero-bg,#483317),var(--subcategory-hero-edge,#6b5137))!important;
}
body#educationFeaturePage.feature-type-beauty:is(.feature-page-nail-studios,.feature-page-jewelry-makers) .feature-hero {
 background:linear-gradient(115deg,var(--subcategory-hero-bg),var(--subcategory-hero-edge))!important;
}
@media(min-width:768px){
 body#educationFeaturePage.feature-type-beauty:is(.feature-page-nail-studios,.feature-page-jewelry-makers) .feature-hero :is(.feature-hero-title,.hero-line-bg,.subcategory-hero-description){
  color:#111827!important;-webkit-text-fill-color:#111827!important;
 }
 body#educationFeaturePage.feature-type-beauty:is(.feature-page-nail-studios,.feature-page-jewelry-makers) .feature-hero .subcategory-hero-art img{
  height:auto!important;max-height:480px!important;object-fit:contain!important;
 }
}
/* Subcategory-specific photography and mobile backgrounds for beauty feature pages. */
body#educationFeaturePage.feature-type-beauty.feature-page-nail-studios {
 --beauty-banner-start:#50283f; --beauty-banner-end:#bb7894; --beauty-banner-shade:55,22,42; --beauty-photo-position:56% center;
}
body#educationFeaturePage.feature-type-beauty.feature-page-barbershops {
 --beauty-banner-start:#172c2c; --beauty-banner-end:#53706a; --beauty-banner-shade:10,27,27; --beauty-photo-position:50% center;
}
body#educationFeaturePage.feature-type-beauty.feature-page-tattoo-piercing {
 --beauty-banner-start:#171d29; --beauty-banner-end:#5c5367; --beauty-banner-shade:14,18,28; --beauty-photo-position:50% center;
}
body#educationFeaturePage.feature-type-beauty .feature-hero {
 background:linear-gradient(115deg,var(--beauty-banner-start),var(--beauty-banner-end))!important;
 --subcategory-hero-ink:#fff!important; --subcategory-hero-muted:#f5f0f3!important;
 overflow:hidden!important;
}
body#educationFeaturePage.feature-type-beauty .feature-hero :is(.feature-hero-title,.hero-line-bg,.subcategory-hero-description) {
 color:#fff!important; -webkit-text-fill-color:#fff!important;
}
body#educationFeaturePage.feature-type-beauty .feature-hero .subcategory-hero-art img {
 width:100%;height:480px;max-height:none;object-fit:cover;object-position:var(--beauty-photo-position);border-radius:12px;
 -webkit-mask-image:none!important;mask-image:none!important;
}
@media(max-width:767px) {
 body#educationFeaturePage.feature-type-beauty .feature-hero {
  position:relative;padding:0!important;min-height:660px!important;isolation:isolate;
 }
 body#educationFeaturePage.feature-type-beauty .feature-hero>.container {
  position:static!important;display:flex!important;flex-direction:column;justify-content:center!important;align-items:flex-start!important;
  width:90%!important;max-width:none!important;min-height:660px!important;padding:48px 0!important;gap:0!important;isolation:auto!important;
 }
 body#educationFeaturePage.feature-type-beauty .feature-hero .subcategory-hero-art {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;z-index:0!important;pointer-events:none;display:block!important;
 }
 body#educationFeaturePage.feature-type-beauty .feature-hero .subcategory-hero-art img {
  display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:var(--beauty-photo-position)!important;border-radius:0;
 }
 body#educationFeaturePage.feature-type-beauty .feature-hero::after {
  display:block!important;content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(var(--beauty-banner-shade),.1) 12%,rgba(var(--beauty-banner-shade),.64) 35%,rgba(var(--beauty-banner-shade),.82) 67%,rgba(var(--beauty-banner-shade),.97) 100%);
 }
 body#educationFeaturePage.feature-type-beauty .feature-hero .hero-text-container {
  position:relative!important;z-index:2!important;width:100%!important;max-width:100%!important;padding:0!important;align-self:auto!important;
 }
 body#educationFeaturePage.feature-type-beauty .feature-hero .feature-hero-title {
  font-size:clamp(30px,8.2vw,40px)!important;line-height:1.15!important;text-shadow:0 2px 16px rgba(0,0,0,.15);
 }
 body#educationFeaturePage.feature-type-beauty .feature-hero .subcategory-hero-description {
  max-width:100%!important;font-size:15px!important;line-height:1.65!important;margin-top:18px!important;
 }
 body#educationFeaturePage.feature-type-beauty .feature-hero .cta-btn-hero {
  font-size:14px!important;padding:13px 22px!important;min-height:46px;
 }
}
/* AOS transforms must not make the text column the image's containing block. */
@media(max-width:767px){
 body#educationFeaturePage.feature-type-beauty .feature-hero>.container{transform:none!important;opacity:1!important;transition:none!important;filter:none!important;}
 body#educationFeaturePage.feature-type-beauty .feature-hero .feature-hero-title .hero-line-bg{font-size:inherit!important;line-height:inherit!important;}
}

body#educationFeaturePage.feature-type-beauty.feature-page-makeup-artists{--beauty-banner-start:#422238;--beauty-banner-end:#a96a84;--beauty-banner-shade:47,20,38;--beauty-photo-position:50% center;}
body#educationFeaturePage.feature-type-beauty.feature-page-jewelry-makers{--beauty-banner-start:#382b1d;--beauty-banner-end:#aa8756;--beauty-banner-shade:43,31,17;--beauty-photo-position:50% center;}

/* Keep the heading and its single action together in the vertical centre. */
body#educationFeaturePage.feature-type-beauty .feature-hero>.container{align-items:center!important;}
body#educationFeaturePage.feature-type-beauty .feature-hero .hero-text-container{display:flex!important;flex-direction:column;justify-content:center!important;align-items:flex-start!important;align-self:center!important;}
body#educationFeaturePage.feature-type-beauty .feature-hero .feature-hero-title{margin-bottom:0!important;}

/* Mobile banner content is centred; the scrolled action uses an opaque surface. */
@media(max-width:767px){
 body#educationFeaturePage.feature-type-beauty .feature-hero .hero-text-container{align-items:center!important;text-align:center!important;}
 body#educationFeaturePage.feature-type-beauty .feature-hero .hero-text-container>.d-flex{justify-content:center!important;}
 body#educationFeaturePage.feature-type-beauty .beauty-banner-sticky-cta{
  position:fixed;left:2%;bottom:max(8px,env(safe-area-inset-bottom));width:96%;box-sizing:border-box;z-index:1050;
  display:flex;justify-content:center;align-items:center;min-height:52px;padding:14px 20px;border:1px solid #0d6efd;border-radius:8px;
  background:#fff!important;color:#0d6efd!important;-webkit-text-fill-color:#0d6efd!important;font-size:16px;font-weight:600;text-decoration:none;
  opacity:1!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;box-shadow:0 3px 14px rgba(0,0,0,.16);
 }
 body#educationFeaturePage.feature-type-beauty.beauty-banner-cta-visible{padding-bottom:calc(76px + env(safe-area-inset-bottom));}
}
body#educationFeaturePage.feature-type-beauty .beauty-banner-sticky-cta[hidden]{display:none!important;}
@media(min-width:768px){body#educationFeaturePage.feature-type-beauty .beauty-banner-sticky-cta{display:none!important;}}

@media(max-width:767px){body#educationFeaturePage.feature-type-beauty .feature-hero .feature-hero-title{width:100%!important;text-align:center!important;}body#educationFeaturePage.feature-type-beauty .feature-hero .hero-line-bg{text-align:center!important;}}

/* Desktop keeps the original left-aligned heading, description, and action. */
@media(min-width:768px){
 body#educationFeaturePage.feature-type-beauty .feature-hero .hero-text-container{align-items:flex-start!important;text-align:left!important;}
 body#educationFeaturePage.feature-type-beauty .feature-hero .feature-hero-title,
 body#educationFeaturePage.feature-type-beauty .feature-hero .hero-line-bg{text-align:left!important;}
 body#educationFeaturePage.feature-type-beauty .feature-hero .subcategory-hero-description{display:block!important;width:100%;max-width:560px;margin-top:20px!important;margin-bottom:0!important;text-align:left!important;}
 body#educationFeaturePage.feature-type-beauty .feature-hero .hero-text-container>.d-flex{justify-content:flex-start!important;}
}
@media(max-width:767px){
 body#educationFeaturePage.feature-type-beauty .feature-hero .subcategory-hero-description{display:none!important;}
}

@media(min-width:768px){body#educationFeaturePage.feature-type-beauty .feature-hero .feature-hero-title{width:100%!important;margin-left:0!important;margin-right:0!important;}body#educationFeaturePage.feature-type-beauty .feature-hero .subcategory-hero-description{font-size:16px!important;line-height:1.7!important;}}

/* Keep mobile photography sharp and true to its original colours. */
@media(max-width:767px){
 body#educationFeaturePage.feature-type-beauty .feature-hero .subcategory-hero-art,
 body#educationFeaturePage.feature-type-beauty .feature-hero .subcategory-hero-art img{
  filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1!important;
 }
 body#educationFeaturePage.feature-type-beauty .feature-hero::after{
  background:linear-gradient(180deg,rgba(0,0,0,.06) 10%,rgba(0,0,0,.38) 40%,rgba(0,0,0,.38) 62%,rgba(0,0,0,.12) 100%)!important;
  filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 }
}
