/* ============================================================
   THUNDER-RODE BLOG CATEGORY
   ============================================================ */

.thunder-blog-category-page {
    background: #f5f6f7;
    color: #071a32;
}

.thunder-blog-category-page .thunder-blog-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* ============================================================
   HERO
   ============================================================ */

.thunder-blog-category-hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 26, 50, .96) 0%,
            rgba(7, 26, 50, .88) 48%,
            rgba(7, 26, 50, .58) 100%
        ),
        url("../images/blog-bg.avif");

    background-size: cover;
    background-position: center;
}

.thunder-blog-category-hero-overlay {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.thunder-blog-category-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    padding: 200px 0;
}

.thunder-blog-category-eyebrow {
    display: block;

    margin-bottom: 15px;

    color: #f8a311;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.thunder-blog-category-hero h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(42px, 6vw, 68px);
    font-weight: 600;
    line-height: 1.03;
}

.thunder-blog-category-description {
    max-width: 700px;

    margin-bottom: 25px;

    color: rgba(255, 255, 255, .78);

    font-size: 15px;
    line-height: 1.75;
}

.thunder-blog-category-description p {
    margin: 0 0 10px;
}

.thunder-blog-category-description p:last-child {
    margin-bottom: 0;
}

.thunder-blog-category-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    color: rgba(255, 255, 255, .55);

    font-size: 12px;
}

.thunder-blog-category-breadcrumb a {
    color: #f8a311;

    text-decoration: none;
}

.thunder-blog-category-breadcrumb a:hover {
    color: #ffffff;
}


/* ============================================================
   CONTENT
   ============================================================ */

.thunder-blog-category-content {
    padding: 80px 0;
}

.thunder-blog-category-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 310px;

    align-items: start;

    gap: 45px;
}


/* ============================================================
   HEADING
   ============================================================ */

.thunder-blog-category-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 35px;
}

.thunder-blog-section-label {
    display: block;

    margin-bottom: 10px;

    color: #d88900;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.thunder-blog-category-heading h2 {
    margin: 0;

    color: #071a32;

    font-size: 34px;
    line-height: 1.1;
}

.thunder-blog-post-count {
    flex: 0 0 auto;

    padding: 8px 13px;

    background: #071a32;

    color: #ffffff;

    border-radius: 3px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .8px;
    text-transform: uppercase;
}


/* ============================================================
   POST GRID
   ============================================================ */

.thunder-blog-category-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;
}


/* ============================================================
   CARD
   ============================================================ */

.thunder-blog-category-card {
    position: relative;

    overflow: hidden;

    background: #ffffff;

    border-radius: 6px;

    box-shadow: 0 8px 28px rgba(7, 26, 50, .07);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.thunder-blog-category-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 16px 38px rgba(7, 26, 50, .13);
}


/* ============================================================
   IMAGE
   ============================================================ */

.thunder-blog-category-card-image {
    position: relative;

    height: 245px;

    overflow: hidden;

    background: #071a32;
}

.thunder-blog-category-card-image > a {
    display: block;

    width: 100%;
    height: 100%;
}

.thunder-blog-category-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;
}

.thunder-blog-category-card:hover
.thunder-blog-category-card-image img {
    transform: scale(1.06);
}

.thunder-blog-category-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            rgba(7, 26, 50, .92),
            rgba(7, 26, 50, .92)
        ),
        url("../images/motorcycle-services-bg.jpg");

    background-size: cover;

    color: #f8a311;
}

.thunder-blog-category-no-image span {
    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.thunder-blog-category-no-image strong {
    color: #ffffff;

    font-size: 20px;
}


/* Category badge */

.thunder-blog-category-card-badge {
    position: absolute;

    left: 18px;
    bottom: 18px;

    z-index: 2;
}

.thunder-blog-category-card-badge a {
    display: inline-block;

    padding: 7px 11px;

    background: #f8a311;

    color: #071a32;

    border-radius: 2px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;

    text-decoration: none;
}


/* ============================================================
   CARD CONTENT
   ============================================================ */

.thunder-blog-category-card-content {
    padding: 25px;
}

.thunder-blog-category-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 12px;
}

.thunder-blog-category-card-meta span {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #8a9098;

    font-size: 10px;
}

.thunder-blog-category-card-meta i {
    color: #d88900;
}

.thunder-blog-category-card-content h3 {
    margin: 0 0 13px;

    font-size: 22px;
    line-height: 1.2;
}

.thunder-blog-category-card-content h3 a {
    color: #071a32;

    text-decoration: none;

    transition: color .25s ease;
}

.thunder-blog-category-card-content h3 a:hover {
    color: #d88900;
}

