* {
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
    scrollbar-color: rgba(0, 0, 0, 0.16) transparent;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#widget-member-main-resources .am-block ul {
    display: grid;
    grid-gap: 1em;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

@media (min-width: 800px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: inline-block;
    padding: 0.4375rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.btn-success {
    background-color: #ffffe6;
    color: white;
    border-color: transparent;
}

.btn-success:hover {
    background-color: #ffffb3;
}

.btn:disabled {
    opacity: 0.4;
    pointer-events: none;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #2f394e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.02);
}

.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 1.2;
    object-fit: cover;
}

.card-title {
    position: absolute;
    bottom: 0rem;
    width: 100%;
    background-color: transparent;
    color: transparent;
    padding: 0rem;
    font-size: 100;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0rem;
    color: black;
}

.card-footer {
    display: flex;
    width: 100%
    position: absolute;
    justify-content: center;
    padding: 1rem;
    background-color: #00796B;
    color: white;
    border-top: 1px solid #2f394e;
}
