 /* =========================================================
   ANAMIKA LOGISTICS
   BLOG PAGE CSS
   BLUE + RED THEME
   ========================================================= */


/* =========================================================
   ROOT COLORS
   ========================================================= */

:root {

    --anamika-navy: #062B49;

    --anamika-dark-blue: #073B5C;

    --anamika-blue: #0B5C8E;

    --anamika-light-blue: #EAF5FB;

    --anamika-red: #E31E24;

    --anamika-dark-red: #C9161C;

    --anamika-white: #FFFFFF;

    --anamika-bg: #F7F9FB;

    --anamika-border: #E1E7EC;

    --anamika-text: #1C3448;

    --anamika-muted: #6D7B86;

    --anamika-shadow:
        0 10px 30px rgba(6, 43, 73, 0.10);

}



/* =========================================================
   BLOG HERO
   WORKING STAFF / WAREHOUSE IMAGE
   ========================================================= */

.blog-hero {
    position: relative;
    width: 100%;
    min-height: 615px;
    margin-top: 80px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(5, 42, 72, 0.92) 0%,
            rgba(5, 42, 72, 0.80) 18%,
            rgba(5, 42, 72, 0.55) 38%,
            rgba(5, 42, 72, 0.25) 62%,
            rgba(5, 42, 72, 0.05) 100%
        ),
        url("../image/our_blog.jpg");

    background-size: cover;
    background-repeat: no-repeat;

    /* Staff working area visible */
    background-position: center 40%;
}



/* =========================================================
   HERO CONTENT
   ========================================================= */

.blog-hero-content {
    position: relative;
    z-index: 5;

    width: min(1400px, 92%);
    max-width: 1400px;

    margin: 0 auto;

    padding: 85px 0 80px;

    color: #ffffff;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;

    font-size: 13px;

    color: rgba(255,255,255,0.88);
}

.blog-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    color: #ff555a;
}

.blog-breadcrumb i {
    font-size: 9px;
    color: #e31e24;
}


/* =========================================================
   HEADING
   ========================================================= */

.blog-hero h1 {
    max-width: 650px;

    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(44px, 5vw, 62px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -1px;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.blog-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,0.95);

    font-size: 20px;

    line-height: 1.8;
}


/* =========================================================
   RED LINE
   ========================================================= */

