/* ======================================================================
   TECHNO PARTICLES BLOG LIST
   Home-page cyber design language applied to the public blog listing only.
   ====================================================================== */

.tp-blogs-page {
    background: var(--tp-bg-space, #030712) !important;
    color: var(--tp-text-primary, #f8fafc);
}

.tp-blogs-page .main-bg {
    background: transparent !important;
}

.tp-blogs-page #smooth-content {
    position: relative;
}

.tp-blogs-hero {
    min-height: 590px;
    padding: 170px 0 105px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tp-blogs-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 212, .35), transparent);
}

.tp-blogs-title {
    max-width: 900px;
    margin: 0 0 24px;
    color: var(--tp-text-primary, #f8fafc);
    font-size: clamp(42px, 6.2vw, 88px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.tp-blogs-lede {
    max-width: 650px;
    margin: 0 0 30px;
    color: var(--tp-text-secondary, #94a3b8);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.65;
}

.tp-blogs-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--tp-text-muted, #64748b);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tp-blogs-breadcrumb a {
    color: var(--tp-cyan, #00f5d4) !important;
    text-decoration: none;
}

.tp-blogs-breadcrumb a:hover {
    color: #fff !important;
}

.tp-blogs-profile-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(16, 30, 55, .84), rgba(7, 16, 36, .72));
    box-shadow: 0 25px 65px -15px rgba(0, 0, 0, .72), 0 0 35px rgba(0, 210, 180, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform .5s var(--tp-ease-expo, cubic-bezier(.16, 1, .3, 1)), box-shadow .5s ease;
}

.tp-blogs-profile-card:hover {
    box-shadow: 0 32px 78px -15px rgba(0, 0, 0, .82), 0 0 45px rgba(0, 245, 212, .2);
}

.tp-blogs-profile-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--tp-text-muted, #64748b);
    font: 700 10px/1.2 monospace;
    letter-spacing: .12em;
}

.tp-blogs-profile-number {
    color: #fff;
    font: 900 clamp(68px, 7vw, 104px)/.9 'Montserrat', sans-serif;
    letter-spacing: -.06em;
    background: linear-gradient(180deg, #fff 25%, var(--tp-emerald, #00d2b4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tp-blogs-profile-number span {
    color: var(--tp-cyan, #00f5d4);
    font-size: .5em;
    letter-spacing: 0;
}

.tp-blogs-profile-card p {
    max-width: 220px;
    margin: 16px 0 25px;
    color: var(--tp-text-secondary, #94a3b8);
    font-size: 13px;
    line-height: 1.6;
}

.tp-blogs-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--tp-cyan, #00f5d4);
    font: 700 10px/1 monospace;
    letter-spacing: .08em;
}

.tp-blogs-profile-meta span {
    padding: 6px 8px;
    border: 1px solid rgba(0, 245, 212, .2);
    border-radius: 5px;
    background: rgba(0, 245, 212, .06);
}

.tp-blogs-list {
    position: relative;
    padding: 160px 0 120px;
    background: transparent !important;
}

.tp-blogs-section-head {
    max-width: 700px;
    margin-bottom: 42px;
}

.tp-blogs-section-head h1 {
    margin: 14px 0 12px;
    color: var(--tp-text-primary, #f8fafc);
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.tp-blogs-section-head p {
    margin: 0;
    color: var(--tp-text-secondary, #94a3b8);
    font-size: 15px;
    line-height: 1.7;
}

.tp-blogs-page .blog-list-page .row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
}

.tp-blogs-page .blog-list-page .blog-card-col {
    display: flex;
    margin-bottom: 0;
}

.tp-blogs-page .blog-crev .item.tp-blog-list-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 20px;
    background: rgba(14, 20, 32, .76) !important;
    box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform .45s var(--tp-ease-expo, cubic-bezier(.16, 1, .3, 1)), border-color .35s ease, box-shadow .35s ease;
}

.tp-blogs-page .blog-crev .item.tp-blog-list-card:hover {
    border-color: rgba(0, 245, 212, .35);
    box-shadow: 0 28px 60px -18px rgba(0, 0, 0, .82), 0 0 32px rgba(0, 210, 180, .13);
    transform: translateY(-8px);
}

.tp-blogs-page .tp-blog-list-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #071024;
    flex-shrink: 0;
}

.tp-blogs-page .tp-blog-list-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: .9;
    filter: saturate(.85) contrast(1.05);
    transition: transform .65s var(--tp-ease-expo, cubic-bezier(.16, 1, .3, 1)), opacity .4s ease, filter .4s ease;
}

.tp-blogs-page .tp-blog-list-card:hover .tp-blog-list-image {
    opacity: 1;
    filter: saturate(1.08) contrast(1.08);
    transform: scale(1.07);
}

.tp-blogs-page .tp-blog-list-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0) 48%, rgba(3, 7, 18, .5));
}

