p {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
}

a {
    text-decoration: none;
}

body {
    font-family: Roboto, sans-serif;
}

main {
    max-width: 945px;
    margin: 0 auto;
}

.blogs,
.menus,
.comments {
    padding: 40px;
    border-top: 1px solid rgb(232, 234, 237);
}

section:last-child,
.comments {
    border-top: unset;
}

.title {
    font-size: .875rem;
    letter-spacing: .0178571429em;
    font-weight: 500;
    text-transform: uppercase;
    color: rgb(94 94 94);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.title h4 {
    line-height: 1.25rem;
    margin: 0;
}

.title ion-icon {
    margin-bottom: 2px;
}

.content.menu,
.content.blog {
    display: flex;
    width: 100%;
    gap: 20px;
}

.list.blog {
    width: 50%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.item__header.blog {
    display: flex;
    justify-content: space-between;
    padding: 14px 10px 20px 20px;
}

.item.blog {
    width: 100%;
    position: relative;
    border-radius: 8px;
    background-color: #fff;
    border-width: 0;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
    margin-bottom: 10px;
    height: max-content;
}

.item.blog .item__header--left h5 {
    margin: 0;
    line-height: 1.5rem;
    font-size: 1rem;
    letter-spacing: .0125em;
    font-weight: 500;
}

.item.blog .item__header--left h5 {
    margin: 0;
    line-height: 1.5rem;
    font-size: 1rem;
    letter-spacing: .0125em;
    font-weight: 500;
}

.item.blog .item__header--left__text p {
    line-height: 1.25rem;
    font-size: .875rem;
    letter-spacing: .0142857143em;
    font-weight: 400;
    color: rgb(95, 99, 104);
}

.item .item__header--left {
    display: flex;
    align-items: start;
}

.item .item__header--left__img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 12px 0 0;
}

.item.blog .item__header--right {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgb(95, 99, 104);
}

#play__video {
    position: absolute;
    top: 50%;
    content: "";
    transform: translate(-50%, -50%);
    left: 52%;
    z-index: 2;
    width: 0;
    height: 0;
    border-top: 38.335px solid transparent;
    border-left: 58.67px solid #fff;
    border-bottom: 38.335px solid transparent;
    opacity: .6;
    pointer-events: none;
}

body.view__event .title__blog--right.event,
body.view__blog .title__blog--left.blog,
body.view__all .title__blog--right.all {
    color: #1a73e8;
}

body.view__event #border__active {
    left: 66.66%;
}

body.view__blog #border__active {
    left: 33.33%;
}

body.view__all #border__active {
    left: 0%;
}

body.view__event .list__content {
    transform: translateX(-66.666%);
}

body.view__blog .list__content {
    transform: translateX(-33.33333%);
}

body.view__all .list__content {
    transform: translateX(0%);
}

.item__img.blog a video,
.item__img.blog img,
.item__img.blog {
    position: relative;
    width: 100%;
    height: 243px;
    object-fit: cover;
}
.item__img.blog img{
    filter: brightness(0.9);
}
.item__img.blog img:hover{
    filter: brightness(1);
}

.item__img.blog {
    background-color: #eee;
}

