@media (min-width: 992px) {
    .bx-newslist .bx-newslist-container:nth-child(3n + 1) {
        clear: both;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .bx-newslist .bx-newslist-container:nth-child(2n + 1) {
        clear: both;
    }
}

.bx-newslist-img,
.bx-newslist-slider {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

.bx-newslist-slider img,
.bx-newslist-img img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.bx-newslist-slider {
    padding-bottom: 56.25%;
    width: 100%;
    height: 0;
    overflow: hidden;
}

.bx-newslist-slider-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.bx-newslist-slider-slide {
    float: left;
    z-index: 100;
}

.bx-newslist-slider-arrow-container-left,
.bx-newslist-slider-arrow-container-right {
    position: absolute;
    top: 0;
    bottom: 0;
    cursor: pointer;
    width: 15%;
}

.bx-newslist-slider-arrow-container-left {
    left: 0;
}

.bx-newslist-slider-arrow-container-right {
    right: 0;
}

.bx-newslist-slider-arrow {
    position: absolute;
    top: 50%;
    vertical-align: middle;
    opacity: 0.5;
    z-index: 110;
    cursor: pointer;
    margin-top: -24px;
    width: 20px;
    height: 48px;
    color: #fff;
    font-size: 48px;
    line-height: 34px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.bx-newslist-slider-arrow-container-left:hover .bx-newslist-slider-arrow,
.bx-newslist-slider-arrow-container-right:hover .bx-newslist-slider-arrow {
    display: block;
    opacity: 1;
    color: #fff;
}

.bx-newslist-slider-arrow-container-left .bx-newslist-slider-arrow {
    left: 20px;
}

.bx-newslist-slider-arrow-container-right .bx-newslist-slider-arrow {
    right: 20px;
}

.bx-newslist-slider-control {
    position: absolute;
    bottom: 10px;
    z-index: 110;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    word-spacing: -4px;
}

.bx-newslist-slider-control li {
    display: inline-block;
    opacity: 0.5;
    margin: 0 3px;
    border-radius: 50%;
    background: #fff;
    width: 10px;
    height: 10px;
    word-spacing: -4px;
}

.bx-newslist-slider-control li:hover,
.bx-newslist-slider-control li.current {
    opacity: 1;
    background: #fff;
}

.bx-newslist-slider-arrow,
.bx-newslist-slider-control li {
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.bx-newslist-more {
    margin-top: 5px;
    margin-bottom: 5px;
}

.bx-newsdetail-modal-content-date {
    color: #6c6c6c;
    white-space: nowrap;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 16px;
}

.bx-newsdetail-modal-title {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 32px;
    text-align: center;
    text-transform: uppercase;
    color: #127a8d;
    margin-bottom: 24px;
}

.bx-newsdetail-modal-content-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #127a8d;
    margin-bottom: 16px;
}

.bx-newsdetail-modal-content {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    word-wrap: break-word;
}

.bx-newsdetail-modal-content-table-wrapper {
    overflow-x: auto;
}

.certificates-slider {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.certificates-slider__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
}

.certificates-slider__title {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 1.8846rem + 0.5128vw, 2.5rem);
    text-transform: uppercase;
    color: rgba(18, 122, 141, 1);
    display: block;
    flex: 1;
    text-wrap: balance;
}

.certificates-swiper {
    position: relative;
    width: 100%;
    padding: 5px;
    overflow: hidden;
    margin-top: 20px;
}

.certificates-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.certificates-swiper .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
    width: auto;
}

.certificates-swiper .swiper-slide .certificates-slide {
    width: 100%;
    height: clamp(19.375rem, 18.6827rem + 3.0769vw, 22.375rem);
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.certificates-slider__pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-shrink: 0;
}

.certificates-slider__pagination-wrapper .swiper-button-next,
.certificates-slider__pagination-wrapper .swiper-button-prev {
    position: relative;
    width: 14px;
    height: 22px;
    margin-top: 0;
    top: auto;
    left: auto;
    right: auto;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificates-slider__pagination-wrapper .swiper-button-next:hover,
.certificates-slider__pagination-wrapper .swiper-button-prev:hover {
    opacity: 1;
}

.certificates-slider__pagination-wrapper .swiper-button-next:hover svg path,
.certificates-slider__pagination-wrapper .swiper-button-prev:hover svg path {
    fill: #127a8d;
    transition: fill 0.3s ease;
}

.certificates-slider__pagination-wrapper .swiper-button-next svg,
.certificates-slider__pagination-wrapper .swiper-button-prev svg {
    width: 100%;
    height: 100%;
    display: block;
}

.certificates-slider__pagination-wrapper .swiper-button-next svg path,
.certificates-slider__pagination-wrapper .swiper-button-prev svg path {
    transition: fill 0.3s ease;
}

.certificates-slider__pagination-wrapper .swiper-button-next::after,
.certificates-slider__pagination-wrapper .swiper-button-prev::after {
    display: none;
}

.certificates-slider__pagination-wrapper .swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.certificates-slider__pagination-wrapper .swiper-pagination {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificates-slider__pagination-wrapper .swiper-pagination-bullet {
    width: 56px;
    height: 4px;
    background: transparent;
    opacity: 1;
    margin: 0 8px;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease;
}

.certificates-slider__pagination-wrapper .swiper-pagination-bullet svg {
    width: 100%;
    height: 100%;
    display: block;
}

.certificates-slider__pagination-wrapper .swiper-pagination-bullet svg line {
    transition: stroke 0.3s ease;
}

.certificates-slider__pagination-wrapper
    .swiper-pagination-bullet:hover:not(.swiper-pagination-bullet-active)
    svg
    line {
    stroke: #127a8d;
}

.certificates-slider__pagination-wrapper .swiper-pagination-bullet-active {
    width: 120px;
    opacity: 1;
    background: transparent;
}

.certificates-slider__pagination-wrapper .swiper-pagination-bullet-active svg {
    width: 120px;
    height: 4px;
}

.certificates-slider__pagination-wrapper
    .swiper-pagination-bullet-active
    svg
    line {
    stroke: #127a8d;
}

.certificates-slide {
    display: flex;
    flex-direction: column;
    gap: clamp(0.625rem, 0.4808rem + 0.641vw, 1.25rem);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    width: 494px;
    height: 358px;
    padding: clamp(0.625rem, 0.4808rem + 0.641vw, 1.25rem);
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(
        146deg,
        rgba(255, 255, 255, 0.77) 54.24%,
        rgba(255, 255, 255, 0.42) 97.96%
    );
    box-shadow: 0 -2px 9.8px 0 rgba(18, 122, 141, 0.16);
    backdrop-filter: blur(12px);
}

.certificates-slide:hover {
    box-shadow: 2px 2px 5px 2px rgba(18, 122, 141, 0.25);
    outline: 1px solid #127a8d;
    outline-offset: -1px;
    background: linear-gradient(
        146.12deg,
        rgba(255, 255, 255, 0.7744) 54.24%,
        rgba(255, 255, 255, 0.4224) 97.96%
    );
}

.certificates-slide__content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    min-height: auto;
    height: 100%;
}

.certificates-slide__image-wrapper {
    flex: 0 0 auto;
    width: clamp(9.625rem, 8.7596rem + 3.8462vw, 13.375rem);
    height: clamp(14.25rem, 12.9519rem + 5.7692vw, 19.875rem);
    aspect-ratio: 72/107;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.certificates-slide__image-wrapper:active .certificates-slide__image-icon {
    transform: scale(0.9);
}

.certificates-slide__image-wrapper--no-image {
    cursor: default;
}

.certificates-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 72/107;
}

.certificates-slide__image-wrapper--no-image .certificates-slide__image {
    object-fit: contain;
    background: #f5f5f5;
}

.certificates-slide__image-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.certificates-slide__image-wrapper:hover .certificates-slide__image-icon {
    transform: scale(1.167);
}

.certificates-slide__image-wrapper:active .certificates-slide__image-icon {
    transform: scale(0.9);
}

.certificates-slide__image-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.certificates-slide__text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    cursor: pointer;
}

.certificates-slide__title {
    align-self: flex-start;
    color: rgba(18, 122, 141, 1);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    font-family: "Manrope", sans-serif;
    text-align: left;
    margin-bottom: 0;
    overflow: clip;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.certificates-slide__title--mobile {
    display: none;
    align-self: flex-start;
    color: rgba(18, 122, 141, 1);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    font-family: "Manrope", sans-serif;
    text-align: left;
    overflow: clip;
    text-overflow: ellipsis;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.certificates-slide__text {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #262626;
    text-decoration: none;
    width: 100%;
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 11;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    box-sizing: border-box;
}

.certificates-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.certificates-modal.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.certificates-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.certificates-modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
}

.certificates-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 29px;
    opacity: 1;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.certificates-modal__close-icon {
    transition: stroke 0.2s ease;
}

.certificates-modal__close-icon line {
    transition: stroke 0.3s ease;
}

.certificates-modal__close:hover .certificates-modal__close-icon line {
    stroke: #127a8d;
}

.certificates-modal__body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: auto;
    padding: 0;
    overflow: hidden;
}

.certificates-modal__image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 90vw;
    max-height: 90vh;
}

