/* =========================================================
   KIMU TRANSPORT BLOG
========================================================= */

:root {
    --blog-primary: #22c55e;
    --blog-primary-dark: #16a34a;
    --blog-primary-soft: #dcfce7;

    --blog-dark: #07111f;
    --blog-dark-light: #111c2d;

    --blog-title: #111827;
    --blog-text: #475569;
    --blog-muted: #64748b;

    --blog-border: #e5e7eb;
    --blog-background: #f8fafc;
    --blog-white: #ffffff;

    --blog-shadow:
        0 16px 40px rgba(15, 23, 42, 0.08);

    --blog-shadow-hover:
        0 24px 60px rgba(15, 23, 42, 0.15);
}


/* =========================================================
   PAGE RESET
========================================================= */

.blog-page,
.blog-page * {
    box-sizing: border-box;
}

.blog-page {
    width: 100%;
    overflow: hidden;
    background: var(--blog-background);
    color: var(--blog-text);
}

.blog-page img {
    display: block;
    max-width: 100%;
}

.blog-page a {
    text-decoration: none;
}

.blog-page button,
.blog-page input {
    font: inherit;
}


/* =========================================================
   BLOG HERO
========================================================= */

.blog-hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(4, 12, 23, 0.96) 0%,
            rgba(4, 12, 23, 0.85) 48%,
            rgba(4, 12, 23, 0.44) 100%
        ),
        url("../images/hero.jpg")
        center center / cover no-repeat;
}

.blog-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -120px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(34, 197, 94, 0.19);

    filter: blur(20px);
}

.blog-hero::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;

    height: 100px;

    background:
        linear-gradient(
            to top,
            var(--blog-background),
            transparent
        );
}

.blog-hero-container {
    position: relative;
    z-index: 2;
}

.blog-hero-content {
    max-width: 780px;

    padding-top: 150px;
    padding-bottom: 135px;
}

.blog-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;

    color: var(--blog-primary);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.blog-hero-label::before {
    content: "";

    width: 42px;
    height: 2px;

    border-radius: 20px;

    background: var(--blog-primary);
}

.blog-hero-content h1 {
    max-width: 760px;

    margin: 0 0 22px;

    color: var(--blog-white);

    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
}

.blog-hero-content h1 span {
    color: var(--blog-primary);
}

.blog-hero-content > p {
    max-width: 650px;

    margin: 0;

    color: #cbd5e1;

    font-size: 16px;
    line-height: 1.8;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;

    color: #cbd5e1;

    font-size: 13px;
}

.blog-breadcrumb a {
    color: var(--blog-primary);
    font-weight: 700;
}

.blog-breadcrumb i {
    font-size: 9px;
}


/* =========================================================
   CATEGORY SECTION
========================================================= */

.blog-category-section {
    position: relative;
    z-index: 5;

    margin-top: -45px;
}

.blog-category-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 28px 32px;

    border: 1px solid var(--blog-border);
    border-radius: 24px;

    background: var(--blog-white);

    box-shadow: var(--blog-shadow);
}

.blog-category-intro {
    flex: 0 0 auto;
}

.blog-category-intro > span {
    display: block;

    margin-bottom: 5px;

    color: var(--blog-primary-dark);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.blog-category-intro h2 {
    margin: 0;

    color: var(--blog-title);

    font-size: 23px;
    line-height: 1.2;
}

.blog-category-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
}

.blog-category-list a {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 15px;

    border: 1px solid var(--blog-border);
    border-radius: 24px;

    background: var(--blog-white);
    color: var(--blog-text);

    font-size: 11px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.blog-category-list a span {
    min-width: 23px;
    min-height: 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 6px;

    border-radius: 12px;

    background: #f1f5f9;
    color: var(--blog-muted);

    font-size: 9px;
}

.blog-category-list a:hover,
.blog-category-list a.active {
    border-color: var(--blog-primary);
    background: var(--blog-primary);
    color: var(--blog-white);

    transform: translateY(-2px);
}

.blog-category-list a:hover span,
.blog-category-list a.active span {
    background: rgba(255, 255, 255, 0.18);
    color: var(--blog-white);
}


/* =========================================================
   SHARED SECTION HEADINGS
========================================================= */

.blog-featured-section,
.blog-content-section {
    padding-top: 85px;
}

.blog-section-heading,
.blog-results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 32px;
}

.blog-section-label {
    display: block;

    margin-bottom: 7px;

    color: var(--blog-primary-dark);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.blog-section-heading h2,
.blog-results-header h2 {
    margin: 0;

    color: var(--blog-title);

    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
}

.blog-section-heading > p {
    max-width: 430px;

    margin: 0;

    color: var(--blog-muted);

    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   FEATURED POST
========================================================= */

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);

    overflow: hidden;

    border: 1px solid var(--blog-border);
    border-radius: 26px;

    background: var(--blog-white);

    box-shadow: var(--blog-shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-hover);
}

