.main-header .region-header .navbar-nav > li:last-child a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.banner-type-2 .caption-inner {
  max-width: 100%;
  text-align: center;
}
.banner-type-2 .caption-inner h1 {
  max-width: 100%;
  font-weight: 700;
  font-size: 50px;
  line-height: 48px;
}
.banner-type-2 .desc .field--name-field-banner-caption p span {
  font-size: 22px;
  font-weight: 700;
}

.blog-listing-page-main .banner-type-2 .banner-captions {
  background: rgba(0,0,0,.3);
  min-height: 476px;
}

.blog-listing-page-main .banner-type-2 .caption-inner {
  margin-top: 81px;
}

@media screen and (min-width: 1200px) {
    .main-header .region-header .navbar-nav > li > a {
        font-size: 16px;
        padding: 12px;
        font-weight: 400;
        color: #4A4A4A;
    }
}





/*Blog List Page*/
.blog-list {
  margin: 8% 0 2%;
}
/* News card */
.news-card {
  /* background-color: #fff;
  border-radius: 10px; */
  overflow: hidden;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 5px;
}

.news-card:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); */
}

/* Card image */
.card-image {
  width: 100%;
  /* height: 250px; */
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

.news-card:hover .card-image img {
  /* transform: scale(1.05); */
  border-radius: 8px;
}

/* Card content */
.card-content {
  padding: 10px 0;
}

.card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  color: #888;
  font-size: 14px;
}

.author {
  color: #888;
  font-weight: 400;
  font-size: 14px;
}

.separator {
  margin: 0 8px;
  color: #ccc;
}

.date {
  color: #888;
}

.card-title {
  margin-bottom: 2% !important;
  margin-top: 0 !important;
  font-size: 20px;
  font-weight: 500;
  color: #4A4A4A;
  font-family: ubuntu;
  line-height: 1.3;
}

.card-title a {
    color: #4A4A4A;
}

.blog-list-page-link {
  cursor: pointer;
}

.card-subtitle {
  font-size: 15px;
  color: #4A4A4A;
  font-weight: 400;
  line-height: 1.5;
}
.blog-listing-page-main .banner-type-2 .banner-image.bg-image,
.page-node-type-blogs .banner-type-2 .banner-image.bg-image {
  mask-image: none !important;
}
.blog-listing-page-main .banner-type-2,
.page-node-type-blogs .banner-type-2 {
  -webkit-clip-path: circle(6660px at 50% calc(100% - 6660px));
  clip-path: circle(6660px at 50% calc(100% - 6660px));
}
.banner-type-2 .banner-image.bg-image:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, from(rgba(41, 41, 41, 0.7)), color-stop(80%, rgba(58, 58, 58, 0.22)), to(rgba(0, 0, 0, 0)));
  background: linear-gradient(to right, rgba(41, 41, 41, 0.7) 0%, rgba(58, 58, 58, 0.22) 80%, rgba(0, 0, 0, 0) 100%);
}

.view-blog-listing:before {
    content: '';
    background: url(/themes/custom/proudmoment/images/star-trans-image.svg);
    width: 180px;
    height: 193px;
    display: inline-block;
    position: absolute;
    z-index: -1;
    top: -65px;
    left: -65px;
}

.view-blog-listing {
    position: relative;
}


/* Responsive adjustments */
@media (max-width: 576px) {
  /* body {
      padding: 15px;
  } */
  
  /* .card-image {
      height: 200px;
  } */
  
  .card-content {
      padding: 15px;
  }
  
  .card-title {
      font-size: 18px;
  }
  
  .card-subtitle {
      font-size: 14px;
  }
}


/* Pagenation */
.pager-nav .pagination > li > a {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  color: #000;
  font-size: 16px;
  font-weight: 400;
}
.pager-nav .pagination > .active > a {
  background-color: transparent;
  color: #F26522;
  border-bottom: 2px solid #F26522;
}
.pager-nav .pagination [title="Go to first page"], 
.pager-nav .pagination [title="Go to last page"] {
  display: none;
}

/* Pagination styling with image arrows */
.pager-nav .pagination [title="Go to previous page"],
.pager-nav .pagination [title="Go to next page"] {
  font-size: 0; /* Hide text */
  width: 30px;
  height: 30px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  transition: opacity 0.3s ease;
}

/* Left arrow image */
.pager-nav .pagination [title="Go to previous page"] {
  background-image: url('/themes/custom/proudmoment/images/arrow-left1.svg');
  background-size: auto;
  margin: 2px 15px;
}

/* Right arrow image */
.pager-nav .pagination [title="Go to next page"] {
  background-image: url('/themes/custom/proudmoment/images/arrow-right1.svg');
  background-size: auto;
  margin: 2px 15px;
}

/* Hover effect */
.pager-nav .pagination [title="Go to previous page"]:hover,
.pager-nav .pagination [title="Go to next page"]:hover {
  opacity: 0.8;
}

.pager-nav .pagination [title="Go to previous page"]:hover,
.pager-nav .pagination [title="Go to next page"]:hover {
  color: #F26522;
  text-decoration: none;
}

