.layout-cards__item-hidden {
    display: none;
}

.block-activities__subtitle {
    width: 100%;
    text-transform: uppercase;
    color: #0F4382;
    margin-top: 4.375rem;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-family: DIN Condensed, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

.separation-idea .block-carousel__subtitle {
    color: #0F4382;
}

@media (max-width: 490px) {
    .block-activities__subtitle {
        font-size: 1.5rem;
    }
}

.block-carousel__bottom-action {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 1.25rem;
}

@media (min-width: 990px) {
    .block-carousel__bottom-action {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        width: 80%;
    }
}

/* Модальное окно Узбекистан */
.modal-uzbekistan {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
}

.modal-uzbekistan.is-active {
    display: flex;
    pointer-events: auto;
}

.modal-uzbekistan__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-uzbekistan__content {
    position: relative;
    background-color: #fff;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 30rem;
    padding: 3rem 2rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (min-width: 640px) {
    .modal-uzbekistan__content {
        padding: 3.5rem 3rem;
    }
}

.modal-uzbekistan.animate .modal-uzbekistan__content {
    opacity: 1;
    transform: none;
}

.modal-uzbekistan__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    color: #333;
}

.modal-uzbekistan__close:hover {
    color: #0F4382;
}

.modal-uzbekistan__title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0F4382;
}

.modal-uzbekistan__text {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.modal-uzbekistan__action .button {
    width: 100%;
    justify-content: center;
}

@media (min-width: 640px) {
    .modal-uzbekistan__action .button {
        width: auto;
        min-width: 12.5rem;
    }
}

/* Загрузка при переводе RU → UZ */
.translate-loading {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 1rem;
}
html.uz-translating body {
	visibility: hidden !important;
}
html.uz-translating body .translate-loading,
html.uz-translating body .translate-loading * {
	visibility: visible !important;
}
html.uz-translating .translate-loading {
	display: flex !important;
}
.translate-loading__spinner {
	width: 2.5rem;
	height: 2.5rem;
	border: 3px solid #e5e7eb;
	border-top-color: #0F4382;
	border-radius: 50%;
	animation: translate-loading-spin 0.8s linear infinite;
}
@keyframes translate-loading-spin {
	to { transform: rotate(360deg); }
}

/* Google Translate — скрываем стандартный UI (без контейнера, только cookie) */
.goog-te-banner-frame,
#goog-gt-tt,
.skiptranslate {
    display: none !important;
}
body {
    top: 0 !important;
}
body > .skiptranslate {
    display: none !important;
}

/* Кнопка перевода на узбекский в верхнем правом углу */
.uz-link {
    display: inline-flex !important;
    cursor: pointer;
    border: none;
    font: inherit;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.02em;
    color: #0F4382;
    background-color: #fff;
    border: 1px solid #0F4382;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.uz-link:hover {
    color: #fff;
    background-color: #0F4382;
}

.uz-link:focus {
    outline: 2px solid #0F4382;
    outline-offset: 2px;
}

@media (min-width: 640px) {
    .uz-link {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 990px) {
    .uz-link {
        top: 1rem;
        right: 1rem;
    }
}