:root {
  --banner-news-tottor: 14%;
}

/********** news page start  *********/

.news-wrapper div .image-ratio {
  padding-top: 74%;
  display: block;
}

.news-wrapper div .image-ratio img {
  z-index: -1;
  object-fit: contain;
  /* background-color: #000; */
}

.news-row {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 30px;
}

.news-wrapper-content {
  padding: 22px;
}

.news-wrapper-content p {
  font-weight: 400;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-wrapper-content h4 {
  font-weight: 600;
  color: #000;
  margin-bottom: 11px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.news-wrapper > div {
  height: 100%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.13);
}

.news-wrapper-content .btn {
  text-transform: capitalize;
  padding: 12px 20px;
  min-width: unset;
}

/********** news page end  *********/

.news-head {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.head-select-wrapper {
  display: flex;
  align-items: center;
}

.news-head h2,
.news-head h4 {
  margin-bottom: 0;
}

.news-head h4 {
  margin-right: 32px;
  font-weight: 600;
}

.news-head {
  margin: 60px 0;
}

.news-head .dropdown button {
  max-width: 251px;
  width: 251px;
  text-align: left;
  border-radius: 29px;
  background-color: #f1f1f1;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #18181870;
  padding: 16px 32px 20px;
  line-height: 1;
}

.dropdown-toggle::after {
  content: "\f107";
  font: normal normal normal 14px/1 FontAwesome;
  position: absolute;
  top: calc(50% + 1px);
  opacity: 0.5;
  font-size: 19px;
  transform: translateY(-50%);
  right: 22px;
  font-weight: 100;
  border: 0;
  color: #181818;
}

.dropdown-menu {
  width: 100%;
  border: none;
  box-shadow: 2px 2px 7px #0000003b;
  border-radius: 6px;
  overflow: hidden;
  padding: 5px;
}

input[type="checkbox"] {
  accent-color: var(--c-primary);
}

.dropdown-titem {
  padding: 3px 10px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0 6px;
}

.dropdown-titem>input {
  position: relative;
  top: 1px;
}

.dropdown-titem:hover {
  background-color: #128b7d12;
}

.navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.navigation .page-numbers {
  width: 25px;
  height: 25px;
  color: #525252;
  display: flex;
  line-height: 1;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.navigation .page-numbers.current {
  background-color: var(--c-primary);
  color: #fff;
}

.navigation .page-numbers:not(.current):hover {
  background-color: #128b7d2b;
  text-decoration: none;
}

.navigation :is(.next, .prev) {
  background-color: #e9e9e9;
  width: 25px;
  height: 25px;
  color: #00000057;
  display: flex;
  line-height: 1;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 16px;
}


.navigation .page-numbers:not(.prev, .next) {
  padding-bottom: 2px;
}
.navigation .page-numbers:not(.prev, .next, .current):hover {
  background-color: #1e786c2e;
}
@media (min-width: 1400px) {
  .news-head h2 {
    font-size: 35px;
  }
}

@media (max-width: 767px) {
  .news-head h4 {
    margin-right: 10px;
  }

  .news-row {
    --bs-gutter-x: 12px;
  }

  .news-head {
    margin: 36px 0 30px;
  }

  .navigation {
    margin-top: 10px;
  }

  .head-select-wrapper {
    width: 100%;
    justify-content: space-between;
  }
}

/***************** single page start *****************/

.single-news-sec {
  margin-top: calc(-1 * var(--banner-news-tottor));
  position: relative;
  z-index: 1;
  background-image: url(/wp-content/uploads/2024/01/single-page-bg-min.png);
}

.single-news-image .image-ratio {
  padding-top: 41%;
  margin-bottom: 40px;
}

.single-news-image .image-ratio>img {
  object-fit: contain;
  object-position: left;
  max-width: fit-content;
  box-shadow: 0 0 10px #0000004f;
}

.single-news-sec .row {
  --bs-gutter-x: 38px;
}

.single-news .inner-banner > .container {
  padding-bottom: calc(var(--banner-news-tottor) - 3%);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  padding: 24px;
  /*! border-top:1px solid #d6d6d6; */
  column-gap: 48px;
  box-shadow: 0 0 5px #0000000d;
  margin-top: 60px;
}
.nav-links > div {
  flex: 1;
}
.nav-links .nav-next {
  text-align: end;
}
.nav-links > div a {
  font-size: 17px;
  color: #000;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links > div a span.nav-subtitle {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-bottom: 1px;
  gap: 0 7px;
}

.nav-links > div.nav-next a span.nav-subtitle {
  justify-content: end;
}
.nav-links > div a:hover {
  text-decoration: none;
}
.nav-links > div a:hover .nav-title {
  color: var(--c-green);
}
.nav-links .nav-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.single-news .inner-banner h5 span {
    width: 20px;
    display: inline-block;
    padding-bottom: 6px;
    margin-right: 10px;
  }
  .single-news .inner-banner h5 span img {
    width: 100%;
  }
  .single-news .inner-banner h5 {
    display: flex;
    align-items: center;
  }

.nav-links > div a:hover {
  color: var(--c-primary);
}

.single-news-detail .text-wrapper ul li:not(:last-child) {
  margin-bottom: 6px;
}
.single-news-detail .text-wrapper ul {
  padding-left: 33px;
}


.single-news-detail .text-wrapper :is(strong,b) {
  font-weight: 600;
}
.single-news-detail .text-wrapper {
  font-weight: 400;
}

/***************** single page end *****************/
