/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Version: 1.0
*/



.wp-block-site-logo img{
    max-width: 250px;
}
.my-profile-menu .wp-block-navigation-item__label{
    color: #226699;
    font-weight: 500;
}
.home_page_slider{
    margin: 15px 0 0 0;
}
.splide__slide{
    text-align: center;
}
.slider-2 .splide__list,
.slider-1 .splide__list{
    gap: 15px!important;
    padding-top: 20px!important;
}
.slider-3 .splide__list,.slider-partner .splide__list{
   justify-content: center;
}
.slider-3 .splide__slide img {
    vertical-align: middle;
    max-width: 150px;
    height: auto;
}
.slider-4 .splide__list{
    padding-top: 20px!important;
}
.slider-4 .splide__slide{
 max-width: 16%;
}
.wp-block-post-template,.wp-block-latest-posts__list {
    gap:10px;
}
.wp-block-post-template  li .wp-block-column .wp-block-group,
.wp-block-latest-posts__list li, 
.rvp-item,
.search-results .wp-block-post{
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    margin: 0!important;
}
.wp-block-post-title,.wp-block-latest-posts__post-title,.rvp-item a.has-small-font-size{
    padding: 0 10px;
    width: auto!important;
    display: -webkit-box!important;
    -webkit-line-clamp: 2;      /* max lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.splide__slide img{
    vertical-align: middle;
}
.home-hero-section{
    display: flex;
    flex-direction: row;
    gap: 0px;
    background: linear-gradient(88deg,rgb(28,101,43) 0%,rgba(29,102,43,0.31) 100%);
    min-height: 500px;
    align-items: center;
    margin-bottom: 50px;
    justify-content: space-between;
}

.home-hero-section-left{
    width: 65%;
    color: #fff;
}
.home-hero-section-left p{
    margin: 0 0 10px 0px;
}

.home-hero-section-right{
    width: 35%;
    text-align: center;
}
.home-hero-section-right img{
    width: auto;
    max-height: 450px;
    height: auto;

}

.home-hero-section h1{
    margin: 0 0 20px 0px;
}


.cat_view_columns{
    display: grid;
  grid-template-columns: repeat(4, 1fr);
      list-style: none;
    margin: 0;
    padding: 0;
}
footer a{
    text-decoration: none;
}
footer p{
        margin: 0px 0 10px 0 !important;
}
.wp-block-latest-posts__featured-image img{
        aspect-ratio: 1 / 1;
}
.wp-block-post-featured-image a{
    display: block;
    height: 100%;
}

a:focus,
a:focus-visible,
a:active { 
    outline: none;
    border: none;
    box-shadow: none;
}
:where(.wp-site-blocks) > * {
    margin-block-start: 0!important;
}

.shortcode-post-title {
        font-size: 3rem;
        margin: 0;
        padding: 0;
        line-height: normal;
    }
    .wp-block-media-text p.shortcode-post-sub-title {
        margin: 5px 0 0px 0;
    letter-spacing: 0.3rem;
    text-transform: lowercase;
    font-size: 1.5rem;
    font-weight: 400;
    
    }
    .wp-block-media-text p.shortcode-post-cashback-title {
    margin: 5px 0 0px 0;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
        justify-content: center;
    }
.hero-section-left .wp-block-button{
margin-top: 20px;
}
.hero-section-left .wp-element-button{
    background-color: var(--button-bg);
    text-transform: uppercase;
    
 }

.hero-section-left{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap:0;
}
.hero-section-right{
        text-align: center;
}

.hero-gallery-slider {
    max-width: 100%;
}

.hero-featured-image {
    width: 90%;
    height: auto;
    border-radius: 0px;
    object-fit: scale-down;
}


.hero-section {
    position: relative;
    overflow: hidden;
    padding: 0px;
    align-items: center;
    border-radius: 0px;
    background: transparent;
    max-width: 100%;
    min-height: 50vh;
}
.hero-section .affiliate_link_btn{
    margin: 20px 0!important;
}
.wp-block-button.affiliate_link_btn{
    min-width: 220px !important;
    margin-bottom: 20px!important;
}
.flip-btn {
    position: relative;
    display: inline-block;
    perspective: 1000px;
    width: 220px;
    height: 60px;
    background:transparent;

}


.flip-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 60px;
    border-radius: 50px;
    font-size: 1.2rem;
    text-transform: uppercase;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    letter-spacing: 0.3rem;
}

.flip-front {
    background:var(--button-bg);
    position: absolute;
    inset: 0;
    transform: rotateY(0deg);
}

.flip-back {
    background:var(--button-bg);
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
}

.flip-btn:hover .flip-front {
    transform: rotateY(180deg);
}

.flip-btn:hover .flip-back {
    transform: rotateY(0deg);
}
.wp-block-media-text p{
    font-size: 18px;
    margin: 0 0 5px 0;
}

.wp-block-media-text p.is-style-text-subtitle{
font-size: 22px;
font-weight: 600;
margin-bottom: 10px;
}

.wp-block-latest-posts__post-title{
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
}




h4.has-fit-text{
position: relative;
  text-decoration: none;
}

h4.has-fit-text::after{
  content: "";
  position: absolute;
  left: 25%;
  bottom: -20px;
  width: 50%;
  height: 2px;
  background-color: currentColor;
}
.wp-block-latest-posts__list li{
    padding-bottom: 15px;
}
.rvp-item,.wp-block-latest-posts__list li,
.category .wp-block-column .wp-block-group,
.post-template-default .wp-block-post-content .wp-block-columns-is-layout-flex .wp-block-column,
.animated-box .wp-block-column{
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.post-template-default .wp-block-post-content .wp-block-columns-is-layout-flex .wp-block-column:hover,
.animated-box .wp-block-column:hover{
  transform: translateY(-20px);
} 

.category .wp-block-column .wp-block-group:hover,
.rvp-item:hover,
.wp-block-latest-posts__list li:hover{
        background: rgba(0, 0, 0, 0.2);
        border-radius: 20px;
        transform: translateY(-20px);
}
.search-results .wp-block-post:hover{
        background: rgba(0, 0, 0, 0.2);
        border-radius: 20px;
}
.animated-box .wp-block-column a{
    text-decoration: none;
}


/* Button styling */

.item_price{
    width: 100%;
    text-align: center;
    font-weight: 600;
    color: #52CD5F;
}
.category .wp-block-column .wp-block-group .view-detail-btn,.wp-block-latest-posts__list li .view-detail-btn,.rvp-item .view-detail-btn{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(10px); /* Center + initial offset */
    display: inline-block;
    padding: 15px 0px;
    background-color: rgba(255, 255, 255, 1);
    color: #52CD5F;
    text-decoration: none;
    border-radius: 0px;
    opacity: 0; /* hidden by default */
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    width: 100%;
    font-weight: 400;
    font-size: 14px;
}

.category .wp-block-column .wp-block-group:hover .view-detail-btn,.wp-block-latest-posts__list li:hover .view-detail-btn,.rvp-item:hover .view-detail-btn{
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}


.cashback-offer{
    padding: 150px 5% !important;
        background-color: #2d7a387d;
}
.cashback-inner {
    text-align: center;
}

.cashback-badge {
    display: inline-block;
    background: #6d28d9;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cashback-title {
    margin: 10px 0;
    font-size: 22px;
    color: #1f2937;
}

.cashback-text {
    color: #4b5563;
    margin-bottom: 18px;
}

.cashback-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #3c2f9e;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.rvp-recent-heading{
    margin:50px 0px
}

