.social-icon {
  position: absolute;
  bottom: 15px;
  right: 18px;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50%;
}
.profile-image {
  width: 250px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: -120px;
  left: 70px;
}
.profile-image img {
  width: 100%;
  height: 100%;
  max-width: auto !important;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.bannerSectionBg {
  background-color: #0176d3;
  color: white;
  padding: 20px;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
}
.image-container {
  background: #e5eefa;
  border-radius: 10px;
}
.image-container img {
  object-fit: cover;
  height: 235px;
}
.cloud-img {
  width: 260px;
}
@media (max-width: 1600px) {
  .profile-image {
    bottom: -150px;
  }
}
@media (max-width: 1440px) {
  .profile-image {
    bottom: -130px;
  }
}
@media (max-width: 900px) {
  .social-icon {
    bottom: -12px;
    right: 40px;
    width: 30px !important;
    height: 30px !important;
  }
  .profile-image {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .bannerSectionBg {
    min-height: 300px;
  }
}
@media (max-width: 600px) {
  .bannerSectionBg {
    background-color: #0176d3;
    color: white;
    padding: 20px;
    min-height: 500px;
    display: flex;
    align-items: start;
  }
  .profile-image {
    bottom: -150px;
    left: 50%;
    transform: translate(-50%, 0);
  }
}

.quote {
  font-style: italic;
  font-weight: bold;
  text-align: left;
}

.combined-section {
  background-color: #dff2ff;
}

.profile-section {
  color: black;
}

.profile-role {
  color: gray;
  margin-top: 5px;
}

.bannerContentSection {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.active {
  background-color: #3069b3;
  color: #fff;
}
@media (min-width: 375px) and (max-width: 375.6px) {
  #loading {
    background-size: 4%;
  }
  .bannerContentSection {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    padding: 0;
    padding-top: 30px;
  }
  .quote {
    text-align: left;
    padding-right: 0%;
    padding: auto;
  }

  .bannerContentSection {
    padding-bottom: 21px;
  }
}
@media (min-width: 425px) and (max-width: 425.5px) {
  .slick-prev,
  .slick-next {
    width: 40px;
    height: 34px;
    left: revert-layer;
  }
  .slick-next {
    right: -34px;
  }

  #loading {
    background-size: 4%;
  }
  .bannerContentSection {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    padding: 0;
    padding-top: 30px;
  }
  .quote {
    font-style: italic;
    text-align: left;
    padding: auto;
  }

  .bannerContentSection {
    padding-bottom: 21px;
  }
}

@media (min-width: 466px) and (max-width: 480px) {
  .slick-next,
  .slick-next:hover {
    /* background-image: url(/wp-content/themes/tally/assets/images/author-img/nextarrow.svg); */
    right: -8px;
  }
}

@media (min-width: 575px) and (max-width: 575px) {
  .slick-prev,
  .slick-next {
    width: 70px;
    height: 34px;
  }
  #loading {
    background-size: 4%;
  }
  .bannerContentSection {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    padding: 0;
    padding-top: 30px;
  }
  .quote {
    font-style: italic;
  }
}

@media (max-width: 320px) {
  #loading {
    background-size: 4%;
  }
  .bannerContentSection {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    padding: 0;
    padding-top: 30px;
  }
  .quote {
    font-style: italic;
    text-align: left;
    padding: auto;
  }

  .bannerContentSection {
    padding-bottom: 21px;
  }

  .slick-prev,
  .slick-next {
    width: 30px;
    height: 32px;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .slick-prev,
  .slick-next {
    width: 43px;
    height: 34px;
  }
  #loading {
    background-size: 4%;
  }
  .bannerContentSection {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    padding: 3rem;
    padding-top: 30px;
  }
  .quote {
    font-style: italic;
    text-align: left;
  }

  .slick-next {
    right: -57px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .slick-prev,
  .slick-next {
    width: 38px;
    height: 38px;
  }
  #loading {
    background-size: 6%;
  }
  .bannerContentSection {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .bannerContentSection h1 {
    padding-top: 2rem;
  }

  #loading {
    background-size: 6%;
  }
  .slick-next,
  .slick-next:hover {
    right: -46px;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .pt-sm-4,
  .py-sm-4 {
    padding-top: 2.5rem !important;
  }

  #loading {
    background-size: 3%;
  }
  .bannerContentSection {
    flex-direction: row;
    text-align: left;
    padding: 1.5rem;
  }

  .bannerContentSection h1 {
    padding-right: 7rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
  }

  .slick-prev,
  .slick-next {
    width: 39px;
    height: 52px;
  }
  .slick-prev,
  .slick-prev:hover {
    left: -35px;
  }
  .slick-next,
  .slick-next:hover {
    /* background-image: url(/wp-content/themes/tally/assets/images/author-img/nextarrow.svg); */
    right: -53px;
    /* background-size: contain;
            background-repeat: no-repeat; */
  }
}

