@media (min-width: 1199px) {
  .container {
    max-width: 1480px;
    margin: auto;
  }

  .header {
    height: 125px;
    background: transparent;
    transform: all 0.2s ease;
    & .logo {
      width: 0;
      opacity: 0;
      right: -50px;
    }

    & nav > ul {
      margin-right: 0;
    }

    &.offset {
      height: 105px;
    }

    &.offset {
      & .logo {
        display: flex;
        opacity: 1;
        right: 0;
        width: 160px;
      }
    }
  }
}

@media (min-width: 992px) {
  .header {
    background-color: transparent;
  }
}

.cover.net-mobile {
  display: none;
}

.cover {
  position: relative;
  min-height: 540px;
  display: flex;
  padding: 5rem 10rem;

  & .symbol {
    width: min(100%, 720px);
    width: min(100%, 520px);
    height: fit-content;
    margin-right: 0;
    transition:
      transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
      opacity 0.6s ease-in-out,
      margin 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
    & img {
      width: 100%;
      display: block;
      transition: inherit;
    }
  }

  & .grade {
    position: absolute;
    inset: 0;
    width: 62%;
    height: 80%;
    background: linear-gradient(
      253deg,
      rgba(247, 241, 235, 1) 0%,
      rgba(247, 241, 235, 0) 100%
    );

    opacity: 0.25;
    border-radius: 24px;
  }
}