.blog-hero-content::after {
    content: "";

    display: block;

    width: 58px;
    height: 4px;

    margin-top: 26px;

    border-radius: 20px;

    background: #e31e24;
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .blog-hero {
        min-height: 520px;

        background-position: center 32%;
    }

    .blog-hero-content {
        padding: 75px 0;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .blog-hero {
        min-height: 480px;

        background-image:
            linear-gradient(
                90deg,
                rgba(5,42,72,0.94) 0%,
                rgba(5,42,72,0.72) 55%,
                rgba(5,42,72,0.30) 100%
            ),
            url("../image/our_blog.jpg");

        background-size: cover;

        /* Working people visible */
        background-position: center 32%;
    }

    .blog-hero-content {
        width: 90%;
        padding: 70px 0;
    }

    .blog-hero h1 {
        font-size: 48px;
    }

    .blog-hero p {
        max-width: 600px;
        font-size: 15px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .blog-hero {
        min-height: 430px;

        background-image:
            linear-gradient(
                90deg,
                rgba(5,42,72,0.94),
                rgba(5,42,72,0.70)
            ),
            url("../image/our_blog.jpg");

        background-size: cover;

        background-position: center 32%;
    }

    .blog-hero-content {
        width: 90%;
        padding: 65px 0;
    }

    .blog-breadcrumb {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .blog-hero h1 {
        margin-bottom: 14px;
        font-size: 40px;
    }

    .blog-hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .blog-hero-content::after {
        width: 50px;
        height: 3px;
        margin-top: 22px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .blog-hero {
        min-height: 400px;

        background-position: center 32%;
    }

    .blog-hero h1 {
        font-size: 34px;
    }

    .blog-hero p {
        font-size: 13px;
    }
}

/* =========================================================
   FILTER BAR
   ========================================================= */

.blog-filter {

    position: relative;

    z-index: 10;

    background: var(--anamika-white);

    border-bottom:
        1px solid
        var(--anamika-border);

    box-shadow:
        0 3px 15px
        rgba(6, 43, 73, 0.05);

}



/* Filter container */

.blog-filter-inner {

    width: min(1400px, 92%);

    min-height: 78px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}



/* =========================================================
   CATEGORY BUTTONS
   ========================================================= */

.blog-categories {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

}



/* Normal button */

.blog-category-btn {

    border:
        1px solid
        #DCE5EB;

    background: #F8FAFC;

    color: var(--anamika-navy);

    padding:
        10px
        16px;

    border-radius: 4px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition:
        all 0.25s ease;

}



/* Hover */

.blog-category-btn:hover {

    color: var(--anamika-red);

    border-color:
        rgba(227, 30, 36, 0.35);

    background:
        #FFF6F6;

}



/* Active */

.blog-category-btn.active {

    color: #FFFFFF;

    background:
        var(--anamika-red);

    border-color:
        var(--anamika-red);

    box-shadow:
        0 4px 12px
        rgba(227, 30, 36, 0.20);

}



/* =========================================================
   SEARCH
   ========================================================= */

.blog-search {

    width: 260px;

    min-width: 260px;

    height: 43px;

    display: flex;

    align-items: center;

    background: #FFFFFF;

    border:
        1px solid
        #DCE5EB;

    border-radius: 4px;

    overflow: hidden;

    transition: 0.25s ease;

}


.blog-search:focus-within {

    border-color:
        var(--anamika-blue);

    box-shadow:
        0 0 0 3px
        rgba(11, 92, 142, 0.08);

}


.blog-search input {

    flex: 1;

    width: 100%;

    height: 100%;

    padding:
        0
        14px;

    border: none;

    outline: none;

    background: transparent;

    color: var(--anamika-text);

    font-family: inherit;

    font-size: 13px;

}


.blog-search input::placeholder {

    color: #9AA6AF;

}


.blog-search button {

    width: 45px;

    height: 100%;

    border: none;

    background: transparent;

    color: var(--anamika-navy);

    cursor: pointer;

    transition: 0.25s ease;

}


.blog-search button:hover {

    color: var(--anamika-red);

}



/* =========================================================
   MAIN BLOG AREA
   ========================================================= */

.blog-main {

    padding:
        55px
        0
        70px;

    background:
        var(--anamika-bg);

}


.blog-main > .container {

    width: min(1400px, 92%);

    margin: auto;

}



/* =========================================================
   BLOG GRID
   4 CARDS PER ROW
   ========================================================= */

.blog-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 24px;

    align-items: stretch;

}



/* =========================================================
   BLOG CARD
   ========================================================= */

.blog-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;

    background:
        var(--anamika-white);

    border:
        1px solid
        var(--anamika-border);

    border-radius: 7px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}



/* Card hover */

.blog-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(11, 92, 142, 0.18);

    box-shadow:
        0 15px 35px
        rgba(6, 43, 73, 0.12);

}



/* =========================================================
   CARD IMAGE
   ========================================================= */

.blog-card-image {

    position: relative;

    width: 100%;

    height: 195px;

    overflow: hidden;

    background:
        #E9F0F4;

}


.blog-card-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.45s ease;

}


.blog-card:hover
.blog-card-image img {

    transform:
        scale(1.06);

}



/* Image overlay */

.blog-card-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(6, 43, 73, 0.20)
        );

    pointer-events: none;

}



/* =========================================================
   RED CATEGORY TAG
   ========================================================= */

.blog-card-tag {

    position: absolute;

    z-index: 2;

    top: 13px;

    left: 13px;

    display: inline-flex;

    align-items: center;

    padding:
        6px
        10px;

    color:
        #FFFFFF;

    background:
        var(--anamika-red);

    border-radius: 3px;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.2;

    box-shadow:
        0 3px 9px
        rgba(0, 0, 0, 0.12);

}



/* =========================================================
   CARD CONTENT
   ========================================================= */

.blog-card-body {

    flex: 1;

    display: flex;

    flex-direction: column;

    padding:
        19px
        18px
        20px;

}


.blog-card-date {

    margin-bottom: 9px;

    color:
        #8B969E;

    font-size: 11px;

    font-weight: 500;

}



/* Card title */

.blog-card h2 {

    margin:
        0
        0
        11px;

    color:
        var(--anamika-navy);

    font-size: 17px;

    font-weight: 700;

    line-height: 1.40;

    letter-spacing:
        -0.15px;

    transition:
        color 0.2s ease;

}


.blog-card:hover h2 {

    color:
        var(--anamika-blue);

}



/* Card description */

.blog-card p {

    margin:
        0
        0
        18px;

    color:
        var(--anamika-muted);

    font-size: 13px;

    line-height: 1.62;

}



/* =========================================================
   READ MORE
   ========================================================= */