.rvp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 30px;
  align-items: stretch;
}
.rvp-item{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    aspect-ratio: 1/1;
    position: relative;
    margin: 0 5px!important;
}

.rvp-item a{
    text-decoration: none;
}
.rvp-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}
.rvp-item img.product-thumb{
    width: 90px;
  height: auto;
}
.rvp-item a{
  margin: 0 0 5px 0;
  padding: 10px;
  line-height: normal;
  text-align: center;
  }
 .affliate_provider{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    position: absolute;
    top: 0;
    padding: 0 5%;
    max-height: 35px;
}
 .affliate_provider img{
    max-width: 65px;
    height: auto;
    
}

.affliate_provider span{
    background-color: #52CD5F;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 10px;
    margin: 0;
    line-height: 12px;
}
.category .wp-block-group{
    position: relative;
}
.category .wp-block-group .affliate_provider{
    top: 15px;
}

h3 a{
  display: block;           /* or inline-block */
  max-width: 100%;          /* required */
  white-space: nowrap;      /* single line */
  overflow: hidden;         /* hide overflow */
  text-overflow: ellipsis; 
}

.wp-block-media-text p {
    margin: 0 0 15px 0;
}

.wp-block-latest-posts li {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
}

h1,h2,h3,h4,h5{
    font-weight: 600;
}
.wp-block-query-pagination{
    margin-top: 25px;
}

