.a5-title {
    text-align: center;
    margin-bottom: 60rem;
}

.a5-title h6 {
    color: var(--main-color);
    font-size: 20rem;
    font-weight: 700;
    font-family: 'Outfit';
    text-transform: uppercase;
    margin-bottom: 30rem;
}

.a5-title h5 {
    color: #222;
    font-size: 50rem;
    font-weight: 600;
    line-height: 1.3;
}

.a5-title p {
    color: #aaa;
    font-size: 18rem;
    line-height: 1.5;
    margin-top: 30rem;
}

.a5-box-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50rem;
}

.a5-box {
    display: flex;
    flex-direction: column;
    gap: 15rem;
}

.a5-box:hover .a5-box-image img {
    transform: scale(1.07);
}

.a5-brochure-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 75rem;
}

.a5-brochure-box {
    position: relative;
    display: inline-flex;
    justify-content: center;
}

.a5-brochure-toggle {
    border: none;
    appearance: none;
    font-family: inherit;
    cursor: pointer;
}

.a5-brochure-options {
    position: absolute;
    top: calc(100% + 12rem);
    left: 50%;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    min-width: 100%;
    padding: 10rem;
    border-radius: 18rem;
    background-color: #fff;
    box-shadow: 0 10rem 30rem rgba(0, 0, 0, .16);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8rem);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 10;
}

.a5-brochure-box.open .a5-brochure-options {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.a5-brochure-option {
    display: block;
    padding: 13rem 24rem;
    border-radius: 999rem;
    color: #333;
    font-size: 16rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}

.a5-brochure-option:hover {
    background-color: #f4f4f4;
    color: var(--main-color);
}

.a5-brochure-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-width: 0;
    padding: 17rem 34rem;
    border-radius: 999rem;
    background-color: #333;
    color: #fff;
    box-sizing: border-box;
    font-size: 17rem;
    font-weight: 600;
    letter-spacing: 0.5rem;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    word-break: keep-all;
    transition: background-color 0.2s ease;
}

.a5-brochure-btn:hover {
    background-color: #222;
}

.a5-box-image {
    border-radius: 20rem;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.a5-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .2s;
}

.a5-box-text {
    margin-top: 5px;
}

.a5-box-text h6 {
    color: #222;
    font-size: 28rem;
}

.a5-box-text p {
    color: #888;
    font-size: 19rem;
    line-height: 1.6;
    margin-top: 10rem;
}



/*==================================================*/
@media (max-width: 768px) {
    .a5-title {
        width: 100%;
        text-align: left;
    }
    
    .a5-box-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .a5-brochure-wrap {
        margin-top: 60rem;
    }

    .a5-brochure-option {
        font-size: 17rem;
    }

    .a5-brochure-btn {
        width: auto;
        max-width: 100%;
        min-width: 0;
        font-size: 18rem;
        padding: 18rem 34rem;
    }
}
