/*archive page CSS*/

body:not([class*=elementor-page-]) .site-main {
        padding-inline-end: 0px;
        padding-inline-start: 0px;
}

.pls-banner-main{
    position: relative;
    background: url("/wp-content/uploads/2026/05/Family-holding-a-house-model.png") center/cover no-repeat;
    overflow: hidden;
    background-position: bottom center;
}


/* ---- Filter: mobile dropdown ---- */
.news-filter__select {
	display: none;            
	width: 100%;
	max-width: 480px;      
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
    padding: 8px 46px 8px 12px;
	font-family: inherit;
	font-size: 16px;         
	line-height: 1.4;
	color: #0F0F10;
	background-color: #fff;
    border: 1px solid rgba(112, 124, 138, 0.30);
	border-radius: 4px;
	cursor: pointer;
	background-image: url("https://new.pls-solicitors.co.uk/wp-content/uploads/2026/06/caret-down.png");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 16px;
}

.news-filter__select:focus {
	outline: none;
	border-color: #b9b9c2;
	box-shadow: 0 0 0 3px rgba(120, 120, 140, .12);
}

.pls-banner{
    min-height: 600px;
    display: flex;
    align-items: center;
    max-width: 1440px;
    padding-left: 35px;
    padding-right: 35px;
    margin: 0 auto;
}

/* Dark overlay */
.pls-banner__overlay{
    position: absolute;
    inset:0;
   background: linear-gradient(90deg, #000e21 1.42%, rgba(0, 14, 33, .3) 71.05%);
}

.news-archive__header{
    padding-top: 60px;
}

.pls-banner__content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    color: #fff;
}

.pls-banner__content h1 {
    margin: 0 0 20px;
    font-family: "Kanit", Sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 60px;
    color: #fff;
}

.pls-banner__content p {
    margin-bottom: 32px;
    font-family: "Kanit", Sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    line-height: 36px;
}


/* Header */
body:not([class*=elementor-page-]) .site-main {
        max-width: 100%;
    }
.news-archive__eyebrow {
    font-family: "Kanit", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 17px;
    color: #707c8a;
}


.news-archive__title {
    color: #0F0F10;
    font-family: Kanit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 54px;
    margin-top: 8px;
    margin-bottom: 12px;
}

/* Filter row */
.news-filter {
	display: flex;
	flex-wrap: wrap;
    flex-direction: column;
	gap: 12px;
	margin-bottom: 32px;
}
.news-filter__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0F0F10;
    text-align: justify;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

.news-filter__pills{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.news-filter__clear{
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 59, 48, 0.50);
    font-family: Roboto;
    font-size: 16px;
    text-decoration: none;
    transition: all .2s ease;
    line-height: 24px;
    max-width: 165px;
    color: #FF3B30;
    font-style: normal;
    font-weight: 500;
}

.news-filter__clear:hover{
      background: #FF3B30;
      color:#fff;
}

.news-archive_results{
    grid-column: 1 / -1; 
    margin-bottom: -8px;
    color: #707C8A;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; 
}

.news-filter__pill {
	display: inline-block;
	padding: 6px 32px;
	border: 1px solid #707C8A;
	border-radius: 8px;
    text-align: justify;
    font-family: Roboto;
    font-size: 16px;
	color: #0F0F10;
	text-decoration: none;
	transition: all .2s ease;
	font-weight: 400;
    line-height: 24px; 
}
.news-filter__pill:hover,
.news-filter__pill.is-active {
	background: #54b1f3;
	border-color: #54b1f3;
	color: #fff;
}

/* Grid */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
    margin-bottom: 32px;
	
}

/* Card */
.post-card {
	display: flex;
	flex-direction: column;
	border-radius: 14px;
	overflow: hidden;
	background: #000E21;
	box-shadow: 0 4px 18px rgba(10, 28, 56, .12);
	transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(10, 28, 56, .2);
}

