.hidden {
  display: none;
}
.home-wrap {
  position: relative;
}
.home-grid-wrap {
  overflow: auto;
  padding: 20px 5px; /* changed from 20 10*/
  margin: auto;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
  width: 280px;
}
.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Edge */
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: fit-content;
  gap: 60px; /* changed from 20px */
}
.news-card-2 {
  background-color: var(--primary-white);
  text-align: center;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  width: 260px;
  height: 500px;
  flex-direction: column;
  padding: 20px;
}
.home-current-affairs {
  padding: 20px;
  background-color: var(--primary-white);
  text-align: center;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  width: 260px;
  height: 500px;
  display: flex;
  flex-direction: column;
  outline: 1px solid var(--primary-red);
}
.home-current-report {
  background-color: var(--primary-white);
  padding: 20px;
  text-align: center;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  width: 260px;
  height: 500px;
  display: flex;
  flex-direction: column;
  outline: 1px solid var(--primary-red);
  margin: 0 10px;
}
.home-project-right {
  flex: 2;
  display: none;
  align-items: center;
  justify-content: center;
}
.home-business-right {
  flex: 2;
  display: none;
  align-items: center;
  justify-content: center;
}
.home-rep-sr-image {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  height: 250px;
}
.home-rep-sr-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.home-rep-sr-display {
  display: none;
}
.home-rep-sr-bottom {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  padding-top: 60px;
}
@media (min-width: 768px) {
  .home-grid-wrap {
    overflow: show;
    width: 100%;
  }
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    border-bottom: 1px solid #c4c4c4;
    width: auto;
    padding: 60px 0;
    gap: 20px;
  }
  .home-current-affairs {
    grid-column: 2;
    grid-row: 1;
  }
  .home-current-report {
    grid-column: 2;
    grid-row: 2;
  }
  .news-card-2 {
    background-color: var(--primary-white);
    text-align: center;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    width: auto;
    height: 490px;
    flex-direction: column;
    padding: 20px;
    gap: 0px;
    margin: 0;
  }
  .home-current-affairs {
    padding: 20px;
    padding-bottom: 0;
    background-color: var(--primary-white);
    text-align: center;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 490px;
    width: auto;
    display: flex;
    flex-direction: column;
    outline: 1px solid var(--primary-red);
    margin: 0;
  }
  .home-current-report {
    background-color: var(--primary-white);
    padding: 20px;
    text-align: center;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 490px;
    width: auto;
    display: flex;
    flex-direction: column;
    outline: 1px solid var(--primary-red);
    margin: 0;
  }
  .home-rep-sr-image {
    flex: 1;
    display: none;
  }
  .home-rep-sr-display {
    display: block;
  }
  .home-rep-sr-bottom {
    display: grid;
  }
  .home-rep-sr-image {
    height: 300px;
  }
}
@media (min-width: 1200px) {
  .home-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
  }
  .home-current-affairs {
    grid-column: 3;
    grid-row: 1;
  }
  .home-current-report {
    grid-column: 3;
    grid-row: 2;
  }
  .home-project-right {
    flex: 2;
    display: flex;
  }
  .home-business-right {
    flex: 2;
    display: flex;
  }
  .home-rep-sr-image {
    flex: 1;
    display: block;
  }
  .home-rep-sr-content {
    flex-direction: row;
  }
}
/* ----- Home flag backgrounds ----- */
.home-background-flag-wrapper,
.home-background-flag-wrapper-2 {
  position: absolute;
  top: -220px;
  left: 0%;
  right: 15%;
  z-index: -1;
  display: none;
}
@media (min-width: 992px) {
  .home-background-flag-wrapper,
  .home-background-flag-wrapper-2 {
    display: block;
  }
}
.home-background-flag-wrapper-2 {
  top: 0;
}
.home-background-flag {
  width: 100%;
}
.home-background-filter-radial,
.home-background-filter-radial-2 {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1) 100%
  );
}
.home-background-filter-radial-2 {
  background-image: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 1) 100%
  );
}
.home-background-filter-linear-x {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 1) 90%
  );
}
.home-background-filter-linear-y {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 1) 80%
  );
}
/* first section */

.home-current-affairs-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 1px solid #c4c4c4;
  justify-content: space-evenly;
}
.home-current-affairs-content-card {
  flex: 1;
  display: flex;
  display: flex;
  flex-direction: row;
  align-items: center;
  max-height: 100px;
}
.home-current-affairs-content-card-img-wrap {
  border-radius: 10px;
  height: 100px;
  overflow: hidden;
  flex: 1;
  border: 1px solid #d9d9d9;
}
.home-current-affairs-content-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-current-affairs-content-card-link {
  flex: 1;
  display: flex;
  justify-content: start;
  align-items: center;
  margin-left: 20px;
}
.line {
  height: 1px;
  width: 100%;
  background-color: #c4c4c4;
}
/* second section */
.home-rep-sr-text {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-rep-sr-title {
  font-family: Merriweather;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  text-align: left;
  width: fit-content;
  border-bottom: 1px solid var(--primary-red);
  margin-bottom: 10px;
}
.home-project-left {
  flex: 3;
}

.home-project-title,
.home-business-title {
  font-family: Merriweather;
  font-size: 32px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}
.home-business-title {
  color: black;
}
.home-project-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  margin-right: 50px;
}
.home-project-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.buisiness-img {
  max-width: 15%;
}
.red-text {
  font-family: Merriweather;
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  color: var(--primary-red);
}
.gray-text {
  font-family: Merriweather;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  color: #333f51;
}
.small-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}

.home-business {
  display: flex;
  padding: 100px 0;
}
.home-business-left {
  flex: 3;
}

.home-business-buttons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}
.home-buisness-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.buisiness-img-front-page {
  max-width: 15%;
  max-height: 100px;
  width: auto;
  height: auto;
}
.img-gap {
  gap: 10px;
}
@media (min-width: 992px) {
  .img-gap {
    gap: 15px;
  }
  .buisiness-img {
    max-width: 20%;
  }
}
@media (min-width: 1200px) {
  .buisiness-img {
    max-width: auto;
  }
  .img-gap {
    gap: 20px;
  }
}