.blog-featured-image {
    position: relative;

    min-height: 480px;

    overflow: hidden;

    background: #dbe3ec;
}

.blog-featured-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(7, 17, 31, 0.34)
        );
}

.blog-featured-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;
}

.blog-featured-card:hover .blog-featured-image img {
    transform: scale(1.05);
}

.blog-featured-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;

    min-height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 16px;

    border-radius: 22px;

    background: var(--blog-primary);
    color: var(--blog-white);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    box-shadow:
        0 10px 25px rgba(34, 197, 94, 0.28);
}

.blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 45px;
}

.blog-post-category {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    margin-bottom: 17px;
    padding: 7px 13px;

    border-radius: 20px;

    background: var(--blog-primary-soft);
    color: var(--blog-primary-dark);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;

    color: var(--blog-muted);

    font-size: 10px;
    font-weight: 600;
}

.blog-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.blog-post-meta i {
    color: var(--blog-primary);
}

.blog-featured-content h2 {
    margin: 19px 0 15px;

    color: var(--blog-title);

    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.25;
}

.blog-featured-content h2 a {
    color: inherit;

    transition: color 0.25s ease;
}

.blog-featured-content h2 a:hover {
    color: var(--blog-primary-dark);
}

.blog-featured-content > p {
    margin: 0 0 26px;

    color: var(--blog-muted);

    font-size: 14px;
    line-height: 1.85;
}

.blog-featured-link {
    width: fit-content;
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    padding: 0 21px;

    border-radius: 25px;

    background: var(--blog-dark);
    color: var(--blog-white);

    font-size: 12px;
    font-weight: 800;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.blog-featured-link:hover {
    background: var(--blog-primary-dark);
    transform: translateY(-2px);
}

.blog-featured-link i {
    transition: transform 0.25s ease;
}

.blog-featured-link:hover i {
    transform: translateX(4px);
}


/* =========================================================
   BLOG LAYOUT
========================================================= */

.blog-content-section {
    padding-bottom: 95px;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.blog-main-column {
    min-width: 0;
}

.blog-result-count {
    flex-shrink: 0;

    padding: 8px 14px;

    border: 1px solid var(--blog-border);
    border-radius: 20px;

    background: var(--blog-white);
    color: var(--blog-muted);

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   BLOG CARD GRID
========================================================= */

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.blog-modern-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--blog-border);
    border-radius: 21px;

    background: var(--blog-white);

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.blog-modern-card:hover {
    border-color: rgba(34, 197, 94, 0.35);

    transform: translateY(-7px);

    box-shadow: var(--blog-shadow-hover);
}

.blog-modern-image {
    position: relative;

    display: block;

    height: 250px;

    overflow: hidden;

    background: #dbe3ec;
}

.blog-modern-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.blog-modern-card:hover .blog-modern-image img {
    transform: scale(1.07);
}

.blog-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(7, 17, 31, 0.55)
        );
}

.blog-card-category {
    position: absolute;
    left: 17px;
    bottom: 17px;
    z-index: 2;

    min-height: 31px;

    display: inline-flex;
    align-items: center;

    padding: 0 13px;

    border-radius: 20px;

    background: var(--blog-primary);
    color: var(--blog-white);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-modern-body {
    padding: 23px;
}

.blog-modern-body h3 {
    margin: 14px 0 11px;

    color: var(--blog-title);

    font-size: 19px;
    line-height: 1.45;
}

.blog-modern-body h3 a {
    color: inherit;

    transition: color 0.25s ease;
}

.blog-modern-body h3 a:hover {
    color: var(--blog-primary-dark);
}

.blog-modern-body > p {
    min-height: 70px;

    margin: 0 0 19px;

    color: var(--blog-muted);

    font-size: 12px;
    line-height: 1.8;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--blog-primary-dark);

    font-size: 11px;
    font-weight: 800;
}

.blog-read-more i {
    transition: transform 0.25s ease;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}


/* =========================================================
   SIDEBAR
========================================================= */

.blog-sidebar {
    position: sticky;
    top: 110px;

    display: grid;
    gap: 22px;
}

.blog-sidebar-card {
    padding: 24px;

    border: 1px solid var(--blog-border);
    border-radius: 19px;

    background: var(--blog-white);

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.055);
}