.thunder-blog-category-excerpt {
    margin-bottom: 20px;

    color: #68717b;

    font-size: 13px;
    line-height: 1.7;
}

.thunder-blog-category-read-more {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #071a32;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;

    transition:
        color .25s ease,
        gap .25s ease;
}

.thunder-blog-category-read-more:hover {
    gap: 13px;

    color: #d88900;
}


/* ============================================================
   PAGINATION
   ============================================================ */

.thunder-blog-category-pagination {
    margin-top: 45px;

    text-align: center;
}

.thunder-blog-category-pagination .page-numbers {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.thunder-blog-category-pagination .page-numbers li {
    display: inline-flex;
}

.thunder-blog-category-pagination .page-numbers a,
.thunder-blog-category-pagination .page-numbers span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 12px;

    background: #ffffff;

    color: #071a32;

    border-radius: 3px;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 4px 15px rgba(7, 26, 50, .06);

    transition:
        background .25s ease,
        color .25s ease;
}

.thunder-blog-category-pagination .page-numbers a:hover {
    background: #f8a311;

    color: #071a32;
}

.thunder-blog-category-pagination
.page-numbers .current {
    background: #071a32;

    color: #ffffff;
}

.thunder-blog-category-pagination
.page-numbers .dots {
    background: transparent;

    box-shadow: none;
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.thunder-blog-category-empty {
    padding: 70px 30px;

    background: #ffffff;

    border-radius: 6px;

    text-align: center;

    box-shadow: 0 8px 28px rgba(7, 26, 50, .06);
}

.thunder-blog-category-empty > i {
    display: block;

    margin-bottom: 18px;

    color: #f8a311;

    font-size: 42px;
}

.thunder-blog-category-empty h2 {
    margin: 0 0 10px;

    color: #071a32;

    font-size: 28px;
}

.thunder-blog-category-empty p {
    margin: 0 auto 25px;

    max-width: 500px;

    color: #69727d;

    font-size: 14px;
    line-height: 1.7;
}

.thunder-blog-category-empty a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 13px 20px;

    background: #071a32;

    color: #ffffff;

    border-radius: 3px;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
}

.thunder-blog-category-empty a:hover {
    background: #f8a311;

    color: #071a32;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.thunder-blog-category-sidebar {
    position: sticky;

    top: 30px;
}

.thunder-blog-sidebar-box {
    margin-bottom: 25px;

    padding: 25px;

    background: #ffffff;

    border-radius: 6px;

    box-shadow: 0 9px 30px rgba(7, 26, 50, .07);
}

.thunder-blog-sidebar-box h3 {
    margin: 0 0 18px;

    color: #071a32;

    font-size: 20px;
}


/* Search */

.thunder-blog-sidebar-search {
    display: flex;

    width: 100%;
}

.thunder-blog-sidebar-search input[type="search"] {
    flex: 1;

    min-width: 0;

    height: 43px;

    padding: 0 13px;

    background: #f5f6f7;

    color: #071a32;

    border: 1px solid #e1e4e7;

    border-right: 0;

    border-radius: 3px 0 0 3px;

    outline: none;

    font-size: 12px;
}

.thunder-blog-sidebar-search input[type="search"]:focus {
    border-color: #f8a311;
}

.thunder-blog-sidebar-search button {
    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    border: 0;

    background: #071a32;

    color: #ffffff;

    border-radius: 0 3px 3px 0;

    cursor: pointer;
}

.thunder-blog-sidebar-search button:hover {
    background: #f8a311;

    color: #071a32;
}


/* Categories */

.thunder-blog-sidebar-categories {
    margin: 0;
    padding: 0;

    list-style: none;
}

.thunder-blog-sidebar-categories li {
    border-bottom: 1px solid #e7e9eb;
}

.thunder-blog-sidebar-categories li:last-child {
    border-bottom: 0;
}

.thunder-blog-sidebar-categories a {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 11px 0;

    color: #5e6670;

    font-size: 13px;

    text-decoration: none;

    transition: color .25s ease;
}

.thunder-blog-sidebar-categories a:hover {
    color: #d88900;
}

.thunder-blog-sidebar-categories li.is-current a {
    color: #071a32;

    font-weight: 800;
}

.thunder-blog-sidebar-categories li.is-current strong {
    background: #f8a311;
}

.thunder-blog-sidebar-categories strong {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 23px;

    padding: 0 6px;

    background: #f5f6f7;

    color: #071a32;

    border-radius: 3px;

    font-size: 10px;
}


/* Recent posts */

.thunder-blog-sidebar-post {
    display: flex;

    gap: 12px;

    padding: 13px 0;

    border-bottom: 1px solid #e7e9eb;
}

.thunder-blog-sidebar-post:first-child {
    padding-top: 0;
}

