


section.featured-categories {
    position: relative;
}
.featured-categories .swiper-button-next {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  color: #111;
  top: 60%;
  z-index: 10;
      right: -60px;
}

.featured-categories .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  color: #111;
  top: 60%;
  z-index: 10;
     left: -60px;
}


/* ===== HERO ===== */
.rx-hero {
  text-align: center;
  padding: 40px 20px 40;
}

.rx-hero h2 {
    font-family: Merriweather;
    font-size: 48px;
    font-weight: 700;
    line-height: 45.6px;
    letter-spacing: -.9599999785423279px;
    text-align: center;
    margin: unset;
    padding: 50px 0 30px;
}
.featured-categories h2 {
    font-family: Merriweather;
    font-size: 48px;
    font-weight: 700;
    line-height: 45.6px;
    letter-spacing: -.9599999785423279px;
    text-align: center;
    margin: unset;
  padding-bottom: 30px;
}
.rx-hero p {
  font-size: 18px;
  color: #555;
  display: none;
}

/* ===== LATEST BLOG WEBFLOW STYLE ===== */
.rx-latest-blog {
  max-width: 1200px;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgb(0 0 0 / 23%);
  background: #fff;
}

.rx-latest-container {
  display: flex;
  /*flex-wrap: wrap;*/
}

.rx-latest-thumb {
  width: 50%;
  min-width: 300px;
  overflow: hidden;
}

.rx-latest-thumb img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: 25px 0 0 25px;
}

.rx-latest-thumb img:hover {
  transform: scale(1.05);
}

