/* BRYANWORKS v1.2.77 — homepage hero title styled to match the user's italic display-serif reference.
   Only the homepage heading is changed; page body, featured article, editor and partner cards are untouched.
   Bodoni Moda 400 italic is loaded by bw-magazine-fonts (inc/magazine.php).
   Strong selector + late enqueue avoids earlier heading-weight/style overrides. */
.bw-magazine-site .dh-home-refresh .dh-hero h1#dh-hero-title {
  font-family: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-synthesis: none;
  font-optical-sizing: auto;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  font-size: clamp(40px, 3.6vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.023em;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  max-width: 100%;
}
@media (max-width: 1020px) {
  .bw-magazine-site .dh-home-refresh .dh-hero h1#dh-hero-title {
    font-size: clamp(37px, 4.25vw, 49px);
    line-height: 1.16;
  }
}
@media (max-width: 740px) {
  .bw-magazine-site .dh-home-refresh .dh-hero h1#dh-hero-title {
    font-size: clamp(35px, 7.4vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.027em;
  }
}
@media (max-width: 430px) {
  .bw-magazine-site .dh-home-refresh .dh-hero h1#dh-hero-title {
    font-size: clamp(30px, 8.2vw, 37px);
  }
}

/* Keep the already-approved Enderun Colleges partner heading unchanged. */
.dh-home-refresh .dh-partners-heading {
  margin-bottom: clamp(24px, 2.6vw, 36px);
}
.dh-home-refresh .dh-partners-heading h2 {
  margin-bottom: 9px;
}
.dh-home-refresh .dh-partners-heading .dh-partners-subtitle {
  display:block;
  margin:0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(24px, 2.55vw, 36px);
  font-weight:500;
  font-style:normal;
  line-height:1.2;
  letter-spacing:-.04em;
  color:#222;
  text-align:left;
}
@media (max-width:1020px) {
  .dh-home-refresh .dh-hero h1 { font-size:clamp(36px,4.15vw,48px); }
}
@media (max-width:740px) {
  .dh-home-refresh .dh-hero h1 { font-size:clamp(36px,7.5vw,50px); line-height:1.14; }
  .dh-home-refresh .dh-partners-heading .dh-partners-subtitle {font-size:clamp(24px,5.3vw,32px);}
}
@media (max-width:430px) {
  .dh-home-refresh .dh-hero h1 {font-size:clamp(31px,8.3vw,37px);}
}