.cta-section {
  padding-top: 75px;
  background-size: auto 146%;
  background-repeat: no-repeat;
  padding-bottom: 48px;
  background-position: top calc(50% + 37px) left calc(50% - 99px);
  -webkit-clip-path: circle(6740px at 50% 6740px);
  clip-path: circle(6740px at 50% 6740px);
  background-color: #ffeddc;
}

.blog-listing-page-main .cta-section {
  background-image: url('/themes/custom/proudmoment/images/Subtract-bg.png');
  height: 300px;
  clip-path: none;
  margin-top: 8%;
  background-color: transparent;
  background-size: cover;
  background-position: top;
  padding: 0;
}
.blog-listing-page-main .cta-section .cta-content {
  background-image: url('/themes/custom/proudmoment/images/banner-shap.png');
  height: 300px;
  background-position: top;
  background-size: cover;
}
.blog-listing-page-main .banner-content-lt {
  margin-top: 100px;
}
.blog-listing-page-main .banner-content-lt h2 {
  color: #000;
  font-size: 35px;
  font-weight: 700;
}
.blog-listing-page-main .desc {
  font-size: 18px !important;
  font-weight: 700;
  font-family: 'Ubuntu';
  color: #ffffff;
  /* margin-bottom: 10px; */
}

.cta-content .banner-content-lt .desc {
  font-size: 18px !important;
  font-weight: 700;
  font-family: 'Ubuntu';
  color: #000000;
  margin-bottom: 10px;
}

.blog-listing-page-main .link .field--item a {
    color: #FFFFFF !important;
}

.blog-listing-page-main .flex-wrapper .text-col {
  width: 100%;
}
.blog-listing-page-main .banner-content-lt .field--type-link .field--item span {
  background: #F26522;
  color: #fff;
  width: 100%;
  display: inline-block;
  text-align: center;
  max-width: 350px;
  border-radius: 50px;
  height: 57px;
  line-height: 57px;
  margin-top: 2%;
}
.blog-listing-page-main .blog-footer-cta-image {
  position: absolute;
  top: -100px;
  right: 0;
}

@media screen and (max-width: 998px) {
  /* .blog-listing-page-main .cta-section {
    margin-top: 18%;
  } */
  .blog-listing-page-main .blog-footer-cta-image {
    position: relative;
    top: 20px;
  }
}  


@media screen and (max-width: 767px) {
  .blog-listing-page-main .cta-section {
    padding-bottom: 0;
    height: auto;
    margin-top: 5%;
  }
  .blog-listing-page-main .blog-footer-cta-image {
    position: relative;
    top: 0;
    right: 0;
  }
  .blog-listing-page-main .cta-section .cta-content {
    height: auto !important;
  }
  footer.footer .region.region-footer h2::before {
    width: 10%;
  }
}


/* blog-detail-page */
.blog-details {
  margin: 3% 0;
}
.post-info {
  display: flex;
  align-items: center;
  column-gap: 25px;
  font-size: 13px;
  font-weight: 400;
  color: #000;
  margin: 15px 0;
}

.post-info .post-date {
  background: #00293A;
  color: #fff;
  padding: 5px 24px;
  border-radius: 30px;
}

.post-info .author {
  color: #000;
  font-weight: 400;
  font-size: 13px;
  position: relative;
  margin-left: 20px;
}

.post-info .author::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url('/themes/custom/proudmoment/images/bear-smile-fill.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.post-info .tag {
  color: #000;
  font-weight: 400;
  font-size: 13px;
  position: relative;
  margin-left: 20px;
}

.post-info .tag::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url('/themes/custom/proudmoment/images/price-tag-3-fill.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.body-parg p {
  color: #4A4A4A;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 15px 0;
  font-family: 'Ubuntu';
}
.body-parg p span {
  margin-bottom: 15px;
  display: inline-block;
}

.message {
  background-color: #FDD2B7;
  border-radius: 12px;
  padding: 30px 40px;
  margin: 30px 0;
  position: relative;
  text-align: center;
}

.message::before {
  content: '\201C'; /* Opening quotation mark */
  font-size: 60px;
  font-family: 'Georgia', serif;
  color: #000;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  opacity: 0.8;
}

.message p {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  margin: 15px 0 0;
  font-family: 'Ubuntu';
  position: relative;
  z-index: 1;
}

.real-stories .field--name-field-long-description p strong {
  font-family: 'Hepta Slab';
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
}
.real-stories .field--name-field-long-description p {
  margin-bottom: 0;
}
.real-stories .field--name-field-long-description p span {
  font-family: 'Ubuntu';
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #4A4A4A;
  margin-bottom: 20px;
  display: inline-block;
}

/* .real-stories .field--type-entity-reference-revisions .field--item {
  width: 100% !important;
}

.real-stories .field--type-entity-reference-revisions .field--name-field-blog-left-image.field--item {
  width: 10%;
}

.real-stories .field--type-entity-reference-revisions .field--name-field-blog-right-description.field--item {
  width: 90%;
}
.paragraph--type--blog-right-description-left-imag .paragraph-container {
  display: flex;
}
.paragraph--type--blog-right-description-left-imag .paragraph-container .field--name-field-blog-right-description {
  padding-left: 20px;
} */

