/* =====================================================
   PRODUCTS ARCHIVE / CATEGORY
===================================================== */

.products-archive-page,
.category-products{
    overflow:hidden;
}

.archive-hero{
    padding:70px 0;
    background:linear-gradient(135deg,#14293B,#1F3A52);
    text-align:center;
}

.archive-hero h1{
    color:#fff;
    font-size:36px;
    margin-bottom:12px;
}

.archive-hero p{
    color:#c9d3db;
    font-size:17px;
}

.archive-products{
    padding:80px 0;
}

.related-service-terms{
    background:#fff;
}

.alt-archive-section{
    background:var(--light);
}

.service-term-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.service-term-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-term-card:hover{
    transform:translateY(-6px);
    border-color:rgba(225,85,10,.45);
    box-shadow:0 18px 36px rgba(20,41,59,.1);
}

.service-term-card img{
    display:block;
    width:100%;
    height:190px;
    object-fit:cover;
}

.service-term-card .post-card-kicker,
.service-term-card h3,
.service-term-card p{
    margin-right:22px;
    margin-left:22px;
}

.service-term-card .post-card-kicker{
    margin-top:18px;
    margin-bottom:5px;
}

.service-term-card h3{
    margin-top:0;
    margin-bottom:8px;
    color:var(--primary);
    font-size:19px;
}

.service-term-card p{
    margin-top:0;
    margin-bottom:22px;
    color:var(--secondary);
    font-size:14px;
    line-height:1.9;
}

.archive-layout{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:40px;
}

.product-filter{
    background:var(--light);
    padding:28px;
    border-radius:16px;
    height:max-content;
    position:sticky;
    top:20px;
}

.product-filter h3{
    font-size:19px;
    color:var(--primary);
    margin-bottom:20px;
}

.product-filter li{
    margin-bottom:10px;
}

.product-filter a{
    display:block;
    padding:11px 14px;
    background:#fff;
    border-radius:10px;
    color:#444;
    transition:.3s;
}

.product-filter a:hover{
    background:var(--accent);
    color:#fff;
}

.archive-content > p{
    padding:35px;
    background:var(--light);
    border-radius:14px;
    text-align:center;
    color:var(--secondary);
}

@media(max-width:1100px){

    .archive-layout{
        grid-template-columns:1fr;
    }

    .product-filter{
        position:relative;
    }

    .service-term-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}

@media(max-width:768px){

    .archive-hero{
        padding:50px 0;
    }

    .archive-hero h1{
        font-size:28px;
    }

    .archive-products{
        padding:50px 0;
    }

    .service-term-grid{
        grid-template-columns:1fr;
    }

}
