.guides-page {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
}


/* HERO */

.guides-hero {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 70px;
}

.guides-label {
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 20px;

    background: rgb(252, 201, 209);
    border-radius: 30px;
}

.guides-hero h1 {
    font-size: clamp(40px, 7vw, 70px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.guides-hero > p {
    font-size: 20px;
    line-height: 1.7;
    color: #616b75;
}


/* SEARCH */

.guide-search {
    display: flex;
    width: 100%;
    max-width: 700px;
    margin: 35px auto 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    overflow: hidden;
}

.guide-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 17px 22px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

.guide-search button {
    border: 0;
    padding: 0 30px;
    background: rgb(194, 240, 238);
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
}


/* CATEGORIES */

.guide-categories {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 90px;
}

.guide-category {
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #000;
    background: #f7f7f7;
    border-radius: 20px;
    transition: transform .2s ease,
                box-shadow .2s ease;
}

.guide-category:hover {
    transform: translateY(-5px);
    box-shadow:
        0 8px 25px rgba(0,0,0,.08);
}

.category-icon {
    font-size: 38px;
    margin-bottom: 15px;
}

.guide-category h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.guide-category p {
    color: #616b75;
    line-height: 1.5;
}


/* SECTION */

.guides-section {
    margin-bottom: 90px;
}

.section-heading {
    max-width: 750px;
    margin-bottom: 35px;
}

.section-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #616b75;
}

.section-heading h2 {
    font-size: clamp(30px, 5vw, 45px);
    line-height: 1.15;
}


/* FEATURED */

.featured-guides {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 25px;
}

.featured-guide {
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 4px 18px rgba(0,0,0,.09);
}

.guide-image {
    width: 100%;
    height: 240px;
}

.guide-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.guide-content {
    padding: 25px;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: #616b75;
    font-size: 14px;
}

.guide-content h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.guide-content p {
    color: #616b75;
    line-height: 1.6;
    margin-bottom: 18px;
}


/* TAGS */

.guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.guide-tags span {
    padding: 6px 10px;
    background: #f1f1f1;
    border-radius: 20px;
    font-size: 13px;
}


/* BUTTON */

.guide-button {
    display: inline-block;
    padding: 11px 20px;
    background: rgb(252, 201, 209);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
}

.guide-button:hover {
    background: rgb(194, 240, 238);
}


/* ALL GUIDES */

.all-guides {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 25px;
}

.guide-card {
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 4px 18px rgba(0,0,0,.08);
}

.guide-card-image {
    width: 100%;
    height: 210px;
}

.guide-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.guide-card-content {
    padding: 23px;
}

.guide-card-content h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.guide-card-content p {
    color: #616b75;
    line-height: 1.6;
    margin-bottom: 15px;
}

.guide-card-content a {
    display: inline-block;
    margin-top: 5px;
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.guide-card-content a:hover {
    text-decoration: underline;
}


/* REQUEST GUIDE */

.request-guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px;
    margin-bottom: 50px;
    background: rgb(194, 240, 238);
    border-radius: 25px;
}

.request-guide span {
    color: #616b75;
}

.request-guide h2 {
    max-width: 650px;
    margin: 8px 0;
    font-size: 32px;
    line-height: 1.2;
}

.request-guide p {
    color: #616b75;
}

.request-guide a {
    flex-shrink: 0;
    padding: 14px 25px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
}

.request-guide a:hover {
    opacity: .8;
}


/* BACK HOME */

.back-home {
    text-align: center;
    margin-bottom: 30px;
}

.back-home a {
    color: #000;
    text-decoration: none;
}

.back-home a:hover {
    text-decoration: underline;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .guide-categories {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .featured-guides {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .all-guides {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .guides-page {
        padding: 30px 15px;
    }

    .guides-hero {
        margin-bottom: 50px;
    }

    .guides-hero h1 {
        font-size: 42px;
    }

    .guides-hero > p {
        font-size: 17px;
    }

    .guide-search {
        border-radius: 15px;
        flex-direction: column;
    }

    .guide-search input {
        width: 100%;
        box-sizing: border-box;
    }

    .guide-search button {
        width: 100%;
        padding: 14px;
    }

    .guide-categories {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 60px;
    }

    .guide-category {
        padding: 22px 12px;
    }

    .category-icon {
        font-size: 30px;
    }

    .guide-category h2 {
        font-size: 20px;
    }

    .guide-category p {
        font-size: 14px;
    }

    .featured-guides,
    .all-guides {
        grid-template-columns: 1fr;
    }

    .guides-section {
        margin-bottom: 60px;
    }

    .request-guide {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
    }

    .request-guide h2 {
        font-size: 27px;
    }

    .request-guide a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

}