.blog-read-more {

    margin-top: auto;

    display: inline-flex;

    align-items: center;

    width: fit-content;

    color:
        var(--anamika-blue);

    text-decoration: none;

    font-size: 12.5px;

    font-weight: 700;

    transition:
        color 0.25s ease;

}


.blog-read-more i {

    margin-left: 7px;

    font-size: 10px;

    color:
        var(--anamika-red);

    transition:
        transform 0.25s ease;

}


.blog-read-more:hover {

    color:
        var(--anamika-red);

}


.blog-read-more:hover i {

    transform:
        translateX(5px);

}



/* =========================================================
   RED TOP LINE ON HOVER
   ========================================================= */

.blog-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 0;

    height: 3px;

    background:
        var(--anamika-red);

    z-index: 5;

    transition:
        width 0.3s ease;

}


.blog-card:hover::before {

    width: 100%;

}



/* =========================================================
   NO RESULTS
   ========================================================= */

.blog-no-results {

    display: none;

    grid-column:
        1 / -1;

    padding:
        60px
        20px;

    text-align: center;

    background:
        #FFFFFF;

    border:
        1px dashed
        #D5E0E7;

    border-radius: 7px;

    color:
        var(--anamika-muted);

    font-size: 14px;

}



/* =========================================================
   PAGINATION
   ========================================================= */

.blog-pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    margin-top: 45px;

}


.blog-pagination a,
.blog-pagination span {

    width: 38px;

    height: 38px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color:
        var(--anamika-navy);

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    border-radius: 4px;

    transition:
        all 0.25s ease;

}


.blog-pagination a:hover {

    color:
        var(--anamika-red);

    background:
        #FFF1F1;

}


.blog-pagination a.active {

    color:
        #FFFFFF;

    background:
        var(--anamika-red);

    box-shadow:
        0 4px 12px
        rgba(227, 30, 36, 0.20);

}


.blog-pagination span {

    color:
        #8C979E;

}


.blog-pagination a.next {

    width: auto;

    padding:
        0
        14px;

    gap: 7px;

}



/* =========================================================
   SIDEBAR / EXTRA CONTENT
   ========================================================= */

.blog-sidebar {

    display: grid;

    grid-template-columns:
        1.2fr
        1fr
        1.2fr;

    gap: 24px;

    margin-top: 55px;

}



/* Sidebar box */

.blog-sidebar-box {

    padding:
        23px;

    background:
        #FFFFFF;

    border:
        1px solid
        var(--anamika-border);

    border-radius: 7px;

    transition:
        box-shadow 0.25s ease;

}


.blog-sidebar-box:hover {

    box-shadow:
        0 10px 25px
        rgba(6, 43, 73, 0.07);

}


.blog-sidebar-box h3 {

    position: relative;

    margin:
        0
        0
        18px;

    padding-bottom: 11px;

    color:
        var(--anamika-navy);

    font-size: 18px;

    font-weight: 700;

}



/* Red line under heading */

.blog-sidebar-box h3::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 35px;

    height: 3px;

    background:
        var(--anamika-red);

}



/* =========================================================
   POPULAR POSTS
   ========================================================= */

.popular-post {

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        11px
        0;

    border-bottom:
        1px solid
        #EDF1F4;

    text-decoration: none;

}


.popular-post:first-of-type {

    padding-top: 0;

}


.popular-post:last-child {

    padding-bottom: 0;

    border-bottom: none;

}


.popular-post img {

    width: 82px;

    height: 62px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 4px;

}


.popular-post h4 {

    margin:
        0
        0
        5px;

    color:
        var(--anamika-navy);

    font-size: 12.5px;

    line-height: 1.4;

    transition:
        color 0.2s ease;

}


.popular-post:hover h4 {

    color:
        var(--anamika-red);

}


.popular-post span {

    color:
        #8A969E;

    font-size: 10.5px;

}



/* =========================================================
   SIDEBAR CATEGORIES
   ========================================================= */

.blog-sidebar-categories {

    list-style: none;

    padding: 0;

    margin: 0;

}


.blog-sidebar-categories li {

    border-bottom:
        1px solid
        #EDF1F4;

}


.blog-sidebar-categories li:last-child {

    border-bottom: none;

}


.blog-sidebar-categories a {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding:
        12px
        0;

    color:
        var(--anamika-navy);

    text-decoration: none;

    font-size: 13px;

    font-weight: 500;

    transition:
        all 0.2s ease;

}


.blog-sidebar-categories a:hover {

    padding-left: 4px;

    color:
        var(--anamika-red);

}


