/* COMMON */
.my-bg-light-gray {
    background: var(--background-light-gray);
}

/* HEADER */
.logo-bgpu {
    max-width: 230px;
}

.header-top-one-wrapper {
    font-weight: var(--s-semi-bold);
}

.my-social-wrapper li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 20px;
    padding: 11px 0;
    border-radius: 50%;
    background-color: #fff;
    font-size: 1.4rem;
    font-weight: var(--s-bold);
    color: var(--color-blue);
    transition: all 0.3s ease;
}

.my-social-wrapper li a i {
    font-size: 1.6rem;
    color: var(--color-blue);
}

.my-social-wrapper li a:hover {
    background-color: var(--color-blue);
    color: #fff;
    transform: scale(1.05);
    border: 1px solid #5993ff;
}

.my-social-wrapper li a:hover i {
    color: #fff;
}

.left .mail:last-child::after {
    display: none;
}

/* TOP MENU */
.nav-area ul li a {
    text-transform: uppercase;
    color: #111032;
    font-weight: 800 !important;
    font-size: 1.3rem;
}

header .nav-area ul li.main-nav:hover>a {
    color: var(--color-blue) !important;
}

header .nav-area ul li.active>a {
    color: var(--color-blue) !important;
}

li.has-dropdown .submenu {
    min-width: 320px;
}

li.has-dropdown .submenu li a {
    font-size: 1.3rem;
    line-height: 2rem;
}

/* ============================================
   МЕГА МЕНЮ - АДАПТИВНЫЕ СТИЛИ
   ============================================ */

/* Базовая структура мега-меню */
.mega-menu-modal {
    position: fixed;
    top: 50px;
    right: -100%;
    width: 80%;
    height: 90vh;
    background-color: #ffffff;
    z-index: 10000;
    overflow-y: auto;
    padding-bottom: 60px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.mega-menu-modal.show {
    right: 10%;
}

/* Кнопка закрытия */
.mega-menu-modal .close-icon-menu {
    position: absolute;
    top: 80px;
    right: 50px;
    width: 50px;
    height: 50px;
    background-color: var(--color-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.mega-menu-modal .close-icon-menu:hover {
    background-color: #0056b3;
    transform: rotate(90deg);
}

.mega-menu-modal .close-icon-menu i {
    color: #ffffff;
    font-size: 2rem;
}

/* Контент мега-меню */
.mega-menu-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 10px;
}

/* Хедер мега-меню */
.mega-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.hot-line-modal {
    margin-right:100px;
    position: relative;
    min-width: 210px;
}

.hot-line-modal a {
    display: inline-block;
    width: 100%;
    padding: 10px 12px;
    background: var(--background-violet) !important;
    border-color: var(--background-violet) !important;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
}

.hot-line-modal a::after {
    content: "";
    opacity: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    position: absolute;
    bottom: 0;
    left: calc(50% - 30px);
    top: 20px;
    line-height: 0.1rem;
    transition: opacity 0.7s;
    transform: scale(1);
}

.hot-line-modal a:hover::after {
    opacity: 1;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-name: anim;
}

.mega-menu-header .logo {
    max-width: 300px;
    height: auto;
}

/* Основные ссылки под логотипом */
.mega-menu-main-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-menu-main-links li {
    min-width: 210px;
}

.mega-menu-main-links .main-link {
    display: inline-block;
    width: 100%;
    padding: 10px 12px;
    background-color: #4c8bff;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
}

.mega-menu-main-links .main-link:hover {
    background-color: var(--color-blue);
    color: #ffffff;
    border-color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

/* Тело мега-меню */
.mega-menu-body {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Секция меню */
.mega-menu-section {
    width: 100%;
}

.mega-menu-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-blue);
    letter-spacing: 0.5px;
}

/* Сетка департаментов */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

/* Элемент департамента */
.department-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.department-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.department-item:hover {
    border-color: var(--color-blue);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.1);
    transform: translateY(-2px);
}

.department-item:hover::before {
    transform: scaleY(1);
}

/* Название департамента - теперь ссылка */
.department-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.department-name a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.department-item:hover .department-name {
    color: var(--color-blue);
}

/* Контакты департамента */
.department-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 1.3rem;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.contact-item i {
    color: var(--color-blue);
    font-size: 1.3rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item span {
    flex: 1;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--color-blue);
}

/* Административные подразделения (без контактов) */
.departments-grid.administrative .department-item {
    padding: 12px 15px;
    min-height: auto;
}

.departments-grid.administrative .department-name {
    margin-bottom: 0;
    font-size: 1.3rem;
}


/* BUTTONS */
.background-violet,
.mega-menu-main-links li:nth-child(1) a.main-link {
    background: var(--background-violet) !important;
    border-color: var(--background-violet) !important;
}

.background-red,
.mega-menu-main-links li:nth-child(2) a.main-link {
    background: var(--background-red) !important;
    border-color: var(--background-red) !important;
}

.background-green,
.mega-menu-main-links li:nth-child(3) a.main-link {
    background: var(--background-green) !important;
    border-color: var(--background-green) !important;
}

.background-yellow,
.mega-menu-main-links li:nth-child(4) a.main-link {
    background: var(--background-yellow) !important;
    border-color: var(--background-yellow) !important;
}

.background-violet-2 {
    background: var(--background-violet-2) !important;
    border-color: var(--background-violet-2) !important;
}

.background-red-2 {
    background: var(--background-red-2) !important;
    border-color: var(--background-red-2) !important;
}

.background-green-2 {
    background: var(--background-green-2) !important;
    border-color: var(--background-green-2) !important;
}

.background-yellow-2 {
    background: var(--background-yellow-2) !important;
    border-color: var(--background-yellow-2) !important;
}

.background-orange {
    background: var(--background-orange) !important;
    border-color: var(--background-orange) !important;
}

.main-link {
    position: relative;
}

.main-link::after {
    content: "";
    opacity: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    position: absolute;
    bottom: 0;
    left: calc(50% - 30px);
    top: 20px;
    line-height: 0.1rem;
    transition: opacity 0.7s;
    transform: scale(1);
}

.main-link:hover::after {
    opacity: 1;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-name: anim;
}

@keyframes anim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.8);
    }

    100% {
        transform: scale(1);
    }
}