.rx-latest-content {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog_cate_date {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rx-latest-content .blog_cate_date .rx-cat {
    font-family: "Merriweather", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 21.6px;
    text-align: center;
}
.rx-latest-content .blog_cate_date .rx-cat a { 
  color: #ae2844;
}

.rx-latest-content .rx-date {
  color: #000000;
  font-size: 13px;

}

.rx-latest-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.rx-latest-excerpt {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
}

.rx-read-btn {
  font-family: Fira Sans;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  box-sizing: border-box;
  width: 244px;
  height: 53px;
  background: linear-gradient(180deg, #b94a5f -18.87%, #ab203d 100%);
  border-radius: 10px;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  color: #fff;
  gap: 4px;
  border: none;
}
 a.rx-read-btn:hover {
    color: #fff;
}
.rx-blog-grid a.rx-btn:hover {
    color: #fff;
}
/* ===== BLOG GRID ===== */
.rx-blog-grid {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.rx-blog-grid .rx-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
.rx-blog-grid .rx-card .rx-thumb img {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  border-radius: 25px 25px 0 0;
  transition: transform 0.5s;
}

.rx-card .rx-thumb img:hover {
  transform: scale(1.05);
}

.rx-blog-grid .rx-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 20px 0;
  font-size: 13px;
  color: #777;
}
.rx-meta span.rx-cat a {
    font-family: "Merriweather", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 21.6px;
    text-align: center; 
    color: #B1324B;
} 
.rx-blog-grid .rx-title {
  font-size: 20px;
  font-weight: 600;
  padding: 10px 20px 0;
  text-align: start;
  margin-bottom: 10px;
}

.rx-blog-grid .rx-excerpt {
    padding: 10px 20px 20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #6F6363;
}

.rx-blog-grid .rx-read {
    margin: 0 20px 20px;
    font-family: Fira Sans;
    font-size: 18px;
    font-weight: 700;
    line-height: 19px;
    box-sizing: border-box;
    width: 200px;
    height: 48px;
    background: linear-gradient(180deg, #b94a5f -18.87%, #ab203d 100%);
    border-radius: 10px;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    color: #fff;
    gap: 4px;
    border: none;
}
 

/* ===== PAGINATION ===== */
.rx-pagination {
    margin: 30px 0 20px;
    display: flex;
    justify-content: center;
    gap:10px;
}

.rx-pagination a {
    font-family: Fira Sans;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    box-sizing: border-box;
        width: 150px;
    height: 60px;
    background: linear-gradient(180deg, #b94a5f -18.87%, #ab203d 100%);
    border-radius: 33px;
    padding: 15px 0;
    display: flex;
    color: #fff;
    gap: 4px;
    border: none;
    justify-content: center;
    align-items: center;
}

.featured-categories {
      padding: 30px 20px 40px 0px;
  margin: 0 auto;
  max-width: 1200px;
}

.category-slider {
padding: 20px 10px;
}

.swiper-wrapper .category-card {
        height: 280px;
    border-radius: 25px;
    padding: 0px 0px;
        display: flex;
    
    box-shadow: 0 0 4px 0;
    align-items: center;
}

/*.swiper-wrapper {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*}*/

.swiper-button-prev:after {
    font-size: 20px;
    font-weight: 900;
}
.swiper-button-next:after {
    font-size: 20px;
    font-weight: 900;
}
 .swiper-button-prev {
    left: 0;
    z-index: 99999999999;
    font-size: 24px;
    padding: 5px;
    color: #6F297C;
    border: 1px solid #6F297C;
    border-radius: 10px;
    transition: all .3s;
    cursor: pointer;
}
.swiper-button-next {
    right: 0;
    z-index: 99999999999;
    font-size: 24px;
    padding: 5px;
    color: #6F297C;
    border: 1px solid #6F297C;
    border-radius: 10px;
    transition: all .3s;
    cursor: pointer;
}

.category-img img {
  width: auto;
  height: 100%;
  max-width: 75px; 

}
 
.category-content {
  padding: 20px;
      padding-top: 0;
} 
.category-img {
    padding: 20px;
     padding-bottom: 0;
}
.category-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color:#000;
}

.category-content p {
  font-size: 14px;
  color: #666;
}

/*New Slider Css*/

.featured-categories {
  padding: 30px 0;
}

.swiper-pagination-bullet {
  background: #000;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/*NewsLetter Section*/

.newsletter {
    display: flex;
    background-color: #b1324c;
    padding: 70px 80px;
    border-radius: 25px;
    align-items: center;
}
.newsletter form {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }
.newsletter .tnp-field.tnp-field-email input#tnp-1 {
        border-radius: 50px;
        background: #fff;
        box-shadow: 0 0 2px 0;
        padding: 22px 50px;
    }
.tnp.tnp-subscription {
    display: flex;
    justify-content: flex-end;
}
    .newsletter .tnp-field.tnp-field-button input.tnp-submit {
    border-radius: 50px;
    background: #fff;
    color: #000;
    box-shadow: 0 0 2px 0;
    padding: 20px 30px;
    font-family: Fira Sans;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
}
.tnp-field.tnp-field-email,
.tnp-field.tnp-field-button{
    margin-bottom: 0 !important;
}
    .newsletter h2 {
        font-family: Merriweather;
        font-size: 48px;
        font-weight: 700;
        line-height: 45.6px;
        letter-spacing: -.9599999785423279px;
        color: #fff;
    }

/* ===== RESPONSIVE ===== */

@media (max-width: 1440px) {
    
    .featured-categories .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    color: #111;
    top: 55%;
    z-index: 10;
    left: -60px;
}
.featured-categories .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    color: #111;
    top: 55%;
    z-index: 10;
    right: -60px;
}
div .featured-categories {
    padding: 30px 0px 40px 0;
}
    
}
@media (max-width: 1024px) {
    .newsletter { 
    padding: 50px 40px; 
}
    section.newsletter_main .container {
    padding: 50px 10px !important;
    width: unset;
}
.newsletter h2 { 
    font-size: 34px; 
    line-height: 36.6px; 
}
.newsletter .tnp-field.tnp-field-button input.tnp-submit { 
    font-size: 16px; 
}
    
    section.rx-latest-blog .rx-latest-thumb img {
    height: 100% !important;
}
    
 .rx-latest-blog {
    border-radius: 22px;
}   
 section.rx-latest-blog {
    margin: 30px 30px;
}  
.rx-hero h2 {
    font-size: 40px;
    line-height: 45.6px;
    padding: 40px 0 5px;
}
.featured-categories h2 {
    font-size: 40px;
    padding-bottom: 30px;
}
div .featured-categories {
        padding: 20px 0px 40px 0;
    }
        .featured-categories .swiper-button-next {
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
        color: #111;
        top: 58%;
        z-index: 10;
        right: 10px;
    }
    .featured-categories .swiper-button-prev {
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
        color: #111;
        top: 59%;
        z-index: 10;
        left: 10px;
    }
    .swiper-button-prev:after {
    font-size: 14px;
    font-weight: 900;
}
.swiper-button-next:after {
    font-size: 14px;
    font-weight: 900;
}
}
@media (max-width: 768px) {
  .rx-latest-container {
    flex-direction: column;
  }
  .rx-latest-thumb {
    width: 100%; 
}

  .rx-latest-content {
    padding: 20px;
    text-align: center;
    width:100%;
  }
}
@media (max-width: 767px) {
    .rx-latest-thumb {
    width: 100%;
    min-width: 300px;
    overflow: hidden;
}
    .rx-hero h2 {
        font-size: 30px;
        line-height: 15.6px;
    }
    .rx-latest-thumb img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: 24px 0px 0 0px;
} 
.rx-latest-content {
    width: 100%;
}
    .rx-latest-excerpt {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    padding-right: 30px;
    text-align: left;
}
.blog_cate_date {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap:10px;
}
    .rx-latest-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-align: left;
}
    .featured-categories h2 {
        font-size: 24px;
        padding-bottom: 30px !important;
    }
   .featured-categories .swiper-button-next {
        left: 50%;
        top: 94%;
    }

    .featured-categories .swiper-button-prev {
        top: 94%;
        left: 40%;
    }
.newsletter {
    padding: 10px;
    align-items: center;
    flex-direction: column;
    width: 90%;
}
.tnp.tnp-subscription { 
    justify-content: center;
}
.newsletter h2 { 
    font-size: 28px; 
    text-align: center; 
}
.newsletter .tnp-field.tnp-field-email input#tnp-1 { 
    padding: 22px 90px;
}
.newsletter form { 
    flex-direction: column;
}
.newsletter .tnp-field.tnp-field-button input.tnp-submit { 
    padding: 15px 50px; 
}
    .related-posts h3 { 
    font-size: 27px;
    padding-bottom: 20px; 
    margin-top: 10px;
}
.related-image img.attachment-large.size-large.wp-post-image.entered.lazyloaded {
    height: 100% !important;
}
.rx-blog-grid .rx-meta { 
    flex-direction: column;
    gap: 5px;
}
}
