/* ==========================================================================
   BLOG — Rocket Products
   ========================================================================== */


/* --- BLOG HEADER ----------------------------------------------------------- */

.blog-header {
    background: #fff;
    padding: 120px 0 50px;
    border-bottom: 1px solid #e8e8e8;
}

.blog-title {
    font-family: 'Rainer', sans-serif;
    font-size: 71px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 16px;
    letter-spacing: 2px;
}

.blog-subtitle {
    font-size: 18px;
    color: #555;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.65;
}


/* --- CATEGORY FILTER ------------------------------------------------------- */

.blog-filter {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.blog-filter li {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 1px solid #111;
    color: #111;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.blog-filter li:hover,
.blog-filter li.active {
    background: #111;
    color: #fff;
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 36px;
    }

    .blog-filter {
        display: none;
    }

    .blog-header {
        padding: 120px 0 8px;
    }
}


/* --- BLOG ARCHIVE ---------------------------------------------------------- */

.blog-archive {
    background: #fff;
    padding: 40px 0 100px;
}

.blog-archive .row {
    margin-top: -26px;
}

.blog-col {
    display: flex;
    margin-top: 26px;
}

.blog-card {
    background: #fff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.25s ease;
    cursor: pointer;
}

.blog-card:hover {
    background-color: #f4f4f4;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 560 / 202;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 12px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-title {
    font-family: 'Neue', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
    margin: 0 0 16px;
}

.blog-card-date {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin: 0 0 24px;
}

.blog-card-excerpt {
    font-size: 16px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

.no-posts {
    color: #888;
    font-size: 16px;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .blog-card-title {
        font-size: 20px;
    }

    .blog-col {
        margin-top: 16px;
    }
}


/* --- SINGLE POST: hero ----------------------------------------------------- */

.post-hero-wrap {
    padding: 0 60px;
    max-width: 1600px;
    margin: 140px auto 0;
}

.post-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.post-back-btn {
    position: absolute;
    left: 44px;
    top: 36px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #111;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 120ms ease;
}

.post-back-btn:hover {
    background: #f0f0f0;
    color: #111;
    text-decoration: none;
}

.post-hero-text {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 80px;
}

.post-hero-text .post-title {
    color: #fff;
    font-family: 'Neue', sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 16px;
}

.post-hero-text .post-meta {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    opacity: 0.85;
}

@media (max-width: 991px) {
    .post-hero-wrap {
        padding: 0;
        margin-top: 80px;
    }

    .post-content {
        padding: 0 0 40px;
        margin-top: -18px;
    }

    .post-body h2 {
        font-size: 28px !important;
        font-weight: 700 !important;
    }

    .post-back-btn {
        left: 16px;
        top: 16px;
    }

    .post-hero-text {
        padding: 0 24px;
        max-width: 100%;
    }

    .post-hero-text .post-title {
        font-size: 28px;
    }
}


/* --- SINGLE POST: content area --------------------------------------------- */

.post-content {
    background: #fff;
    padding: 20px 0 60px;
}

.post-body {
    font-size: 19px;
    line-height: 1.85;
    color: #1a1a1a;
}

.post-body p {
    margin-bottom: 30px;
}

.post-body h2 {
    font-size: 34px;
    font-weight: 500;
    margin: 60px 0 24px;
    line-height: 1.2;
}

.post-body h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 45px 0 18px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    margin: 40px 0 -10px;
    display: block;
}

.post-body ul {
    list-style: disc !important;
    padding-left: 24px;
    margin-bottom: 30px;
}

.post-body ol {
    list-style: decimal !important;
    padding-left: 24px;
    margin-bottom: 30px;
}

.post-body li {
    display: list-item !important;
    margin-bottom: 10px;
}

.post-body blockquote {
    border-left: 4px solid #000;
    padding: 4px 0 4px 28px;
    margin: 45px 0;
    font-size: 22px;
    font-style: italic;
    color: #444;
}

.post-body em,
.post-body i {
    font-size: 80%;
    font-style: italic;
    display: block;
    margin-top: -20px;
}


/* --- SINGLE POST: prev / next nav ------------------------------------------ */

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.post-nav a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 120ms ease;
}

.post-nav a:hover {
    background: #f4f4f4;
    color: #111;
    text-decoration: none;
}

@media (max-width: 768px) {
    .post-nav {
        flex-direction: column;
        gap: 12px;
    }

    .post-nav a {
        justify-content: center;
    }
}

.post-nav .title::before,
.post-nav .title::after {
    display: none;
}

.contact .title::before,
.contact .title::after {
    display: none;
}

/* --- PAGINATION ------------------------------------------------------------ */

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 80px;
}

.pag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    display: block;
    cursor: pointer;
    transition: background 120ms ease;
    padding: 0;
    border: none;
}

.pag-dot.active {
    background: #111;
}

.pag-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #111;
    cursor: pointer;
    margin: 0 12px;
    transition: background 120ms ease;
}

.pag-arrow:hover {
    background: #f4f4f4;
}

.pag-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}