/* ==========================================
   Kabyapot Premium v6
   Home Page
========================================== */

/* Hero */

.kp-hero{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    margin:30px 0 40px;
}

/* Featured */

.kp-featured-post{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    background:#fff;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.kp-featured-post img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:block;
}

.kp-featured-content{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:35px;
    background:linear-gradient(
        transparent,
        rgba(0,0,0,.90)
    );
}

.kp-category{
    display:inline-block;
    background:#b30000;
    color:#fff;
    padding:6px 12px;
    border-radius:4px;
    font-size:13px;
    margin-bottom:12px;
}

.kp-featured-content h1{
    color:#fff;
    font-size:42px;
    line-height:1.25;
    margin-bottom:15px;
}

.kp-featured-content p{
    color:#f2f2f2;
    font-size:17px;
}

/* Right Side */

.kp-hero-right{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.kp-side-post{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.3s;
}

.kp-side-post:hover{
    transform:translateY(-4px);
}

.kp-side-post a{
    display:flex;
    gap:15px;
    padding:12px;
    align-items:center;
}

.kp-side-post img{
    width:120px;
    height:90px;
    object-fit:cover;
    border-radius:8px;
}

.kp-side-content h3{
    font-size:18px;
    color:#222;
    margin-bottom:8px;
    line-height:1.4;
}

.kp-side-content span{
    color:#888;
    font-size:13px;
}

/* Responsive */

@media(max-width:991px){

.kp-hero{
    grid-template-columns:1fr;
}

.kp-featured-post img{
    height:380px;
}

.kp-featured-content h1{
    font-size:30px;
}

}

@media(max-width:768px){

.kp-featured-post img{
    height:260px;
}

.kp-featured-content{
    padding:20px;
}

.kp-featured-content h1{
    font-size:24px;
}

.kp-featured-content p{
    font-size:15px;
}

.kp-side-post a{
    flex-direction:column;
    align-items:flex-start;
}

.kp-side-post img{
    width:100%;
    height:200px;
}

}
/* Breaking News */

.kp-breaking-news{
	display:flex;
	align-items:center;
	background:#fff;
	border:1px solid #e5e5e5;
	margin:20px 0;
	border-radius:8px;
	overflow:hidden;
}

.kp-breaking-label{
	background:#b30000;
	color:#fff;
	font-weight:700;
	padding:14px 18px;
	white-space:nowrap;
}

.kp-breaking-ticker{
	flex:1;
	overflow:hidden;
	padding:0 15px;
}

.kp-breaking-ticker ul{
	display:flex;
	gap:40px;
	list-style:none;
	margin:0;
	padding:14px 0;
	animation:kpTicker 30s linear infinite;
}

.kp-breaking-ticker:hover ul{
	animation-play-state:paused;
}

.kp-breaking-ticker a{
	color:#222;
	font-weight:600;
}

.kp-breaking-ticker a:hover{
	color:#b30000;
}

@keyframes kpTicker{
	from{
		transform:translateX(100%);
	}
	to{
		transform:translateX(-100%);
	}
}
/* Category Block */

.kp-category-section{
	margin:50px 0;
}

.kp-section-header{
	display:flex;
	justify-content:space-between;
	align-items:center;
	border-bottom:3px solid #b30000;
	padding-bottom:12px;
	margin-bottom:25px;
}

.kp-section-header h2{
	font-size:30px;
	font-weight:700;
}

.kp-section-header a{
	color:#b30000;
	font-weight:600;
}

.kp-category-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:25px;
}

.kp-category-card{
	background:#fff;
	border-radius:10px;
	overflow:hidden;
	box-shadow:0 4px 12px rgba(0,0,0,.08);
	transition:.3s;
}

.kp-category-card:hover{
	transform:translateY(-6px);
}

.kp-category-card img{
	width:100%;
	height:220px;
	object-fit:cover;
}

.kp-category-card h3{
	font-size:22px;
	padding:18px 18px 10px;
	line-height:1.4;
}

.kp-category-card p{
	padding:0 18px 15px;
	color:#555;
	font-size:15px;
}

.kp-meta{
	display:flex;
	justify-content:space-between;
	padding:15px 18px;
	border-top:1px solid #eee;
	font-size:13px;
	color:#888;
}

@media(max-width:992px){
	.kp-category-grid{
		grid-template-columns:repeat(2,1fr);
	}
}

@media(max-width:768px){
	.kp-category-grid{
		grid-template-columns:1fr;
	}

	.kp-section-header h2{
		font-size:24px;
	}
}
/* ===== Most Read ===== */

