:root {
    --category-image-height: 54%;
}

h1,
p {
    margin: 0;
    text-align: center;
}

.celebrity {
    padding: 2rem 0 !important;
}

.celebrity-background-image {
    background: url("../images/celebrity_container.jpg") no-repeat center/cover;
}

.section-body {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) -0.68%, #000000 74.85%);
}

.section-body,
.celebrity-content {
    color: #fff;
}

.section-body h1,
.title-heading {
    text-transform: uppercase;
    font-family: Phudu, sans-serif;
    font-weight: 400;
}

.title-item {
    color: #fff;
}

.title-container {
    text-align: center;
}

.title-wrapper {
    width: max-content;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    transition: transform .3s ease-in-out;
}

.title-item {
    padding: 2px 10px;
    margin: 0 10px;
}

.title-item.clicked {
    color: #fff;
    background: #FF8800;
    border-radius: 4px;
}

.title-item.search-area {
    margin-right: 0;
}

.title-item.search-mobile {
    display: none;
}

.title-item.search-area:hover {
    background: none;
}

.search-container {
    display: inline-flex;
    gap: 15px;
}

.search-container {
    width: 90%;
    position: absolute;
}

.search-container {
    left: 100%;
    opacity: 0;
}

.search-container {
    transition: all .3s ease-in-out, opacity .3s ease-in-out;
}

.search-container.slide {
    left: 25px;
    opacity: 1;
}

.ic-title-search {
    font-size: 1rem;
}

.ic-title-search:hover,
.close-icon:hover i {
    color: #FF8800;
}

.search-input-container {
    position: relative;
    transition: right;
    flex: 1;
}

.search-input {
    outline: none;
    border: none;
    background: transparent;
    color: #DFE1E8;
    border-bottom: 2px solid #fff;
    width: 100%;
    padding: 0;
    padding-left: 5px;
}

.search-input::placeholder {
    font-size: 14px;
    color: #DFE1E8;
}

.close-icon {
    position: absolute;
    right: 0;
    line-height: 14px;
}

.close-icon i {
    font-size: 20px;
}

.title-wrapper .title-item:not(.search-area),
.title-wrapper .ic-title-search.first {
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

.title-wrapper.slide .title-item:not(.search-area),
.title-wrapper.slide .ic-title-search.first {
    opacity: 0;
    pointer-events: none;
}

.section-body h1:not(.title-heading) {
    padding-bottom: 100px;
}

.section-body p {
    margin-bottom: 84px;
}

.title-container {
    margin-bottom: 40px;
}

.ic-title-search.first,
.ic-title-search.second,
.close-icon {
    cursor: pointer;
}

.title-category-group {
    /* padding: 70px 0; */
    padding-bottom: 0;
}

.title-heading {}

.category-container {
    /* margin-top: 64px; */
}

.category-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.category-item {
    padding: 10px;
}

.category-item {
    width: calc(100% / 3);
}

.category-item {
    /* display: flex; */
    flex-direction: column;
}

.category-image {
    height: var(--category-image-height);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transition: transform .3s ease-in-out;
    transform-origin: center center;
}

.category-item:hover .category-image img {
    transform: scale(1.05);
}

.category-text {
    /* height: calc(100% - var(--category-image-height)); */
    color: #DFE1E8;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.category-common-name,
.category-item-content {
    text-align: left;
    margin-bottom: 0;
}

.category-common-name,
.category-item-content,
.category-read-new {
    margin-top: 1.2rem;
}

.category-common-name,
.category-item-content,
.category-read-new {
    cursor: pointer;
}

.category-common-name,
.category-read-new {
    height: fit-content;
}

.category-item-content {
    font-size: 25px;
    font-weight: 700;
}

.category-item-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-item-content {
    flex: 1;
}

.category-read-new {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
}

.category-read-new i {
    color: #8B8B8B;
}

.category-common-name:hover,
.category-item-content:hover,
.category-read-new:hover {
    color: #FF8800;
}

.category-read-new:hover i {
    color: #FF8800;
}

/* -------------------------------- PAGE SEGMENT ----------------------------------- */
.page-segment {
    /* padding: 20px 0; */
    padding-bottom: 6rem;
    padding-top: 2rem;
}

.segment-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.segment-item {
    color: #000;
    color: #fff;
    cursor: pointer;
}

.segment-item.is-active {
    color: #FF8800;
}


/*------------------------------- Responsive trang danh nhan ------------------------------- */
@media (max-width: 1399.98px) {}

@media (max-width: 1199.98px) {}

@media (min-width: 992px) {
    .title-item:hover {
        color: #fff;
        background: #FF8800;
        border-radius: 4px;
    }

    .segment-item:hover {
        color: #FF8800;
    }
}

@media (max-width: 991.98px) {
    .section-body h1:not(.title-heading) {
        padding-bottom: 50px;
    }

    .title-item:hover {
        color: inherit;
    }

    .category-container {
        margin-top: 42px;
    }

    .category-image {
        height: 48%;
    }

    .page-segment {
        padding: 4rem 0;
    }

    .segment-container {
        gap: 30px;
    }

    .segment-item:hover {
        color: #FF8800;
    }
}

@media (max-width: 767.98px) {

    .category-item-content {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 575.98px) {

    .section-body p {
        margin-bottom: 50px;
    }

    .title-container {}

    .title-wrapper {
        width: 100%;
    }

    .title-item {
        display: block;
    }

    .title-item.search-large-screen {
        display: none;
    }

    .title-item.search-mobile {
        display: block;
        margin-right: 10px;
        margin-top: 10px;
    }

    .title-wrapper .title-item:not(.search-area) {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .title-category-group {
        /* padding-top: 54px; */
    }

    .category-container {
        margin-top: 40px;
    }

    .category-wrapper {
        flex-wrap: wrap;
    }

    .category-item {
        width: 100%;

    }

    .category-item-content {
        -webkit-line-clamp: 2;
    }

    .page-segment {
        padding-top: 0;
    }
}