/*archive page CSS*/

.pls-banner-main{
    position: relative;
    min-height: 500px;
    background: url("/wp-content/uploads/2026/05/Family-holding-a-house-model.png") center/cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

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

/* Curved bottom shape */
.pls-banner::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -140px;
    height: 250px;
    background: #fff;
    border-radius: 50%;
}

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

.pls-banner__content h1 {
    margin: 0 0 20px;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
}

.pls-banner__content p {
    margin-bottom: 30px;
    font-size: 22px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.pls-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: #58b5ff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
}

.pls-banner__btn:hover {
    background: #3ba6fa;
}

/* Header */
body:not([class*=elementor-page-]) .site-main {
        max-width: 100%;
    }
.news-archive__eyebrow {
	display: block;
	color: #2a5bd7;
	font-weight: 700;
	letter-spacing: .08em;
	font-size: 13px;
	margin-bottom: 6px;
}
.news-archive__title {
    color: #0F0F10;
    font-family: Kanit;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
}

/* Filter row */
.news-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
}
.news-filter__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #5a6675;
}
.news-filter__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.news-filter__pill {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid #d3dae5;
	border-radius: 999px;
	font-size: 13px;
	color: #3a4452;
	text-decoration: none;
	transition: all .2s ease;
}
.news-filter__pill:hover,
.news-filter__pill.is-active {
	background: #2a5bd7;
	border-color: #2a5bd7;
	color: #fff;
}

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

/* 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: #4da6ff;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	text-decoration: none;
}
.post-card__sep { color: #41597d; }
.post-card__date { color: #9fb0c4; }

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

.post-card__title a {
	color: #fff;
	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: 6px;
}
.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;
}
.post-card__readmore svg{ 
    transition: transform .25s ease; 
}
.post-card__readmore:hover svg { 
    transform: translateX(4px); 
}

/* Load more */
.news-loadmore {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}
.news-loadmore a {
	display: inline-block;
	padding: 12px 40px;
	border: 1px solid #2a5bd7;
	border-radius: 999px;
	color: #2a5bd7;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .05em;
	text-decoration: none;
	transition: all .2s ease;
}
.news-loadmore a:hover { background: #2a5bd7; 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;
    }
}

/* Mobile */
@media (max-width: 600px) {
        .pls-banner {
        min-height: 520px;
        padding: 50px 25px;
        align-items: flex-start;
    }

    .pls-banner__overlay {
        background: linear-gradient(
            180deg,
            rgba(2, 20, 45, 0.8) 0%,
            rgba(2, 20, 45, 0.45) 100%
        );
    }

    .pls-banner__content {
        max-width: 260px;
        margin-top: 40px;
    }

    .pls-banner__content h1 {
        font-size: 34px;
        margin-bottom: 16px;
    }

    .pls-banner__content p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .pls-banner__btn {
        padding: 14px 22px;
        font-size: 14px;
    }

    .pls-banner::after {
        height: 180px;
        bottom: -110px;
    }
	.post-grid { grid-template-columns: 1fr; }
	.news-archive__title { font-size: 24px; }
}
