.video-categories {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #172B4D;
}

.video-categories a {
    color: #172B4D;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.42857143;
}

.section-p {
    padding: 40px 0;
}

.common-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ct-line {
    width: 4px;
    height: 32px;
    border-radius: 4px;
    background-color: #0065FF;
}

.ct-text {
    font-family: Montserrat SemiBold, Arial, sans-serif;
    font-size: 32px;
    color: #0065FF;
}

@media (min-width: 1200px) {
    .video-categories .container {
        width: 1200px;
    }
}

@media (max-width: 767px) {
    .section-p {
        padding: 20px 0;
    }

    .ct-text {
        font-size: 24px;
    }
}

/*#region Feature Posts */
.search-box {
    border: 1px solid #0065ff;
    border-radius: 6px;
    position: relative;
    flex: 1;
    margin-left: 24px;
    max-width: 370px;
    height: fit-content;
    overflow: hidden;
}

.ic-cancel-input.hide-ic {
    display: none;
}

.search-box .is-form-style::after {
    position: absolute;
    display: block;
    content: "";
    background: url("/sites/amis/images/post/lookup.svg") no-repeat
        center center;
    background-size: 24px;
    height: 24px;
    width: 24px;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    margin-top: 0;
    opacity: 0.7;
}

.search-box .is-search-form .is-search-input {
    border-radius: 99px;
    display: block;
    width: 100%;
    padding: 10px 20px 10px 36px;
    border: 0;
    outline: none;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-weight: 400;
}

.search-box .short-cut {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    opacity: 0.7;
    padding: 2px 12px;
    background-color: #f0f2f4;
    border-radius: 6px;
}

.fp-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 24px;
}

.fp-bottom {
    display: flex;
    gap: 30px;
}

.fp-left,
.fp-right {
    flex: 1;
}

.fp-title {
    font-family: Montserrat SemiBold, Arial, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-thumbnail {
    display: block;
    position: relative;
}

.fp-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.fp-thumbnail .fp-play {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fp-left .fp-thumbnail {
    overflow: hidden;
}

.fp-thumbnail:hover {
    opacity: 1;
}

.fp-thumbnail:hover .fp-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2, 1.2);
    transition: transform 0.2s ease;
}

.fp-left .fp-item {
    background: linear-gradient(180deg, #FFFFFF 55.53%, #DEEBFF 100%);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
}

.fp-left .fp-title {
    margin-bottom: 16px;
}

.fp-left .fp-content {
    padding: 16px 16px 24px;
}

.fp-right .fp-item {
    display: flex;
    gap: 16px;
}

.fp-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.fp-right .fp-title {
    font-size: 14px;
    margin-bottom: 8px;
}

.fp-right .fp-thumbnail {
    max-width: 250px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    gap: 16px;
}

.fp-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fpd-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

a.fpd-cat {
    color: #0065FF;
    font-size: 14px;
    padding: 2px 8px;
    background-color: #DEEBFF;
    border-radius: 20px;
}

.fpd-text {
    font-size: 14px;
}

.video-categories .td-post-views {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-categories .td-post-views span {
    font-size: 14px;
    color: #172b4d;
    font-family: Montserrat, Arial, sans-serif;
}

.video-categories .td-icon-views {
    background: url(/sites/amis/images/video-categories/ic-view.svg) no-repeat center;
    width: 16px;
    height: 16px;
}

.video-categories .td-icon-views::before {
    content: "";
}

@media (max-width: 979px) {
    .fp-bottom {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .fp-right .fp-item {
        flex-direction: column;
    }

    .fp-right .fp-thumbnail {
        max-width: unset;
        width: 100%;
    }

    .fp-header {
        flex-direction: column-reverse;
        gap: 24px;
    }

    .search-box {
        margin: 0;
    }
}
/*#endregion Feature Posts */

/*#region New Posts */
.np-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 24px;
}

a.np-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0065FF;
}

.np-wrap.grid-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.np-wrap.grid-col .np-item {
    display: flex;
    gap: 16px;
}

.np-wrap.grid-col .np-thumbnail {
    width: 220px;
    height: 114px;
    border-radius: 6px;
}

.np-thumbnail {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.np-thumbnail img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
}

img.np-play {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.np-thumbnail:hover {
    opacity: 1;
}

.np-thumbnail:hover .np-play {
    transform: translate(-50%, -50%) scale(1.2);
    transition: transform all .2s;
}

.np-title {
    font-family: Montserrat SemiBold, Arial, sans-serif;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 12px;
}

.np-detail {
    display: flex;
    gap: 24px;
}

.npd-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.np-wrap.grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.np-wrap.grid-row .np-item {
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.16);
}

.np-wrap.grid-row .np-thumbnail {
    display: block;
    width: 100%;
    max-width: 270px;
    height: 138px;
}

.np-wrap.grid-row .np-content {
    padding: 16px 16px 24px;
}

@media (max-width: 979px) {
    .np-wrap.grid-col {
        grid-template-columns: 1fr;
    }

    .np-wrap.grid-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .np-wrap.grid-row .np-thumbnail {
        max-width: unset;
        height: 190px;
    }
}

@media (max-width: 767px) {
    .np-wrap.grid-col .np-item {
        flex-direction: column;
    }

    .np-wrap.grid-col .np-thumbnail {
        width: 100%;
        height: 190px;
    }

    .np-wrap.grid-row {
        grid-template-columns: 1fr;
    }
}
/*#endregion New Posts */

/*#region Other Categories */
.other-categories .common-title {
    padding-bottom: 24px;
}

.oc-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.oc-item {
    position: relative;
    max-width: 221px;
    overflow: hidden;
    border-radius: 6px;
}

.oc-text {
    color: #fff;
    width: 100%;
    padding: 10px;
    position: absolute;
    bottom: 0;
}

.oc-title {
    font-family: Roboto SemiBold, Arial, sans-serif;
	font-size: 15.5px;
    padding-bottom: 8px;
}

.oc-more {
    font-family: Roboto, Arial, sans-serif;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.oc-more img {
    width: 16px;
    height: 16px;
}

@media (max-width: 676px) {
    .oc-wrap {
        gap: 5px;
    }
}
/*#endregion Other Categories */
