/* *************GENERAL*************** */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.news-body .container,
.news-selected-body .container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.heading-primary {
  font-size: 4.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.heading-secondary {
  font-size: 3.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.heading-tertiary {
  font-size: 2.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.para-regular {
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: 300;
}

.para-light {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.4;
}

.grid {
  display: grid;
}

.grid--2--cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3--cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4--cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5--cols {
  grid-template-columns: repeat(5, 1fr);
}

.btn {
  text-decoration: none;
  border: none;
  padding: 0.6rem 2.4rem;
  border-radius: 4px;
  font-size: 1.6rem;
  text-transform: capitalize;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn a {
  text-decoration: none;
  color: inherit;
}

/* *****************PAGE SPECIFIC************** */

/* *****NEWS PAGE******** */

.main-grid {
  display: grid;
  grid-template-columns: 70% 1fr;
}

.news-scroll-container {
  height: 100vh;
  background-color: transparent;
  overflow-y: scroll;
  display: flex;
  padding: 4.6rem;
  justify-content: flex-end;
  overflow-y: auto;
}

.scroll-inner-wrap {
  width: 80%;
}

.heading-secondary {
  color: #224970;
  font-size: 500;
  margin-bottom: 3.2rem;
}

.highlight-news {
  width: 100%;
  margin-bottom: 4.2rem;
}

.hlt-news-img-wrap {
  width: 100%;
  height: 50rem;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.063);
  background-color: #b0190c1f;
}

.hlt-news-img {
  object-fit: contain;
  height: 100%;
  width: 100%;
}

.hlt-news-text-wrap {
  width: 100%;
  padding: 2rem;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.063);
}

.hlt-news-text-wrap .heading-tertiary {
  color: #2571ad;
  margin-bottom: 1.6rem;
}

.hlt-news-text-wrap .para-regular {
  font-size: 1.6rem;
}

.news-tile {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.063);

  display: grid;
  grid-template-columns: 25% 1fr;
  margin-bottom: 2rem;
}

/* .news-tile:not(:last-child){
  margin-bottom: 2rem;
} */

.news-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.news-img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.news-text-wrap {
  padding: 1.6rem;
}

.news-text-wrap .para-regular {
  color: #224970;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.news-text-wrap .para-light {
  line-height: 1.8;
}

.news-tile .action-btn-wrap {
  padding: 2rem;
}

.action-btn-wrap {
  width: 100%;
  padding: 1.8rem 0;
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  align-items: center;
}

.action-btn-wrap .para-light {
  font-size: 1.2rem;
  color: #2571ad;
  font-weight: 500;
}

.btn-rd {
  background-color: #102840;
  color: #fff;
}


.news-gallery {
  height: 100vh;
  background-color: #b0190c1f;
  overflow-y: scroll;
  padding: 5.6rem 2rem;
  overflow-y: hidden;
}

.news-gallery .heading-tertiary {
  font-size: 2rem;
  margin-bottom: 3.6rem;
}

.news-gallery-inner-wrap {
  width: 75%;
  gap: 2rem;
  justify-items: center;
  align-items: center;
}

.news-gal-img-wrap {
  height: 90%;
  width: 90%;
  border-radius: 4px;
  overflow: hidden;
}


.news-gal-img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* *******NEWS SELECTED PAGE******* */

.news-selected-body {
  background-color: #f1f1f1;
}

.news-selected-body .container {
  padding: 4.6rem 3.2rem;
  position: relative;
}

.navigation-link {
  color: #2571ad;
  text-decoration: none;
  font-size: 1.4rem;
  position: absolute;
  top: -30%;
  left: 0;
  transform: translateX(-50%);
}

.heading-container {
  padding: 1.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.heading-container .heading-tertiary {
  color: #2571ad;
  font-size: 2.8rem;
}

.heading-container .para-light {}

.more-news-tile-container {
  width: 80%;
  gap: 3rem;
  padding: 4.2rem;
  margin: 0 auto;
}

.more-news-tile-container .news-tile {
  grid-template-columns: 35% 1fr;
  box-shadow: none;
}

.more-news-tile-container .news-tile .para-light {
  font-size: 1.2rem;
}

.more-news-tile-container .news-tile .news-img-wrap {
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.063);
}

.more-news-tile-container .news-tile .news-text-wrap {
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.063);
}

.more-news-tile-container .action-btn-wrap {
  width: 100%;
  justify-content: flex-end;
  grid-column: 1/-1;
  padding: 1rem;
  background-color: #f1f1f1;
}

.more-news-tile-container .action-btn-wrap .para-light {
  background-color: #407fbe;
  color: #f1f1f1;
  padding: 0.6rem 2.4rem;
  border-radius: 4px;
}

.limited-height {
  height: 52px;
  overflow-y: hidden;
}

.limited-height-2 {
  height: 62px;
  overflow-y: hidden;
}

@media screen and (max-width: 1280px) {
  .news-gallery {
    display: none;
  }

  .main-grid {
    display: block;
  }

  .news-scroll-container {
    justify-content: center;
  }
}

@media screen and (max-width: 880px) {
  .news-scroll-container {
    padding: 20px;
  }

  .scroll-inner-wrap {
    width: 100%;
  }

  .news-tile {
    display: flex;
    flex-direction: column;
  }
}