.certificates-modal__image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.certificates-modal__image-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.certificates-modal__image-icon:hover {
    transform: scale(1.167);
}

.certificates-modal__image-icon:active {
    transform: scale(0.9);
}

.certificates-modal__image-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 767px) {
    .certificates-slide__content {
        align-items: flex-start;
    }

    .certificates-slide__text-wrapper .certificates-slide__title {
        display: none;
    }

    .certificates-slide__title--mobile {
        display: -webkit-inline-box;
        -webkit-line-clamp: 2;
        height: auto;
        min-height: 50px;
    }
}

@media (max-width: 768px) {
    .certificates-slider__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .certificates-slider {
        display: flex;
        flex-direction: column;
    }

    .certificates-slider__pagination-wrapper {
        gap: 15px;
        width: 100%;
        justify-content: center;
        overflow: hidden;
        max-width: fit-content;
    }

    .certificates-slider__pagination-wrapper .swiper-button-next,
    .certificates-slider__pagination-wrapper .swiper-button-prev {
        width: 12px;
        height: 20px;
    }

    .certificates-swiper .swiper-slide {
        flex-direction: column;
        gap: 10px;
    }

    .certificates-swiper .swiper-slide .certificates-slide {
        width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: 340px;
    }

    .certificates-slide__text-wrapper {
        width: 100%;
    }

    .certificates-modal__content {
        max-width: 95vw;
        max-height: 95vh;
        padding: 0;
    }

    .certificates-modal__image-wrapper {
        max-width: 95vw;
        max-height: 95vh;
    }

    .certificates-modal__image {
        max-width: 95vw;
        max-height: 95vh;
    }
    .certificates-slider__pagination-wrapper .swiper-pagination {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        overflow: hidden;
        justify-content: flex-start;
    }
    .certificates-slider__pagination-wrapper .swiper-pagination-bullet-active {
        max-width: 120px;
    }

    .certificates-slide__text {
        -webkit-line-clamp: 15;
    }
}

@media (max-width: 767px) {
    .certificates-swiper .swiper-slide .certificates-slide {
        height: auto;
    }
    .certificates-slider__header {
        padding: 0 5px;
    }
}