/**
* CARD
**/

.card {
    /* width: 370px; */
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    -webkit-transition: box-shadow 0.5s;
    transition: box-shadow 0.5s;
}

.card.simply {
    background-color: #fAfAfA;
    cursor: pointer;
}

.card a {
    color: inherit;
    text-decoration: none;
}

.card:hover {
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
}

.card.no-hover:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    cursor: default;
}


/**
* DATE
**/

.card__date {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    padding-top: 10px;
    background-color: coral;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-weight: 700;
    line-height: 13px;
}

.card__date__day {
    font-size: 14px;
}

.card__date__month {
    text-transform: uppercase;
    font-size: 10px;
}


/**
* THUMB
**/

.card__thumb {
    height: 200px;
    overflow: hidden;
    background-color: white;
    -webkit-transition: height 0.5s;
    transition: height 0.5s;
}

.card__thumb.simply {
    width: 80px;
    height: 80px;
}

.card__thumb.onair {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.card__thumb.onair.thumb_onair {
    box-shadow: 0 0 0px 4px red;
}

.card__thumb img {
    width: 100%;
    display: block;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, transform 0.5s;
    transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
}

.card__thumb.simply img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.card__thumb.onair img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.card:hover .card__thumb img {
    opacity: 0.6;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}


/**
* card_BODY
**/

.card__body {
    position: relative;
    height: 185px;
    padding: 20px;
    -webkit-transition: height 0.5s;
    transition: height 0.5s;
    background-color: #fAfAfA;
}

.card__body.simply {
    height: 100%;
    width: calc(100% - 80px);
    padding: 0 15px;
    position: relative;
    padding-right: 40px;
}

.card__body.onair {
    height: 120px;
    width: calc(100% - 120px);
    padding: 0px;
    position: relative;
    padding-right: 35px;
}

#fav_dom .card__body.simply {
    height: 100%;
    width: calc(100% - 30px);
    padding: 5px;
    position: relative;
    padding-right: 35px;
}

#new_dom .card__body.simply {
    height: 100%;
    width: calc(100% - 30px);
    padding: 5px;
    position: relative;
    padding-right: 35px;
}

.card:hover .card__body {
    height: 255px;
}

.card:hover .card__body.simply {
    height: 80px;
}

.card:hover .card__body.onair {
    height: 120px;
}

.card__category {
    position: absolute;
    top: -30px;
    left: 0;
    height: 30px;
    padding: 0 20px;
    background-color: coral;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 30px;
}

.card__title {
    margin: 0;
    padding: 30px 0 0 0;
    color: #000;
    font-size: 22px;
    font-family: "MaplestoryOTFBold";
    text-transform: uppercase;
}

.card__title.simply {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
    color: #000;
    font-size: 18px;
    padding-right: 5px;
    max-width: 100%;
}

#onair .card__title.simply {
    text-transform: none;
}

.card__platform {
    display: flex;
    gap: 5px;
    margin-top: 4px;
    margin-left: 2px;
}


#fav_dom .card__title.simply {
    padding: 5px;
    font-family: "MaplestoryOTFLight";
    font-size: 15px;
}

#new_dom .card__title.simply {
    padding: 5px;
    font-family: "MaplestoryOTFLight";
    font-size: 15px;
}

.card__subtitle {
    margin: 0;
    padding: 0 0 10px 0;
    font-size: 19px;
    color: coral;
}

.card__subtitle.simply {
    float: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding: 0;
    font-size: 12px;
    color: coral;
}

.card__description {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 10px;
    margin: 0;
    padding: 0;
    color: #666C74;
    line-height: 27px;
    opacity: 0;
    -webkit-transform: translateY(45px);
    transform: translateY(45px);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.card:hover .card__description {
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.card__footer {
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 20px;
    font-size: 11px;
    color: #A3A9A2;
}

.card__buttons {
    display: flex;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.card__buttons .btn_footer {
    color: white;
    border: none;
    border-radius: 0;
    transition: 0.5s;
    background-size: 300% auto;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
}

.card__buttons .btn_onair_detail {
    background-image: linear-gradient(to right, rgba(175, 173, 255, .8) 0%, rgba(153, 102, 255, .9) 51%, rgba(175, 173, 255, 1) 100%);
}

.card__buttons .btn_onair_view {
    background-image: linear-gradient(to right, rgba(248, 87, 166, .6) 0%, rgba(179, 7, 7, 0.7) 51%, rgba(248, 87, 166, .8) 100%);
}

.card__buttons .btn_footer:hover {
    background-position: right center;
}

#fav_dom .col {
    margin-top: 3px;
    padding: 5px;
}

#new_dom .col {
    margin-top: 13px;
    padding: 5px;
}

.card .badge {
    font-size: 0.6em;
    font-family: 'NEXON Lv2 Gothic';
}

.card .badge.onair {
    font-size: 12px;
}

.card .badge.badge_footer {
    width: 85px;
}

#onair .badge.badge_footer,
#modalSpeaker .badge.badge_footer {
    color: black;
    width: auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, .05), rgba(255, 255, 255, .6), rgba(0, 0, 0, .1));
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.2);
    margin-right: 2px;
    font-size: 0.6em;
}

.card .badge.bg_new {
    background-color: #FF8D6D !important;
}

.card .badge.bg_gray {
    background-color: #DDD !important;
}

.card .mini-info {
    text-align: right;
    font-size: calc(0.6rem + 0.25vw);
}

.card img {
    width: 80%;
}

@media screen and (max-width: 575px) {
    #main #data_container {
        .card__thumb.simply {
            width: 100%;
            height: 100%;
        }
    
        .card__thumb.simply img {
            aspect-ratio: 1;
            width: 100%;
            height: auto;
            object-fit: cover;
        }
    
        .card:hover .card__body.simply {
            height: auto;
        }
        
        .card__body.simply {
            width: 100%;
            padding: 0;
            height: auto;
        }
    
        .card__title.simply {
            width: 100%;
            height: 3em;
            color: black;
            font-size: 3.5vw;
            padding:5px;
            font-family: 'NEXON Lv2 Gothic';
            white-space: normal;
        }

        .card__subtitle {
            display: none;
        }

        .badge.bg_new {
            display: none;
        }

        .row {
            margin-top: 0;
        }

        .col {
            padding: 0 1vw;
            margin-top: 3vw;
        }
    }
}