.head-section__3 h4,
.head-section__3 h2 {
    font-size: 1.125em;
    position: relative;
    padding-right: 30px;
    color: #003366;
    font-weight: 700;
}

.section__more {
    color: #FF5003;
    font-size: 1em;
    font-weight: 500;
    z-index: 2;
}

.section__more:hover {
    text-shadow: 0 0 1px rgb(255 80 3 / 80%);
    color: #FF5003;
}

.arrow-slide span:hover {
    color: #FF5003;
}

.book__text .tag {
    background-color: #FFA330;
    border-radius: 10px;
    font-size: .875em;
    padding: 5px 10px;
    margin-bottom: 15px;
    display: inline-block;
    z-index: 200;
    margin-top: 0;
}

.book__text h5 {
    font-size: 1.125em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #002347;
}

.book__text .date {
    color: #666666;
    margin-top: 10px;
}

.book__text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 30px 30px 0 15px;
    display: block;
    opacity: 0;
    width: 0;
    -webkit-transition: 1s;
    transition: 1s;
}

.book__box:hover .tag {
    color: black;
}

.arrow-slide {
    margin-inline-start: 30px;
    z-index: 2;
}

.arrow-slide span:hover {
    color: #FF5003;
}

.head-section__3 .arrow-slide {
    color: #666666;
}

.head-section__3 h4::before,
.head-section__3 h2::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 50%;
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #FF5003;
    border-radius: 10px;
}

.classes_list .button-item {
    display: block;
    padding: 0.75em;
    margin: 0 0 5px;
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: -webkit-box-shadow 0.2s ease-out;
    transition: -webkit-box-shadow 0.2s ease-out;
    transition: box-shadow 0.2s ease-out;
    transition: box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out;
    text-decoration: none;
    border-bottom: none !important;
    font-size: 16px;
    background: #f4f8fb;
    width: 100%;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.classes_list .button-item:hover {
    color: white;
    background-color: #003366;
}

.classes_list .button-item.active {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #003366;
}

/*=== [ event ] ===*/
.about,
.book,
.event,
.achievement,
.class,
.calender {
    background-color: rgba(255, 236, 227, 0.5);
    padding: 30px;
    border-radius: 30px;
    width: calc(100% + 80px);
    -webkit-transform: translateX(40px);
    transform: translateX(40px);
    margin-bottom: 60px;
    margin-top: 60px;
}

.head-section__3 {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .head-section__3 .head-section_left {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .head-section__3 .head-section_left {
        margin-top: 10px;
    }
}

@media (max-width: 992px) {

    .about,
    .book,
    .event,
    .achievement,
    .class,
    .calender {
        padding: 30px;
        margin-bottom: 40px;
        width: calc(100%);
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}


@media (max-width: 576px) {

    .about,
    .book,
    .event,
    .achievement,
    .class,
    .calender {
        margin-bottom: 30px;
    }
}

@media (max-width: 489px) {

    .about,
    .book,
    .event,
    .achievement,
    .class,
    .calender {
        padding: 30px 15px;
    }
}

.class__slider {
    height: auto;
    margin-top: 30px;
}

.class__slider {
    height: auto;
    margin-top: 30px;
}

.class {
    background: url("../img/attachments-15.jpg") no-repeat center center/cover;
    /* margin-bottom: 140px; */
    border-radius: 30px;
    position: relative;
    height: auto;
}

.class::before {
    content: '';
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    left: 0;
    top: 0;
}

.book__text p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #666666;
    font-size: .875em;
}

.class .book__box {
    padding-top: 30px;
    padding-inline-start: 30px;
    padding-bottom: 30px;
    padding-inline-end: 10px;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -moz-flex;
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    /* NEW - Chrome */
    display: flex;
    width: 100%;
    position: relative;
    background-color: white;
    border-radius: 30px;
}

@media (max-width: 576px) {
    .class .book__box {
        padding-top: 15px;
        padding-inline-start: 15px;
        padding-bottom: 15px;
        padding-inline-end: 0;
    }
}

@media (max-width: 420px) {
    .class .book__box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 30px;
    }
}

@media (max-width: 330px) {
    .class .book__box {
        padding: 15px;
    }
}

.class .book__box .cover-link {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 120;
}

.class .book__box img {
    height: 320px;
    width: 250px;
    border-radius: 30px;
    z-index: 3;
    object-fit: cover;
}

@media (max-width: 1400px) {
    .class .book__box img {
        height: 260px;
        width: 200px;
    }
}

@media (max-width: 1290px) {
    .class .book__box img {
        height: 200px;
        width: 160px;
    }
}

@media (max-width: 576px) {
    .class .book__box img {
        height: 170px;
        width: 135px;
    }
}

@media (max-width: 768px) {
    .class .book__box img {
        border-radius: 15px;
    }
}

@media (max-width: 420px) {
    .class .book__box img {
        height: 300px;
        width: 100%;
    }
}

@media (max-width: 330px) {
    .class .book__box img {
        height: 250px;
        width: 100%;
    }
}

.class .book__text {
    display: block;
    opacity: 1;
    z-index: 4;
    padding-top: 30px;
    padding-inline-start: 30px;
    padding-bottom: 0;
    padding-inline-end: 15px;
    text-align: start;
}

@media (max-width: 1400px) {
    .class .book__text {
        padding: 0 15px;
    }
}

@media (max-width: 420px) {
    .class .book__text {
        padding: 0 10px;
        -webkit-box-flex: 0;
        -ms-flex: 0;
        flex: 0;
        width: 100%;
        margin-top: 15px;
    }
}

.class .book__text a {
    margin-top: 0;
}

.class__box {
    -webkit-transition: .3s;
    transition: .3s;
    margin: 0 15px;
}