/* =====================================================
   DASH MUSIC CATEGORIES
   Fully scoped - WordPress safe
===================================================== */

.dash-music-categories {
    width: 100%;
    /* background: #f5f5f5; */
    padding: 40px 0;
    margin: 0;
    box-sizing: border-box;
}

.dash-music-categories *,
.dash-music-categories *::before,
.dash-music-categories *::after {
    box-sizing: border-box;
}


/* =====================================================
   CONTAINER
   Similar to Bootstrap .container
===================================================== */

.dash-music-container {
    width: 100%;
    max-width: 1320px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 12px;
    padding-right: 12px;
}


/* =====================================================
   ROW
   Similar to Bootstrap .row
===================================================== */

.dash-music-row {
    display: flex;
    flex-wrap: wrap;

    margin-left: -20px;
    margin-right: -20px;
}


/* =====================================================
   COLUMN
===================================================== */

.dash-music-col {
    width: 25%;

    padding-left: 20px;
    padding-right: 20px;

    margin-bottom: 30px;
}


/* =====================================================
   CARD
===================================================== */

.dash-music-card {

    width: 100%;

    min-height: 383px;

    background: #ebebeb;

    border: 1px solid #e3e3e3;

    border-radius: 9px;

    padding: 38px 28px 34px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    position: relative;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

}


/* =====================================================
   CARD HOVER
===================================================== */

.dash-music-card:hover {

    transform: translateY(-8px);

    border-color: #0622fd;

    box-shadow:
        0 16px 35px rgb(66 79 226 / 65%);

}


/* =====================================================
   ICON
===================================================== */

.dash-music-icon {

    width: 150px;
    height: 150px;

    display: flex;

    justify-content: center;
    align-items: center;

    margin-bottom: 13px;

    transition:
        transform 0.35s ease;

}


.dash-music-icon svg {

    width: 100%;
    height: 100%;

    display: block;

}


/* ICON HOVER */

.dash-music-card:hover .dash-music-icon {

    transform:
        scale(1.04)
        translateY(-3px);

}


/* =====================================================
   TITLE
===================================================== */

.dash-music-title {

    margin: 0 0 10px 0 !important;

    padding: 0 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 29px !important;

    line-height: 1.2 !important;

    font-weight: 500 !important;

    color: #071827 !important;

}


/* =====================================================
   DESCRIPTION
===================================================== */

.dash-music-description {

    max-width: 245px;

    margin: 0 auto 19px !important;

    padding: 0 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 15px !important;

    line-height: 1.75 !important;

    font-weight: 400 !important;

    color: #858585 !important;

}


/* =====================================================
   JOIN CLASS BUTTON
===================================================== */

.dash-music-link {

    position: relative;

    display: inline-block;

    margin-top: auto;

    padding: 0 0 5px 0;

    color: #071827 !important;

    background: transparent !important;

    border: 0 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 12px !important;

    font-weight: 500 !important;

    line-height: 1.4 !important;

    text-decoration: none !important;

    transition:
        color 0.3s ease;

}


/* Underline */

.dash-music-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: #071827;

    transform: scaleX(1);

    transform-origin: center;

    transition:
        transform 0.3s ease,
        background 0.3s ease;

}


/* Link hover */

.dash-music-link:hover {

    color: #f11616  !important;
    font-weight: 600 !important;

}


.dash-music-link:hover::after {

    background: #f11616 ;

    transform: scaleX(0.65);

}


/* =====================================================
   BOOTSTRAP STYLE XL
   1200px+
===================================================== */

@media (min-width: 1200px) {

    .dash-music-container {

        max-width: 1320px;

    }

}


/* =====================================================
   BOOTSTRAP STYLE LG
   992px - 1199px
===================================================== */

@media (max-width: 1199.98px) {

    .dash-music-col {

        width: 33.333333%;

    }

}


/* =====================================================
   BOOTSTRAP STYLE MD
   768px - 991px
===================================================== */

@media (max-width: 991.98px) {

    .dash-music-container {

        padding-left: 15px;
        padding-right: 15px;

    }

    .dash-music-row {

        margin-left: -12px;
        margin-right: -12px;

    }

    .dash-music-col {

        width: 50%;

        padding-left: 12px;
        padding-right: 12px;

    }

}


/* =====================================================
   BOOTSTRAP STYLE SM
   576px - 767px
===================================================== */

@media (max-width: 767.98px) {

    .dash-music-categories {

        padding-top: 30px;
        padding-bottom: 30px;

    }

    .dash-music-card {

        min-height: 370px;

    }

}


/* =====================================================
   MOBILE
   Below 576px
===================================================== */

@media (max-width: 575.98px) {

    .dash-music-container {

        padding-left: 15px;
        padding-right: 15px;

    }

    .dash-music-row {

        margin-left: 0;
        margin-right: 0;

    }

    .dash-music-col {

        width: 100%;

        padding-left: 0;
        padding-right: 0;

        margin-bottom: 20px;

    }

    .dash-music-card {

        min-height: auto;

        padding-top: 30px;
        padding-bottom: 32px;

    }

    .dash-music-icon {

        width: 140px;
        height: 140px;

    }

    .dash-music-title {

        font-size: 27px !important;

    }

    .dash-music-description {

        max-width: 290px;

        font-size: 14px !important;

    }

}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .dash-music-card {

        padding-left: 18px;
        padding-right: 18px;

    }

    .dash-music-icon {

        width: 130px;
        height: 130px;

    }

}

/* =========================================
   SAME SIZE FOR ALL COURSE CARDS
========================================= */

.it-course-item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Image same height */
.it-course-item .it-course-thumb {
    height: 230px !important;
    overflow: hidden;
}

.it-course-item .it-course-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Content same height */
.it-course-item .it-course-content {
    min-height: 300px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Title same height */
.it-course-item .it-course-title {
    min-height: 56px !important;
}

/* Description same height */
.it-course-item .it-course-content p {
    min-height: 72px !important;
}

/* Bottom section always stays at same position */
.it-course-item .it-course-meta,
.it-course-item .it-course-author {
    margin-top: auto !important;
}