@media (min-width: 1440px) {
  .bannerContentSection h1 {
    /* font-size: 2.5rem;  */
    padding-right: 7rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
  }
  .slick-prev {
    left: -43px;
  }
  .slick-prev,
  .slick-next {
    width: 39px;
    height: 52px;
  }
  .slick-next {
    right: -45px;
  }
  #loading {
    background-size: 3%;
  }
  .bannerContentSection {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 992px) {
  #loading {
    background-size: 3%;
  }
}

#loading {
  background: url("/wp-content/themes/tally/assets/images/loader-img.gif")
    no-repeat center center;
  position: fixed;
  background-size: 4%;
  top: 0%;
  left: 0%;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9999999;
}

@media (min-width: 576px) and (max-width: 576.5) {
  .slick-next {
    right: -38px !important;
  }
}
.badge {
  background-color: #dff2ff;
  color: var(--color-light-blue);
  padding: 10px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid #99d2ff;
  font-family: "Asap", sans-serif;
}
.badge-icon {
  font-size: 14px;
  color: #ffc632;
}
.slick-list,
.slick-trak {
  max-height: 195px;
}
.slick-prev,
.slick-prev:hover {
  background-image: url("/wp-content/themes/tally/assets/images/author-img/previousarrow.svg");
  /* left: -30px; */
  background-size: contain;
  background-repeat: no-repeat;
}
.slick-next,
.slick-next:hover {
  background-image: url("/wp-content/themes/tally/assets/images/author-img/nextarrow.svg");
  /* right: -38px; */
  background-size: contain;
  background-repeat: no-repeat;
}
/* .slick-prev,
.slick-next {
    width: 33px;
    height: 33px;
} */
@media (min-width: 992px) and (max-width: 992px) {
  .slick-next,
  .slick-next:hover {
    right: 10px;
  }

  .slick-prev,
  .slick-next {
    width: 38px;
    height: 48px;
  }
}

.scroll-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.scroll-container .slide {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: 10px;
}
.pt-mobile {
  padding-top: 30px;
}

.row.gx-2 {
  margin-right: -4px;
  margin-left: -4px;
}

.row.gy-2 {
  row-gap: 4px;
}

.image-section {
  flex: 1;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.text-section {
  flex: 1;
  background-color: var(--color-light-blue);
  color: #fff;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: center;
}

.text-section h5 {
  margin-bottom: 4px;
}

.text-section p {
  margin: 0;
}

.custom-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.custom-link:hover .custom-card {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-subheading,
.pointer {
  cursor: pointer;
  /* font-size: 1.1rem; */
}

.responsive {
  width: calc(100% - 80px);
}

.custom-badge {
  color: var(--color-light-blue);
}
/* .custom-card {
    display: flex;
    flex-direction: row;
    width: 320px; 
    height: 200px; 
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    overflow: hidden;
}  */

.prevBtn {
  transform: rotate(180deg);
}
.custom-card {
  min-height: 160px;
}

.custom-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the space proportionally */
}

.article-card {
  border: none;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
  width: 100%;
  /* max-width: 300px;  */
  margin: 0 auto;
  background-color: #fff;
  padding: 5px;

  /* display: flex;
        flex-direction: column;
        justify-content: flex-start;  */
}
.image-container {
  position: relative;
}
.read-more-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  cursor: pointer;
  border-radius: 8px;
}

.image-container:hover .read-more-overlay {
  opacity: 1;
}

.read-more-overlay span {
  cursor: pointer;
}

.article-card img {
  width: 100%;
  object-fit: cover;
}
.article-card h5 {
}
.article-card p {
}
.article-card:hover {
  transform: scale(1.02);
}
.row.g-2 .col-lg-4,
.row.g-2 .col-sm-6,
.row.g-2 .col-md-6 {
  padding: 5px;
  margin: 0;
}

@media (min-width: 601px) and (max-width: 1024px) {
  .article-card {
    max-width: 280px;
  }

  .article-card img {
    height: 140px;
  }
}

.pagination {
  justify-content: center;
}
.pagination .page-item.active .page-link {
  background-color: #0176d3;
  color: #fff;
  border-color: #0176d3;
}
.pagination li.active a {
  background-color: #0176d3;
  color: #fff;
}
