/* Баннер «экскурсии» в мега-футере (элемент ИБ 39, layout=tour). */

.footer-mega-banner.footer-mega-banner--tour {
    position: relative;
    overflow: hidden;
    background: #fff !important;
    border-radius: 24px !important;
    box-shadow: none !important;
}

.footer-mega-banner.footer-mega-banner--tour:hover,
.footer-mega-banner.footer-mega-banner--tour:focus-within {
    box-shadow: none !important;
}

.footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__media--tour {
    --aspect-ratio: 921 / 434;
    aspect-ratio: 921 / 434;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: inherit;
}

.footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__graphic {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: auto;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: right center;
    pointer-events: none;
    user-select: none;
}

.footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__content--tour {
    position: absolute;
    inset: 0;
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 52%;
    max-width: 52%;
    padding: 30px 0 26px 30px;
    pointer-events: none;
}

.footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__title--tour {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    color: #1b1d24 !important;
    font-family: var(--theme-font-title-family), var(--theme-font-family), Arial, sans-serif;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (min-width: 992px) {
    .footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__title--tour {
        font-size: 28px;
        line-height: 1.08;
    }
}

.footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__title-line {
    display: block;
}

.footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__title-accent {
    position: relative;
    display: inline-block;
    color: #1b1d24 !important;
    padding-bottom: 0.12em;
}

.footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #d45029;
    border-radius: 1px;
    pointer-events: none;
}

.footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: auto;
    padding: 12px 24px;
    border-radius: 999px;
    background: #d1532f;
    color: #fff !important;
    font-family: var(--theme-font-family), Arial, sans-serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__cta-btn {
        padding: 13px 26px;
        font-size: 16px;
    }
}

.footer-mega-banner.footer-mega-banner--tour .ui-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.footer-mega .footer-mega-banner.footer-mega-banner--tour,
.footer-mega .footer-mega-banner.footer-mega-banner--tour:hover,
.footer-mega .footer-mega-banner.footer-mega-banner--tour:focus,
.footer-mega .footer-mega-banner.footer-mega-banner--tour:active,
.footer-mega .footer-mega-banner.footer-mega-banner--tour:visited,
.footer-mega .footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__title--tour,
.footer-mega .footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__title-line,
.footer-mega .footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__title-accent {
    color: #1b1d24 !important;
    text-decoration: none;
}

.footer-mega .footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__title-accent {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.footer-mega .footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__cta-btn {
    color: #fff !important;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__content--tour {
        padding: 22px 0 22px 22px;
        width: 58%;
        max-width: 58%;
    }

    .footer-mega-banner.footer-mega-banner--tour .footer-mega-banner__graphic {
        height: 100%;
        top: 0;
        right: 0;
    }
}
