.section-health-blogtab .tab-content {
    display: none;
}

.section-health-blogtab .tab-content.active {
    display: block;
}

.section-health-blogtab .health-blogtab-tabs-wrap {
    margin-bottom: clamp(2rem, 2vw, 3rem);
}

.health-blogtab-tabs-viewport {
    container-type: inline-size;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
}

.health-blogtab-tabs-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-rows: auto;
    align-items: stretch;
    column-gap: 10px;
    width: max-content;
    min-width: 100%;
    grid-auto-columns: calc((100cqi - 20px) / 3);
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .health-blogtab-tabs-track {
        grid-auto-columns: calc((100cqi - 30px) / 4);
    }
}

@media (min-width: 1200px) {
    .health-blogtab-tabs-track {
        column-gap: 20px;
        grid-auto-columns: calc((100cqi - 80px) / 5);
    }
}

.health-blogtab-tab-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    height: 66px;
    padding: 0 0.5rem;
    position: relative;
    background-color: #F8F8F8;
    border-radius: 0.75rem;
    transition: 0.3s;
    min-width: 0;
}

.health-blogtab-tab-item a.nav-link {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
    transition: 0.3s;
    text-align: center;
}

.health-blogtab-tab-item:hover a.nav-link {
    color: var(--color2);
}

.health-blogtab-tab-item:has(a.nav-link.active) {
    background-color: var(--color1);
}

.health-blogtab-tab-item:has(a.nav-link.active) a.nav-link {
    color: var(--white);
}

.section-health-blogtab .sidebar-image img {
    width: 100%;
    border-radius: 1rem;
    transition: 0.3s;
}

.section-health-blogtab .sidebar-image-link {
    display: block;
    width: 100%;
    border-radius: 1rem;
    transition: 0.3s;
    margin-bottom: 2rem;
}

.section-health-blogtab .sidebar-image-link:hover img {
    transform: scale(1.02);
}

.section-health-blogtab .sidebar-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-health-blogtab .sidebar-item-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 66px;
    border-radius: 1rem;
    background-color: #F8F8F8;
    transition: 0.3s;
}

.section-health-blogtab .sidebar-item-link i {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    background-color: var(--white);
    border-radius: 50%;
    transition: 0.3s;
    color: #707070;
}

.section-health-blogtab .sidebar-item-link:hover i {
    background-color: #147A7F;
    color: var(--white);
}

.section-health-blogtab .sidebar-item-link .sidebar-item-title {
    color: #707070;
    line-height: 2rem;
    transition: 0.3s;
}

.section-health-blogtab .sidebar-item-link:hover .sidebar-item-title {
    color: #147A7F;
}

.section-health-blogtab .sidebar-items-toggle {
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    color: #444343;
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.3s ease;
}

.section-health-blogtab .sidebar-items-toggle:hover {
    color: #147A7F;
}

.section-health-blogtab .sidebar-items-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
}

.section-health-blogtab .sidebar-items-toggle-icon.icon-minus {
    font-size: 0.25rem;
}

.section-health-blogtab .sidebar-items-more-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
}

@media (max-width: 991.98px) {
    .section-health-blogtab .sidebar-items--has-more .sidebar-items-more-grid {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        margin-top: -1.5rem;
    }

    .section-health-blogtab .sidebar-items--has-more.is-expanded .sidebar-items-more-grid {
        grid-template-rows: 1fr;
        margin-top: -0.75rem;
    }

    .section-health-blogtab .sidebar-items-more-inner {
        overflow: hidden;
        min-height: 0;
    }
}

@media (min-width: 992px) {
    .section-health-blogtab .sidebar-items--has-more .sidebar-items-more-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .section-health-blogtab .sidebar-items--has-more .sidebar-items-toggle {
        display: none !important;
    }
}

.section-health-blogtab .health-blogtab-list .health-item-tab {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E8E8E8;
}

.section-health-blogtab .health-blogtab-list .health-item-tab:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-image {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-image img {
    width: 100%;
    border-radius: 1rem;
    transition: 0.3s;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .health-item-tab-categories-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .health-item-tab-categories-wrap .health-item-tab-categories {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: #F3F8FD;
    padding: 0 10px;
    height: 35px;
    color: var(--text);
    font-size: 0.875rem;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .health-item-tab-categories-wrap .health-item-tab-category {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: #F3F8FD;
    padding: 0 10px;
    height: 35px;
    color: var(--text);
    font-size: 0.875rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .health-item-tab-categories-wrap a.health-item-tab-category:hover {
    color: var(--white);
    background-color: var(--color1);
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .health-item-tab-categories-wrap a.health-item-tab-category:hover i {
    color: var(--white);
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .health-item-tab-categories-wrap .health-item-tab-category i {
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .health-item-title {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    margin-top: clamp(1.5rem, 2vw, 2rem);
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .health-item-title a {
    color: var(--text);
    transition: color 0.3s ease;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .health-item-tab-excerpt p {
    color: #444343;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: clamp(1.5rem, 2vw, 2rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .readmore {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    font-size: 14px;
    gap: 6px;
    color: #444343;
}

.section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content .readmore i {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #B1B1B1;
    transition: color 0.3s ease;
}

.section-health-blogtab .health-blogtab-list .health-item-tab:has(a:hover) .health-item-tab-content .health-item-title a {
    color: #147A7F;
}

.section-health-blogtab .health-blogtab-list .health-item-tab:has(a:hover) .health-item-tab-image img {
    transform: scale(1.04);
}

.section-health-blogtab .health-blogtab-list .health-item-tab:has(a:hover) .health-item-tab-content .readmore,
.section-health-blogtab .health-blogtab-list .health-item-tab:has(a:hover) .health-item-tab-content .readmore i {
    color: var(--text);
}

@media screen and (max-width: 991.99px) {
    .section-health-blogtab .sidebar-wrap {
        margin-top: 65px;
    }
}

@media screen and (max-width: 767.99px) {
    .section-health-blogtab .health-blogtab-list .health-item-tab {
        flex-direction: column;
    }

    .section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-image {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .section-health-blogtab .health-blogtab-list .health-item-tab .health-item-tab-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media screen and (min-width: 991.99px) {
    .section-health-blogtab .sidebar-items-more-inner {
        padding-top: 0;
    }
}

@media screen and (min-width: 991.99px) and (max-width: 1199.99px) {
    .section-health-blogtab .col-lg-9 {
        padding-left: 1.5rem !important;
    }
}