/* Begin: Dung cho cac trang khong can keo menu */
header.scrolled .header__top {
    display: none !important;
}
header#header {
    background: #fff;
}
.header--gradient .header__menu>.menu-item>.menu-link {
    color: #207D57;
}
img.logoFixed {
    display: block !important;
}
.header__main {
    padding-top: 20px !important;
    border-bottom: 1px solid #207D57;
}
.header__logo img.logoRelative {
    display: none;
}

.header.fixed .header__top {
    margin-top: 0px !important;
}

.header.fixed .header__main .header__tools {
    /* display: none !important; */
    margin-bottom: 16px;
}
/* End: Dung cho cac trang khong can keo menu */
.breadcrumbs {
    margin: 165px 0px 10px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-title {
    text-align: center;
    margin: 24px 0px 70px 0px;
}

.section-title h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--mLOGO, #207D57);
    line-height: normal;
}
.banner {
    width: 100%;
    height: auto;
    margin-top: 10px;
}
.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.box-text {
    margin-top: 70px;
}


.certification-section {
    margin-top: 50px;
}
.certification-title {
    color: var(--Mlogo, #207D57);
    font-size: 36px;
    font-weight: 700;
}
.view-all-link {
    border-radius: 111px;
    border: 1px solid #70BF54;
    padding: 12px 24px;
    gap: 10px;
    color: #222;
    font-size: 14px;
    font-weight: 500;
}
.view-all-link:hover {
    background: linear-gradient(270deg, #70BF54 0%, #1C7D56 80%);
    border: 1px solid #207D57;
    color: #fff;
}
.certification-tabs {
    display: flex;
    list-style: none;
    padding-left: 0px;
    position: relative;
}
.certification-tabs::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background-color: #207D57;
}
.nav-link-tab {
    color: rgba(32, 125, 87, 0.70);
    font-size: 19px;
    font-weight: 500;
    margin-right: 100px;
    cursor: pointer;
    user-select: none;
    border: none;
    background-color: transparent;
}
.nav-link-tab.active{
    color: #207D57;
    font-size: 19px;
    font-weight: 700;
    position: relative;
}
.nav-link-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #207D57;
}
.tab-content {
    margin-top: 50px;
}
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.accordion-panel {
    border-bottom: 1px solid #eee;
    position: relative;
    margin-bottom: 50px;
}

.accordion-panel::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #207D57;
}

.accordion-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
}

.accordion-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #207D57;
}
.accordion-icon {
    flex-shrink: 0;
    width: 22px;
    height: 24px;
    transition: transform 0.3s ease;
}
.accordion-icon.arrow-up {
    display: none;
}

.accordion-panel.is-open .accordion-icon.arrow-down {
    display: none;
}

.accordion-panel.is-open .accordion-icon.arrow-up {
    display: block;
}

.accordion-body-blade {
    padding: 0;
}

.cert-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
    padding-left: 0 !important;
}

.cert-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cert-item::before {
    content: '';
    display: block;
    width: 13px;
    height: 13px;
    background-color: #207D57;
    margin-right: 12px;
    flex-shrink: 0;
}

.cert-item:last-child {
    border-bottom: none;
}

.cert-info {
    font-size: 16px;
    font-weight: 500;
    margin-right: 50px;
    color: #222;
}

.cert-org {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    flex-grow: 1;
}

.cert-link {
    color: #207D57;
    text-decoration: none;
    font-weight: bold;
}

.search-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.section-title {
  color: #207D57;
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}

.search-input-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 500px;
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 15px; /* Thêm padding bên phải để chứa icon */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #207D57;
  box-shadow: 0 0 5px rgba(32, 125, 87, 0.5);
}

.search-button {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 10px; /* Đặt icon ở bên phải */
}

.search-button svg {
  display: block;
}


.list-post-section {
    margin-top: 100px;
}

.tab-content-2 {
    margin-top: 50px;
}
/* --- Responsive --- */
@media (max-width: 1200px) {
    .section-title h1 {
        font-size: 26px;
    }
}

@media (max-width: 992px) {

    .breadcrumbs {
        margin: 90px 0px 10px 0px;
    }

    .section-title h1 {
        font-size: 22px;
    }

    .certification-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .certification-title {
        font-size: 22px;
    }

    .nav-link-tab {
        font-size: 14px;
        margin-right: 20px;
    }

    .accordion-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {

    .breadcrumbs {
        margin: 110px 0px 10px 0px;
    }
    .section-title h1 {
        font-size: 38px;
    }

    .cert-org {
        margin: 4px 0;
    }

    .cert-link {
        font-size: 12px;
    }

    .search-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .certification-title {
        margin-bottom: 10px;
    }

    .search-input-container {
        width: 60%;
    }

    .box-text * {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .box-text h2 * {
        font-size: 24px !important;
        font-weight: 600 !important;
    }

    .box-text h3 * {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 576px) {

    .section-title {
        margin: 18px 0px 20px 0px;
    }

    .banner {
        margin-top: 35px !important;
    }

    .certification-title {
        font-size: 22px;
    }

    .nav-link-tab {
        font-size: 12px;
        padding: 8px 0;
    }

    .accordion-title {
        font-size: 14px;
    }

    .view-all-link {
        font-size: 12px;
        padding: 6px 12px;
    }

    .nav-link-tab.active {
        color: #207D57;
        font-size: 15px;
        font-weight: 700;
        position: relative;
    }
    .cert-info {
        font-size: 14px;
    }
    .cert-org {
        font-size: 14px;
    }
    .cert-item::before {
        width: 8px;
        height: 8px;
    }
    .accordion-icon {
        flex-shrink: 0;
        width: 12px;
        height: 14px;
        transition: transform 0.3s ease;
    }
    .accordion-panel {
        margin-bottom: 15px;
    }
    .list-post-section {
        margin-top: 50px;
    }
    .tab-content-2 {
        margin-top: 20px;
    }
    .search-input-container {
        width: 100%;
    }
    .ertification-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .certification-title {
        text-align: left;
        width: 100%;
    }
    .cert-link {
        display: flex;
    }
    .view-all-link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 150px;
        height: 40px;
        text-decoration: none;
        font-weight: 500;
        align-self: flex-start;
        margin-left: 0;
    }

    .certification-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        gap: 10px;
        padding-bottom: 5px;
    }

    .certification-tabs::-webkit-scrollbar {
        height: 6px;
    }

    .certification-tabs::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 10px;
    }

    .certification-tabs li {
        flex: 0 0 auto;
    }




}

