.custom-tabs-widget {
	margin: 30px 0;
}
.custom-tabs-headings {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
    margin-bottom: 35px;
}
.custom-tab-heading {
    padding: 15px 40px;
    cursor: pointer;
    background: transparent;
    margin-right: 10px;
    border-radius: 50px;
    transition: background 0.3s ease;
    font-family: Unageo;
    color: #454545;
}
.tab-load-more-btn{
    background-color: transparent;
    font-family: "Unageo", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    fill: #FFFFFF;
    color: #FFFFFF;
    background-image: linear-gradient(90deg, #F3CE66 0%, #D29F29 65%);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #E3C05E;
    border-radius: 62px 25px 80px 50px;
    padding: 14px 50px 14px 50px;
    display: block;
    margin: auto;
    
}
.custom-tab-heading.active {
    background: #A10200;
    color: white;
    border-radius: 16px;
    font-family: Unageo;
    font-weight: 600;
    box-shadow: 0px 3px 36px 0px #A1020029;
}
.custom-tabs-contents .custom-tab-content {
	display: none;
}
.custom-tabs-contents .custom-tab-content.active {
	display: block;
}
.tab-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px;
}
.tab-post-box {
	
    padding: 15px;
    border-radius: 20px;
    text-align: center;
   
}
h3 {
	font-family: "Unageo", Sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 32px;
    color: #363636;
}

.tab-post-img img {
	max-width: 100%;
	border-radius: 5px;
}
.tab-post-title {
	font-size: 18px;
	margin: 10px 0;
    font-family: 'Poppins';
    font-weight: 600;
    margin-bottom: 15px;
}

.tab-post-excerpt {
    font-family: "Unageo", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #454545;
}

.tab-post-btn {
	display: inline-block;
	margin-top: 10px;
	padding: 8px 16px;
	background: #4393CF;
	color: white;
	border-radius: 4px;
	text-decoration: none;
}

.tab-post-img img.attachment-medium.size-medium.wp-post-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 30px;
}

.tab-post-content {
    padding: 10px;
    text-align: left;
}
.cpt-popup-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.cpt-popup-content {
	background: #fff;
	width: 80%;
	max-width: 900px;
	position: relative;
	padding: 0px;
	border-radius: 30px;
    
    
}
#cpt-popup-content p{
   font-family: "Unageo" !important;
    font-size: 17px !important;
    font-weight: 400;
    color: #454545;
}
.cpt-popup-close {
    position: absolute;
    top: 19px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #A10200;
    border: 1px solid #A10200;
    line-height: 13px;
    padding: 5px;
    border-radius: 50%;
    /* height: 20px; */
    /* width: 20px; */
}
.cpt-post-popup-btn{
     font-family: "Unageo" !important;
    font-size: 17px !important;
}


.popup-acf-fields {
    font-family: "Unageo" !important;
    font-size: 17px !important;
    font-weight: 400;
}
.cpt-popup-inner {
	display: flex;
	flex-direction: row;
    padding: 20px 20px 15px 20px;
    gap: 20px;
}

.cpt-popup-left {
	width: 50%;
	padding: 0px;
}

.cpt-popup-right{
	width: 50%;
    padding: 15px;
}

.cpt-popup-left img {
    width: 100%;
    height: 450px;
    border-radius: 30px;
    object-fit: cover;
}

.tab-post-img img.attachment-large.size-large.wp-post-image {
    aspect-ratio: 1 / 0.6;
    object-fit: cover;
    object-position: top;
    border-radius: 30px;
    width: 100%;
}

button.tab-post-btn.cpt-post-popup-btn {
    border: none;
}
.tab-post-box.is-hidden {
    display: none;
}


.cpt-post-popup-btn{
    color:  #AC211F;
    background-color: #02010100;
    font-family: "Poppins", Sans-serif;
    font-weight: 500;
    
    padding: 10px 0px 0px 0px;
    border: none;
    margin-top: 10px;
}
button.tab-post-btn.cpt-post-popup-btn:hover {
    
    background: transparent;
    color: #AC211F;
}

.cpt-post-popup-btn:after{
	content:url("https://justnaming.bitnetcorporation.com/wp-content/uploads/2026/01/arrow-right.png");
    position: absolute;
    margin-left: 8px;
	color: #AC211F;
}


/* Tablet responsive */

@media (min-width:768px) and (max-width:1024px){
	.tab-post-excerpt {
    	font-size: 13px !important;
	}
    
    .tab-post-box{
    	padding: 10px !important;
    }
    
    .cpt-post-popup-btn{
   		font-size: 13px;
    }
    
    .tab-post-content {
        display: flex;
        flex-direction: column;
        min-height: 140px;
	}
    
    button.tab-post-btn.cpt-post-popup-btn {
        display: inline-block;
        margin-top: auto !important;
        text-align: left;
	}
    .tab-posts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	
}
}
@media (min-width:0px) and (max-width:767px){
  .tab-posts-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	
}
.cpt-popup-inner{
    flex-direction: column;
}
.cpt-popup-left{
    width: 100%;
}
.cpt-popup-right{
    width: 100%;
}
.cpt-popup-left img{
    height: 250px;
}
.cpt-popup-right{
    padding: 0px;
}
.cpt-popup-inner{
    gap: 0px;
}
}