/*
Theme Name: Aqualis Child
Template: aqualis
Version: 1.0
*/

body.page-template-page-blog .ada-blog-page {
    background: #f7f5f0;
}

body.page-template-page-blog .ada-blog-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

body.page-template-page-blog .ada-blog-hero {
    padding: 90px 0 60px;
    background: #f7f5f0;
    text-align: center;
}

body.page-template-page-blog .ada-blog-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #b89b73;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.page-template-page-blog .ada-blog-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    margin: 0 0 20px;
    color: #17253f;
}

body.page-template-page-blog .ada-blog-hero p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 18px;
    color: #5d6470;
}

body.page-template-page-blog .ada-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 40px 0 70px;
}

body.page-template-page-blog .ada-blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

body.page-template-page-blog .ada-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

body.page-template-page-blog .ada-blog-image {
    display: block;
    height: 230px;
    overflow: hidden;
}

body.page-template-page-blog .ada-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

body.page-template-page-blog .ada-blog-card:hover .ada-blog-image img {
    transform: scale(1.05);
}

body.page-template-page-blog .ada-blog-content {
    padding: 24px;
}

body.page-template-page-blog .ada-blog-category {
    color: #b89b73;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

body.page-template-page-blog .ada-blog-content h2 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 12px;
}

body.page-template-page-blog .ada-blog-content h2 a {
    color: #17253f;
    text-decoration: none;
}

body.page-template-page-blog .ada-blog-content p {
    color: #5d6470;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

body.page-template-page-blog .ada-blog-button {
    display: inline-flex;
    align-items: center;
    color: #17253f;
    font-weight: 700;
    text-decoration: none;
}

body.page-template-page-blog .ada-blog-button:hover {
    color: #b89b73;
}

body.page-template-page-blog .ada-blog-pagination {
    text-align: center;
    padding-bottom: 80px;
}

body.page-template-page-blog .ada-blog-pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    border-radius: 999px;
    background: #fff;
    color: #17253f;
    text-decoration: none;
}

body.page-template-page-blog .ada-blog-pagination .current {
    background: #17253f;
    color: #fff;
}

body.page-template-page-blog .ada-blog-page {
    padding-top: 120px;
    background: #f7f5f0;
    overflow: hidden;
}

body.page-template-page-blog .ada-blog-hero {
    padding: 80px 0 40px;
    text-align: center;
}

body.page-template-page-blog .ada-blog-hero h1,
body.page-template-page-blog .ada-blog-hero p,
body.page-template-page-blog .ada-blog-label {
    color: #17253f;
}

body.page-template-page-blog .ada-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

body.page-template-page-blog .ada-blog-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

body.page-template-page-blog .ada-blog-content {
    padding: 24px;
}

body.page-template-page-blog .ada-blog-content h2 a,
body.page-template-page-blog .ada-blog-content p,
body.page-template-page-blog .ada-blog-button {
    color: #17253f;
}

body.page-template-page-blog .header-logo img,
body.page-template-page-blog .site-logo img,
body.page-template-page-blog .logo img,
body.page-template-page-blog header img {
        width: auto;
}

@media (max-width: 900px) {
    body.page-template-page-blog .ada-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    body.page-template-page-blog .ada-blog-grid {
        grid-template-columns: 1fr;
    }

    body.page-template-page-blog .ada-blog-hero {
        padding: 60px 0 35px;
    }
}