.tp-blogs-page .tp-blog-list-media .tag {
    bottom: 0;
    left: 22px;
    transform: none;
    padding: 8px 12px 7px;
    border: 1px solid rgba(0, 245, 212, .22);
    border-radius: 7px 7px 0 0;
    background: rgba(7, 16, 36, .9) !important;
    color: var(--tp-cyan, #00f5d4);
    font: 700 10px/1 monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.tp-blogs-page .tp-blog-list-media .tag .shap-right-bottom,
.tp-blogs-page .tp-blog-list-media .tag .shap-left-bottom {
    display: none;
}

.tp-blogs-page .tp-blog-list-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 25px;
}

.tp-blogs-page .tp-blog-list-content .date {
    margin-bottom: 12px;
    color: var(--tp-text-muted, #64748b) !important;
    font: 700 10px/1.3 monospace;
    letter-spacing: .11em;
}

.tp-blogs-page .tp-blog-list-content .date a {
    color: inherit !important;
}

.tp-blogs-page .tp-blog-list-content h5 {
    min-height: calc(1.4em * 3);
    margin: 0 0 15px;
    color: var(--tp-text-primary, #f8fafc);
    font-size: 20px;
    line-height: 1.4;
}

.tp-blogs-page .tp-blog-list-content h5 a {
    color: inherit;
    transition: color .25s ease;
}

.tp-blogs-page .tp-blog-list-content h5 a:hover {
    color: var(--tp-cyan, #00f5d4);
}

.tp-blogs-page .tp-blog-list-link {
    gap: 12px;
    margin-top: auto !important;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--tp-cyan, #00f5d4) !important;
    font: 700 11px/1 monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color .25s ease, gap .3s ease;
}

.tp-blogs-page .tp-blog-list-link:hover {
    gap: 17px;
    color: #fff !important;
}

.tp-blogs-page .tp-blog-pagination {
    gap: 8px;
    margin-top: 55px !important;
}

.tp-blogs-page .tp-blog-pagination .btn {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 10px;
    background: rgba(7, 16, 36, .75) !important;
    color: var(--tp-text-secondary, #94a3b8) !important;
    box-shadow: none;
    font: 700 11px/1 monospace;
    letter-spacing: .04em;
    transition: transform .3s var(--tp-ease-expo, cubic-bezier(.16, 1, .3, 1)), border-color .3s ease, color .3s ease, background .3s ease;
}

.tp-blogs-page .tp-blog-pagination .btn:hover,
.tp-blogs-page .tp-blog-pagination .btn.btn-dark {
    border-color: rgba(0, 245, 212, .42) !important;
    background: linear-gradient(135deg, var(--tp-emerald, #00d2b4), var(--tp-ocean, #008b8b)) !important;
    color: #030712 !important;
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .tp-blogs-hero {
        min-height: auto;
        padding: 150px 0 85px;
    }

    .tp-blogs-profile-card {
        max-width: 460px;
        margin: 55px auto 0;
    }
}

@media (max-width: 767px) {
    .tp-blogs-hero {
        padding: 125px 0 70px;
    }

    .tp-blogs-title {
        font-size: clamp(39px, 12vw, 62px);
    }

    .tp-blogs-list {
        padding: 110px 0 85px;
    }

    .tp-blogs-section-head {
        margin-bottom: 30px;
    }

    .tp-blogs-page .tp-blog-list-content h5 {
        min-height: auto;
    }

    .tp-blogs-page .tp-blog-pagination .btn {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-blogs-page .tp-blog-list-card,
    .tp-blogs-page .tp-blog-list-image,
    .tp-blogs-page .tp-blog-pagination .btn {
        transition: none;
    }
}
