/* =========================================================================
   PLS Single News template styles
   Add to your child theme stylesheet (or enqueue separately).
   Adjust the brand colours and the hero background path to match your site.
   ========================================================================= */

/* ---------- HERO ---------- */
.pls-single-hero{
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 600px;
	padding: 48px 20px;
	overflow: hidden;
	 /*Replace with your static background image */
	background-image: url('/wp-content/uploads/2026/05/Family-holding-a-house-model.png');
	background-size: cover;
	background-position: bottom center;
	background-repeat:no-repeat;
	clip-path: ellipse(100% 100% at 50% 0%);
}


.pls-single-hero__overlay {
	position: absolute;
	inset: 0;
    background: linear-gradient(90deg, #000E21 1.42%, rgba(0, 14, 33, 0.30) 71.05%);
    backdrop-filter: blur(10px);
	z-index: 1;
}

.pls-single-hero-main{
    position:relative;
}

.pls-single-hero__feature {
	position: absolute;
	z-index: 2;
	margin: 0;
	max-width: 828px;
	width: 100%;
    bottom: -6%;
    left: 50%;
    transform: translateX(-50%);
	
}

.pls-single-hero__feature img {
	display: block;
	max-height: 460px!important;
	border: 2px solid #FFF;
	width: 100%!important;
	height: auto!important;
	border-radius: 20px;
}

/* ---------- ARTICLE BODY ---------- */

.pls-back-link{
    display: flex;
    align-items: center;
    color: #54B1F3;
    gap: 6px;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 12px;
}

.pls-back-link:hover,.pls-single-meta__cat:hover,.pls-single-author a:hover{ 
    opacity: 0.8;
    color: #54B1F3;
}

.pls-single__header{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pls-single-meta__eyebrow{
	display: block;
	margin-bottom: 8px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--pls-muted);
}

.pls-single-meta__date{
    color: #707C8A;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

.pls-single-meta__row{
	display: flex;
	align-items: center;
	gap: 5px;
}

.pls-single-meta__cat{
    color: #54B1F3;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-decoration: none;
    text-transform: uppercase;
}

.pls-single-meta__sep{ 
    color: #707C8A; 
    font-size: 18px;
    margin-bottom: 2px;
}

.pls-single-title{
	margin: 16px 0;
	color: #0F0F10;
    font-family: Roboto;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.pls-single-author{
    color: #0F0F10;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 20px;
}

.pls-single-author a {
    text-decoration: none;
    color: #54B1F3;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    text-decoration-line: underline!important;
    text-transform: capitalize;
    text-decoration-skip-ink: none;
}
.pls-single-author a:hover { 
    text-decoration: underline; 
}

.pls-single-content {
	font-size: 1rem;
	line-height: 1.7;
}

.pls-single-content h2,
.pls-single-content h3{ 
    color: #0F0F10;
    text-align: justify;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.single-post a{
   color: #54B1F3; 
   text-decoration-line: none;
}

.pls-single-content p{ 
    color: #707C8A;
    text-align: justify;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.pls-single-content ul{ 
    margin: 0 0 1.1em 1.2em; 
}

/* ---------- AUTHOR BIO BOX ---------- */

.pls-author-box{
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin: 32px 0 8px;
	padding: 20px;
	border-radius: 12px;
	background: #FDE3E3; 
}

.pls-author-box__avatar img{
    max-width: 60px;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #db5461;
    object-fit: cover;
}

.pls-author-box__name {
    color: #0F0F10;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-transform: capitalize;
    margin-bottom: 0px;
}

.pls-author-box__role{
    margin: 2px 0 12px;
    color: #707C8A;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.pls-author-box__bio{
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: #0F0F10;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pls-author-box__url{
    display: flex;
    width: 18%;
    height: 48px;
    padding: 13px 28.815px 13px 29.015px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    border: 1px solid #54B1F3;
    text-transform: uppercase;
}

/* ---------- SIMILAR NEWS ---------- */
.pls-similar {
	padding: 40px 0;
}
.pls-similar__inner { 
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 35px;
    padding-right: 35px;
    }

.pls-similar__eyebrow {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;

}
.pls-similar__title {
    margin: 14px 0 20px;
    color: #0F0F10;
    font-family: Kanit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 54px;
}

.pls-similar__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.pls-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.pls-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.pls-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.pls-card:hover .pls-card__media img { transform: scale(1.05); }

.pls-card__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--pls-purple);
	border-radius: 999px;
}

.pls-card__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	flex: 1;
}
.pls-card__more {
	margin-top: auto;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	opacity: 0.9;
}
.pls-card__more:hover { opacity: 1; }


@media(min-width:1320px){
.pls-single-body{
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 60px;
}

}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
	.pls-similar__grid {
	    grid-template-columns: 1fr; 
	    max-width: 420px; 
	    margin: 0 auto; 
	}
}

@media (max-width: 600px) {
    .pls-similar__grid {
    gap: 16px;
}

.post-card__category, .post-card__sep, .post-card__date{
   font-size: 12px; 
}
    
    .pls-back-link{
        margin-bottom: 0;
        font-size: 14px;
        line-height: 21px;
        gap: 2px;
    }
    
    .post-card__title a,.post-card__title, .post-card__readmore{
       font-size: 14px;
        line-height: 21px;
    }
    
    .post-card__readtime{
        font-size: 12px; 
    }
    
    .post-card__body {
        gap: 6px;
        padding: 12px;
    }
    
    .pls-single-meta__cat,.pls-single-meta__date,.pls-single-author,.pls-single-author a{
        font-size: 12px;
        line-height: 18px;
    }
    
    .pls-single-meta__sep{
      font-size: 12px;  
    }
    .pls-single-content p,.pls-single-content,.pls-single-content h2,.pls-single-content h3{
        font-size: 14px;  
        line-height: 21px;
    }
    
    .pls-single-title{
        font-size: 16px;
    }
    
    .pls-back-link img{
        width: 20px;
    }
    
	.pls-single-hero { 
	    min-height: 340px; 
	    padding: 16px; 
	}
	.pls-single-hero__feature{
	   padding: 16px;   
	}
	
	.pls-single-body { 
	    padding: 28px 16px 8px; 
	}
	.pls-author-box__content .pls-author-box__name{
	    font-size: 14px;
        line-height: 21px;
	}
	
	.pls-author-box__content .pls-author-box__role{
	    font-size: 12px;
	    margin: 0px 0 9px;
	}
	
	.pls-author-box__content .pls-author-box__bio{
	    font-size: 12px;
	    line-height: 18px;
        margin-bottom: 12px;
	}
	
	.pls-author-box__content .banner-hero-buttons{
	    justify-content: flex-start;
	}
	
	.pls-author-box__content  .banner-hero-buttons .btn{
	   max-height: 30px;
	   width: 120px !important;
       gap: 6px !important;
       padding: 6px !important;
        font-size: 12px;
	}
	
	.pls-author-box__avatar img{
	    max-width: 40px;
	}
	.pls-similar__inner {
        padding-left: 16px;
        padding-right: 16px;
    }
	
	.pls-similar{
	   padding: 32px 0;
	}
	
	.pls-author-box__content .banner-hero-buttons .btn.secondary:after{
	    transform: scale(.8);
	}
	
	.pls-author-box { 
        flex-direction: row;
        align-items: flex-start;
        padding: 12px;
	}
	
	.pls-similar__title{
	    margin: 6px 0 12px;
        font-size: 24px;
        font-weight: 400;
        line-height: 36px;
	}
}