.blog-sidebar-categories small {

    color:
        #8A969E;

}



/* =========================================================
   CTA
   ========================================================= */

.blog-sidebar-box.blog-cta {

    position: relative;

    overflow: hidden;

    padding:
        38px;

    border: none;

    background:

        linear-gradient(
            135deg,
            var(--anamika-navy),
            var(--anamika-dark-blue)
        );

}


.blog-sidebar-box.blog-cta::after {

    content: "";

    position: absolute;

    right: -45px;

    bottom: -55px;

    width: 150px;

    height: 150px;

    border-radius: 50%;

    background:
        rgba(227, 30, 36, 0.25);

}


.blog-cta h3 {

    position: relative;

    z-index: 2;

    margin:
        0
        0
        13px;

    padding: 0;

    color:
        #FFFFFF;

    font-size: 21px;

    line-height: 1.35;

}


.blog-cta h3::after {

    display: none;

}


.blog-cta p {

    position: relative;

    z-index: 2;

    margin:
        0
        0
        20px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 13px;

    line-height: 1.65;

}


.blog-cta a {

    position: relative;

    z-index: 3;

    display: inline-flex;

    align-items: center;

    padding:
        11px
        19px;

    color:
        #FFFFFF;

    background:
        var(--anamika-red);

    border-radius: 4px;

    text-decoration: none;

    font-size: 12.5px;

    font-weight: 700;

    transition:
        all 0.25s ease;

}


.blog-cta a:hover {

    background:
        #FFFFFF;

    color:
        var(--anamika-red);

    transform:
        translateY(-2px);

}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .blog-grid {

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

    }


    .blog-filter-inner {

        flex-direction: column;

        align-items: stretch;

        padding:
            15px
            0;

    }


    .blog-search {

        width: 100%;

    }

}



/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 900px) {

    .blog-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }


    .blog-sidebar {

        grid-template-columns:
            1fr
            1fr;

    }


    .blog-sidebar-box.blog-cta {

        grid-column:
            1 / -1;

    }


    .blog-hero {

        min-height: 310px;

    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .blog-main {

        padding:
            38px
            0
            50px;

    }


    .blog-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }


    .blog-card-image {

        height: 220px;

    }


    .blog-sidebar {

        grid-template-columns: 1fr;

    }


    .blog-sidebar-box.blog-cta {

        grid-column: auto;

    }


    .blog-hero {

        min-height: 280px;

    }


    .blog-hero-content {

        padding:
            50px
            0;

    }


    .blog-hero h1 {

        font-size: 40px;

    }


    .blog-hero p {

        font-size: 14px;

        line-height: 1.65;

    }


    .blog-filter-inner {

        width: 92%;

    }


    .blog-categories {

        gap: 7px;

    }


    .blog-category-btn {

        padding:
            9px
            11px;

        font-size: 11px;

    }


    .blog-search {

        min-width: 0;

        height: 43px;

    }

}



/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .blog-hero h1 {

        font-size: 34px;

    }


    .blog-card-image {

        height: 200px;

    }


    .blog-pagination a,
    .blog-pagination span {

        width: 34px;

        height: 34px;

        font-size: 12px;

    }

}

/* ==================================================
   GET A QUOTE BUTTON - HEADER FIX
================================================== */

.desktop-btn {
    margin-left: 18px;
    flex-shrink: 0;
}

.nav-btn {
    min-width: 164px;
    width: 164px;
    height: 54px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    white-space: nowrap;
    word-break: keep-all;

    border-radius: 8px;

    background: #D62828;
    color: #fff;

    font-size: 16px;
    font-weight: 600;

    line-height: 1;
    transition: all .35s ease;
}

.nav-btn:hover {
    background: #0B2E59;
    color: #fff;
    transform: translateY(-2px);
}


/* ==================================================
   HEADER NAV - BLOG PAGE
================================================== */

.nav-container {
    width: 96%;
    max-width: 1400px;
}

.nav-list {
    gap: 25px;
}

.nav-list li a {
    white-space: nowrap;
}


/* ==================================================
   LARGE LAPTOP
================================================== */

@media (max-width: 1200px) {

    .nav-list {
        gap: 18px;
    }

    .nav-list li a {
        font-size: 15px;
    }

    .nav-btn {
        min-width: 150px;
        width: 150px;
        padding: 0 18px;
        font-size: 15px;
    }

}


/* ==================================================
   TABLET / MOBILE
================================================== */

@media (max-width: 992px) {

    .desktop-btn {
        display: none;
    }

}
