.newsslider-container {
  margin-bottom: 50px;
  position: relative;
  float: left;
  width: 100%;
}

.newsslider {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

.newsslider li {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.newsslider img {
  display: block;
  position: relative;
  z-index: 1;
  height: auto;
  width: 100%;
  border: 0;
}

.newsslider .caption {
  display: block;
  position: absolute;
  z-index: 2;
  font-size: 1em;
  text-shadow: none;
  color: #fff;
  background: #000;
  background: rgba(0, 0, 0, .6);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 20px;
  margin: 0;
  max-width: none;
}

.newsslider_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  top: 52%;
  left: 0;
  opacity: 0.7;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("../newsslider.gif") no-repeat left top;
  margin-top: -45px;
}

.newsslider_nav:active {
  opacity: 1.0;
}

.newsslider_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
}

.material-icons {
  display: inline-block;
  width: 1em;
  height: 1em;
  font-family: "Material Icons", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  vertical-align: middle;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
}

.carousel-control {
  position: absolute;
  top: 90px;
  bottom: 130px;
  left: 0;
  width: 15%;
  font-size: 20px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  opacity: .5;
}

.carousel .carousel-control.left,
.carousel .carousel-control.right {
  background: none;
}

.carousel .carousel-control.left,
.carousel .carousel-control.right {
  background: none;
}

.home_news_title {
    color: #414141;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.home_news_date {
  color: #bfbfbf;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  text-transform: capitalize;
}

.carousel .carousel-inner {
  height: 100% !important;
}

.home_news_description {
  margin-top: 30px;
  padding: 10px;
}

.allnews-card__readmore {
  line-height: normal;
  font-family: "Antonio", sans-serif;
  font-size: 16px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--bs-gray-dark);
  font-weight: bold;
  padding: 13px 15px;
  border: 2px solid #333;
  background: none;
  width: fit-content;
}

.allnews-card__readmore:hover {
  border-color: #ef4130;
  background: #ef4130;
  color: #fff;
}

.news_page_description {
    margin-top: 30px;
}
.home_news_short_desc p {
    color: #414141;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news_page_img {
  max-width: 100%;
  height: auto;
}

body#module-newscarousel-newscarousel .page-header,
body#module-newscarousel-allnews .page-header {
  display: none;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: left;
  font-size: 18px;
  background-color: var(--bs-body-bg);
  border: solid 2px #ffffff;
  -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  transition: var(--bs-transition-default);
  margin-bottom: 30px;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide-content {
    padding: 15px 10px 20px;
}
.new-silde-img {
    text-align: center;
    margin: 0 0 30px;
}
.new-silde-block {
    background: #fff;
    padding: 30px;
}
.swiper_container {
  position: relative;
  margin: auto;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute !important;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid #fff;
  color: #fff;
  line-height: 50px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -khtml-border-radius: 50%;
  transition: left 400ms ease-in-out 0s, right 400ms ease-in-out 0s;
  -moz-transition: left 400ms ease-in-out 0s, right 400ms ease-in-out 0s;
  -webkit-transition: left 400ms ease-in-out 0s, right 400ms ease-in-out 0s;
  -khtml-transition: left 400ms ease-in-out 0s, right 400ms ease-in-out 0s;
  -o-transition: left 400ms ease-in-out 0s, right 400ms ease-in-out 0s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  border-color: #ef4130;
  background: #fff;
  color: #ef4130;
}

.swiper-button-next {
  right: -65px !important;
  left: auto;
}

.swiper-button-prev {
  left: -65px !important;
  right: auto;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  font-size: 8px;
  line-height: 12px;
  color: #fff;
  display: none;
}

.swiper-button-prev i,
.swiper-button-next i {
  font-size: 26px;
  line-height: normal;
}

.allnews-showall-wrap .btn-primary {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  padding: 15px;
  border-radius: 5px;
}

/* ── All-news listing page ───────────────────────────────────────────── */
.new-silde-block .page-title-section {
    font-size: 25px;
    padding: 0 0 40px;
}
.allnews-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px 60px;
}


.allnews-card {
  display: flex;
  border: solid 2px #ffffff;
  -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  -webkit-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  transition: all .2s ease-out;
  background-color: #fff;
  padding: 30px;
  margin-bottom: 30px;
}

.allnews-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.allnews-card__img-wrap {
  display: block;
  overflow: hidden;
  max-height: 280px;
}

.allnews-card__img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.allnews-card:hover .allnews-card__img {
  transform: scale(1.04);
}

.allnews-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.allnews-card__title {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 8px;
  text-transform: capitalize;
}

.allnews-card__title a {
  color: #000;
  text-decoration: none;
}

.allnews-card__title a:hover {
  text-decoration: underline;
}

.allnews-card__date {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #888;
  margin: 0 0 12px;
}

.allnews-card__excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 16px;
}

.allnews-empty {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #888;
  margin-top: 40px;
}

/* Show-all button under carousel */

.allnews-showall-wrap {
  text-align: center;
  margin-top: 2rem;
}

.allnews-showall-btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #000;
  padding: 10px 28px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.allnews-showall-btn:hover {
  background: #333;
  color: #fff;
}

/* ── Clickable full slide ────────────────────────────────────────────── */

.swiper-slide__link {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.swiper-slide__link:hover .home_news_title {
  text-decoration: underline;
}

.swiper-slide__link img {
  display: block;
  width: 100%;
  transition: var(--bs-transition-default);
}
.swiper-slide:hover .swiper-slide__link img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}
@media (max-width:1350px) {
  .swiper-nevigtion {
    float: left;
    width: 100%;
    text-align: center;
    position: relative;
  }

  .swiper-nevigtion .swiper-button-next,
  .swiper-nevigtion .swiper-button-prev {
    position: static !important;
    float: none;
    display: inline-block;
    vertical-align: top;
    transform: none !important;
    margin: 0 2px;
    line-height: 42px;
  }

  .allnews-showall-wrap {
    margin-top: 4rem;
  }
}

@media (max-width: 991px) {
    .allnews-card {
      flex-direction: column;
  }
  .allnews-card__body {
      padding: 15px 0;
  } 

}

@media (max-width: 767px) {
  .allnews-card {
      padding: 15px;
  }
  .allnews-card__title {
    font-size: 16px;
  }
}