/* Hero typography + mobile layout fixes */

.header .caption h1 {
  font-family: "Oswald", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em;
  line-height: 1.15;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.header .caption h4,
.header .caption p,
.header .caption .button-light {
  font-family: "Barlow", sans-serif !important;
}

.header .caption .col-md-7 {
  max-width: 640px;
}

@media (max-width: 991px) {
  .header {
    min-height: 72vh;
  }

  .header .caption {
    padding-left: 4px;
    padding-right: 12px;
  }

  .header .caption h1 {
    font-size: clamp(28px, 7.2vw, 40px) !important;
    letter-spacing: 0.02em !important;
    line-height: 1.18 !important;
    margin-bottom: 14px !important;
  }

  .header .caption h4 {
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
    word-spacing: 0.08em !important;
    margin-bottom: 8px !important;
  }

  .header .caption p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-right: 0 !important;
    margin-bottom: 22px !important;
    max-width: 34em;
  }

  .header .caption .button-light,
  .header .caption .button-light2 {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 575px) {
  .header {
    min-height: 68vh;
  }

  .header .caption h1 {
    font-size: clamp(26px, 8vw, 34px) !important;
    letter-spacing: 0.015em !important;
  }

  #slider-area .container,
  .header .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}