.post-card__image {
	position: relative;
	display: block;
	max-height: 232px;
	overflow: hidden;
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
.post-card:hover .post-card__image img {
	transform: scale(1.05);
}
.post-card__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1b3a66, #0e2547);
}

.post-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 20px 20px;
	flex: 1;
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
}

.post-card__category{
	color: #54B1F3;
	font-weight: 500;
	font-family: Roboto;
    font-size: 16px;
	text-transform: uppercase;
	line-height: 24px; 
	text-decoration: none;
}

.post-card__category:hover{
	color: #54B1F3;
	opacity: 0.8;
}

.post-card__sep{ 
    color: #E2E2E2;
    font-size: 14px;
    margin-bottom: 2px;
}

.post-card__date{ 
    color: #E2E2E2;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.post-card__title {
	margin: 0;
	flex: 1;
	line-height: 24px;
}

.post-card__title a {
	color: #fff!important;
	text-decoration: none;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
}
.post-card__title a:hover {
    color: #fff; 
}

.post-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 8px;
}


.post-card__readtime {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #FFF;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
	background: #707C8A;
	padding: 2px 12px;
	border-radius: 20px;
}
.post-card__readmore {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #54B1F3;
	font-size: 16px;
	text-align: right;
	font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    font-family: Roboto;
}
.post-card__readmore svg{ 
    transition: transform .25s ease; 
}

.post-card__readmore:hover{
    opacity: 0.8;
    color: #54b1f3;
}

.post-card__readmore:hover svg { 
    transform: translateX(4px); 
}

/* Load more */

.news-loadmore {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
}


.news-loadmore a {
    display: flex;
    width: 420px;
    height: 48px;
    padding: 13px 28.815px 13px 29.015px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    border: 1px solid #54B1F3;
    color: #54B1F3;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    text-decoration: none;
    line-height: 21px;
    text-transform: uppercase;
}

.news-loadmore a:hover{ 
    background: #54B1F3; 
    color: #fff; 
}

/* Responsive */
@media (max-width: 1024px) {
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	
	.pls-banner {
        min-height: 420px;
        padding: 60px 40px;
    }
    .pls-banner__content h1 {
        font-size: 42px;
    }

    .pls-banner__content p {
        font-size: 18px;
    }
    
    .news-filter__pills { display: none; }
	.news-filter__select { display: block; }
}

/* Mobile */
@media (max-width: 600px) {
        .pls-banner {
        min-height: 428px;
        padding: 0px 16px;
        align-items: center;
    }
    
    .news-loadmore a{
        height: 36px;
        font-size: 14px;
    }
    
    .news-loadmore{
        margin-bottom: 32px;
    }
    
    .post-grid{
        margin-bottom: 20px;
    }
    
    .pls-banner-main{
        background-position: left bottom;
    }
    
    #content.site-main .e-con-inner{
        padding-left: 16px;
        padding-right: 16px;
    }
    .news-archive__eyebrow {
        font-size: 14px;
    }
    .news-filter{
        gap: 9px;
    }
    
    .news-archive__header{
        padding-top: 32px;
    }
    .news-filter__label{
        font-size: 14px;
        line-height: 16px;
    }

    .pls-banner__overlay {
        background: linear-gradient(180deg, rgba(2, 20, 45, .8) 1.17%, rgba(0, 14, 33, .64) 65.16%);
    }
    .pls-banner__content h1 {
        font-size: 30px;
        line-height: 42px;
        margin-bottom: 12px;
    }
    
    .pls-banner__content p{
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .pls-banner::after {
        height: 180px;
        bottom: -110px;
    }
	.post-grid { 
	    grid-template-columns: 1fr; 
	    gap: 16px;
	}
	.pls-banner__content{
	   margin-top: 30%;
	}
	
	.pls-banner{
	   align-items: flex-start;
	}
	
	.news-archive__title {
	  font-size: 24px;
      line-height: 36px;
      margin-top: 6px; 
	}
}
