.blog-page {
    background: #fff;
    color: #071c2c;
}

.blog-page * {
    box-sizing: border-box;
}

.blog-hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blog-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 28, 44, 0.9) 0%, rgba(7, 28, 44, 0.65) 48%, rgba(7, 28, 44, 0.18) 100%);
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-hero-content {
    max-width: 610px;
    padding: 55px 0;
}

.blog-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-hero-content h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
}

.blog-hero-content h1 span {
    color: #e30613;
}

.blog-hero-content p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
}

.blog-breadcrumb {
    padding: 16px 0;
    background: #f6f8fa;
    border-bottom: 1px solid #e7edf1;
}

.blog-breadcrumb .breadcrumb {
    font-size: 15px;
}

.blog-breadcrumb a {
    color: #071c2c;
    text-decoration: none;
}

.blog-breadcrumb .active {
    color: #e30613;
}

.blog-main {
    padding: 55px 0 65px;
}

.blog-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.blog-list-header > div {
    font-size: 18px;
    font-weight: 600;
}

.blog-count {
    color: #e30613;
    font-size: 20px;
    font-weight: 700;
}

.blog-search-form {
    position: relative;
    width: 100%;
    max-width: 310px;
}

.blog-search-form input {
    width: 100%;
    height: 46px;
    padding: 0 52px 0 16px;
    border: 1px solid #d9e1e6;
    border-radius: 8px;
    outline: none;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #071c2c;
    transition: 0.25s ease;
}

.blog-search-form input:focus {
    border-color: #e30613;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08);
}

.blog-search-form button {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 34px;
    height: 34px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #071c2c;
    cursor: pointer;
}

.blog-mobile-search {
    display: none;
    margin-bottom: 25px;
}

.blog-filter-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding: 13px 16px;
    background: #f8fafb;
    border: 1px solid #e4eaee;
    border-radius: 8px;
    font-size: 14px;
}

.blog-filter-info a {
    color: #e30613;
    font-weight: 600;
    text-decoration: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.blog-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8ec;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(7, 28, 44, 0.09);
}

.blog-card-image {
    display: block;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.035);
}

.blog-card-body {
    padding: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.blog-category {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(227, 6, 19, 0.08);
    color: #e30613;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #687884;
    font-size: 14px;
    white-space: nowrap;
}

.blog-card h2 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
}

.blog-card h2 a {
    color: #071c2c;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #e30613;
}

.blog-card p {
    margin: 0 0 18px;
    color: #5b6b76;
    font-size: 15px;
    line-height: 1.7;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e30613;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.blog-read-more span {
    transition: transform 0.2s ease;
}

.blog-read-more:hover span {
    transform: translateX(4px);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.blog-side-box {
    padding: 24px;
    background: #f7fafc;
    border: 1px solid #e2e9ed;
    border-radius: 12px;
}

.blog-side-box h2 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: #071c2c;
}

.blog-categories {
    display: flex;
    flex-direction: column;
}

.blog-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 4px;
    border-bottom: 1px solid #e0e7eb;
    color: #3d4d57;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-categories a:last-child {
    border-bottom: 0;
}

.blog-categories a:hover,
.blog-categories a.active {
    color: #e30613;
}

.blog-categories a.active {
    font-weight: 600;
}

.blog-categories small {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    border-radius: 50px;
    background: #fff;
    color: #687884;
    font-size: 11px;
}

.blog-quote-box {
    padding: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff3f3, #fff);
    border: 1px solid #ffd9dc;
    border-radius: 12px;
}

.blog-quote-box > span {
    display: block;
    margin-bottom: 7px;
    color: #e30613;
    font-size: 16px;
    font-weight: 600;
}

.blog-quote-box h2 {
    margin: 0 0 10px;
    color: #071c2c;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-quote-box p {
    margin: 0 0 20px;
    color: #62717a;
    font-size: 14px;
    line-height: 1.7;
}

.blog-quote-box > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 7px;
    background: #e30613;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.recent-post {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid #e1e8ec;
    text-decoration: none;
}

.recent-post:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.recent-post img {
    width: 75px;
    height: 62px;
    flex: 0 0 75px;
    border-radius: 7px;
    object-fit: cover;
}

.recent-post > span {
    min-width: 0;
}

.recent-post strong {
    display: -webkit-box;
    overflow: hidden;
    color: #071c2c;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recent-post small {
    display: block;
    margin-top: 5px;
    color: #7b8992;
    font-size: 14px;
}

.blog-contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    background: #071c2c;
}

.blog-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #e30613;
    color: #fff;
    font-size: 19px;
}

.blog-contact-box small {
    display: block;
    margin-bottom: 3px;
    color: #a9bac5;
    font-size: 16px;
}

.blog-contact-box a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.blog-empty {
    padding: 55px 25px;
    text-align: center;
    background: #f8fafb;
    border: 1px solid #e1e8ec;
    border-radius: 12px;
}

.blog-empty h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.blog-empty p {
    margin-bottom: 20px;
    color: #687884;
}

.blog-empty a {
    display: inline-flex;
    padding: 11px 20px;
    border-radius: 6px;
    background: #e30613;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.blog-bottom-cta {
    padding: 0 0 60px;
}

.blog-bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 32px 38px;
    overflow: hidden;
    border-radius: 14px;
    background: #071c2c;
}

.blog-bottom-wrap > div > span {
    display: block;
    margin-bottom: 5px;
    color: #e30613;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-bottom-wrap h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.blog-bottom-wrap p {
    margin: 0;
    color: #b8c5cd;
    font-size: 14px;
}

.blog-bottom-wrap > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    min-height: 48px;
    padding: 11px 20px;
    border-radius: 7px;
    background: #e30613;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .blog-hero {
        min-height: 285px;
    }

    .blog-main {
        padding: 45px 0 55px;
    }

    .blog-sidebar {
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recent-posts {
        grid-column: 1 / -1;
    }

    .blog-contact-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .blog-hero {
        min-height: 250px;
    }

    .blog-hero-overlay {
        background: rgba(7, 28, 44, 0.72);
    }

    .blog-hero-content {
        padding: 40px 0;
    }

    .blog-hero-content p {
        font-size: 15px;
    }

    .blog-main {
        padding: 35px 0 45px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-desktop-search {
        display: none;
    }

    .blog-mobile-search {
        display: block;
    }

    .blog-mobile-search .blog-search-form {
        max-width: none;
    }

    .blog-list-header {
        margin-bottom: 20px;
    }

    .blog-sidebar {
        display: flex;
        margin-top: 20px;
    }

    .blog-bottom-wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .blog-bottom-wrap > a {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .blog-hero {
        min-height: 220px;
    }

    .blog-hero-content {
        padding: 32px 0;
    }

    .blog-hero-content h1 {
        font-size: 24px;
    }

    .blog-breadcrumb {
        padding: 13px 0;
    }

    .blog-breadcrumb .breadcrumb {
        font-size: 13px;
    }

    .blog-card-body {
        padding: 17px;
    }

    .blog-card h2 {
        font-size: 18px;
    }

    .blog-card p {
        font-size: 14px;
    }

    .blog-meta {
        align-items: flex-start;
    }

    .blog-side-box,
    .blog-quote-box {
        padding: 20px;
    }

    .blog-bottom-cta {
        padding-bottom: 40px;
    }

    .blog-bottom-wrap {
        padding: 24px 20px;
    }

    .blog-bottom-wrap h2 {
        font-size: 21px;
    }
}