/*
 Theme Name:     Hello Elementor Child
 Theme URI:      https://rayanita.com
 Description:    Child theme for the Hello Elementor theme
 Author:         Rayanita
 Author URI:     https://rayanita.com
 Template:       hello-elementor
 Version:        1.0.0
 Text Domain:    hello-elementor-child
*/
.recent-posts-widget-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.recent-post-grid-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: #440007;
}

.recent-post-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recent-post-card.title-desc {
      flex-direction: column;
    justify-content: space-between;
    line-height: 27px;
}
.recent-post-card.title-desc .post-content{
    margin:20px;
}
.recent-post-card.title-desc p{
   font-size:15px;
}
.recent-post-card.title-desc h3{
   font-size:22px;
   font-weight:700;
}
.recent-post-card.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.read-more-button {
    margin-top: 10px;
    display: inline-block;
    padding: 8px 15px;
    background: #322d29;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
    position:relative;
        display: flex;
    align-items: center;
    justify-content: space-between;
    transition:all .2s !important;
}

.read-more-button:hover {
    background: #fff;
}

.recent-post-card .read-more-button::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid #322d29;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    display: block;
    margin: auto;
    position:absolute;
   top: 50%;
    left: -20px;
    transform: translateY(-50%) rotate(90deg);
     transition:all .2s !important;
}
.recent-post-grid-item.is-even .read-more-button::after {
    right:-20px;
    left:unset !important;
     transform: translateY(-50%) rotate(270deg);
}
.recent-post-card .read-more-button:hover::after{
     border-top: 15px solid #fff;
}

html[lang="en-US"] .recent-post-card .read-more-button i{
    transform: rotate(180deg);
}
html[lang="en-US"] .recent-post-card .read-more-button::after{
    right: -20px;
    transform: translateY(-50%) rotate(270deg);
    left:unset;
}
html[lang="en-US"] .recent-post-grid-item.is-even .read-more-button::after {
    left:-20px !important;
    right:unset !important;
     transform: translateY(-50%) rotate(90deg);
}


/* Responsive styles */

/* From 768px to 1200px: One post per row */
@media (max-width: 1200px) {
    .recent-posts-widget-grid {
        grid-template-columns: 1fr;
    }

    .recent-post-grid-item {
        grid-template-columns: 1fr 1fr;
    }
}

/* Below 768px: One post per row with image on top */
@media (max-width: 768px) {
    .recent-posts-widget-grid {
        grid-template-columns: 1fr;
    }

    .recent-post-grid-item {
        grid-template-columns: 1fr;
    }

    .recent-post-card.image-card {
        order: -1; /* Image appears at the top */
    }
}

.imgoffset::before{
    border-color: #66000B !important;
}


.tab-content-container{
display:flex !important;	
	 gap: 30px;
	     background: #66000B;
	     align-items:center;
}
.home-tabs .custom-tabs-widget, .home-tabs .tab-content-item{
	padding:0;
}
.tab-content-media{
	width:100%;
	max-width:350px;
}
.tab-content-media img{
	height:100% !important;
	width:100%;
	display:block;
}
.home-tabs .tabs-nav{
	align-items:center;
	border-bottom:1px solid #3d2521;
}
.home-tabs .tabs-nav .tab-nav-item{
	    align-items: center;
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    margin-left: 6px;
    background: #1e1212;
 
}
.home-tabs .tabs-nav .tab-nav-item:last-child{
     margin-left: 0;
}
html[lang="en-US"] .home-tabs .tabs-nav .tab-nav-item{
      margin-left: 0;
      margin-right:6px;
}
html[lang="en-US"] .home-tabs .tabs-nav .tab-nav-item:last-child{
     margin-right: 0;
}
.home-tabs .tabs-nav .tab-nav-item img{
	width:27px;
}
.home-tabs .tab-content-inner{
	    padding: 20px 0 20px 40px;
    text-align: justify;
    line-height: 30px;
    
}
.custom-tabs-widget{
    border:none;
}
.custom-tabs-widget .tabs-nav li{
       min-width:170px;
}
.custom-tabs-widget .tabs-nav{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    margin-bottom:7px;
}
.home-tabs .tabs-nav .tab-nav-item:hover{
    background: #440007;
}

.tab-content-inner .tab-button{
        background: #322d29;
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    display: inline-block;
}
.tab-content-inner .tab-button a{
    display:flex;
    align-items:center;
    gap: 7px;
}
.tab-content-inner .tab-button:hover{
        background: #fff;
}
.tab-content-inner .tab-button:hover a{
    color: #4d2f2a !important;
}
.tabs-nav{
    border:none;
}
.tab-nav-item.active{
    background: #66000B !important;
    font-weight:unset !important;
    position:relative;
}
 .tab-nav-item.active:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid #322d29;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    display: block;
    margin: auto;
    position:absolute;
    bottom:-15px;
    left:50%;
    transform:translateX(-50%);
}
.premium-blog-post-container{
    background-color:#66000b !important;
}
.premium-blog-post-container h2 a{
    color:#fff !important;
}

html[lang="en-US"] .home-tabs .tab-content-inner {
    padding: 20px 40px 20px 0;
}
.she-header{
    background-color: #322d29 !important;
}
@media(max-width:768px){
    .tab-content-container{
        flex-direction:column;
        gap:0
    }
    .tab-content-media{
        padding:30px 20px;
    }
    .home-tabs .tab-content-inner , html[lang="en-US"] .home-tabs .tab-content-inner{
    padding: 15px;
    }
}