* { box-sizing: border-box; }
.certificate-section { padding: 2rem 0; overflow: hidden; }
.certificate-title { margin: 0 0 50px; padding: 0 20px; color: #2381b4; font-size: 36px; font-weight: 700; line-height: 1.3; text-align: center; text-transform: uppercase; }
.certificate-slider-wrap { position: relative; width: 100%; overflow: hidden; }
.certificate-slider { width: 133.333333%; margin-left: -16.666666%; padding: 20px 0 30px; overflow: visible; }
.certificate-slider .swiper-wrapper { align-items: center; }
.certificate-slider .swiper-slide { position: relative; opacity: 0.42; transform: scale(0.88); transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease; }
.certificate-slider .swiper-slide.main-active { z-index: 2; opacity: 1; transform: scale(1); }
.certificate-item { position: relative; min-height: 560px; padding: 3rem 2rem 3rem 2.5rem; overflow: hidden; background: url(../imgs/bg_thucdon.webp) no-repeat bottom left; background-size: cover; border: 1px solid rgba(0, 0, 0, 0.07); box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18); }
.certificate-item::before { content: ""; position: absolute; inset: 16px; pointer-events: none; border: 2px solid var(--c1); }
.certificate-item::after { content: ""; position: absolute; inset: 23px; pointer-events: none; border: 1px solid var(--c1); }
.certificate-content { position: relative; z-index: 2; width: 100%; }
.certificate-number { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin-bottom: 22px; color: #fff; background: #2381b4; border-radius: 50%; font-size: 26px; font-weight: 700; }
.certificate-name { margin: 0 0 15px; color: #2381b4; font-size: 28px; line-height: 1.3; text-transform: uppercase; }
.certificate-desc { max-width: 360px; margin: 0 auto; color: #666; font-size: 16px; line-height: 1.7; }
.certificate-navigation { position: absolute; top: 50%; z-index: 20; display: flex; align-items: center; justify-content: center; width: 48px; height: 70px; padding: 0; color: #e00000; background: rgba(255, 255, 255, 0.92); border: 0; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12); cursor: pointer; transform: translateY(-50%); transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; }
.certificate-navigation:hover { color: #fff; background: #e00000; }
.certificate-navigation:active { transform: translateY(-50%) scale(0.94); }
.certificate-prev { left: calc(16.666666% - 24px); border-radius: 10px 0 0 10px; }
.certificate-next { right: calc(16.666666% - 24px); border-radius: 0 10px 10px 0; }
.certificate-navigation svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.certificate-name-list { margin: 0 0 1rem; color: var(--c1); font-size: 28px; line-height: 1.3; text-align: center; text-transform: uppercase; font-family: 'font2'; }
.certificate-content + .certificate-content { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.certificate-name-cat { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }
.certificate-name-cat a { color: #0877e8; text-decoration: none; }
.certificate-content ul { margin: 0; padding: 0; list-style: none; }
.certificate-content ul li { margin-bottom: 7px; }
.certificate-content ul li:last-child { margin-bottom: 0; }
.certificate-content ul li > a { display: flex; align-items: baseline; width: 100%; color: #171717; font-size: 15px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.certificate-product-name { flex: 0 1 auto; max-width: 70%; }
.certificate-product-dots { flex: 1; min-width: 20px; height: 1px; margin: 0 5px; border-bottom: 2px dotted #999; }
.certificate-product-price { flex: 0 0 auto; white-space: nowrap; text-align: right; }
.certificate-content ul li > a:hover, .certificate-name-cat a:hover { color: #ed0000; }
.certificate-content-scroll { height: 500px; overflow-y: auto; overflow-x: hidden;    /* Firefox */ scrollbar-width: thin; scrollbar-color: #cdc1b0 #f3f3f300; padding-right: 10px; }
.certificate-content-scroll::-webkit-scrollbar { width: 4px; }
.certificate-content-scroll::-webkit-scrollbar-track { background: #f3f3f3; border-radius: 10px; }
.certificate-content-scroll::-webkit-scrollbar-thumb { background: #c59d5f; border-radius: 10px; transition: .3s; }
.certificate-content-scroll::-webkit-scrollbar-thumb:hover { background: #a87f43; }
.certificate-content-scroll::-webkit-scrollbar-corner { background: transparent; }
.certificate-content-scroll::-webkit-scrollbar { width: 6px; }
.certificate-content-scroll::-webkit-scrollbar-track { background: transparent; }
.certificate-content-scroll::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .25); border-radius: 999px; }
.certificate-content-scroll::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, .45); }
.pic-listsp { width: 100%; margin: 1rem 0 0; display: flex; justify-content: space-between; align-items: stretch; gap: 10px; }
.pic-listsp img { width: calc((100% - 10px)/2); border: 4px solid var(--c2); }
@media (max-width:1200px) {
    .certificate-name-list { font-size: 24px; }
    .certificate-name-cat a { font-size: 16px; }
}
@media (max-width:1024px) {
    .certificate-navigation { width: 40px; height: 55px; }
}
@media (max-width:991px) {
    .certificate-section { }
    .certificate-title { margin-bottom: 35px; font-size: 30px; }
    .certificate-slider { width: 100%; margin-left: 0; padding-left: 20px; padding-right: 20px; }
    .certificate-slider .swiper-slide { opacity: 0.5; transform: scale(0.92); }
    .certificate-slider .swiper-slide.main-active { opacity: 1; transform: scale(1); }
    .certificate-prev { left: 10px; }
    .certificate-next { right: 10px; }
    .certificate-item { min-height: 450px; }
}
@media (max-width:575px) {
    .certificate-section { padding-top: 35px; }
    .certificate-title { margin-bottom: 20px; font-size: 24px; }
    .certificate-slider { padding-left: 35px; padding-right: 35px; }
    .certificate-slider .swiper-slide { opacity: 1; transform: none; }
    .certificate-item { min-height: 420px; padding: 22px; }
    .certificate-item::before { inset: 11px; }
    .certificate-item::after { inset: 17px; }
    .certificate-desc { font-size: 14px; }
    .certificate-navigation { width: 38px; height: 58px; }
    .certificate-prev { left: 0; }
    .certificate-next { right: 0; }
}