.item__description.blog h4 {
    line-height: 1.5rem;
    font-size: 1rem;
    letter-spacing: .0125em;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item__description.blog {
    padding: 14px 20px 0;
    line-height: 1.6rem;
    font-size: 1rem;
    letter-spacing: .00625em;
    font-weight: 400;
    color: rgb(60, 64, 67);
    margin-top: 8.5px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}
.item__description.blog .wp-caption {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    padding: 10px 0;
}

.detail .item__description.blog {
    display: block;
}

.viewmore a {
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.viewmore,
.item__button.blog {
    width: 100%;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.viewmore a:hover,
.item__button.blog a:hover,
.images__slide--seemore__btn a:hover {
    color: rgb(23, 78, 166);
    background: rgb(242, 247, 255);
}

.viewmore a,
.item__button.blog a,
.images__slide--seemore__btn a {
    height: 50px;
    padding: 15px 0 13px 0;
    width: 100%;
    text-decoration: none;
    color: rgb(26, 115, 232);
    background: #fff;
    text-align: center;
    font-size: .875rem;
    font-weight: 600;
}

.images__slide--seemore__btn a,
.viewmore a {
    position: relative;
    z-index: 1;
}

.images__slide--seemore__btn a::after,
.viewmore a::after {
    content: '';
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 0;
    z-index: -1;
    transition: ease-in .2s;
    background-color: #0a50ac;
}

.images__slide--seemore__btn a:focus,
.viewmore a:focus {
    color: #fff;
}

.images__slide--seemore__btn a:focus::after,
.viewmore a:focus::before {
    height: 100%;
    left: 0;
}



.item__time.blog {
    background-color: rgb(206, 234, 214);
    margin: 14px 20px 14px;
    overflow: hidden;
}

.item__time.blog a {
    align-items: center;
    background-image: linear-gradient(to right, rgb(129, 201, 149) 50%, transparent 50%), linear-gradient(to right, rgb(129, 201, 149) 50%, transparent 50%), linear-gradient(to bottom, rgb(129, 201, 149) 50%, transparent 50%), linear-gradient(to bottom, rgb(129, 201, 149) 50%, transparent 50%);
    background-position: left top, left bottom, left top, right top;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 20px 2px, 20px 2px, 2px 20px, 2px 20px;
    display: flex;
    gap: 10px;
    flex-grow: 1;
    justify-content: center;
    margin: 6px;
    padding: 16px;
    text-align: center;
    line-height: 1.5rem;
    font-size: 1rem;
    letter-spacing: .0125em;
    font-weight: 500;
    color: rgb(19, 115, 51);
}

.item__header.menu {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 8px 0;
    line-height: 1.25rem;
    font-size: 1.05rem;
    letter-spacing: .0178571429em;
    font-weight: 500;
    color: rgb(59, 60, 66);
}

.item__header.menu .item__header--right p {
    font-weight: 600;
    font-size: .9rem;
    color: rgb(98, 100, 109);
    color: #0a50ac;
}

.item.menu .item__description {
    line-height: 1.25rem;
    font-size: .875rem;
    letter-spacing: .0142857143em;
    font-weight: 400;
    color: rgb(77, 79, 87);
    margin-top: 8.5px;
    display: -webkit-box;
    /* -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; */
}

.item.menu {
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(232, 234, 237);
}

.menus {
    position: relative;
}

.viewmore.menu a {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 40px;
    margin: 0;
}

.viewmore.menu a::before {
    height: 40px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 100%;
    content: '';
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.rating {
    width: 100%;
    display: flex;
    justify-content: end;
}

.rating__left,
.rating__right {
    width: 50%;
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 1px;
}

.rating__item {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating__left .rating__item span {
    color: rgb(128, 134, 139);
    line-height: 1.25rem;
    font-size: .875rem;
    letter-spacing: .0178571429em;
    font-weight: 500;
}

.rating__left .rating__item ion-icon {
    font-size: .76rem;
    color: rgb(152, 158, 163);
}

.rating__left .rating__item::before {
    position: absolute;
    background: rgb(251, 188, 4);
    content: '';
    height: 17px;
    left: 30px;
    bottom: 0;
    border-radius: 3px;
}

.rating__left .rating__item.star-5::before {
    width: calc(100% - 30px);
}

.rating__left .rating__item.star-4::before {
    width: calc(3%);
}

.rating__left .rating__item.star-3::before {
    width: calc(1%);
}

.rating__left .rating__item.star-2::before {
    width: calc(1%);
}

.rating__left .rating__item.star-1::before {
    width: calc(6%);
}

.rating__number {
    font-size: 3.3rem;
    margin-bottom: 10px;
}

.rating__total {
    font-size: .8rem;
}

.rating i {
    /* color: rgb(251, 188, 4); */
}

.item__header.comment {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.list.comment {
    margin-top: 20px;
}

.list.comment .item__header--left__text .item__header--left__text--bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgb(77, 79, 87);
}

.list.comment .item__header--left__text .item__header--left__text--bottom span {
    font-size: .8rem;
}

.list.comment .item__header--left__text .item__header--left__text--bottom span:first-child {
    width: 79.14px;
}

.item.comment .item__header--left__text h5 {
    color: rgb(77, 79, 87);
}

.item__header--left__text {
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item__description.comment {
    line-height: 1.5rem;
    font-size: 1rem;
    letter-spacing: .00625em;
    font-weight: 400;
    padding: 10px 0 20px 50px;
}

.blogs.detail .item.blog {
    margin: 0 auto;
    max-width: 1000px;
}

.item.comment {
    border-bottom: 1px solid rgb(232, 234, 237);
    margin-bottom: 20px;
}

.item.comment:last-child {
    margin-bottom: 0px;
    border-bottom: unset;
}

.blogs.detail .item.blog .item__img.blog video {
    width: 100%;
    max-height: 100%;
    margin: 0 auto;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    object-fit: contain
}

.blogs.detail .item.blog .item__img.blog {
    display: flex;
    justify-content: center;
    width: 100%;
    background: #222222;
    position: relative;
}

.blogs.detail .item.blog .item__img.blog img,
.blogs.detail .item.blog .item__img.blog {
    height: 610px;
}

.blogs.all .title.blog {
    display: flex;
    justify-content: space-around;
    gap: 5px;
    position: relative;
    max-width: 500px;
    margin: 15px auto;
}

#border__active {
    position: absolute;
    width: 33.333%;
    bottom: 0;
    left: 0;
    content: '';
    height: 2px;
    background: #1a73e8;
    transition: all .2s ease;
}

.title__blog--right,
.title__blog--left {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: 33.333%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.title__blog--right:hover,
.title__blog--left:hover {
    background: #ebebeb;
}

.list__content {
    display: flex;
    width: 300%;
    transition: all .2s ease;
}

.blogs.all {
    overflow: hidden;
    padding: 0;
    margin: 0 40px;
}

.blogs.all .content.blog {
    margin-right: 5px;
    padding: 5px;
    max-width: 856px;
}

.blogs.detail .item__img.blog {
    display: flex;
    overflow-x: scroll;
    justify-content: start !important;
}

.blogs .item__img.blog .item__img--item.blog.imgsrc,
.blogs .item__img.blog .item__img--item.blog.imgsrc video,
.blogs .item__img.blog .item__img--item.blog.imgsrc img {
    position: unset;
    width: 610px;
    display: none;
    visibility: hidden;
}

.blogs.detail .item__img.blog::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar */
}

.blogs.detail .popup {
    width: 610px;
    height: 610px;
    position: absolute;
    z-index: 1;
}

.blogs.detail .popup .close {
    display: none;
}

.blogs.detail .popup .back {
    left: -127px;
}

.blogs.detail .popup .next {
    right: -127px;
}

.blogs.detail {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.blogs.detail #popupimg {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 700px) {
    section {
        padding: 20px;
    }

    .blogs.all {
        overflow: hidden;
        padding: 0;
        margin: 13px;
    }

    .blogs,
    .menus,
    .comments {
        padding: 20px;
    }

    .blogs.all .title.blog {
        margin-bottom: 1.5px;
    }

    .blogs.all .content.blog {
        height: calc(100vh - 138px);
        overflow-y: scroll;
        padding: 5px;
        padding-right: 3px;
    }

    .content.menu,
    .content.blog {
        flex-wrap: wrap;
        height: fit-content;
    }

    .list.menu,
    .list.blog {
        width: 100% !important;
    }

    .title__blog--right:hover,
    .title__blog--left:hover {
        background: #fff;
    }

    .blogs .item__img.blog .item__img--item.blog.imgsrc,
    .blogs .item__img.blog .item__img--item.blog.imgsrc video,
    .blogs .item__img.blog .item__img--item.blog.imgsrc img {
        position: unset;
        max-width: 100%;
        display: none;
        visibility: hidden;
    }

    .blogs.detail .item__img.blog::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar */
    }

    .blogs.detail .popup {
        width: 410px;
        height: 410px;
        position: absolute;
    }

    .blogs.detail .item.blog .item__img.blog img,
    .blogs.detail .item.blog .item__img.blog {
        height: 410px;
    }
}

@media screen and (max-width: 350px) {
    .blogs.detail .popup {
        width: 310px;
        height: 310px;
        position: absolute;
    }

    .blogs.detail .item.blog .item__img.blog img,
    .blogs.detail .item.blog .item__img.blog {
        height: 310px;
    }
}