.cover.scrolled .symbol {
  transform: scale(0.8) translateX(50px);
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

@media (min-width: 992px) {
  .cover {
    /*height: 1155px;*/
    height: 88vh;
    background-size: 95%;
    background-repeat: no-repeat;
    background-position: 0 -16px;
  }
}

@media (min-width: 1199px) and (max-height: 820px) {
  .cover {
    background-position: 0px -145px;
    height: 90vh;
    padding: 5rem 7rem;
    background-size: 100%;
    min-height: 620px;
    & .symbol {
      width: min(100%, 320px);
    }
  }
}

@media (max-width: 1199px) {
  .cover {
    padding: 5.5rem 3rem;
    min-height: 680px;

    & .symbol {
      width: min(100%, 415px);
    }
  }
}

@media (max-width: 991px) {
  .header {
    background-color: #fff;
    & .logo {
      display: flex;
    }
  }

  .cover {
    min-height: unset;
    padding: 0;

    & .symbol {
      width: min(100%, 360px);
    }
  }
  .net-desktop {
    display: none;
  }
  .cover.net-mobile {
    display: flex;

    & img {
      height: 70vw;
      width: 100%;
      object-fit: cover;
    }
  }
}

.cover-slick {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}

.cover-slick div {
  height: 100%;
  background-size: cover;
  background-position: center;
}

.cover .toggle-slick {
  position: absolute;
  top: 125px;
  right: 15px;
  background: none;
  border: 0;
}

/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.updates {
  margin-block: 2.5rem;

  & .all {
    display: flex;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
.news {
  background: linear-gradient(
    0deg,
    rgba(35, 129, 59, 1) 50%,
    rgba(25, 94, 43, 1) 100%
  );
  margin-top: 60px;
  margin-right: 105px;
}
.newsbtn {
  position: relative;
  display: block;
  top: 12rem;
}
.news .container {
  min-width: unset;
  width: 100%;
  max-width: 98%;
  padding-right: 6.5rem;
  margin-left: 0;
  padding-left: 0;
}
.news .content {
  position: relative;
}
.breaking-news-ticker {
  overflow-x: clip;
  overflow-y: visible;
  padding-block: 1.82rem;
  height: 140px !important;
}
.news .buttons {
  position: absolute;
  top: 1.9rem;
  left: 1.9rem;
}

.news a {
  color: #000;
  display: block;
  line-height: 1.1;
}
.bn-direction-rtl .bn-controls {
  top: -120px;
  left: 5%;
  background-color: var(--prime1);
}
.bn-controls {
  height: 42px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  border: 2px solid #fff;
}

.news h2 {
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  padding: 0.219rem 0.75rem;
  margin: 0;
  border-radius: 2rem;
  z-index: 5;
}

.news h2 a {
  color: inherit;
}

.bn-news {
  left: 0 !important;
}
.bn-news ul li a {
  height: 100%;
  border: none;
  color: var(--text);
  background-color: rgb(from #fafafa r g b / 0.95);
  padding: 0;
  white-space: initial;
  font-size: 1.2rem;
  line-height: 1.2rem;
  width: 425px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow-x: clip;
  overflow-y: visible;
  border-radius: 3px;
  height: 7.4rem;
}

.bn-news ul li a:hover {
  color: var(--prime2);
  background-color: rgb(from var(--prime2) r g b / 0.1);
}

.bn-effect-scroll .bn-news ul li {
  padding: 0 1rem;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
}

time.date {
  color: var(--prime2);
  width: fit-content;
  position: relative;
  font-weight: bold;
  padding-block: 0.75rem;
  z-index: 2;
  margin-right: 2rem;
  font-size: calc(0.25vw + 16px);

  & i {
    transform: scaleX(-1) rotate(-25deg);
  }
}

.updates span.name {
  position: relative;
  padding-inline: 1.8rem;
  font-size: calc(0.05vw + 16px);
}

.news-toggle {
  width: 26px;
  height: 26px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #111;
  color: #fff;
  background: none;
  font-size: 14px;
}

.bn-controls {
  left: 0;
  right: auto;
}

.bn-controls button {
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  padding: 0;
  margin-right: 5px;
}

.bn-arrow {
  top: -1px;
}
.bn-direction-rtl .bn-controls button {
  border: none;
}
.bn-direction-rtl .bn-controls button:hover {
  background-color: var(--prime2);
}
.bn-pause {
  top: 3px;
  height: 1rem;
  left: -2px;
}
.bn-pause::before,
.bn-pause::after {
  background-color: #fff;
  width: 4px;
  border-radius: 50px;
}

.bn-arrow::after {
  border-bottom-style: solid;
  border-bottom-width: 3px;
  border-right-style: solid;
  border-right-width: 3px;
  content: "";
  display: inline-block;
  height: 10px;
  left: 0;
  position: absolute;
  top: 0;
  width: 10px;
}

.bn-pause::before {
  left: 4px;
}
.bn-play::after {
  border-left-color: #fff;
}

.bn-controls button:hover {
  background-color: var(--site1);
  color: #fff;
  box-shadow: none;
}

.updates .wrapper {
  width: 100%;
}
.top {
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 4.5rem;
  h2 {
    width: 100%;
    text-align: center;
    font-size: calc(1.7vw + 16px);

    font-weight: 700;
    line-height: 1;
    & em {
      font-style: normal;
      color: var(--prime4);
    }
  }

  & span {
    font-size: calc(0.15vw + 16px);
  }
  & i {
    display: inline-block;
    margin-right: 10px;
    font-size: calc(0.1vw + 16px);
    transition: all 0.2s ease;
  }

  & a:hover {
    text-decoration: underline;
  }

  & a:hover i {
    margin-right: 5px;
  }
}

/* Articles */

.articles {
  overflow-x: clip;
  margin-bottom: 6rem;
  padding-top: 7rem;
  position: relative;

  & h2 span {
    color: var(--headerBlue);
  }
  &::after {
    content: "";
    border-top: 2px solid #ddd;
    position: absolute;
    top: 0;
    width: 90%;
    margin: 0 auto;
    height: 2px;
    right: 0;
    left: 0;
    z-index: -1;
  }

  &::before {
    content: "";
    position: absolute;
    opacity: 1;
    background-image: url(./images/deco_45b.png);
    width: 546px;
    height: 391px;
    background-size: cover;
    background-position: center;
    left: 6vw;
    top: -59px;
    z-index: 1;
  }

  & .row {
    position: relative;
    z-index: 3;
    margin-top: 7rem;
  }
}

.articles a {
  & .info {
    padding-inline: 1rem;
  }
  & h3 {
    padding-block: 3rem;
    color: var(--text);
    font-weight: 550;
    line-height: 1.12;
    font-size: calc(1.78vw + 16px);
    position: relative;
    margin-bottom: 2rem;
    width: 90%;
  }

  & h3::after {
    content: "";
    position: absolute;
    right: 0;
    width: 150px;
    bottom: 10px;
    height: 5px;
    background-color: var(--prime5);
  }

  & p {
    color: var(--text);
    font-size: calc(0.35vw + 16px);
    line-height: 1;
    font-weight: 500;
    width: 90%;
  }

  & p + span {
    margin-top: 1rem;
    transition: all 0.2s ease;
    font-size: calc(0.25vw + 16px);
    color: var(--prime4);
    display: inline-block;
    font-weight: 900;

    & i {
      font-size: 0.9rem;
      margin-right: 0.75rem;
      transition: all 0.2s ease;
    }
  }

  &:hover {
    text-decoration: none;
  }

  &:hover p + span {
    transform: scale(1.01);
  }
  &:hover p + span i {
    margin-right: 0.375rem;
  }
}
.articles .pic > div {
  border-radius: 0 1.8rem 1.8rem 0;
  width: 130%;
  max-height: 565px;
  aspect-ratio: 1.5;
  background-size: cover;
  background-position: center;
  left: 20px;
  position: relative;
}
.read-more {
  background: #fff;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-weight: bold;
  color: inherit;
  border: 1px solid #ddd;
}

.all {
  width: 100%;
  display: flex;
  padding-inline: 2rem;
  & i {
    font-size: 0.7rem;
  }

  & a:hover {
    font-weight: 700;
    text-decoration: underline;
  }
}

@media (max-width: 991px) {
  .articles {
    & .row {
      margin-top: 1rem;
      gap: 2rem;
    }

    &::before {
      opacity: 0.5;
      z-index: -1;
    }

    & .pic > div {
      left: -20px;
      max-height: 400px;
    }
  }
}

/**/

@media (min-width: 992px) {
  .services {
    padding-inline: 0.5rem;
    margin-bottom: 5rem;
    position: relative;
    width: 100%;
    margin-top: -120px;

    & .row > div:last-child {
      display: flex;
      align-items: flex-end;
      padding-bottom: 1rem;
    }

    .top {
      width: auto;
      padding-right: 18%;
      margin-bottom: 1rem;
      & h2 {
        text-align: right;
        margin: 0;
      }

      & span {
        font-size: calc(0.15vw + 16px);
      }
      & i {
        display: inline-block;
        margin-right: 10px;
        font-size: calc(0.1vw + 16px);
      }
    }
  }
}

@media (min-width: 1600px) {
  .services {
    padding-inline: 3rem;
  }
}

@media (min-width: 992px) and (max-height: 820px) {
  .services {
    margin-top: -14rem;
  }
}

@media (max-width: 1199px) {
  .services {
    margin-bottom: 5rem;
    & .row {
      flex-direction: column;
      & > div {
        flex: 1 0 100%;
        max-width: 100%;
      }
    }

    & .searching {
      max-width: 600px;
      margin: auto;
      margin-top: 2rem;
      padding: 1rem 1rem 0.2rem;
    }
  }
}

.services-slick {
  padding: 0.5rem 1rem;
  margin: 0 1rem;

  & .slick-slide {
    position: relative;

    &::after {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      height: 50px;
      width: 1px;
      background-color: #d5d5d5;
    }
  }
}

.service {
  text-align: center;
  display: block;
  margin: 0 1rem;
  color: var(--text);
}

.service .icon img {
  display: block;
  margin: 0 auto;
  width: 75px;
  margin-bottom: 0.75rem;
}

/* Articles */

/* search * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.searching {
  width: 100%;
  display: flex;
  position: relative;
  background-color: #f1f1f1;
  padding: 1rem;
}

.searching label {
  padding: 2px 13px;
  border: 0;
  margin: 0;
  margin-top: -12px;
  position: absolute;
  font-size: 0.75rem;
  color: var(--prime1);
  z-index: 4;
}
.searching input {
  position: relative;
  z-index: 2;
  background-color: transparent;
  max-width: inherit;
  font-size: 1.1rem;
  width: 100%;
  margin: auto;
  padding: 0.45rem 0.5rem 0;
  border-radius: 2px;
  outline: none;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
}
.searching button {
  z-index: 3;
  left: 0.5rem;
  position: absolute;
  background-color: transparent;
  border: 1px solid transparent;
}
.searching button img {
  top: -27px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 86px;
  height: 86px;
}
/**/

/**/

.events {
  padding-top: 6rem;
  border-top: 2px solid #eee;
  max-width: 1480px;
  margin-inline: auto;

  & .col {
    gap: 10px;
    display: flex;
    height: 400px;
    margin-bottom: 20px;
  }

  & .pic {
    background-size: cover;
    background-position: center;
    border-top-right-radius: 60px;
    height: 100%;
  }

  & .info {
    & a {
      display: flex;
      flex-direction: column;
      color: #fff;
      font-weight: 900;
      height: 100%;
    }

    & h3 {
      flex: 2.2;
      display: flex;
      align-items: center;
      padding: 0 40px;
      font-size: calc(2.1vw + 16px);
      font-weight: 900;
      padding-inline-start: 5rem;
      line-height: 0.9;

      & span {
        width: 90%;
      }
    }
    & .date {
      position: relative;
      flex: 1.5;
      align-items: flex-end;

      & > div:first-child {
        display: flex;
        align-items: flex-end;
      }
    }
    & .day {
      position: static;
      bottom: -83px;
      letter-spacing: -1.5rem;
      right: 10px;
      font-size: calc(8.79vw + 16px);
      line-height: 0.6;
      margin-right: 1rem;
    }

    & .month {
      font-size: calc(4vw + 16px);
      line-height: 1;
      position: relative;
      bottom: -18px;
      right: 5px;
    }

    & .time {
      width: 50%;
      left: 0;
      flex: 1;
      position: absolute;
      bottom: -27px;
      display: flex;
      justify-content: center;

      & span {
        position: relative;
        letter-spacing: -0.25rem;
        font-size: calc(2.24vw + 16px);
        width: fit-content;
      }

      & i {
        opacity: 0.5;
        position: absolute;
        top: -28px;
        right: -50px;
        font-size: calc(3vw + 16px);
      }
    }
  }

  & .col:nth-of-type(odd) .info {
    padding-inline-start: 15px;
    & a {
      border-bottom-left-radius: 50px;
    }
  }
  & .col:nth-of-type(even) .info {
    padding-inline-end: 15px;
    & a {
      border-bottom-right-radius: 50px;
    }
  }
  & .col:nth-of-type(even) .pic {
    border-top-right-radius: 0;
    border-top-left-radius: 50px;
  }

  & .col:nth-child(1) .info a {
    background-color: var(--prime5);
  }

  & .col:nth-child(2) {
    flex-direction: row-reverse;
    & .info a {
      background-color: var(--prime4);
    }
  }
  & .col:nth-child(3) .info a {
    background-color: var(--prime3);
  }
}

@media (min-width: 992px) {
  .events {
    & a:hover {
      text-decoration: none;
      transform: scale(1.02);
    }
  }
}

@media (max-width: 1600px) {
  .events {
    max-width: unset;
    & .info .day {
      bottom: -70px;
      right: 10px;
    }

    & .info .month {
      bottom: -15px;
      right: 10px;
    }

    & .info .time {
      bottom: -23px;
    }
  }
}
@media (max-width: 1200px) {
  .events {
    max-width: unset;
    & .col {
      height: 300px;
    }
    & .info .day {
      font-size: calc(11vw + 16px);
      right: 14px;
    }

    & .info .month {
      font-size: calc(4vw + 16px);
      margin-right: 5px;
    }

    & .info .time {
      bottom: -22px;

      & i {
        top: -12px;
        right: -31px;
      }

      & span {
        font-size: calc(3.4vw + 16px);
      }
    }
  }
}

@media (max-width: 991px) {
  .top {
    margin-bottom: 2.5rem;
  }

  .updates {
    margin-top: 7.5rem;
  }

  .events {
    & .col,
    & .col:nth-child(2) {
      flex-direction: column;
      height: unset;
      min-height: 360px;
    }
    & .pic {
      height: 60%;
    }
    & .info {
      height: 40%;

      & h3 {
        padding-inline-start: 2.25rem;
      }

      & h3 span {
        width: 100%;
      }

      & .day {
        font-size: 5rem;
        letter-spacing: -8px;
      }

      & .month {
        font-size: 2.3rem;
        margin-right: 0;
        bottom: -7px;
      }

      & .time {
        width: fit-content;
        left: 2rem;
        bottom: -15px;
        & span {
          font-size: 2rem;
        }
        & i {
          top: -24px;
          right: -31px;
          font-size: 2.7rem;
        }
      }
    }
    & .col:nth-of-type(odd) .info,
    & .col:nth-of-type(even) .info {
      padding: 0;
      margin-bottom: 2.25rem;
      & a {
        border-radius: unset;
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
      }
    }
  }
}

/**/
@media (max-width: 390px) {
}
/**/
