/* ============================================================
   Blog Archive — cleaning-services.cz / Kadence Child
   Lifeon template style
   ============================================================ */

/* ── Page Header ── */
.page-header{
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 120px 0 60px;
  overflow: hidden;
  background-image: url("../images/inner_bg_4.jpg");
  background-color: var(--accent-color);
}

.page-header:before{
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(270deg, transparent 26.4%, rgba(39, 69, 67, 0.85) 62.54%);
	height: 100%;
	width: 100%;
	z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header-box {
    text-align: center;
}

.page-header-box h1 {
    font-family: 'Mona Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.page-header-box .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.page-header-box .breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.80);
}

.page-header-box .breadcrumb li a {
    color: rgba(255, 255, 255, 0.80);
    text-decoration: none;
    transition: color 0.25s;
}

.page-header-box .breadcrumb li a:hover {
    color: #ffffff;
}

.page-header-box .breadcrumb li i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.60);
}

/* ── Blog Section ── */
.blog-section {
    padding: 100px 0 80px;
    background-color: #ffffff;
}

/* ── Blog Post Card ── */
.blog-post {
    margin-bottom: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.13);
}

/* Post Image */
.blog-post .post-image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-post .post-image figure {
    margin: 0;
    height: 100%;
}

.blog-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

/* Post Content */
.blog-post .post-item-content {
    padding: 28px 28px 32px;
}

/* Category badge */
.blog-post .post-category {
    margin-bottom: 12px;
}

.blog-post .post-category a {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #274543;
    background: rgba(39, 69, 67, 0.10);
    padding: 4px 12px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.blog-post .post-category a:hover {
    background: #274543;
    color: #ffffff;
}

/* Title */
.blog-post .post-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 14px;
    min-height: 70px;
}

.blog-post .post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.25s;
}

.blog-post .post-title a:hover {
    color: #274543;
}

/* Meta */
.blog-post .post-meta {
    margin-bottom: 14px;
}

.blog-post .post-meta ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.blog-post .post-meta ul li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #888;
}

.blog-post .post-meta ul li i {
    font-size: 12px;
    color: #274543;
}

/* Excerpt */
.blog-post .post-excerpt p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    color: #555;
    margin: 0 0 20px;
    min-height: 140px;
}

/* Read More */
.blog-post .post-read-more .btn-default {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border: 1.5px solid #274543;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    width: 140px;
}

.blog-post .post-read-more .btn-default img {
    width: 14px;
    height: 14px;
    transition: transform 0.25s;
}

.blog-post .post-read-more .btn-default:hover {
    background: #274543;
    color: #ffffff;
    border-color: #274543;
}

.blog-post .post-read-more .btn-default:hover img {
    filter: brightness(0) invert(1);
    transform: translateX(3px);
}

/* ── Pagination ── */
.blog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #274543;
    border: 1.5px solid rgba(39, 69, 67, 0.25);
    text-decoration: none;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.blog-pagination .page-numbers li a:hover,
.blog-pagination .page-numbers li span.current {
    background: #274543;
    color: #ffffff;
    border-color: #274543;
}

/* ── No Posts ── */
.no-posts-found {
    text-align: center;
    padding: 60px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: #888;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .blog-section {
        padding: 70px 0 50px;
    }

    .page-header {
        padding: 120px 0 60px;
    }
}

@media (max-width: 767px) {
    .blog-section {
        padding: 50px 0 30px;
    }

    .page-header {
        padding: 100px 0 50px;
    }

    .blog-post .post-item-content {
        padding: 20px 20px 24px;
    }
}