.slider-reviews .splide__list{
    padding-top: 20px!important;
}
.slider-reviews .splide__list .splide__slide{
        padding: 0 10px 10px 10px;
}
.author_initiatls{
    font-size: 1rem;
    background-color: #52CD5F;
    color: #fff;
    border-radius: 50%;
    padding: 6px;
    margin-right: 5px;
}
.breadcurm{
    margin: 10px 0 0 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: normal;
}
.breadcurm a{
    text-decoration: none;
    font-weight: 400;
    font-style: italic;
}
.breadcurm span{
    font-weight: 500;
}

.breadcurm span + span::before,
.breadcurm a + a::before,
.breadcurm a + span::before,
.breadcurm span + a::before {
    content: "›";
    margin: 0 5px;
    color: #999;
    font-weight: 400;
}
 #rbPopupMsg{
            font-size: 0.95rem;
        }
        #rbPopupMsg.success{
            color:green;
        }
        #rbPopupMsg.error{
            color:red;
        }
        .rb-popup-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .rb-popup {
            background: #fff;
            width: 100%;
            max-width: 420px;
            padding: 24px;
            border-radius: 12px;
            position: relative;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        }

        .rb-popup h2 {
            font-size: 1.3rem;
            margin-bottom: 5px;
        }

        .rb-popup h4 {
            font-size: 1rem;
            margin-bottom: 5px;
        }
        .rb-popup img {
            max-width:100px;
            height :auto;
            margin: 5px;
        }

        .rb-subtext {
            font-size: 0.95rem;
            color: #555;
            margin-bottom: 5px;
        }

        .rb-partners-link {
            display: inline-block;
            margin-bottom: 16px;
            font-size: 0.9rem;
            color: #2563eb;
            text-decoration: none;
        }

        .rb-input {
            width: 90%;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid #ddd;
            margin: 15px auto;
            font-size: 0.95rem;
        }

        .rb-btn {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: none;
            background: #16a34a;
            color: #fff;
            font-weight: 600;
            cursor: pointer;
            font-size: 1rem;
        }

        .rb-btn:hover {
            background: #15803d;
        }

        .rb-close {
            position: absolute;
            top: 10px;
            right: 12px;
            border: none;
            background: none;
            font-size: 20px;
            cursor: pointer;
        }
     .center_aligned{
        justify-content: center;
     } 

     .wp-block-spacer{
        margin: 0;
     }

     .wp-block-navigation .has-child .wp-block-navigation__submenu-container{
        padding-top: 10px !important;
        border: 0px;
        color: #5d9e2b!important;
        font-size: 1rem;
     }

     .offer-item img {
            max-width: 100%;
            max-height: 250px;
     }
.partner a{
    text-decoration: none;
}
.partner h4{
    margin:0;
}
.partner h5{
color: #5d9e2b!important;
cursor: pointer;
}
#partner_details_contnet{
    font-size: 12px;
    max-height: 70vh;
    overflow: auto;
   
}
#partner_details_contnet .thumbnail{
text-align: center;
width: 100%;
}
#partner_details_contnet .contnet{
text-align: left;
width: 100%;
}
#partner_details_contnet p{
    margin: 0px;
}

.post-type-archive-custom_blog .wp-block-post-template li .wp-block-column .wp-block-group{
    border: 0px;
    border-radius: 0px;
}
.post-type-archive-custom_blog .wp-block-post-featured-image{
        aspect-ratio: 16 / 9 !important;
}