/* ============================================
   СТИЛИ ДЛЯ МОБИЛЬНОГО МЕНЮ
   ============================================ */



/* BANNER */
.swiper-slide-active {
    z-index: 1;
}

.banner-swiper-two.banner-style-one,
.rts-banner-area-two {
    height: 700px;
}

.rts-banner-area-two {
    position: relative;
    width: 110%;
    left: -5%;
    top: -5%;
    background-size: cover;
    background-position: center;
}

/* Hide original overlay on slide */
.banner-swiper-two .swiper-slide::after {
    display: none !important;
}

/* Apply overlay to the banner area itself so it moves with parallax but stays under text */
.rts-banner-area-two::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 150%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    background: linear-gradient(to right, rgba(0, 0, 0, .6), transparent);
    z-index: 0;
    /* Above background */
    pointer-events: none;
}

.disc.banner-para {
    position: relative;
    z-index: -1;
}

.banner-one-inner.text-start {
    position: relative;
    z-index: 1;
}

.banner-btn-wrapper {
    display: flex;
    gap: 20px;
}

.banner-style-one .banner-one-inner .title {
    font-weight: 700;
    line-height: 8.2rem;
    margin-bottom: 23px;
    font-size: 6rem;
    color: #fff;
    line-height: 1.3;
}

.mySwiper-banner-two .swiper-button-next, .mySwiper-banner-two .swiper-button-next-sl {
    right: 90px;
}

.mySwiper-banner-two .swiper-button-prev, .mySwiper-banner-two .swiper-button-prev-sl {
    left: 90px;
}

.banner-style-one.banner-swiper-two .banner-one-inner {
    width: 57%;
    margin-left: 0;
    padding: 60px 0;
    position: relative;
    display: block;
    /* margin-top: 43px; */
}