.blog-sidebar-label {
    display: block;

    margin-bottom: 5px;

    color: var(--blog-primary-dark);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.blog-sidebar-card h3 {
    margin: 0 0 20px;

    color: var(--blog-title);

    font-size: 20px;
}


/* Search */

.blog-search-form {
    position: relative;
}

.blog-search-form input {
    width: 100%;
    min-height: 50px;

    padding: 0 53px 0 16px;

    border: 1px solid var(--blog-border);
    border-radius: 13px;

    outline: none;

    background: #f8fafc;
    color: var(--blog-title);

    font-size: 12px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.blog-search-form input:focus {
    border-color: var(--blog-primary);

    background: var(--blog-white);

    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.1);
}

.blog-search-form button {
    position: absolute;
    top: 5px;
    right: 5px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 10px;

    background: var(--blog-primary);
    color: var(--blog-white);

    cursor: pointer;

    transition: background 0.25s ease;
}

.blog-search-form button:hover {
    background: var(--blog-primary-dark);
}


/* Sidebar categories */

.blog-sidebar-categories {
    display: grid;
}

.blog-sidebar-categories a {
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-bottom: 1px solid #edf2f7;

    color: var(--blog-text);

    font-size: 11px;
    font-weight: 700;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.blog-sidebar-categories a:last-child {
    border-bottom: 0;
}

.blog-sidebar-categories a:hover {
    padding-left: 5px;
    color: var(--blog-primary-dark);
}

.blog-sidebar-categories strong {
    min-width: 25px;
    min-height: 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--blog-primary-soft);
    color: var(--blog-primary-dark);

    font-size: 9px;
}


/* Recent posts */

.blog-recent-list {
    display: grid;
    gap: 16px;
}

.blog-recent-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 13px;
    align-items: center;

    color: var(--blog-title);
}

.blog-recent-item img {
    width: 82px;
    height: 69px;

    border-radius: 11px;

    object-fit: cover;

    transition: transform 0.25s ease;
}

.blog-recent-item:hover img {
    transform: scale(1.04);
}

.blog-recent-item > div {
    min-width: 0;
}

.blog-recent-item strong {
    display: -webkit-box;
    overflow: hidden;

    margin-bottom: 6px;

    font-size: 11px;
    line-height: 1.5;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    transition: color 0.25s ease;
}

.blog-recent-item:hover strong {
    color: var(--blog-primary-dark);
}

.blog-recent-item span {
    color: var(--blog-muted);

    font-size: 9px;
}


/* Sidebar support */

.blog-sidebar-support {
    position: relative;

    overflow: hidden;

    padding: 30px 25px;

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            var(--blog-dark),
            #15243a
        );

    color: var(--blog-white);

    box-shadow:
        0 20px 45px rgba(7, 17, 31, 0.2);
}

.blog-sidebar-support::before {
    content: "";

    position: absolute;
    top: -70px;
    right: -70px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(34, 197, 94, 0.18);
}

.blog-sidebar-support > div {
    position: relative;
    z-index: 2;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 16px;

    background: var(--blog-primary);

    font-size: 21px;
}

.blog-sidebar-support > span {
    position: relative;
    z-index: 2;

    color: var(--blog-primary);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.blog-sidebar-support h3 {
    position: relative;
    z-index: 2;

    margin: 8px 0 12px;

    font-size: 22px;
    line-height: 1.35;
}

.blog-sidebar-support p {
    position: relative;
    z-index: 2;

    margin: 0 0 20px;

    color: #cbd5e1;

    font-size: 11px;
    line-height: 1.75;
}

.blog-sidebar-support button {
    position: relative;
    z-index: 2;

    min-height: 45px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border: 0;
    border-radius: 23px;

    background: var(--blog-primary);
    color: var(--blog-white);

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.blog-sidebar-support button:hover {
    background: var(--blog-primary-dark);
    transform: translateY(-2px);
}


/* =========================================================
   PAGINATION
========================================================= */

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-top: 42px;
    padding-top: 25px;

    border-top: 1px solid var(--blog-border);
}

.blog-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 7px;
}

