/* ===== ОСНОВНЫЕ СТИЛИ ===== */
.widget-block {
    float: left;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
    border-radius: 12px;
    border: 2px solid rgba(191, 191, 191, 0.24);
    box-shadow: 0px 0px 13px -6px rgba(0, 0, 0, 0.5);
    margin: 10px;
    background: white;
    overflow: hidden;
}

.widget-block:nth-child(3n) {
    margin-right: 0;
}

/* Контейнер контента отеля */
.content-hotels {
    padding: 0 20px 20px;
}

/* Заголовок отеля */
.widget-block h3 {
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

/* Адрес отеля */
.address-field {
    text-align: left;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

/* Контейнер изображения */
.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    max-height: 255px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Кнопка бронирования */
.custom-button {
    display: table;
    padding: 10px 20px;
    background-color: #f2b203;
    color: #454141;
    text-decoration: none;
    border-radius: 31px;
    font-size: 1em;
    font-weight: 800;
    margin: 20px auto;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.custom-button:hover {
    transform: scale(0.95);
    color: #454141;
    background-color: #f19a02;
}

/* Список удобств */
.amenities_text {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 4px;
}

.amenities_text p {
    margin: 0 !important;
    white-space: nowrap;
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

.amenities_text i {
    color: #f2b203;
    width: 16px;
    text-align: center;
}

/* Информационная карточка */
.card-info {
    height: 46px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Рейтинг */
.listing_rating {
    float: right;
    margin-top: 6px;
    color: #f1b302;
    font-weight: 600;
    font-size: 14px;
}

.listing_rating i {
    margin-right: 2px;
}

/* Бейджи и особенности */
.badget {
    position: absolute;
    top: 6px;
    left: 4px;
    z-index: 2;
}

.highlight.features {
    display: none;
    margin-bottom: 5px;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
}

.Top .highlight.topRate {
    display: inline-block;
}

.Great .highlight.grateVal {
    display: inline-block;
}

.Perfect .highlight.perfCho {
    display: inline-block;
}

.highlight .icon {
    background: #21c000;
    padding: 5px;
    border-radius: 50%;
    width: 21px;
    height: 21px;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.highlight .icon,
.highlight .text {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    line-height: 12px;
}

.highlight.features.topRate .icon {
    background: #21c000;
}

.highlight.features.perfCho .icon {
    background: #cb3f32;
}

.highlight.features.grateVal .icon {
    background: #00b8c0;
}

.highlight svg {
    max-width: 14px;
    fill: #fff;
    max-height: 14px;
}

.features.highlight:not(:last-child) {
    margin-right: 5px;
}

/* Цена */
.highlight.price {
    margin-right: 20px;
    font-weight: 600;
}

span.price_dollar {
    font-size: 17px;
    font-weight: 500;
    color: #333;
}

/* Дополнительный контент */
.postContent {
    text-align: justify;
    margin-top: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.postContent p {
    margin-bottom: 15px !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 767px) {
    .widget-block {
        width: 100% !important;
        margin: 10px 0 !important;
        min-height: auto;
    }
    
    .content-hotels {
        padding: 0 15px 15px;
    }
    
    .highlight.features {
        width: auto;
    }
    
    .amenities_text {
        flex-direction: column;
        gap: 5px;
    }
    
    .amenities_text p {
        white-space: normal;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .widget-block {
        width: calc(50% - 20px);
    }
    
    .widget-block:nth-child(2n) {
        margin-right: 0;
    }
    
    .widget-block:nth-child(3n) {
        margin-right: 10px;
    }
}

/* Контейнеры отелей */
.hotels-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* Группы виджетов */
.flex-group-2,
.flex-group-3,
.flex-group-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.flex-group-2 .widget-block {
    width: calc(50% - 20px);
}

.flex-group-3 .widget-block {
    width: calc(33.333% - 20px);
}

.flex-group-4 .widget-block {
    width: calc(25% - 20px);
}

/* Скрытие элементов на разных языках */
html[lang="en-US"] .amenities_text .es_item {
    display: none;
}

html[lang="es-ES"] .amenities_text span:not(.es_item),
html[lang="es-MX"] .amenities_text span:not(.es_item) {
    display: none;
}

/* ===== УТИЛИТЫ ===== */
.widget-block.block_url {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget-block.block_url:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
}

/* Очистка float */
.hotels-container:after,
.flex-group-2:after,
.flex-group-3:after,
.flex-group-4:after {
    content: "";
    display: table;
    clear: both;
}

/* Скрытие ненужных элементов */
.widget-block br {
    display: none;
}

/* Стили для иконок Font Awesome */
.fa-swimming-pool:before { content: ""; }
.fa-wifi:before { content: ""; }
.fa-parking:before { content: ""; }
.fa-hamburger:before { content: ""; }
.fa-star:before { content: ""; }

/* ===== СТИЛИ ДЛЯ КОНТЕЙНЕРОВ ===== */
.original-content-wrapper {
    width: 100%;
}

.original-content-wrapper * {
    box-sizing: border-box;
}

/* Стили для адаптивных изображений */
.original-content-wrapper img {
    max-width: 100%;
    height: auto;
}

/* Стили для списков */
.original-content-wrapper ul,
.original-content-wrapper ol {
    margin: 15px 0;
    padding-left: 20px;
}

.original-content-wrapper li {
    margin-bottom: 5px;
}

/* Стили для таблиц */
.original-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.original-content-wrapper table,
.original-content-wrapper th,
.original-content-wrapper td {
    border: 1px solid #ddd;
    padding: 8px;
}

.original-content-wrapper th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ===== */
/* Стили для заголовков внутри виджетов */
.widget-block h1,
.widget-block h2,
.widget-block h3,
.widget-block h4,
.widget-block h5,
.widget-block h6 {
    color: #333;
    margin-top: 0;
    line-height: 1.3;
}

/* Стили для ссылок */
.widget-block a:not(.custom-button) {
    color: #334daa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget-block a:not(.custom-button):hover {
    color: #2a3f8c;
    text-decoration: underline;
}

/* Стили для выделенного текста */
.widget-block strong {
    font-weight: 600;
    color: #333;
}

/* Стили для курсива */
.widget-block em {
    font-style: italic;
    color: #555;
}

/* Стили для цитат */
.widget-block blockquote {
    border-left: 4px solid #f2b203;
    padding-left: 15px;
    margin: 15px 0;
    font-style: italic;
    color: #666;
}

/* Стили для кода */
.widget-block code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

/* Стили для предварительного форматированного текста */
.widget-block pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget-block {
    animation: fadeIn 0.5s ease-out;
}

/* ===== ТЕМНЫЕ ТЕМЫ ===== */
@media (prefers-color-scheme: dark) {
    .widget-block {
        background-color: #2d2d2d;
        border-color: #444;
        color: #e0e0e0;
    }
    
    .widget-block h3 {
        color: #e0e0e0;
    }
    
    .address-field {
        color: #aaa;
    }
    
    .amenities_text p {
        color: #ccc;
    }
    
    .highlight.features {
        background-color: #3d3d3d;
    }
    
    span.price_dollar {
        color: #e0e0e0;
    }
    
    .postContent {
        color: #ccc;
    }
}

/* ===== ПЕЧАТЬ ===== */
@media print {
    .widget-block {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .custom-button {
        display: none;
    }
    
    .badget {
        display: none;
    }
}
/* Стили для блока FAQ */
#rank-math-faq {
    margin: 25px auto 0;
    max-width: 1140px;
    font-family: 'Poppins', sans-serif;
}

.rank-math-list {
    border: 1px solid #dedede;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rank-math-list-item {
    border-bottom: 1px solid #dedede;
    background: #fff;
    transition: all 0.3s ease;
}

.rank-math-list-item:last-child {
    border-bottom: none;
}

.rank-math-list-item:hover {
    background: #f8f9fa;
}

.rank-math-question {
    border-bottom: 1px solid #dedede;
    padding: 15px 20px;
    background-color: #eef6ff;
    font-size: 18px;
    color: #3e3e3e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.rank-math-question:hover {
    background-color: #e3f0ff;
}

.rank-math-answer {
    padding: 20px;
    background: #fff;
    line-height: 1.6;
    color: #555;
    border-top: 1px solid #f1f1f1;
}

.rank-math-answer p {
    margin-bottom: 15px;
    max-width: none;
}

.rank-math-answer strong {
    color: #d6a70c;
}

.rank-math-answer a {
    color: #334daa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rank-math-answer a:hover {
    color: #d6a70c;
    text-decoration: underline;
}

/* Стили для слайдера отелей */
.more-hotels-wrapper {
    margin: 40px 0;
    padding: 20px 0;
    background: #fafafa;
    border-radius: 12px;
}

.more-hotels-slider {
    position: relative;
    padding: 0 40px;
}

.more-hotels-slider .swiper-wrapper {
    padding: 20px 0;
}

.more-hotels-slider .custom-image-box-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 10px;
    overflow: hidden;
}

.more-hotels-slider .custom-image-box-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.more-hotels-slider .custom-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.more-hotels-slider .custom-image-box-title {
    padding: 15px;
    text-align: center;
}

.more-hotels-slider .custom-image-box-title a {
    color: #333;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.more-hotels-slider .custom-image-box-title a:hover {
    color: #d6a70c;
}

/* Навигация слайдера */
.more-hotels-slider .swiper-button-next,
.more-hotels-slider .swiper-button-prev {
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.more-hotels-slider .swiper-button-next:after,
.more-hotels-slider .swiper-button-prev:after {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.more-hotels-slider .swiper-button-next:hover,
.more-hotels-slider .swiper-button-prev:hover {
    background: #d6a70c;
    transform: scale(1.1);
}

.more-hotels-slider .swiper-button-next:hover:after,
.more-hotels-slider .swiper-button-prev:hover:after {
    color: #fff;
}

/* Пагинация */
.more-hotels-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.more-hotels-slider .swiper-pagination-bullet-active {
    background: #d6a70c;
    opacity: 1;
    transform: scale(1.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    #rank-math-faq {
        margin: 15px auto 0;
    }
    
    .rank-math-question {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .rank-math-answer {
        padding: 15px;
    }
    
    .more-hotels-wrapper {
        margin: 20px 0;
        padding: 15px 0;
    }
    
    .more-hotels-slider {
        padding: 0 20px;
    }
    
    .more-hotels-slider .swiper-button-next,
    .more-hotels-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .more-hotels-slider .swiper-button-next:after,
    .more-hotels-slider .swiper-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .rank-math-question {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .more-hotels-slider {
        padding: 0 10px;
    }
    
    .more-hotels-slider .custom-image-box-wrapper {
        margin: 5px;
    }
}
.swiper-container {
    overflow: hidden;
}
#ez-toc-container {
    display: none !important;
}