* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 1px;
}

:root {
    --dark-blue: #001c68;
    --secondary-07: #484848;
    --secondary-03: #b3b3b3;
    --secondary-01: #c0c0c0;
    --line-20: 20px;
    --line-30: 30px;
    --line-36: 36px;
    --line-48: 48px;
    --line-24: 24px;
    --horizontal-gradient: linear-gradient(to right, #75a4c9, #efe395);
    --vertical-gradient-reversed: linear-gradient(180deg, #efe392 0%, #72A0C1 100%);
    --vertical-gradient: linear-gradient(180deg, #72A0C1 0%, #efe392 100%);
    --diagonal-gradient: linear-gradient(135deg, #72A0C1 0%, #efe392 100%);

}

@font-face {
    font-family: 'eUkraine-Regular';
    src: url("./fonts/e-Ukraine-Regular.otf");
}

@font-face {
    font-family: 'eUkraine-Bold';
    src: url("./fonts/e-Ukraine-Bold.otf");
}

@font-face {
    font-family: 'eUkraine-Thin';
    src: url("./fonts/e-Ukraine-Thin.otf");
}

body {
    overflow-x: hidden;
    background-color: #f5f5f5 !important;
    font-family: 'eUkraine-Regular', sans-serif !important;
}

main, footer {
    max-width: 1920px;
    margin: 0 auto;
    width: 100vw;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.text-16 {
    font-size: 16px !important;
}

.text-20 {
    font-size: 20px !important;
}

.text-24 {
    font-size: 24px !important;
}

.text-30 {
    font-size: 30px !important;
}

.text-36 {
    font-size: 36px !important;
}

.text-48 {
    font-size: 48px !important;
}

.text-60 {
    font-size: 60px !important;
}

.text-136 {
    font-size: 136px !important;
}

.layout-1 {
    padding: 0 161px !important;
}

.pt-75 {
    padding-top: 75px !important;
}

.pb-75 {
    padding-bottom: 75px !important;
}

.px-6 {
    padding-right: 5rem;
    padding-left: 5rem;
}

.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mt-75 {
    margin-top: 75px !important;
}

.mb-75 {
    margin-bottom: 75px !important;
}

.pt-50 {
    padding-top: 50px !important;
}

.pb-50 {
    padding-bottom: 50px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.text-secondary-07 {
    color: var(--secondary-07);
}

.text-secondary-03 {
    color: var(--secondary-03);
}

.bg-gradient-horizontal {
    background: var(--horizontal-gradient);
}

.bg-gradient-vertical-reversed {
    background: var(--vertical-gradient-reversed);
}

.bg-gradient-vertical {
    background: var(--vertical-gradient);
}

.bg-gradient-diagonal {
    background: var(--diagonal-gradient);
}

.bg-secondary-07 {
    background-color: var(--secondary-07);
}

.bg-secondary-03 {
    background-color: var(--secondary-03);
}

.bg-secondary-01 {
    background-color: var(--secondary-01);
}

.bg-dark-blue {
    background-color: var(--dark-blue) !important;
}

/* Основний контейнер */
.mask-background {
    display: grid;
    max-width: 100%;
    margin: auto;
    border-radius: 8px;
    overflow: hidden;
}

.gradient-block {
    padding: 60px;
    text-align: center;
    color: #333;
    font-family: Arial, sans-serif;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: 100% var(--gradient-height, 100%); /* Динамічний масштаб */
    background-position: 0 calc(var(--block-index) * 100%);
    font-weight: bold;
}

#dynamic-grid a div span {
    overflow-wrap: anywhere;
}

.nav-item .active {
    position: relative;
}

.nav-item a.active:after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -30%;
    left: 0;
    background-color: #000;
}

.intro-img {
    background-image: url("./images/main-intro-1920px.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(15px);
}

#nav-logo img {
    max-width: 230px;
}

.rounded-10 {
    border-radius: 10px !important;
}

.rounded-20 {
    border-radius: 20px !important;
}

.rounded-30 {
    border-radius: 30px !important;
}

.accent-button {
    outline: none;
    border: 3px solid black;
    background-color: #000;
    color: #fff;
}

.accent-button.btn-primary{
    background-color: #0a53be;
    border: 0;
}

.single-response {
    max-width: 510px;
}

.response-author-photo {
    min-width: 100px !important;
    height: 100px;
}

/* Зробимо слайдер гарно адаптивним */
.responds-slider {
    width: 100%;
    max-width: 1600px; /* Обмеження ширини */
    margin: auto;
    overflow: hidden;
    padding-bottom: 40px; /* Щоб місце для пагінації було */
}

.responds-slider .swiper-wrapper{
    display:flex;                /* горизонтальний флекс завжди   */
    gap:20px;                    /* той самий spaceBetween = 20   */
}
.responds-slider .swiper-wrapper > *{
    flex-shrink:0;               /* щоб слайди не стискались       */
}
/* якщо DropZone створює «зайвий» div — робимо його теж flex-контейнером */
.responds-slider .swiper-wrapper > div:not(.swiper-slide){
    display:flex;
}

/* Стилі для пагінації (кружечки) */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #aaa;
    opacity: 0.6;
    transition: 0.3s;
}

.partners-slider .swiper-pagination-bullet {
    background-color: #ccc;
}

.swiper-disabled .swiper-pagination {
    display: none;
}

.swiper-pagination-bullet-active {
    background-color: #000 !important;
    opacity: 1;
}

.partners-slider .swiper-pagination-bullet-active {
    background-color: #fff !important;
    opacity: 1;
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

.last-new-preview {
    height: auto;
}

.last-new-preview img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.breadcrumb:not(:last-child) {
    border-right: 2px solid #B3B3B3;
    padding-right: 2rem;
}

.breadcrumbs .current-page {
    color: var(--dark-blue);

}

.breadcrumbs {
    flex-wrap: wrap;
}

/* ПАРТНЕРИ */
.partners-slider {
    width: 100%;
    max-width: 1600px;
    margin: auto;
    overflow: hidden;
    padding-bottom: 40px;
}

.partners-slider .swiper-wrapper {
    display: flex;
    gap: 20px;
}

.partners-slider .swiper-wrapper > * {
    flex-shrink: 0;
}

.partner-logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
    max-height: 150px;
    max-width: 380px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ccc;
}

.partner-logo img {
    object-fit: contain;
    max-height: 150px;
    width: 100%;
    height: 100%;
}

/* ФУТЕР */
footer {
    background-color: black;
    color: white;
    padding: 50px 0;
}

.contacts-grid {
    display: flex;
    justify-content: space-between;
}

.contact-item h5 {
    font-weight: bold;
}

.contact-item p {
    margin: 5px 0;
}

.social-links a {
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

/*grid-pattern*/
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Блоки розтягуються по всій ширині */
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Блоки за замовчуванням */
.flex-item {
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-us-grid .flex-item {
    height: 482px;
}

.accent-text {
    color: var(--dark-blue);

}

.goal-block {
    display: flex;
    align-items: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    min-height: 220px; /* Фіксована мінімальна висота */
    height: 100%;
}

.goal-block p {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    z-index: 2;
    position: relative;
}

.goal-image {
    position: absolute;
    right: -5%;
    opacity: 0.3;
    height: 100%;
    aspect-ratio: 1 / 1.2;
}

.history-section {
    background-color: #001c68; /* Темно-синій фон */
    color: white;
    padding: 75px 0;
}

.timeline {
    max-width: 100%;
}

.timeline-year {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
}

hr {
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 10px 0;
}

.timeline-events li {
    position: relative;
    margin-bottom: 10px;
}

.timeline-year::after {
    content: "";
    width: 85%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    right: 0;
}

.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #000;
    background-color: #f5f5f5;
}

.custom-accordion .accordion-item:is(:first-child) {
    border-top: 1px solid #000;
}

.custom-accordion .accordion-header {
    font-size: 18px;
}

.custom-accordion .accordion-button {
    background-color: #f5f5f5;
    color: #000;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    margin-left: auto;
    transition: transform 0.3s;
    font-size: 20px;
}

/* Зміна іконки при відкритті */
.custom-accordion .accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(135deg);
}

.custom-accordion .accordion-button {

}

.custom-accordion .accordion-button:after {
    display: none;
}

.dynamic-list-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

/* Стиль вакансій */
.dynamic-list-container .dynamic-list-item {
    border: none;
    border-bottom: 1px solid #000;
    background-color: #f5f5f5;
}

.dynamic-list-container .dynamic-list-item:is(:first-child) {
    border-top: 1px solid #000;
}

/* Повідомлення, якщо вакансій немає */
.empty-message {
    margin-top: 20px;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 10px;
    text-align: center;
}

.message-container {
    background-color: var(--bs-warning);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.team-section {
    padding-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(364px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1596px;
    margin: auto;
}

.team-member {
    padding: 20px;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.team-member h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 16px;
    color: #555;
}

.team-member a {
    display: block;
    font-size: 14px;
    color: #001c68;
    margin-top: 5px;
}

/* Кнопка "Доєднатися до команди" */
.join-team {
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 250px;
    cursor: pointer;
    transition: 0.3s;
}

.join-team:hover {
    background: #222;
}

.join-content {
    text-align: center;
}

.join-content i {
    margin-bottom: 10px;
}

.accent-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(482px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1596px;
    margin: auto;
}

.accent-block {
    max-width: 482px;
}

.publish-date {
    font-family: 'eUkraine-Thin', sans-serif;
}

.text-thin {
    font-family: 'eUkraine-Thin', sans-serif;
}

.line-height-36 {
    line-height: var(--line-36);
}

.line-height-30 {
    line-height: var(--line-30);
}

.line-height-20 {
    line-height: var(--line-20);
}

.line-height-24 {
    line-height: var(--line-24);
}

.line-height-48 {
    line-height: var(--line-48);
}

.news-wrapper {
    flex: 1; /* щоб футер ішов в кінець */
    display: flex; /* дві колонки поруч */
    gap: 20px;
    padding: 20px; /* відступи навколо */
    background: #eee; /* фон для наочності */
}

{
    margin: 0
;
    padding: 0
;
    box-sizing: border-box
;
}


/* MAIN — флекс для двох колонок */
.scrollable-wrapper {
    flex: 1;
    display: flex;
    gap: 40px;
}

.news-container {
    flex: 1; /* розтягується на всю доступну ширину */
}

/* Сайдбар (аналог .sidebar) */
.news-sidebar {
    width: 100%;
    max-width: 485px;
    /* "липкий" ефект */
    position: sticky;
    top: 200px;
    align-self: flex-start;
}

.search-bar {
    line-height: 0;
    font-family: 'eUkraine-Thin', sans-serif;
    outline: none;
    border-color: black;
}

header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

#navModal {
    z-index: 9999;
}

.search-bar-submit {
    height: 100%;
    aspect-ratio: 1/1;
    top: 0;
    right: 0;
}

.tag.active {
    background: var(--horizontal-gradient);
}

.simple-input {
    outline: none;
    border: 0;
    border-bottom: 3px solid black;
}

.news-container .single-article:not(:first-child) {
    border-top: 2px solid var(--secondary-01);
    padding-top: 30px;
}

.modal-custom-xxl {
    min-width: 1500px;
}

.pagination-block a {
    transition: .3s all;
}

.pagination-block a.active {
    color: #000;
    font-size: 36px;
}

.pagination-block a:hover {
    color: var(--secondary-07);

}

.language-modes-block button {
    background: transparent;
    color: #000;
}

.language-modes-block button.active {
    color: #fff;
    background-color: #000;
}

.article-body {
    max-width: 1070px;
}

.secondary-header {
    position: fixed; /* щоб завжди бути зверху */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0; /* спочатку невидимий */
    pointer-events: none; /* щоб не заважав клікам, поки невидимий */
    transition: opacity 0.4s ease; /* плавний перехід */

    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* клас, що робить хедер видимим */
.secondary-header.visible {
    opacity: 1;
    pointer-events: auto; /* тепер можна клікати по навігації */
    z-index: 1000;
}

.accessibility-modal {
    display: none;
    position: absolute;
    top: 120%;
    padding: 1rem;
    border-radius: 20px;
    z-index: 1000;
    width: 100%;
    left: 0;
    background-color: #000;
    color: #fff;
}

.option-group label input {
    width: 20px;
    height: 20px;
    font-size: 20px !important;
    line-height: normal;
}

.accessibility-modal.active {
    display: block;
    z-index: 999999999;
}

.main-article {
    max-width: 1050px;
}

.option-group {
    margin-bottom: 1rem;
}

/* Стилі для фільтрів */
body.monochrome * {
    filter: grayscale(100%);
}

body.monochrome *:is(.intro-img) {
    filter: grayscale(100%) blur(15px);
}

body.blue-filter * {
    filter: hue-rotate(240deg);
}

body.blue-filter *:is(.intro-img) {
    filter: hue-rotate(240deg) blur(15px);
}

/* Комбінація фільтрів */
body.monochrome.blue-filter {
    /*filter: grayscale(100%) hue-rotate(240deg);*/
}

.access-settings-block {
    z-index: 1;
}

.scrollable-wrapper .news {
    flex: 0 0 70%;
}

.modal {
    z-index: 10000;
}

/* Медіа-запити для адаптації під різні екрани */

@media (max-width: 1919px) {

    header:not(.main-header) div:not(.modal-content) {
        flex-direction: column-reverse !important;
        gap: 20px;
    }

    nav {
        width: 100%;
    }

    header:not(.main-header) div .nav-container,
    header:not(.main-header) div .settings-container {
        flex-direction: row !important;
        align-items: center !important;

    }


    header:not(.main-header) div .settings-container {
        justify-content: space-between !important;
        width: 100%;
    }
}

@media (max-width: 1750px) {
    .news.scrollable-wrapper .news-container .single-article {
        flex-direction: column;
    }

    .news.scrollable-wrapper .news-container .single-article .news-preview,
    .scrollable-wrapper .news .news-preview {
        width: 100% !important;
    }

    .news.scrollable-wrapper .news-container .single-article .news-preview img,
    .scrollable-wrapper .news .news-preview img {
        width: inherit !important;
        height: 100%;
        object-fit: contain;

    }
}

@media (max-width: 1468px) {
    .nav-item {
        margin-left: 1.5rem !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 1440px) {


    .modal-custom-xxl {
        min-width: 1200px;
    }

    #service-form {
        width: auto !important;
    }

    .burger-btn {
        display: none !important;
    }

    .layout-1 {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }

    /* Коригування розмірів тексту */
    .text-136 {
        font-size: 100px !important;
    }

    .text-60 {
        font-size: 48px !important;
    }

    /* Коригування відступів */
    .pt-75 {
        padding-top: 60px !important;
    }

    .pb-75 {
        padding-bottom: 60px !important;
    }

    .mt-75 {
        margin-top: 60px !important;
    }

    .mb-75 {
        margin-bottom: 60px !important;
    }


    .news-sidebar {
        max-width: 400px;
    }
}

@media (max-width: 1280px) {


    .response-author {
        flex-direction: column;
    }

    .last-news-list {
        flex-wrap: wrap;
    }

    .single-article-item {
        flex: 0 0 calc(50% - 1rem);
    }

    .articles-block {
        flex-direction: column;
    }

    .page-settings-block div button {
        font-size: 16px !important;
    }

    .timeline .timeline-year:after {
        width: 74%;
    }

}

@media (max-width: 1200px) {
    h1, h2, h3, h4, h5, h6, span, a, button, input, textarea {
        font-size: 80% !important;
    }
}

@media (max-width: 1084px) {
    .nav-item {
        margin-left: 1rem !important;
    }

    .layout-1 {
        padding-left: 75px !important;
        padding-right: 75px !important;
    }
}

/* 1024px - малі десктопи */
@media (max-width: 1024px) {

    .news-sidebar {
        position: static;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .news.scrollable-wrapper {
        flex-direction: column-reverse;
    }

    .news-sidebar {
        top: 100px;
    }

    header:not(.main-header) div .settings-container {
        justify-content: space-between !important;
        width: 100%;
    }

    #order-service-modal .modal-dialog .modal-content .modal-body {
        flex-direction: column;
    }

    #service-form input[type=submit] {
        padding: 20px !important;
    }

    .about-us-grid a {
        height: 350px !important;
    }

    .news.scrollable-wrapper .news-container .single-article {
        flex-direction: column;
    }

    .scrollable-wrapper {
        flex-direction: column;
    }

    .scrollable-wrapper .news {
        flex: 1 1 100%;
    }

    .news.scrollable-wrapper .news-container .single-article .news-body .news-info {
        justify-content: space-between !important;
    }

    p {
        font-size: 100% !important;
    }

    p, span, a, button, input, textarea {
        line-height: var(--line-24) !important;
    }

    button:not(.change-page-language) .accent-button {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .nav-item {
        margin-left: 1rem !important;
    }

    .px-6 {
        padding-right: 3rem;
        padding-left: 3rem;
    }

    .pt-75 {
        padding-top: 50px !important;
    }

    .pb-75 {
        padding-bottom: 50px !important;
    }

    .mt-75 {
        margin-top: 50px !important;
    }

    .mb-75 {
        margin-bottom: 50px !important;
    }

    .mt-50 {
        margin-top: 25px !important;
    }

    .mb-50 {
        margin-bottom: 25px !important;
    }

    .pt-50 {
        padding-top: 25px !important;
    }

    .pb-50 {
        padding-top: 25px !important;
    }

    /* Модальні вікна */
    .modal-custom-xxl {
        min-width: 90%;
    }

    .py-2 {
        padding-top: .5rem !important;
        padding-bottom: .5rem !important;
    }
}

@media (min-width: 1024px) {
    .burger-btn {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    body, main, header, footer {
        overflow-x: hidden !important;
    }

    nav .main-nav-menu .navbar {
        display: none !important;
    }

    .burger-btn {
        display: block !important;
    }

}

/* 768px - планшети */
@media (max-width: 912px) {

}

@media (max-width: 853px) {
    .dynamic-list-item {
        flex-direction: column;
        align-items: start !important;
    }
}

@media (max-width: 768px) {
    *, *::before, *::after {
        box-sizing: border-box;
    }

    body, html {
        max-width: 768px !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .timeline .timeline-year:after {
        width: 65%;
    }


    .layout-1 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    /* Текстові розміри */
    p, h1, h2, h3, h4, h5, h6, span, a, button, input, textarea {
        font-size: 80% !important;
    }

    .px-6 {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Компоненти */
    #nav-logo img {
        max-width: 180px;
    }

    /* Новини */
    .news.scrollable-wrapper .news-container .single-article .news-body .news-info {
        justify-content: space-between !important;
    }

    button:not(.change-page-language) .accent-button {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .news-sidebar {
        position: static;
        max-width: 100%;
        margin-bottom: 30px;
    }

    /* Коригування розмірів блоків */
    .partner-logo {
        max-width: 300px;
        max-height: 130px;
    }

    .goal-block {
        padding: 20px;
    }

    .goal-block p {
        font-size: 18px;
    }

    .py-2 {
        padding-top: .5rem !important;
        padding-bottom: .5rem !important;
    }

    #order-service-modal {
        z-index: 10000;
    }

    #order-service-modal .modal-dialog .modal-content .modal-body {
        flex-direction: column;
    }

    header:not(.main-header) div .settings-container {
        justify-content: space-between !important;
        gap: 0 !important;
    }
}

/* 480px - мобільні */
@media (max-width: 540px) {
    .share div a {
        font-size: 30px !important;
    }

    header:not(.main-header) div .settings-container {
        justify-content: space-between !important;
        gap: 0 !important;
    }

    .social-links a i {
        font-size: 30px !important;
    }

    .access-settings {
        font-size: 16px !important;
        padding: .5rem !important;
    }

    .change-page-language {
        padding: .25rem !important;
    }

    .contacts-grid {
        flex-wrap: wrap;
    }

    .iconic-intro-section {
        flex-direction: column;
    }

    .contact-item {
        flex: 0 0 100%;
    }

    .intro-content {
        width: 100% !important;
    }

    .gradient-block span {
        font-size: 100% !important;
    }

    .intro-img {
        background-position: 30%;
        filter: blur(15px);
    }

    .page-settings-block {
        flex-direction: column;
        gap: 20px;
        align-items: start !important;
    }

    .single-article-item {
        flex: 0 0 100%;
    }

    .layout-1 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    button:not(.change-page-language) .accent-button {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    /* Текстові розміри */
    .text-136 {
        font-size: 42px !important;
    }

    .text-60 {
        font-size: 32px !important;
    }

    .text-48 {
        font-size: 28px !important;
    }

    .text-36 {
        font-size: 24px !important;
    }

    .text-30 {
        font-size: 20px !important;
    }

    .pt-75 {
        padding-top: 30px !important;
    }

    .pb-75 {
        padding-bottom: 30px !important;
    }

    .mt-75 {
        margin-top: 30px !important;
    }

    .mb-75 {
        margin-bottom: 30px !important;
    }

    .mt-50 {
        margin-top: 25px !important;
    }

    .mb-50 {
        margin-bottom: 25px !important;
    }

    .pt-50 {
        padding-top: 25px !important;
    }

    .pb-50 {
        padding-top: 25px !important;
    }

    .px-6 {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .py-6 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .partner-logo {
        max-width: 250px;
        max-height: 110px;
    }

    /* Меню доступності */
    .accessibility-modal {
        width: 90%;
        left: 5%;
    }

    /* Коригування відступів для списків */
    .dynamic-list-container {
        margin-top: 15px;
    }

    .dynamic-list-item {
        padding: 15px;
    }
}

@media (max-width: 425px) {
    /*main,footer{
        max-width:425px;
        overflow: hidden;
    }*/
}

@media (max-width: 400px) {
    .layout-1 {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .news.scrollable-wrapper .news-container .single-article .news-preview img {
        width: 100%;
        height: 200px;
    }

    #order-service-modal .modal-dialog .modal-content {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 369px) {
    .layout-1 {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .language-modes-block button {
        aspect-ratio: 3/1;
    }

    .breadcrumbs a:not(:last-child) {
        margin-right: 1rem !important;
    }

    .breadcrumbs a:not(:first-child) {
        padding-left: 1rem !important;
    }

    .settings-container * {
        font-size: 11px !important;
    }

    .change-page-language {
        padding: .125rem;
    }
}

@media (max-width: 325px) {
    .language-modes-block button {
        aspect-ratio: 1/1;
    }

    .breadcrumbs a:not(:last-child) {
        margin-right: 1rem !important;
    }

    .breadcrumbs a:not(:first-child) {
        padding-left: 1rem !important;
    }

    .settings-container * {
        font-size: 11px !important;
    }

    .change-page-language {
        padding: .125rem;
    }
}

.puck-editor-header {
    z-index: auto !important;
    position: relative !important;
}

[data-puck-component*="innerPageHeader"] header {
    z-index: auto !important;
    position: relative !important;
}