.kp-most-read{
	margin:50px 0;
}

.kp-most-read-item{
	display:grid;
	grid-template-columns:50px 110px 1fr;
	gap:15px;
	align-items:center;
	padding:15px 0;
	border-bottom:1px solid #eee;
}

.kp-rank{
	width:40px;
	height:40px;
	border-radius:50%;
	background:#b30000;
	color:#fff;
	font-size:18px;
	font-weight:700;
	display:flex;
	align-items:center;
	justify-content:center;
}

.kp-thumb img{
	width:100%;
	height:80px;
	object-fit:cover;
	border-radius:8px;
}

.kp-content h3{
	margin:0 0 8px;
	font-size:18px;
	line-height:1.4;
}

.kp-content span{
	color:#888;
	font-size:13px;
}
/**
 * Lead News
 */

.kp-lead-news{
    margin:30px 0 40px;
}

.kp-lead-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
}

.kp-featured{
    grid-row:span 4;
}

.kp-featured img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:8px;
}

.kp-lead-item{
    background:#fff;
    border:1px solid #ececec;
    border-radius:8px;
    overflow:hidden;
    transition:.3s;
}

.kp-lead-item:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.kp-lead-item img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.kp-lead-item h2{
    margin:15px;
    font-size:20px;
    line-height:1.5;
    color:#222;
}

.kp-featured h2{
    font-size:34px;
}

.kp-meta{
    padding:0 15px 15px;
    color:#777;
    font-size:13px;
}

@media(max-width:991px){

    .kp-lead-grid{
        grid-template-columns:1fr;
    }

    .kp-featured{
        grid-row:auto;
    }

    .kp-featured img{
        height:320px;
    }

}

@media(max-width:768px){

    .kp-featured h2{
        font-size:26px;
    }

    .kp-lead-item img{
        height:220px;
    }

}
/* ==========================================
   Homepage Category Section
========================================== */

.kp-category-section{
    margin:50px 0;
}

.kp-section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    border-bottom:3px solid #b30000;
    padding-bottom:10px;
}

.kp-section-header h2{
    margin:0;
    font-size:28px;
    color:#222;
}

.kp-section-header a{
    color:#b30000;
    text-decoration:none;
    font-weight:600;
}

.kp-category-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:20px;
}

.kp-category-item{
    background:#fff;
    border:1px solid #ececec;
    border-radius:8px;
    overflow:hidden;
    transition:.3s;
}

.kp-category-item:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.kp-category-item img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.kp-category-item.featured img{
    height:420px;
}

.kp-category-item h3{
    margin:0;
    padding:15px;
    font-size:20px;
    line-height:1.5;
    color:#222;
}

.kp-category-item a{
    text-decoration:none;
}

@media(max-width:991px){

    .kp-category-grid{
        grid-template-columns:1fr 1fr;
    }

    .kp-category-item.featured{
        grid-column:1 / -1;
    }

    .kp-category-item.featured img{
        height:320px;
    }

}

@media(max-width:768px){

    .kp-category-grid{
        grid-template-columns:1fr;
    }

    .kp-section-header{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .kp-category-item.featured img{
        height:240px;
    }

    .kp-category-item h3{
        font-size:18px;
    }

}
/* Breaking News */

.kp-breaking-news{

	display:flex;

	align-items:center;

	margin:25px 0;

	background:#fff;

	border:1px solid #ddd;

}

.kp-breaking-label{

	background:#b30000;

	color:#fff;

	padding:14px 22px;

	font-weight:700;

	text-transform:uppercase;

}

.kp-breaking-ticker{

	flex:1;

	padding:0 15px;

}

.kp-breaking-ticker a{

	color:#222;

	text-decoration:none;

	font-weight:600;

}

.kp-breaking-ticker a:hover{

	color:#b30000;

}
/* Trending */

.kp-trending{
	margin:50px 0;
}

.kp-trending-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:20px;
}

.kp-trending-item{
	border:1px solid #ececec;
	border-radius:8px;
	overflow:hidden;
	background:#fff;
	transition:.3s;
}

