.accordion-section-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.1s linear, opacity 0.1s linear, padding 0.1s linear;
    display: block !important;
    padding-top: 0;
    padding-bottom: 0;
}

.accordion-section-content.open {
    max-height: 500px;
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

.accordion-section-title::after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.5s ease;
}

/* =========================
   MOBILE MENU LIKE MMENU
   ========================= */

:root {
    --mobile-menu-gap: 104px;
    --mobile-menu-width: calc(100vw - var(--mobile-menu-gap));
    --mobile-menu-max-width: 420px;
    --mobile-menu-bg: #ffffff;
    --mobile-menu-border: #e6e6e6;
    --mobile-menu-text: #222222;
    --mobile-menu-muted: #bcbcbc;
    --mobile-menu-overlay: rgba(20, 31, 67, 0.78);
}

/* Якщо меню ще лежить всередині ._hide */
.mobileMenu ._hide {
    display: block !important;
}

/* Панель меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;

    width: var(--mobile-menu-width);
    max-width: var(--mobile-menu-max-width);

    /* fallback + Safari */
    height: 100vh;
    height: 100dvh;

    background: var(--mobile-menu-bg);
    overflow-y: auto;
    overflow-x: hidden;

    opacity: 0;
    pointer-events: none;

    transform: translate3d(-100%, 0, 0);
    transition:
            transform 0.4s ease,
            opacity 0.15s ease;

    box-shadow: 0 0 18px rgba(0, 0, 0, 0.12);
    will-change: transform;
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;

    transform: translate3d(0, 0, 0);
}

/* Заголовок Menu */
.mobile-menu::before {
    content: "Menu";

    display: block;
    height: 56px;

    border-bottom: 1px solid var(--mobile-menu-border);

    color: var(--mobile-menu-text);
    font-size: 18px;
    line-height: 56px;
    text-align: center;
}

/* Пункти меню */
.mobile-menu ul {
    margin: 0;
    padding: 0 26px;
    list-style: none;
}

.mobile-menu li {
    border-bottom: 1px solid var(--mobile-menu-border);
}

.mobile-menu li a {
    display: block;
    padding: 13px 0;

    color: var(--mobile-menu-text);
    font-size: 18px;
    line-height: 1.4;
    text-decoration: none;
}

.mobile-menu li a:hover {
    color: #1c9dce;
}

/* Затемнена права частина */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: min(var(--mobile-menu-max-width), var(--mobile-menu-width));

    z-index: 1001;

    background: var(--mobile-menu-overlay);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
            opacity 0.4s ease,
            visibility 0s linear 0.4s;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
            opacity 0.4s ease,
            visibility 0s linear 0s;
}

/* Кнопка закриття справа, у затемненій зоні */
.mobile-menu__close {
    position: fixed;
    top: 14px;
    left: min(
            calc(var(--mobile-menu-max-width) + 22px),
            calc(var(--mobile-menu-width) + 22px)
    );

    z-index: 1003;

    width: 36px;
    height: 36px;

    padding: 0;
    border: 0;
    background: transparent;

    color: rgba(255, 255, 255, 0.65);
    font-size: 42px;
    line-height: 32px;
    font-weight: 300;

    cursor: pointer;
}

.mobile-menu__close:hover {
    color: #ffffff;
}

/* Copyright знизу */
.mobile-menu__bottom {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    padding: 14px 20px;

    border-top: 1px solid var(--mobile-menu-border);

    background: var(--mobile-menu-bg);
    color: var(--mobile-menu-muted);

    text-align: center;
    font-size: 18px;
}

.mobile-menu__bottom p {
    margin: 0;
    color: var(--mobile-menu-muted);
}

/* Сторінка не має їхати вправо */
.wrapper,
.mm-page,
.mm-slideout {
    transform: none !important;
}

/* Забороняємо скрол сторінки, коли меню відкрите */
body.menu-is-open {
    overflow: hidden;
}

.js-mobileMenu:not(.is-open) {
    transform: translate3d(-100%, 0, 0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.js-arrowTop {
    visibility: hidden;
}

.js-arrowTop.is-show {
    visibility: visible;
}

@media (min-width: 576px) {
    .container-sm, .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container-md, .container-sm, .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container-lg, .container-md, .container-sm, .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px;
    }
}

.equal-main-buttons__item {
    min-width: 0;
    text-align: center;
}

.equal-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    text-align: center;
}

.equal-main-button > span {
    display: block;
    width: 100%;
    min-width: 0;

    line-height: 1.4;
    text-align: center;
}

@media (min-width: 768px) {
    .equal-main-button {
        width: var(--equal-main-button-width, auto);
    }

    .equal-main-button > span {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .equal-main-buttons {
        padding-left: 16px;
        padding-right: 16px;
    }

    .equal-main-buttons__item {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .equal-main-button {
        display: flex;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 2rem !important;
    }

    .equal-main-button > span {
        width: 100%;
        min-width: 0;

        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }
}

.trending-article-item {
    display: flex;
    width: 100%;
    min-width: 0;
}

.trending-article-item .box-article {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.trending-article-item .text-box-article {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.trending-article-item .trending-card-title {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
}

.carousel-btn2 {
    width: 100%;
    height: 4rem;
    padding: 0;

    display: flex !important;
    align-items: center;
    justify-content: center;

    text-align: center;
    line-height: 1;
    font-size: 20px;

    background-color: #e3e5ed;
    border: none;
    transition: all 0.3s ease;
}