/* Popular News */
.popular-news {
  background: #F2F0EB;
  border-radius: 20px;
  padding: 0 20px;
  padding-bottom: 10px;
  display: inline-block;
}
/* Section title */
.section-title {
  color: #ff6b35; /* Orange color from the image */
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

.news-divider {
  height: 1px;
  background-color: #ff6b35;
  margin-bottom: 5px;
  width: 100%;
}

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* News item */
.news-item {
  display: flex;
  padding: 8px 15px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.news-item:hover {
  /* transform: translateY(-2px); */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 8px;
}

/* News image */
.news-image {
  flex: 0 0 80px;
  margin-right: 15px;
}

.news-image img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
}

/* News content */
.news-content {
  flex: 1;
}
.news-content p {
  color: #4A4A4A;
  font-size: 12px;
  line-height: 1.4;
  font-family: 'Ubuntu';
}

.news-meta {
  color: #888888;
  font-weight: 400;
  font-size: 13px;
}

.news-meta .author {
  color: #888888;
  font-weight: 400;
  font-size: 13px;
}

.news-title {
  font-size: 16px;
  font-weight: 500;
  color: #4A4A4A;
  line-height: 1.3;
  padding: 0;
  margin: 0;
  font-family: 'Ubuntu';
}
.news-title a {
  color: #4A4A4A;
  text-decoration: none;
}

.news-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.blog-details .field--name-field-blog-content-image .paragraph--type--full-image .field--name-field-image img {
  border-radius: 20px;
}
.blog-details .field--name-field-blog-content-image {
  position: relative;
}
.blog-details .field--name-field-blog-content-image:before {
  content: '';
  background: url('/themes/custom/proudmoment/images/star-trans-image.svg');
  width: 180px;
  height: 193px;
  display: inline-block;
  position: absolute;
  z-index: -1;
  top: -200px;
  left: -90px;
}
.paragraph--type--blog-description-left-image-righ .paragraph-container {
  display: flex;
}
.paragraph--type--blog-description-left-image-righ .paragraph-container .field--name-field-blog-left-description {
  width: 85%;
}
.paragraph--type--blog-description-left-image-righ .paragraph-container .field--name-field-blog-right-image {
  width: 40%;
}
.paragraph--type--blog-description-left-image-righ .paragraph-container .field--label {
  display: none;
}
.paragraph--type--blog-description-left-image-righ .paragraph-container .field--item h2 {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Hepta Slab';
  color: #000000;
  line-height: 1.3;
  margin-top: 0;
}
.paragraph--type--blog-description-left-image-righ .paragraph-container .field--item p {
  font-size: 18px;
  font-weight: 400;
  font-family: 'Ubuntu';
  color: #4A4A4A;
}
.paragraph--type--blog-description-left-image-righ .paragraph-container .field--item ul {
  font-size: 18px;
  font-weight: 400;
  font-family: 'Ubuntu';
  color: #4A4A4A;
  margin: 5% 0;
}

.real-stories .field--type-entity-reference-revisions .field--item {
  width: 100%;
  display: inline-block;
}

.real-stories .field--type-entity-reference-revisions > .field--item:nth-last-child(1),
.real-stories .field--type-entity-reference-revisions > .field--item:nth-last-child(2) {
  width: 48%; /* Make the last two items take half width each */
  float: left;
  box-sizing: border-box;
  padding: 0 10px; /* Optional: Add some spacing between the items */
}


/* Responsive adjustments */
@media (max-width: 1200px) {
  .blog-listing-page-main .flex-wrapper .text-col {
    width: 75%;
  }
  .blog-listing-page-main .banner-content-lt {
    margin-top: 75px;
  }
}
/* test */

@media (max-width: 998px) {
  .blog-listing-page-main .flex-wrapper .text-col {
    width: 90%;
  }
  .blog-listing-page-main .cta-section .cta-content {
    background-size: contain;
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .blog-listing-page-main .cta-section .cta-content {
    background-size: cover;
  }
  .message {
    padding: 25px 20px;
  }
  
  .message::before {
    font-size: 45px;
  }
  
  .message p {
    font-size: 16px;
  }
  .banner-type-2 .caption-inner h1 {
    font-size: 32px;
  }
  .banner-type-2 .desc .field--name-field-banner-caption p span {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .post-info {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
  }
  .post-info .post-date,
  .post-info .author,
  .post-info .tag {
    margin: 10px 0;
  }
}  

@media (max-width: 480px) {
  .paragraph--type--blog-description-left-image-righ .paragraph-container {
    display: inline-block;
  }
  .paragraph--type--blog-description-left-image-righ .paragraph-container .field--name-field-blog-right-image {
    width: 100%;
  }
  .container {
      padding: 15px;
  }
  
  .news-item {
      padding: 12px;
  }
  
  .news-image {
      flex: 0 0 70px;
      margin-right: 12px;
  }
  
  .news-image img {
      width: 70px;
      height: 70px;
  }
  
  .news-title {
      font-size: 15px;
  }
  
  .news-excerpt {
      font-size: 13px;
  }
}