.thunder-blog-sidebar-post:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.thunder-blog-sidebar-post-image {
    flex: 0 0 70px;

    width: 70px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #071a32;

    color: #f8a311;

    border-radius: 3px;

    text-decoration: none;
}

.thunder-blog-sidebar-post-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.thunder-blog-sidebar-post-image span {
    font-size: 12px;
    font-weight: 800;
}

.thunder-blog-sidebar-post-content {
    min-width: 0;
}

.thunder-blog-sidebar-post-content > span {
    display: block;

    margin-bottom: 5px;

    color: #8a9098;

    font-size: 10px;
}

.thunder-blog-sidebar-post-content h4 {
    margin: 0;

    font-size: 13px;
    line-height: 1.35;
}

.thunder-blog-sidebar-post-content h4 a {
    color: #071a32;

    text-decoration: none;
}

.thunder-blog-sidebar-post-content h4 a:hover {
    color: #d88900;
}


/* ============================================================
   SIDEBAR CTA
   ============================================================ */

.thunder-blog-sidebar-cta {
    position: relative;

    overflow: hidden;

    margin-bottom: 25px;

    padding: 32px 25px;

    background-image:
        linear-gradient(
            rgba(7, 26, 50, .91),
            rgba(7, 26, 50, .94)
        ),
        url("../images/motorcycle-services-bg.jpg");

    background-size: cover;
    background-position: center;

    border-radius: 6px;
}

.thunder-blog-sidebar-cta > span {
    display: block;

    margin-bottom: 12px;

    color: #f8a311;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.thunder-blog-sidebar-cta h3 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.15;
}

.thunder-blog-sidebar-cta p {
    margin: 0 0 22px;

    color: rgba(255, 255, 255, .73);

    font-size: 13px;
    line-height: 1.65;
}

.thunder-blog-sidebar-cta a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #f8a311;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
}

.thunder-blog-sidebar-cta a:hover {
    color: #ffffff;
}


/* ============================================================
   BOTTOM CTA
   ============================================================ */

.thunder-blog-category-cta {
    position: relative;

    min-height: 390px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 26, 50, .95),
            rgba(7, 26, 50, .78)
        ),
        url("../images/motorcycle-services-bg.jpg");

    background-size: cover;
    background-position: center;
}

.thunder-blog-category-cta-overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

.thunder-blog-category-cta-content {
    position: relative;
    z-index: 2;

    max-width: 720px;

    padding: 75px 0;
}

.thunder-blog-category-cta h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.04;
}

.thunder-blog-category-cta p {
    max-width: 600px;

    margin: 0 0 28px;

    color: rgba(255, 255, 255, .78);

    font-size: 15px;
    line-height: 1.7;
}

.thunder-blog-category-cta-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 22px;

    background: #f8a311;

    color: #071a32;

    border-radius: 3px;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.thunder-blog-category-cta-button:hover {
    background: #d88900;

    color: #ffffff;

    transform: translateY(-2px);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991px) {

    .thunder-blog-category-layout {
        grid-template-columns: 1fr;
    }

    .thunder-blog-category-sidebar {
        position: static;

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .thunder-blog-sidebar-box,
    .thunder-blog-sidebar-cta {
        margin-bottom: 0;
    }

    .thunder-blog-sidebar-cta {
        grid-column: 1 / -1;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .thunder-blog-category-page .thunder-blog-container {
        width: min(100% - 30px, 1200px);
    }

    .thunder-blog-category-hero {
        min-height: 400px;

        background-position: 60% center;
    }

    .thunder-blog-category-hero-content {
        padding: 70px 0;
    }

    .thunder-blog-category-hero h1 {
        font-size: 42px;
    }

    .thunder-blog-category-content {
        padding: 55px 0;
    }

    .thunder-blog-category-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 28px;
    }

    .thunder-blog-category-heading h2 {
        font-size: 30px;
    }

    .thunder-blog-category-grid {
        grid-template-columns: 1fr;
    }

    .thunder-blog-category-card-image {
        height: 235px;
    }

    .thunder-blog-category-sidebar {
        display: block;
    }

    .thunder-blog-sidebar-box,
    .thunder-blog-sidebar-cta {
        margin-bottom: 20px;
    }

    .thunder-blog-category-cta {
        min-height: 420px;

        background-position: 60% center;
    }

    .thunder-blog-category-cta-content {
        padding: 60px 0;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .thunder-blog-category-hero h1 {
        font-size: 36px;
    }

    .thunder-blog-category-card-content {
        padding: 21px;
    }

    .thunder-blog-category-card-content h3 {
        font-size: 20px;
    }

    .thunder-blog-category-card-image {
        height: 210px;
    }

}