/* Molecule: Menu List A */
.m-menu-list-a {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: 1 / 1;
    padding-top: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (min-width: 768px) {
        width: 28%;
        padding-top: 28%;
    }
}

.m-menu-list-a__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.m-menu-list-a__media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    border-radius: 50%;
    transition: 0.3s ease;
}

.m-menu-list-a.m-menu-list-a__has-link:hover .m-menu-list-a__media::before {
    background: rgba(0, 0, 0, 0.25);   
}

.m-menu-list-a__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.m-menu-list-a.m-menu-list-a__has-link:hover .m-menu-list-a__media img {
    transform: scale(1.05);
}

.m-menu-list-a__content {
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex; 
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: center;
    width: 90%;

    @media (width >= 768px) {
        width: auto;
    }
}

.m-menu-list-a__heading{
    font-size: var(--font-xxxl);

    @media (width >= 768px) {
        font-size: var(--title-lg);
    }
}

.m-menu-list-a__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* Organism: Menu List A */
.o-menu-list-a {
    padding-top: 3.75rem;
    padding-bottom: 4.25rem;

    @media (width >=1024px) {
        padding-top: 4.8rem;
        padding-bottom: 5.625rem;
    }

    & .o-menu-list-a__title{
        font-size: clamp(var(--title-md), 1.25rem + 3vw, var(--title-lg));
    }
}

.o-menu-list-a__header {
    margin-bottom: 2.375rem;
}

.o-menu-list-a__description {
    max-width: 800px;
    margin: 0 auto;
}

.o-menu-list-a__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.125rem;
    
    @media (width >= 768px) {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 3.565rem;
    }
}
