.content-wrapper {
    background: url("../../images/pc/event_post_pc/wave.svg") no-repeat center top;
}

.close-btn {
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    float: right;
    color: #e2e2e2;
}

.menu-content {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}

.menu-content a {
    padding: 10px 0;
    text-decoration: none;
    color: #747474;
    font-size: 12px;
    font-weight: bold;
}

.card {
    display: flex;
    flex-direction: column;
    background: white;
    margin: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 260px;
    text-align: center;
    box-sizing: border-box;
    flex: 1 1 250px;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f0f0f0;
    display: block;
}

.card-container {
    text-align: center;
    padding: 8px 10px;
}

.card-title {
    font-size: 15px;
    font-weight: bold;
}

.card-content {
    font-size: 13px;
}

.card-desc-text {
    font-size: 12px;
    margin-bottom: 10px;
}

.card-content p {
    margin: 15px 0;
    text-align: left;
}

.access-btn-gp {
    display: flex !important;
    justify-content: center !important;

}

.btn-link {
    display: block;
    width: 36%;
    margin: 5% auto;
    background-color: white;
    padding: 10px 0;
    border-radius: 50px;
    text-align: center;
    opacity: 0;
    animation: fadeIn 3s forwards;
    justify-content: center;
}

.btn-link img {
    margin-right: 10px;
}

.btn-link-group {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.btn-link a {
    color: black;
    text-decoration: none;
}

.btn-text {
    font-size: 28px;
    display: block;
    font-weight: bold;
}

.btn-content {
    font-size: 10px;
}

@media (max-width: 768px) {
    .content-wrapper {
        background: url("../../images/mobile/event_post_mobile/wave.svg") no-repeat center top;
    }
    .section {
        max-width: 100% !important;
    }
    .card-link {
        max-width: 100%;
    }
    .card {
        display: flex;
        flex-direction: row !important;
        align-items: stretch;
        max-width: 100%;
        margin: 10px 0px;
    }

    .card-img {
        width: 40%;
        height: 100px;
        overflow: hidden;
    }

    .card-title {
        display: block;
        white-space: normal;
        text-align: left;
        word-break: break-word;
        margin: 0;
        font-size: 14px;
    }

    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 8px;
        font-size: 11px;
    }

    .card-btn-news {
        margin: 0px;
    }

    .card-btn-event {
        margin: 0px;
    }

    .card-content p,
    .card-content div {
        margin-bottom: 0;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        font-size: 11px;
    }

    .card-content br {
        display: none;
    }

    .card-desc {
        display: none;
    }

    .btn-link {
        width: 70%;
        border-radius: 50px;
        padding: 10px 30px;
    }

    .btn-link-group img {
        width: 13%;
    }

    .btn-text {
        font-size: 20px;
    }
}

.gallery {
    opacity: 0;
    animation: fadeIn 3s forwards;
}
@media (min-width: 800px) and (max-width: 1000px) {
    .card-link {
        min-width: 45% !important;
        box-sizing: border-box;
        justify-content: center;
    }
}
@media (max-width: 1024px) {
    .section {
        max-width: 100% !important;
    }
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    .card-link {
        flex: 1 1 220px;
        min-width: 180px;
        box-sizing: border-box;
    }
    .card {
        width: 100%;
    }
}
@media (min-width: 1001px) and (max-width: 1024px) {
    .section {
        flex-wrap: nowrap !important;
    }
}
@media (min-width: 1109px) and (max-width: 1480px) {
    .section {
        flex-wrap: nowrap !important;
    }
}

span.card-left-small-text a {
    text-decoration: none;
    color: #000000;
}