.title span.in {
    -webkit-text-stroke-color: #1C2539;
    -webkit-text-stroke: 1px;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.banner-style-one .banner-one-inner .title {
    font-weight: 700;
    line-height: 8.2rem;
    margin-bottom: 23px;
    font-size: 6rem;
    color: #fff;
    line-height: 1.1;
}

.banner-style-one .banner-one-inner p.disc.banner-para {
    font-size: 1.8rem;
    line-height: 2.8rem;
    font-weight: 400;
    color: #fff;
}

@media (max-width: 1600px) {
    .mySwiper-banner-two .swiper-button-next, .mySwiper-banner-two .swiper-button-next-sl {
        right: 30px;
    }

    .mySwiper-banner-two .swiper-button-prev, .mySwiper-banner-two .swiper-button-prev-sl {
        left: 30px;
    }
}

@media (max-width: 1440px) {
    .banner-style-one.banner-swiper-two .banner-one-inner {
        padding: 60px 0 60px 60px;
    }
}


/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
   @media (max-width: 1440px) {
    .nav-area ul li a {
        font-size: 1.3rem;
    }

    .header-one .nav-area {
        margin-right: 40px;
    }
}

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .mega-menu-content {
        padding: 30px 20px;
    }

    .departments-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .mega-menu-section .section-title {
        font-size: 2.2rem;
    }

    .department-item {
        padding: 20px;
    }

    .department-name {
        font-size: 1.5rem;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .mega-menu-modal .close-icon-menu {
        top: 60px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .mega-menu-content {
        padding: 20px 15px;
    }

    .mega-menu-header {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .mega-menu-header .logo {
        max-width: 200px;
    }

    .mega-menu-body {
        gap: 35px;
    }

    .mega-menu-section .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .departments-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .department-item {
        padding: 18px;
    }

    .department-name {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .contact-item {
        font-size: 1.3rem;
        gap: 10px;
    }

    .contact-item i {
        font-size: 1.4rem;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {

    .mega-menu-main-links .main-link {
        width: 100%;
    }

    .side-bar {
        padding: 20px 20px;
    }

    .mega-menu-modal .close-icon-menu {
        width: 40px;
        height: 40px;
        top: 64px;
        right: 15px;
    }

    .mega-menu-modal {
        width: 90%;
        height: 90vh;
    }

    .mega-menu-modal.show {
        right: 5%;
    }

    .mega-menu-header .logo {
        max-width: 190px;
    }

    .side-bar button {
        min-height: auto;
    }

    .mega-menu-modal .close-icon-menu i {
        font-size: 1.8rem;
    }

    .mega-menu-content {
        padding: 0;
    }

    .mega-menu-header .logo {
        max-width: 190px;
    }

    .mega-menu-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    .department-item {
        padding: 15px;
    }

    .department-name {
        font-size: 1.3rem;
    }

    .contact-item {
        font-size: 1.2rem;
    }
}

/* Скроллбар для мега-меню */
.mega-menu-modal::-webkit-scrollbar {
    width: 8px;
}

.mega-menu-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mega-menu-modal::-webkit-scrollbar-thumb {
    background: var(--color-blue);
    border-radius: 4px;
}

.mega-menu-modal::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Анимация появления элементов */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-modal.show .department-item {
    animation: fadeInUp 0.4s ease forwards;
}

.mega-menu-modal.show .department-item:nth-child(1) {
    animation-delay: 0.05s;
}

.mega-menu-modal.show .department-item:nth-child(2) {
    animation-delay: 0.1s;
}

.mega-menu-modal.show .department-item:nth-child(3) {
    animation-delay: 0.15s;
}

.mega-menu-modal.show .department-item:nth-child(4) {
    animation-delay: 0.2s;
}

.mega-menu-modal.show .department-item:nth-child(5) {
    animation-delay: 0.25s;
}

.mega-menu-modal.show .department-item:nth-child(6) {
    animation-delay: 0.3s;
}

/* Оверлей для закрытия меню при клике вне его */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mega-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Fix for parallax z-index issue */
.banner-one-inner {
    position: relative !important;
    z-index: 10 !important;
    transform-style: preserve-3d;
}

.banner-swiper-two .swiper-slide::after {
    z-index: 1;
    pointer-events: none;
}

/* STICKY STATEMENT */
.under-banner-menu {
    padding-bottom: 0px;
}

.main-wrapper-sticky.my-sticky-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    height: auto;
}

.main-wrapper-sticky.my-sticky-wrapper .sticky-statement .right {
    flex-basis: 10%;
}

.main-wrapper-sticky.my-sticky-wrapper .sticky-statement .left-side {
    flex-basis: 90%;
}

section.main-wrapper-sticky.my-sticky-wrapper .sticky-statement {
    padding: 14px;
    margin-bottom: 0px;
    position: relative;
    top: 0px !important;
    background: linear-gradient(135deg, #1b4491 4.5%, #092557 93%);
    background: linear-gradient(135deg, #5287e8 4.5%, #1d50ac 93%);
    border-radius: 6px;
}

section.main-wrapper-sticky.my-sticky-wrapper .sticky-statement .left-side {
    position: relative;
    z-index: 2;
    gap: 10px;
}

.my-sticky-wrapper .title {
    font-size: 1.8rem;
}

.my-sticky-wrapper img {
    width: 40px;
}

section.main-wrapper-sticky .sticky-statement .right .arrow {
    height: 45px;
    width: 45px;
    border-radius: 10px;
}

.my-sticky-wrapper .sticky-statement .icon i {
    font-size: 4.4rem;
    font-style: normal;
    color: #fff;
}

section.main-wrapper-sticky.my-sticky-wrapper .sticky-statement .left-side .title {
    color: #fff;
}

.my-sticky-wrapper .sticky-statement:hover .icon i {
    color: #fff;
}

.my-sticky-wrapper .main-link::after {
    content: "";
    width: 120px;
    height: 120px;
    bottom: 0;
    left: calc(50% - 60px);
    top: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: opacity 1s;
}

section.main-wrapper-sticky .sticky-statement {
    transition: all .5s;
}

.my-sticky-wrapper .main-link:hover {
    transform: translateY(-1rem);
}

section.main-wrapper-sticky.my-sticky-wrapper .sticky-statement:hover .right .arrow i {
    color: #fff;
}

/* MY ABOUT AREA */
.my-about-area {
    margin-top: -100px;
}

.my-about-area .thumbnail-about-six {
    border-radius: 20px;
    overflow: hidden;
}

.my-about-area .thumbnail-about-six img {
    border-radius: 20px;
    position: relative;
    z-index: 0;
}

.my-about-area .about-right-six-wrapper .about-service-wrapper-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: normal;
}

.my-about-area .about-right-six-wrapper .about-service-wrapper-main .single-about-service {
    padding: 22px;
    min-width: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.my-about-area .about-right-six-wrapper .about-service-wrapper-main .single-about-service .icon {
    font-size: 2.8rem;
    font-style: normal;
    color: #fff;
    margin: 0 auto 20px auto;
}

.my-about-area .disc {
    margin-bottom: 20px;
}

.my-about-area .why-choose-feature {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 100%;
    margin-bottom: 35px;
}

.my-about-area .why-choose-feature .single {
    padding: 14px 18px;
    background: var(--background-green);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    justify-content: center;
}

.my-about-area .why-choose-feature .single p {
    color: #fff;
}


/* MY PROGRESS AREA */

/* Смена разделителя в odometer с запятой на пробел */
.odometer-formatting-mark {
    display: inline-block;
    width: 0.2em;
    /* Ширина пробела */
    color: transparent !important;
    /* Скрываем саму запятую */
    vertical-align: middle;
}

.my-progress-area {
    margin-top: -50px;
}

.my-progress-area .progress-circle-main-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.my-progress-area .right-counter {
    max-width: 180px;
}

.my-progress-area .progress-circle-main-wrapper .single-progress-area .right-counter p {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: none;
}

.progress-circle-main-wrapper .single-progress-area i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-style: normal;
}

.single-progress-circle:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72%;
    height: 72%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .1);
    transition: opacity 1s;
}

.my-progress-area .single-progress-circle::before {
    background: rgba(38, 107, 234, 0.08);
}

.my-progress-area .single-progress-area svg.radial-progress circle.bar--animated {
    stroke: var(--additional-accent, #266bea);
}

.my-progress-area .progress-circle-main-wrapper .single-progress-area::after {
    background: transparent;
}

/* USEFULL LINKS */
.usefull-links .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.usefull-links .single-testimonials-6 {
    position: relative;
    height: 100%;
    min-height: 230px;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    transition: all .5s;
    box-shadow: 12px 12px 20px -12px rgba(255, 255, 255, .4);
}

.usefull-links .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    position: relative;
    transition-property: transform;
    display: flex;
}

.usefull-links .single-testimonials-6 .top .title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0;
    transition: all .5s;
}

.usefull-links .swiper-slide .single-testimonials-6:hover .top .title a {
    color: #fff;
}

.usefull-links .swiper-slide:nth-child(4n+1) .single-testimonials-6 {
    background: var(--background-blue-2);
}

.usefull-links .swiper-slide:nth-child(4n+2) .single-testimonials-6 {
    background: var(--background-green);
}

.usefull-links .swiper-slide:nth-child(4n+3) .single-testimonials-6 {
    background: var(--background-yellow);
}

.usefull-links .swiper-slide:nth-child(4n+4) .single-testimonials-6 {
    background: var(--background-red);
}

.usefull-links .single-testimonials-6:hover {
    transform: translateY(-1rem) scale(1.02);
}

.usefull-links .swiper {
    padding-top: 20px;
    padding-left: 0;
    padding-right: 20px;
}

.useful-link__arrow {
    position: absolute;
    right: 15px;
    bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    background-color: rgba(196, 215, 254, .33);
    border-radius: 12px;
    border-bottom-right-radius: 50%;
    color: #fff;
}

/* MY BLOG AREA */
.my-blog-area .rts-blog-h-2-wrapper {
    padding: 0;
    box-shadow: 0px 7px 18px rgba(0, 0, 0, 0.1);
    transition: all .5s;
}

.my-blog-area .body {
    padding: 0 30px 20px 30px;
}

.my-blog-area .rts-blog-h-2-wrapper .thumbnail {
    margin-bottom: 20px;
    border-radius: 20px 20px 0 0;
}

.my-blog-area .user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.my-blog-area .user-info .single {
    min-width: max-content;
    text-transform: none;
}

.my-blog-area .user-info .single i {
    margin-right: 0px;
    font-size: 1.4rem;
}

.my-blog-area .user-info .single a,
.my-blog-area .user-info .single span {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-primary);
}

.my-blog-area .user-info .single a:hover {
    color: var(--color-blue);
}

.my-blog-area .user-info .single+.single {
    margin-left: 20px;
}

.my-blog-area .body .title {
    font-size: 2rem;
    line-height: 2.8rem !important;
}

.my-blog-area .title:hover a {
    color: var(--color-blue) !important;
}

.my-blog-area .rts-blog-h-2-wrapper:hover {
    box-shadow: 0px 7px 18px rgba(0, 0, 0, 0.2);
    transform: translateY(-1rem) scale(1.02);
}

/* footer */
.my-footer.footer-six.bg-footer-one {
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-image: url(../images/footer/blue.webp);
}

.footer-six .rts-copyright-area p {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0;
    font-weight: 400;
}

.footer-six .footer-one-single-wized.mid-bg {
    padding: 40px 30px;
    background: linear-gradient(180deg, #010e42 -15.16%, #021d6d 100%);
    margin-top: -40px;
    margin: -40px 30px 0 0;
}

.footer-six .footer-one-single-wized .post-wrapper .single-footer-post .post-right a {
    color: #f8f9fa;
    margin-top: 1px;
    font-size: 1.4rem;
}

.footer-one-single-wized .day {
    max-width: 210px;
}

.footer-one-single-wized .rts-btn.btn-primary {
    background: var(--background-green);
}

.footer-six .footer-one-single-wized .post-wrapper .single-footer-post .post-right a:hover .title {
    color: #7f8da6;
}

/* MAP MODAL */
.open-map-modal,
.question-btn {
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 10px;
}

body.modal-map-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100%;
}

#modal-map {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
}

#modal-map.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-map__dialog {
    max-width: 1300px;
    width: 95%;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-map__close-wrap {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.modal-map__close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    border-radius: 50%;
    width: 32px;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-map__close-btn i {
    font-size: 1.6rem;
    color: #000;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-map__close-btn:hover {
    background: rgba(255, 255, 255, 1);
}


/* Map Header */
.locations-map__header {
    background: linear-gradient(135deg, #1565C0 0%, #42A5F5 100%);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.locations-map__header-logo {
    flex-shrink: 0;
}

.locations-map__header-logo img {
    height: 48px;
    width: auto;
}

.locations-map__header-text {
    display: flex;
    flex-direction: column;
}

.locations-map__header-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.locations-map__header-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.3;
}

/* Map Body */
.locations-map__body {
    padding: 0;
}

.locations-map__section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    padding: 20px 28px 12px;
    margin: 0;
}

.locations-map__block {
    display: flex;
    min-height: 600px;
}

/* Locations List */
.locations-map__list {
    width: 40%;
    flex-shrink: 0;
    border-right: 1px solid #e8e8e8;
}

/* Map Wrap */
.locations-map__map-wrap {
    flex: 1;
    min-width: 0;
}

#modal-map #map {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

#map-locations-scrollbar {
    max-height: 600px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 0 10px 0;
}