.post-type-archive-custom_blog .wp-block-post-featured-image a{
    height: auto;
}


.slider_custom_blog li.splide__slide{
    display: flex;
    flex-direction: column;
    
}
.slider_custom_blog a{
text-decoration: none;
}
.slider_custom_blog li.splide__slide:hover a{
    text-decoration: underline;
}
.slider_custom_blog li.splide__slide img {
    width: 100%;
    height: auto;
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
    body {
     overflow: hidden;
    }

    body::before {
        content: "Please rotate your device to portrait mode";
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        width: 100vw;
        font-size: 2rem;
        text-align: center;
        padding: 0px;
        background: #b9cdbc;
        background-size: 200px;
        color: #fff;
    }
}

@media (max-width: 768px) {
    .hero-section{
        grid-template-columns: 100%!important;
    }
    .slider-partner .splide__list{
        justify-content:unset
    }
.offer-item img {
            max-width: 100%;
            height: auto;
     }
    .wp-block-navigation.items-justified-right {
    --navigation-layout-justification-setting: flex-start;
    --navigation-layout-justify: flex-end;
}
.wp-block-navigation .wp-block-navigation-item__label {
    color: #5d9e2b;
    font-size: 1.2rem;
}
    .breadcurm{
        font-size: 0.8rem;
    }

.breadcurm span + span::before,
.breadcurm a + a::before,
.breadcurm a + span::before,
.breadcurm span + a::before {
    margin: 0 2px;
}

    .rb-popup {
    max-width: 80%;
    }
    .breadcurm span{
    display: none;
    }

.wp-block-spacer{
    height: 15px!important;
}

.has-small-font-size{
    font-size: 1rem!important;
}
.slider-4 .splide__slide{
    max-width: 100%;
}
    .rvp-item{
        margin: 0!important;
    }
    header .alignwide{
        padding-top: 5px!important;
        padding-bottom: 5px!important;
    }
    footer .wp-block-group{
        padding-top: 0px!important;
    }
    footer .is-layout-flex{
        gap:0
    }
.wp-block-site-logo img{
    max-width: 150px;
}
.slider-3 .splide__list{
   justify-content: left;
}
.slider-3 .splide__slide img {
    max-width: 100px;
}
.wp-block-columns{
    margin-bottom: 0px;
}
.wp-block-media-text__content h3:has(img), .rvp-recent-heading:has(img){
display: flex;
align-items: center;
position: unset;
max-width: 100%;

}
    .home-hero-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    }

.home-hero-section-left{
    width: 96%;
    padding: 25px 0px;
}

.home-hero-section-right{
    width: 100%;
}
.home-hero-section-right img{
    width: 90%;
    height: auto;

}


   .affliate_provider{
    top:5px;
   }
    .affliate_provider span{
    padding: 8px 10px;
    font-size: 0.8rem;
    border-radius: 10px;
    }
    .affliate_provider img{
        max-width: 100px;
    }
    .wp-block-media-text p:has(img){
    display: flex;
    flex-direction: row;
    align-content: center;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    }
.rvp-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
         
  }

  .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px
    }
.wp-block-media-text p{
    font-size: 14px;
}
.wp-block-media-text p.is-style-text-subtitle{
    font-size: 18px;
}


.wp-block-media-text img{
    max-width: 96%!important;
    margin: 2%!important;
}
.wp-block-media-text>.wp-block-media-text__content{
    padding:5%;
}

.hero-section.wp-block-media-text img{
    max-width: 100%!important;
    width: 100%!important;
    margin: 0%!important;
}


    .has-global-padding{
        padding: 0;
        margin: 0;
        max-width: 100%;
    }
    .has-global-padding > .alignfull{
        margin-right: 0;
        margin-left: 0;
        padding-top: 0!important;
        padding-left: 0!important;
        padding-right: 0!important;
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 0;
        max-width: 100%;
        min-height: 50vh;
    }

    .hero-section-right {
        order: -1; 
    }

    .shortcode-post-title {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    .wp-block-media-text p.shortcode-post-sub-title{
        font-size: 1rem;
    }
    .hero-featured-image{
    max-width: 100%;
    margin:0;
    
}
}