.headerTextGrid {
  display: grid;
  grid: auto/1fr 1fr;
  grid-gap: 32px 100px;
}
.headerTextGrid hr {
  grid-column-end: span 2;
  border: none;
  height: 2px;
  width: 100%;
  margin: 0;
  background: #604C4A;
}
.headerTextGrid .top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.headerTextGrid .top.r a {
  margin: auto 0 0 auto;
}
.headerTextGrid .top h2 {
  font: 400 72px/83px Carrie;
}
.headerTextGrid .top h2 + p {
  font: 500 28px/32px Karla;
}
.headerTextGrid .top strong {
  font-weight: 400;
  color: #EDA020;
}
.headerTextGrid .btm p {
  font: 400 20px/23px Karla;
}
.headerTextGrid .btm strong {
  font-weight: 700;
}

@media (max-width: 1199px) {
  .headerTextGrid {
    grid: auto/1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 32px;
  }
  .headerTextGrid hr {
    grid-column-end: span 6;
  }
  .headerTextGrid .top.l {
    grid-column-end: span 4;
  }
  .headerTextGrid .top.r {
    grid-column-end: span 2;
  }
  .headerTextGrid .btm {
    grid-column-end: span 3;
  }
  .headerTextGrid .top h2 {
    font: 400 50px/58px Carrie;
  }
}
@media (max-width: 767px) {
  .headerTextGrid {
    grid: auto/1fr;
    grid-gap: 16px;
  }
  .headerTextGrid > * {
    grid-column-end: span 1 !important;
  }
  .headerTextGrid .top.r {
    order: 1;
  }
  .headerTextGrid .top.r a {
    margin: 0;
  }
  .headerTextGrid .top h2 {
    font: 400 32px/37px Carrie;
  }
  .headerTextGrid .top h2 + p {
    font: 500 20px/23px Karla;
  }
  .headerTextGrid .btm p {
    font: 400 16px/19px Karla;
  }
}
.programsSection {
  padding: 60px 0 120px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.programsSection .programs {
  display: grid;
  grid: auto/1fr 1fr 1fr 1fr;
  grid-gap: 46px;
}
.programsSection .card {
  --bg: #73723E;
  background: var(--bg);
  border: 12px solid var(--bg);
  border-radius: 44px;
}
.programsSection .card a {
  color: #FEFBF3;
  font: 400 40px/46px Carrie;
  text-transform: uppercase;
}
.programsSection .card img {
  border-radius: 36px;
  height: 290px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.programsSection .card .hdr {
  background: var(--bg);
  border-radius: 44px;
  display: flex;
  align-items: flex-end;
  padding: 90px 20px 20px;
  margin: -202px -12px 0;
  transition: 0.4s;
}
.programsSection .card .hdr span {
  flex: 1;
  word-spacing: 100px;
  font-family: Carrie;
  font-weight: 300;
  text-shadow: 0 0 5px 0 0 5px rgba(0, 0, 0, 0.25);
}
.programsSection .card .hdr span.arr {
  width: 32px;
  height: 32px;
  border-radius: 32px;
  border: 2px solid #FEFBF3;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.programsSection .card .hdr span.arr svg {
  fill: #FEFBF3;
}
@media (pointer: fine) {
  .programsSection .card:hover .hdr {
    transform: translate(0, calc(100% - 70px));
  }
}
.programsSection .card:nth-child(2) {
  --bg: #A3690A;
}
.programsSection .card:nth-child(3) {
  --bg: #A41E22;
}
.programsSection .card:nth-child(4) {
  --bg: #176A77;
}

@media (max-width: 1199px) {
  .programsSection {
    padding: 30px 0;
    gap: 32px;
  }
  .programsSection .programs {
    grid: auto/1fr 1fr;
    grid-gap: 16px;
  }
  .programsSection .card {
    border: 16px solid var(--bg);
    border-radius: 20px;
    padding: calc(100% - 32px) 0 0;
    position: relative;
  }
  .programsSection .card a {
    font: 700 36px/41px Karla;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    border-radius: 10px;
  }
  .programsSection .card img {
    border-radius: 10px;
    height: 100%;
  }
  .programsSection .card .hdr {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    margin: 0;
    transition: 0.4s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-transform: uppercase;
  }
}
@media (max-width: 767px) {
  .programsSection .programs {
    grid: auto/1fr;
  }
}