#map-locations-scrollbar::-webkit-scrollbar {
    width: 5px;
}

#map-locations-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#map-locations-scrollbar::-webkit-scrollbar-thumb {
    background: #1565C0;
    border-radius: 3px;
}

/* Location Item */
.locations-map__item {
    display: flex;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.locations-map__item:hover,
.locations-map__item.active {
    background: #f5f8ff;
}

.locations-map__item-marker {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-top: 4px;
}

.locations-map__item-content {
    flex: 1;
    min-width: 0;
}

/* Group Title */
.locations-map__group-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1565C0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 24px 6px;
    border-bottom: 1px solid #e8f0fe;
    background: #f8faff;
}

.locations-map__item-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 5px;
}

.locations-map__item-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 1.3rem;
    color: #555;
    line-height: 1.4;
}

.locations-map__item-detail a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.locations-map__item-detail a:hover {
    color: #1565C0;
}

/* Location Icons */
.locations-map__item-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.locations-map__item-icon--schedule {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231565C0'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.locations-map__item-icon--phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23555'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.locations-map__item-icon--email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23555'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

/* Responsive */
@media (max-width: 1366px) {
    .logo-bgpu {
        max-width: 200px;
    }
    .nav-area ul li a {
        font-size: 1.2rem;
        letter-spacing: -0.2px;
    }

    .header-one .nav-area {
        margin-right: 20px;
    }

    #menu-btn {
        margin-left: 10px;
    }

    #search, #menu-btn {
        height: 40px;
        min-width: 40px;
        display: flex;
        border-radius: 10px;;
    }
    #search i, #menu-btn i {
        font-size: 1.6rem;
    }
}




@media (max-width: 991px) {
    .locations-map__block {
        flex-direction: column;
    }

    .locations-map__list {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }

    #map-locations-scrollbar {
        max-height: 250px;
    }

    #modal-map #map {
        min-height: 350px;
    }

    .modal-map__dialog {
        max-width: 100%;
        width: 95%;
    }
}

@media (max-width: 575px) {
    .locations-map__header {
        padding: 14px 18px;
    }

    .locations-map__header-title {
        font-size: 1.6rem;
    }

    .locations-map__header-logo img {
        height: 36px;
    }

    .locations-map__item {
        padding: 12px 16px;
    }

    .locations-map__section-title {
        padding: 14px 18px 8px;
        font-size: 1.6rem;
    }
}

/* Prevent layout jump: keep fixed header, hide it via transform only */
.header--sticky.sticky.sticky-idle-hidden {
    transform: translate3d(0, -110%, 0);
    opacity: 0;
    pointer-events: none;
}

.header--sticky.sticky {
    transition: transform 0.28s ease, opacity 0.2s ease;
    will-change: transform, opacity;
}