.kp-trending-item:hover{
	transform:translateY(-4px);
	box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.kp-trending-item img{
	width:100%;
	height:200px;
	object-fit:cover;
}

.kp-trending-item h3{
	padding:15px;
	margin:0;
	font-size:18px;
	line-height:1.5;
}

.kp-trending-item a{
	text-decoration:none;
	color:#222;
}

@media(max-width:991px){
	.kp-trending-grid{
		grid-template-columns:repeat(2,1fr);
	}
}

@media(max-width:768px){
	.kp-trending-grid{
		grid-template-columns:1fr;
	}
}
/* Editor Picks */

.kp-editor-picks{
	margin:50px 0;
}

.kp-editor-grid{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:20px;
}

.kp-editor-item{
	background:#fff;
	border:1px solid #ececec;
	border-radius:8px;
	overflow:hidden;
	transition:.3s;
}

.kp-editor-item:hover{
	transform:translateY(-4px);
	box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.kp-editor-thumb img{
	width:100%;
	height:220px;
	object-fit:cover;
}

.kp-editor-item h3{
	padding:15px;
	margin:0;
	font-size:18px;
	line-height:1.5;
}

.kp-editor-item a{
	text-decoration:none;
	color:#222;
}

@media(max-width:991px){

	.kp-editor-grid{
		grid-template-columns:repeat(2,1fr);
	}

}

@media(max-width:768px){

	.kp-editor-grid{
		grid-template-columns:1fr;
	}

}
/* Photo Gallery */

.kp-photo-gallery{
	margin:50px 0;
}

.kp-gallery-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:20px;
}

.kp-gallery-item{
	background:#fff;
	border:1px solid #ececec;
	border-radius:8px;
	overflow:hidden;
	transition:.3s;
}

.kp-gallery-item:hover{
	transform:translateY(-4px);
	box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.kp-gallery-item img{
	width:100%;
	height:220px;
	object-fit:cover;
}

.kp-gallery-item h3{
	padding:15px;
	margin:0;
	font-size:18px;
	line-height:1.5;
}

.kp-gallery-item a{
	text-decoration:none;
	color:#222;
}

@media(max-width:991px){
	.kp-gallery-grid{
		grid-template-columns:repeat(2,1fr);
	}
}

@media(max-width:768px){
	.kp-gallery-grid{
		grid-template-columns:1fr;
	}
}
/* ==========================================
   Video Gallery
========================================== */

.kp-video-gallery{
    margin:50px 0;
}

.kp-video-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.kp-video-item{
    background:#fff;
    border:1px solid #ececec;
    border-radius:8px;
    overflow:hidden;
    transition:.3s;
}

.kp-video-item:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.kp-video-thumb{
    position:relative;
}

.kp-video-thumb img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.kp-play-icon{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:60px;
    height:60px;
    border-radius:50%;
    background:rgba(179,0,0,.9);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.kp-video-item h3{
    padding:15px;
    margin:0;
    font-size:18px;
    line-height:1.5;
}

.kp-video-item a{
    text-decoration:none;
    color:#222;
}

@media(max-width:991px){

    .kp-video-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .kp-video-grid{
        grid-template-columns:1fr;
    }

}
/* ==========================================
   Lead News Premium
========================================== */

.kp-lead-news{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    margin:40px 0;
}

.kp-lead-featured{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.kp-lead-featured img{
    width:100%;
    height:420px;
    object-fit:cover;
}

.kp-lead-content{
    padding:20px;
}

.kp-category{
    display:inline-block;
    background:#b30000;
    color:#fff;
    padding:4px 10px;
    border-radius:4px;
    font-size:13px;
    margin-bottom:10px;
}

.kp-lead-content h2{
    margin:10px 0;
    font-size:34px;
    line-height:1.4;
}

.kp-lead-content h2 a{
    color:#222;
    text-decoration:none;
}

.kp-lead-content h2 a:hover{
    color:#b30000;
}

.kp-lead-content p{
    color:#666;
    line-height:1.8;
}

.kp-lead-sidebar{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.kp-lead-small{
    display:flex;
    gap:15px;
    background:#fff;
    padding:12px;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}

.kp-lead-small img{
    width:110px;
    height:80px;
    object-fit:cover;
    border-radius:6px;
}

.kp-lead-small h4{
    margin:0 0 8px;
    font-size:17px;
    line-height:1.4;
}

.kp-lead-small h4 a{
    text-decoration:none;
    color:#222;
}

.kp-lead-small h4 a:hover{
    color:#b30000;
}

.kp-lead-small span{
    color:#888;
    font-size:13px;
}

@media (max-width:991px){

    .kp-lead-news{
        grid-template-columns:1fr;
    }

}

@media (max-width:768px){

    .kp-lead-featured img{
        height:240px;
    }

    .kp-lead-content h2{
        font-size:24px;
    }

    .kp-lead-small img{
        width:90px;
        height:70px;
    }

}