:root {
  --header-bg: #163259;
  --footer-bg: transparent;
  --footer-color: black;
}

.hero {
  padding-top: 250px;
}
@media screen and (max-width: 1024px) {
  .hero {
    padding-top: 170px;
  }
}
.hero__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  grid-template-areas: "title slogan" "video video";
  -moz-column-gap: 40px;
       column-gap: 40px;
  row-gap: 70px;
}
@media screen and (max-width: 1024px) {
  .hero__wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-template-areas: "title" "slogan" "video";
    row-gap: 20px;
  }
}
.hero__block-title {
  grid-area: title;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
@media screen and (max-width: 1024px) {
  .hero__block-title {
    align-items: center;
  }
}
.hero__buttons {
  display: flex;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.hero__title {
  font-weight: 700;
  font-size: 150px;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 1280px) {
  .hero__title {
    font-size: 120px;
  }
}
@media screen and (max-width: 1024px) {
  .hero__title {
    font-size: 90px;
  }
}
@media screen and (max-width: 480px) {
  .hero__title {
    font-size: 70px;
  }
}
.hero__block-slogan {
  text-align: justify;
  grid-area: slogan;
}
.hero__block-slogan h2 {
  line-height: 1.3;
}
.hero__block-slogan p {
  line-height: 1.5;
}
.hero__block-video {
  grid-area: video;
  height: 444px;
}

.promo__wrapper {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.promo__img {
  width: 100%;
  height: 100%;
}
.promo__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.promo__link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.quote__wrapper {
  display: flex;
  gap: 95px;
}
@media screen and (max-width: 1024px) {
  .quote__wrapper {
    gap: 55px;
  }
}
@media screen and (max-width: 768px) {
  .quote__wrapper {
    gap: 35px;
  }
}
.quote__stick {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.quote__stick span {
  height: 60%;
  display: block;
  border-radius: 50px;
  width: 10px;
  background: linear-gradient(180deg, #163259 0%, #E37E36 100%);
}
.quote__header {
  font-family: "Nunito Sans";
  font-size: 48px;
  font-weight: 400;
}
.quote__header h2 {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
@media screen and (max-width: 768px) {
  .quote__header {
    font-size: 32px;
  }
}
@media screen and (max-width: 480px) {
  .quote__header {
    font-size: 24px;
  }
}
.quote__body {
  line-height: 1.3;
}
.news {
  padding: 48px 0;
  background: #F9FAFB;
}
.news__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
.news__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.news__header h2 {
  margin: 0.5em 0;
}
.news__body {
  background: #ffffff;
}
.news__footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
@media screen and (max-width: 1024px) {
  .news__footer {
    flex-wrap: wrap;
    gap: 12px;
  }
}

.card-news {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto;
  border-radius: 12px;
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1019607843), 0px 4px 6px -1px rgba(0, 0, 0, 0.1019607843);
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .card-news {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
}
.card-news__img {
  grid-row: 1/2;
  grid-column: 1/2;
  overflow: hidden;
}
.card-news__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 1024px) {
  .card-news__img {
    max-height: 370px;
  }
}
.card-news__body {
  padding: 30px;
}
.card-news__quote {
  padding-top: 10px;
  border-top: 1px solid #E5E7EB;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #4B5563;
}

.record {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 30px;
}
.record__date {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: #E37E36;
}
.record__title {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  color: #122E4C;
  margin-bottom: 4px;
}
.record__caption {
  font-weight: 400;
  font-size: 16px;
  color: #6B7280;
  margin-bottom: 12px;
}
.record__link {
  font-weight: 500;
  font-size: 16px;
  color: #E37E36;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}
.record__link * {
  transition: transform 0.2s;
}
.record__link a {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}
.record__link:hover * {
  transform: scale(1.05);
}

.card-icon {
  width: 100%;
  padding: 24px;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1019607843), 0px 1px 3px 0px rgba(0, 0, 0, 0.1019607843);
  display: grid;
  grid-template-columns: min-content max-content;
  grid-template-rows: auto auto;
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 6px;
}
.card-icon__img {
  grid-row: 1/3;
}
.card-icon__title {
  font-weight: 500;
  font-size: 14px;
  align-self: self-end;
}
.card-icon__caption {
  font-weight: 400;
  font-size: 14px;
  color: #6B7280;
}

.gallary__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}
@media screen and (max-width: 1024px) {
  .gallary__wrapper {
    gap: 35px;
  }
}
.gallary__list {
  max-height: 420px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(2, auto);
  gap: 24px;
}
@media screen and (max-width: 1024px) {
  .gallary__list {
    gap: 12px;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
  }
}
@media screen and (max-width: 768px) {
  .gallary__list {
    max-height: none;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }
}
.gallary__img {
  border-radius: 7px;
  overflow: hidden;
}
.gallary__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallary__img:nth-child(1) {
  grid-column: 1/2;
  grid-row: 1/3;
}
.gallary__img:nth-child(4) {
  grid-column: 3/4;
  grid-row: 1/3;
}
@media screen and (max-width: 1024px) {
  .gallary__img:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .gallary__img:nth-child(4) {
    grid-column: 2/3;
    grid-row: 1/2;
  }
}
@media screen and (max-width: 768px) {
  .gallary__img:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .gallary__img:nth-child(4) {
    grid-column: 1/2;
    grid-row: 4/5;
  }
}
.calendar__wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: repeat(2, auto);
  grid-template-areas: "header header" "list dates";
  -moz-column-gap: 32px;
       column-gap: 32px;
  row-gap: 60px;
}
@media screen and (max-width: 1024px) {
  .calendar__wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-template-areas: "header" "dates" "list";
    row-gap: 30px;
  }
}
.calendar__header {
  grid-area: header;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.calendar__mark {
  color: #6B7280;
  font-size: 20px;
  text-align: center;
}
.calendar__list {
  grid-area: list;
}
.calendar__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.calendar__list ul > li:nth-child(even) .list-item__icon {
  background: #122E4C;
}
.calendar__list ul > li:nth-child(even) .list-item__body svg {
  fill: #122E4C;
}
.calendar__dates {
  grid-area: dates;
  border-radius: 8px;
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1019607843), 0px 1px 3px 0px rgba(0, 0, 0, 0.1019607843);
  padding: 20px;
}
.calendar__dates-end {
  border-top: 1px solid #E5E7EB;
}
.calendar__dates-end h6 {
  font-size: 14px;
  font-weight: 700;
}
.calendar__dates-end ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.calendar__dates-end ul li {
  font-size: 14px;
  color: #6B7280;
}
.calendar__dates-end ul li span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  background: #6B7280;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1019607843), 0px 1px 3px 0px rgba(0, 0, 0, 0.1019607843);
  border-radius: 8px;
  margin-bottom: 16px;
}
@media screen and (max-width: 480px) {
  .list-item {
    gap: 8px;
    padding: 10px;
    margin-bottom: 8px;
  }
}
.list-item__icon {
  width: 80px;
  height: 76px;
  border-radius: 8px;
  background: #e37e36;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 480px) {
  .list-item__icon {
    width: 60px;
    height: 56px;
  }
}
.list-item__month {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}
@media screen and (max-width: 480px) {
  .list-item__month {
    font-size: 12px;
  }
}
.list-item__day {
  font-weight: 700;
  font-size: 24px;
}
@media screen and (max-width: 480px) {
  .list-item__day {
    font-size: 18px;
  }
}
.list-item__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 8px;
}
@media screen and (max-width: 480px) {
  .list-item__body {
    gap: 4px;
  }
}
.list-item__title {
  color: #122E4C;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  grid-column: 1/3;
}
@media screen and (max-width: 480px) {
  .list-item__title {
    font-size: 16px;
  }
}
.list-item__location, .list-item__time {
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}
.list-item__location svg, .list-item__time svg {
  fill: #e37e36;
}
.list-item__location span, .list-item__time span {
  line-height: 1;
  align-self: flex-end;
}
@media screen and (max-width: 480px) {
  .list-item__location, .list-item__time {
    font-size: 12px;
  }
}
.list-item__buttons {
  margin-left: auto;
}
.mini-calendar {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
}