.blog-pagination a {
    min-width: 41px;
    height: 41px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border: 1px solid var(--blog-border);
    border-radius: 10px;

    background: var(--blog-white);
    color: var(--blog-text);

    font-size: 10px;
    font-weight: 800;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.blog-pagination a:hover,
.blog-pagination a.active {
    border-color: var(--blog-primary);
    background: var(--blog-primary);
    color: var(--blog-white);
}

.blog-pagination-arrow {
    gap: 8px;
    padding: 0 15px !important;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.blog-empty-state {
    padding: 65px 25px;

    border: 1px dashed #cbd5e1;
    border-radius: 22px;

    background: var(--blog-white);

    text-align: center;
}

.blog-empty-state > div {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: var(--blog-primary-soft);
    color: var(--blog-primary-dark);

    font-size: 27px;
}

.blog-empty-state h3 {
    margin: 0 0 8px;

    color: var(--blog-title);

    font-size: 22px;
}

.blog-empty-state p {
    max-width: 480px;

    margin: 0 auto 20px;

    color: var(--blog-muted);

    font-size: 12px;
    line-height: 1.75;
}

.blog-empty-state > a {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 22px;

    background: var(--blog-primary);
    color: var(--blog-white);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.blog-newsletter {
    position: relative;

    overflow: hidden;

    padding: 75px 0;

    background:
        linear-gradient(
            135deg,
            var(--blog-dark),
            #14233a
        );
}

.blog-newsletter::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -110px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: rgba(34, 197, 94, 0.16);
}

.blog-newsletter-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
    align-items: center;
    gap: 55px;
}

.blog-newsletter-inner > div > span {
    display: block;

    margin-bottom: 8px;

    color: var(--blog-primary);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.blog-newsletter-inner h2 {
    max-width: 680px;

    margin: 0 0 12px;

    color: var(--blog-white);

    font-size: clamp(29px, 4vw, 45px);
    line-height: 1.25;
}

.blog-newsletter-inner p {
    max-width: 620px;

    margin: 0;

    color: #cbd5e1;

    font-size: 13px;
    line-height: 1.8;
}

.blog-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;

    padding: 6px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-newsletter-form input {
    min-width: 0;
    min-height: 52px;

    padding: 0 18px;

    border: 0;
    outline: none;

    background: transparent;
    color: var(--blog-white);

    font-size: 12px;
}

.blog-newsletter-form input::placeholder {
    color: #94a3b8;
}

.blog-newsletter-form button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 21px;

    border: 0;
    border-radius: 27px;

    background: var(--blog-primary);
    color: var(--blog-white);

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition: background 0.25s ease;
}

.blog-newsletter-form button:hover {
    background: var(--blog-primary-dark);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .blog-category-wrapper {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-category-list {
        justify-content: flex-start;
    }

    .blog-featured-card {
        grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    }

    .blog-featured-content {
        padding: 35px;
    }

    .blog-layout {
        grid-template-columns: minmax(0, 1fr) 295px;
        gap: 25px;
    }

    .blog-card-grid {
        grid-template-columns: 1fr;
    }

    .blog-modern-image {
        height: 320px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .blog-hero {
        min-height: 500px;
    }

    .blog-hero-content {
        padding-top: 130px;
        padding-bottom: 115px;
    }

    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-image {
        min-height: 420px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-modern-image {
        height: 240px;
    }

    .blog-sidebar {
        position: static;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .blog-sidebar-support {
        grid-column: 1 / -1;
    }

    .blog-newsletter-inner {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .blog-hero {
        min-height: 470px;

        background:
            linear-gradient(
                rgba(4, 12, 23, 0.88),
                rgba(4, 12, 23, 0.9)
            ),
            url("../images/hero.jpg")
            center / cover no-repeat;
    }

    .blog-hero-content {
        padding-top: 125px;
        padding-bottom: 100px;
    }

    .blog-hero-content h1 {
        font-size: 39px;
        letter-spacing: -1.2px;
    }

    .blog-hero-content > p {
        font-size: 14px;
    }

    .blog-category-section {
        margin-top: -32px;
    }

    .blog-category-wrapper {
        padding: 22px 17px;
        border-radius: 19px;
    }

    .blog-category-intro h2 {
        font-size: 21px;
    }

    .blog-category-list {
        width: 100%;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-category-list a {
        width: 100%;
        padding: 0 11px;
    }

    .blog-featured-section,
    .blog-content-section {
        padding-top: 60px;
    }

    .blog-section-heading,
    .blog-results-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .blog-featured-card {
        border-radius: 19px;
    }

    .blog-featured-image {
        min-height: 275px;
    }

    .blog-featured-badge {
        top: 15px;
        left: 15px;
    }

    .blog-featured-content {
        padding: 26px 19px;
    }

    .blog-featured-content h2 {
        font-size: 27px;
    }

    .blog-card-grid {
        grid-template-columns: 1fr;
    }

    .blog-modern-card {
        border-radius: 18px;
    }

    .blog-modern-image {
        height: 240px;
    }

    .blog-modern-body {
        padding: 20px 17px;
    }

    .blog-modern-body > p {
        min-height: auto;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .blog-sidebar-support {
        grid-column: auto;
    }

    .blog-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .blog-pagination-numbers {
        order: -1;
        justify-content: center;
    }

    .blog-pagination-arrow {
        width: 100%;
    }

    .blog-newsletter {
        padding: 60px 0;
    }

    .blog-newsletter-form {
        grid-template-columns: 1fr;

        border-radius: 18px;
    }

    .blog-newsletter-form input {
        width: 100%;
        min-height: 51px;
    }

    .blog-newsletter-form button {
        width: 100%;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .blog-hero-content h1 {
        font-size: 33px;
    }

    .blog-category-list {
        grid-template-columns: 1fr;
    }

    .blog-featured-image {
        min-height: 235px;
    }

    .blog-modern-image {
        height: 215px;
    }

    .blog-recent-item {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .blog-recent-item img {
        width: 70px;
        height: 62px;
    }
}