/* =========================================================
   ONLINE SEO BLOGS — CATEGORY / ARCHIVE PAGE
   Premium Grid Styling
========================================================= */


/* =========================================================
   01. ARCHIVE TITLE AREA
========================================================= */

.category .page-title,
.archive .page-title {
    font-family: Manrope, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -.6px !important;
    color: #111827 !important;
}


/* Category description */
.category .archive-description,
.archive .archive-description,
.category .taxonomy-description,
.archive .taxonomy-description {
    max-width: 880px;

    margin-left: auto !important;
    margin-right: auto !important;

    color: #475569 !important;

    font-family: Inter, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}


/* =========================================================
   02. REMOVE EXCESS GAP BEFORE POSTS
========================================================= */

.category .content-area,
.archive .content-area {
    padding-top: 42px !important;
}


.category .site-main,
.archive .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* =========================================================
   03. ARCHIVE GRID
========================================================= */

.category .site-main,
.archive .site-main {
    column-gap: 24px !important;
    row-gap: 28px !important;
}


/* =========================================================
   04. POST CARD
========================================================= */

.category article.entry,
.archive article.entry {
    overflow: hidden;

    border: 1px solid #F0E3E4 !important;
    border-radius: 14px !important;

    background: #FFFFFF !important;

    box-shadow:
        0 6px 20px rgba(16, 24, 40, .045) !important;

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.category article.entry:hover,
.archive article.entry:hover {
    transform: translateY(-4px);

    border-color: #F6C9CC !important;

    box-shadow:
        0 14px 32px rgba(22, 140, 255, .09) !important;
}


/* =========================================================
   05. FEATURED IMAGE
========================================================= */

.category article.entry .post-thumbnail,
.archive article.entry .post-thumbnail {
    margin: 0 !important;

    overflow: hidden;

    border-radius:
        13px 13px 0 0 !important;
}


.category article.entry .post-thumbnail img,
.archive article.entry .post-thumbnail img {
    display: block;

    width: 100% !important;
    height: 190px !important;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    object-fit: cover !important;

    transition:
        transform .35s ease;
}


.category article.entry:hover
.post-thumbnail img,

.archive article.entry:hover
.post-thumbnail img {
    transform: scale(1.035);
}


/* =========================================================
   06. CARD CONTENT
========================================================= */

.category article.entry .entry-content-wrap,
.archive article.entry .entry-content-wrap {
    padding: 20px 20px 21px !important;

    background: #FFFFFF !important;
}


/* =========================================================
   07. CATEGORY LABEL
========================================================= */

.category article.entry .entry-taxonomies,
.archive article.entry .entry-taxonomies {
    margin-bottom: 9px !important;
}


.category article.entry .entry-taxonomies a,
.archive article.entry .entry-taxonomies a {
    color: #E5484D !important;

    font-family: Inter, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;

    line-height: 1.3 !important;
    letter-spacing: .55px !important;

    text-transform: uppercase;

    text-decoration: none !important;
}


.category article.entry .entry-taxonomies a:hover,
.archive article.entry .entry-taxonomies a:hover {
    color: #C9363B !important;
}


/* =========================================================
   08. POST TITLE
========================================================= */

.category article.entry .entry-title,
.archive article.entry .entry-title {
    margin: 0 0 8px !important;

    font-family: Manrope, sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;

    line-height: 1.35 !important;
    letter-spacing: -.35px !important;
}


.category article.entry .entry-title a,
.archive article.entry .entry-title a {
    color: #111827 !important;

    text-decoration: none !important;

    transition:
        color .2s ease;
}


.category article.entry .entry-title a:hover,
.archive article.entry .entry-title a:hover {
    color: #E5484D !important;
}


/* =========================================================
   09. META / DATE
========================================================= */

.category article.entry .entry-meta,
.archive article.entry .entry-meta {
    margin-bottom: 13px !important;

    color: #98A2B3 !important;

    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;

    line-height: 1.4 !important;
}


.category article.entry .entry-meta a,
.archive article.entry .entry-meta a {
    color: #475569 !important;

    text-decoration: none !important;
}


/* =========================================================
   10. EXCERPT
========================================================= */

.category article.entry .entry-summary,
.archive article.entry .entry-summary {
    margin: 0 0 16px !important;

    color: #475569 !important;

    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;
}


/* Keep excerpt visually consistent */
.category article.entry .entry-summary p,
.archive article.entry .entry-summary p {
    margin: 0 !important;
}


/* =========================================================
   11. READ MORE
========================================================= */

.category article.entry .more-link-wrap,
.archive article.entry .more-link-wrap {
    margin-top: 15px !important;
}


.category article.entry .more-link,
.archive article.entry .more-link {
    display: inline-flex !important;

    align-items: center;

    gap: 5px;

    color: #E5484D !important;

    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;

    line-height: 1.2 !important;
    letter-spacing: .35px !important;

    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        color .2s ease,
        transform .2s ease;
}


.category article.entry .more-link:hover,
.archive article.entry .more-link:hover {
    color: #C9363B !important;

    transform: translateX(3px);
}


/* =========================================================
   12. PAGINATION
========================================================= */

.category .pagination,
.archive .pagination {
    margin-top: 42px !important;
    margin-bottom: 15px !important;
}


.category .pagination .page-numbers,
.archive .pagination .page-numbers {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    margin: 0 3px;

    border: 1px solid #FBE4E6;
    border-radius: 8px;

    color: #374151;

    background: #FFFFFF;

    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}


.category .pagination .page-numbers:hover,
.archive .pagination .page-numbers:hover,
.category .pagination .page-numbers.current,
.archive .pagination .page-numbers.current {
    color: #FFFFFF;

    border-color: #E5484D;

    background:
        linear-gradient(
            135deg,
            #E5484D,
            #F59E0B
        );
}


/* =========================================================
   13. TABLET
========================================================= */

@media (max-width: 1024px) {

    .category .content-area,
    .archive .content-area {
        padding-top: 34px !important;
    }


    .category article.entry .post-thumbnail img,
    .archive article.entry .post-thumbnail img {
        height: 180px !important;
    }


    .category article.entry .entry-title,
    .archive article.entry .entry-title {
        font-size: 20px !important;
    }

}


/* =========================================================
   14. MOBILE
========================================================= */

@media (max-width: 767px) {

    .category .content-area,
    .archive .content-area {
        padding-top: 26px !important;
    }


    .category .archive-description,
    .archive .archive-description,
    .category .taxonomy-description,
    .archive .taxonomy-description {
        font-size: 14px !important;

        line-height: 1.6 !important;
    }


    .category article.entry,
    .archive article.entry {
        border-radius: 12px !important;
    }


    .category article.entry .post-thumbnail,
    .archive article.entry .post-thumbnail {
        border-radius:
            11px 11px 0 0 !important;
    }


    .category article.entry .post-thumbnail img,
    .archive article.entry .post-thumbnail img {
        height: 210px !important;
    }


    .category article.entry .entry-content-wrap,
    .archive article.entry .entry-content-wrap {
        padding: 18px !important;
    }


    .category article.entry .entry-title,
    .archive article.entry .entry-title {
        font-size: 19px !important;
    }

}


/* =========================================================
   15. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .category article.entry,
    .archive article.entry,
    .category article.entry .post-thumbnail img,
    .archive article.entry .post-thumbnail img,
    .category article.entry .more-link,
    .archive article.entry .more-link {
        transition: none !important;
    }

}