.mini-calendar-header {
  font-weight: 500;
  font-size: 18px;
}

.calendar-grid {
  margin-top: 20px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 5px;
  -moz-column-gap: 5px;
       column-gap: 5px;
}

.day-header {
  font-weight: 500;
  font-size: 12px;
  text-align: center;
  color: #6B7280;
}

.day {
  text-align: center;
  padding: 12px 16px;
  border-radius: 20px;
  color: #122E4C;
  font-size: 16px;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .day {
    padding: 10px 7px;
  }
}

.month {
  grid-column: 1/-1;
  font-weight: 500;
  font-size: 18px;
}

.group__wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: repeat(2, auto);
  grid-template-areas: "video header" "promo promo";
  gap: 60px;
}
@media screen and (max-width: 1024px) {
  .group__wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-template-areas: "header" "video" "promo";
    row-gap: 30px;
  }
}
.group__video {
  grid-area: video;
  background: lightgray;
  border-radius: 20px;
  aspect-ratio: 1/1;
}
.group__header {
  grid-area: header;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(2, auto);
  align-content: center;
  -moz-column-gap: 30px;
       column-gap: 30px;
  row-gap: 10px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
}
.group__header span {
  font-weight: inherit;
  letter-spacing: inherit;
}
@media screen and (max-width: 768px) {
  .group__header {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
  }
}
.group__title {
  font-weight: 900;
  font-size: 64px;
  line-height: 130%;
  text-transform: uppercase;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .group__title {
    font-size: 40px;
  }
}
.group__title-1 {
  grid-column: 1/3;
}
@media screen and (max-width: 768px) {
  .group__title-1 {
    text-align: center;
    grid-column: 1/2;
  }
}
.group__title-2 {
  align-self: self-start;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .group__title-2 {
    text-align: center;
  }
}
.group__header-text {
  align-self: self-start;
}
@media screen and (max-width: 768px) {
  .group__header-text {
    text-align: center;
  }
}
.group__promo {
  grid-area: promo;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(103.32deg, rgba(18, 46, 76, 0.9) 0%, rgba(18, 61, 72, 0.9) 100%);
  box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.1019607843), 0px 20px 25px -5px rgba(0, 0, 0, 0.1019607843);
  color: #ffffff;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-template-areas: "title img" "text img" "button img";
  gap: 23px;
  padding-left: 40px;
}
@media screen and (max-width: 1024px) {
  .group__promo {
    padding-left: 20px;
    -moz-column-gap: 10px;
         column-gap: 10px;
    row-gap: 5px;
  }
}
.group__promo-title {
  grid-area: title;
  padding-top: 40px;
  margin: 0;
  font-weight: 700;
  font-size: 36px;
}
@media screen and (max-width: 1024px) {
  .group__promo-title {
    padding-top: 20px;
  }
}
@media screen and (max-width: 768px) {
  .group__promo-title {
    font-size: 18px;
  }
}
.group__promo-text {
  grid-area: text;
  font-weight: 400;
  line-height: 1.5;
  width: 70%;
}
.group__promo-text p {
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}
@media screen and (max-width: 1024px) {
  .group__promo-text {
    width: auto;
  }
}
@media screen and (max-width: 768px) {
  .group__promo-text {
    font-size: 14px;
  }
}
.group__promo-button {
  grid-area: button;
  padding-bottom: 40px;
}
@media screen and (max-width: 1024px) {
  .group__promo-button {
    padding-bottom: 20px;
  }
}
.group__promo-img {
  grid-area: img;
}
.group__promo-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.image__wrapper {
  max-height: 476px;
  overflow: hidden;
  border-radius: 59px;
  display: flex;
  align-items: center;
}
.image__wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media screen and (max-width: 1024px) {
  .image__wrapper {
    max-height: 300px;
  }
}
@media screen and (max-width: 768px) {
  .image__wrapper {
    max-height: 200px;
  }
}