/* Стили для правого столбца с ценой на странице экскурсии */
:root {
    --auth-panel-height: 72px;
}

/* Основной контейнер для двухколоночной структуры */
.main-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Левый столбец с основным контентом */
.ex-main {
    flex: 1;
    max-width: calc(100% - 360px);
}
.blog-page .ex-main, .exc-page .ex-main {
    flex: 1;
    max-width: 100%;
    display: flex !important;
}
.blog-page-inner {
    width: 100%;
}
.blog-page-inner .blog-main-image img{
    width: 100%;
    border-radius: 8px;
}

/* Правый столбец с ценой */
.excursion-sidebar, .exc-page-sidebar, .blog-page-sidebar {
    width: 340px !important;
    flex-shrink: 0;
    position: sticky !important;
    top: 20px !important;
    margin-left: 30px !important;
    height: max-content;
}
.excursion-sidebar ul, .exc-page-sidebar ul, .blog-page-sidebar ul{
    padding: 0;
    list-style-type: none;
}
.excursion-sidebar ul a, .exc-page-sidebar ul a, .blog-page-sidebar ul a{
    text-decoration: none !important;
    color: #333;
}

/* Блок с ценой */
.excursion-price-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Контейнер для цены */
.price-container {
    text-align: center;
}

/* Отображение цены в одну строчку */
.price-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Обычная цена */
.regular-price {
    font-size: 24px;
    font-weight: 700;
    color: #00a7ff;
}

/* Оригинальная цена (зачеркнутая) */
.original-price {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: line-through;
    text-decoration-color: #e74c3c;
    text-decoration-thickness: 2px;
    margin-right: 10px;
}

/* Специальная цена */
.special-price {
    font-size: 24px;
    font-weight: 700;
    color: #00a7ff;
}

/* Текст "от" и "за человека" */
.price-text {
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

/* Случай когда цена не указана */
.no-price {
    font-size: 16px;
    color: #999;
    font-style: italic;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .ex-main {
        max-width: 100%;
    }
    
    .excursion-sidebar, .blog-page-sidebar {
        width: 100%;
        position: static;
        order: -1; /* Перемещаем цену в начало на мобильных */
    }
    
    .excursion-price-block {
        margin-bottom: 0;
    }
}

/* Дополнительные стили для лучшего отображения */
.excursion-price-block:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Стили для акцентирования специальной цены */
.price-display:has(.special-price) {
    background: transparent;
    padding: 10;
    border: none;
}

/* Блок бронирования */
.booking-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.booking-block h2, .booking-block h3,
.booking-block .sidebar-heading {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Селектор даты и времени */
.date-selector, .time-selector {
    margin-bottom: 10px;
}

.people-selector {
    margin-bottom: 10px;
}

.date-button {
    width: 100%;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px !important;
}

.date-button:hover {
    border-color: #00a7ff;
    background: #f8f9ff;
}

.date-button:focus {
    outline: none;
    border-color: #00a7ff;
    box-shadow: 0 0 0 3px rgba(0, 167, 255, 0.1);
}

.date-text {
    font-weight: 400;
    font-size: 14px;
}

.date-arrow {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.date-button.active .date-arrow {
    transform: rotate(180deg);
}

/* Модальное окно календаря */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
}

.calendar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.calendar-popup {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    width: 960px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.calendar-header #modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.close-calendar {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.close-calendar:hover {
    background: #e0e0e0;
}

.calendar-content {
    padding: 20px;
}

/* Шаги модального окна */


/* Кнопки модального окна */
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 20px;
    padding-top: 0px;
    border-top: none;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary {
    background: #00a7ff;
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: #1354b9;
    color: #fff;
    border: none;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover:not(:disabled) {
    background: #e9ecef;
}

.btn-full-width {
    width: 100%;
    margin: 0;
}

/* (удалено) Верхние вкладки-индикаторы */

/* ====== Шаг 4: Ваши данные (стили как на странице бронирования) ====== */
#contacts-step .form-row-header {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

#contacts-step .booking-form-row_block label {
    font-size: 15px;
    color: #555;
    display: inline-block;
    margin-right: 3px; /* уменьшили отступ примерно в 3 раза */
}

#contacts-step .booking-form-row_block input[type="text"],
#contacts-step .booking-form-row_block input[type="email"] {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contacts-step .booking-form-row_block input[type="text"]::placeholder,
#contacts-step .booking-form-row_block input[type="email"]::placeholder {
    color: #9aa3ab;
}

#contacts-step .booking-form-row_block input[type="text"]:focus,
#contacts-step .booking-form-row_block input[type="email"]:focus {
    outline: none;
    border-color: #00a7ff;
    box-shadow: 0 0 0 3px rgba(0, 167, 255, 0.1);
}

/* Убрали текстовое сообщение об ошибке телефона */

#contacts-step .required-star {
    color: #e53935;
    font-weight: 700;
    margin: 0 5px;
}

#contacts-step .required-note {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    #contacts-step .booking-form-row_block {
        grid-template-columns: 1fr;
    }

    #contacts-step .booking-form-row_block label {
        margin: 0 0 6px 0;
    }
}

/* Коррекции раскладки контактов */
#contacts-step .booking-form-row_block {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

#contacts-step .booking-form-row_block > div {
    width: auto;
}

#contacts-step .booking-form-row.user-contacts {
    padding: 0;
}

/* Стили для выбранной даты */
.selected-date-summary {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 20px;
}

/* Стили для выбранного времени */
.selected-time-summary {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 20px;
}

.selected-date-info, .selected-time-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px;
    border-radius: 6px;
}

.selected-date-info:hover, .selected-time-info:hover {
    background: #e9ecef;
}

.selected-date-label, .selected-time-label {
    font-weight: 600;
    color: #333;
}

.selected-date-value, .selected-time-value {
    font-weight: 700;
    color: #00a7ff;
    font-size: 16px;
}

/* Стили для отображения билетов и цен на мобильной версии */
.people-display-tickets-count,
.people-display-prices {
    display: inline;
}
.people-display-prices > span{
    margin-left: 10px;
}

@media all and (max-width: 767px) {
    .selected-time-value {
        display: flex;
        line-height: 1.4;
    }
    .selected-date-info, .selected-time-info{
        padding: 0 5px;
        height: 36px;
    }
    
    .people-display-tickets-count {
        display: block;
        margin-bottom: 4px;
    }
    
    .people-display-prices {
        display: block;
    }
}

.toggle-arrow {
    margin-left: auto;
    font-size: 14px;
    color: #666;
    transition: transform 0.2s ease;
}

.btn-secondary:disabled {
    background: #f8f9fa;
    color: #999;
    cursor: not-allowed;
}

/* Опции времени */
.time-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.time-option {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.time-option:hover {
    border-color: #00a7ff;
    background: #f8f9ff;
}

.time-option.selected {
    border-color: #00a7ff;
    background: #e6f3ff;
}

.time-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.no-times {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #e0e0e0;
}

/* ====== Типы билетов (2 колонки, красивые карточки) ====== */
.ticket-types-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ticket-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 5px 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.ticket-type-row:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.ticket-type-info {
    display: flex;
    flex-direction: column;
}

.ticket-type-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.ticket-type-price {
    display: flex;
    align-items: baseline;
}

.ticket-type-price .currency {
    font-size: 12px;
    color: #777;
}

.ticket-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9fbfd;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #f0f7ff;
    border-color: #00a7ff;
    color: #00a7ff;
}

.ticket-quantity {
    width: 56px;
    height: 34px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    padding: 0 6px;
}

/* Селект предоплаты как .date-button */
#prepayment-select.date-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    padding-right: 36px; /* место под стрелку как у кнопок */
}

/* псевдо-стрелка как у .date-arrow */
#prepayment-select-wrapper{
    position: relative;
}
#prepayment-select-wrapper::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666666;
    pointer-events: none;
}

/* скрыть системную стрелку */
#prepayment-select::-ms-expand { display: none; }

/* Стили для скидок на билетах: на десктопе показываем полный текст, на мобильных - короткий */
.ticket-discount-info {
    margin-left: 5px;
}
.ticket-discount-info .ticket-discount-full {
    display: inline;
}
.ticket-discount-info .ticket-discount-mobile {
    display: none;
}

/* Адаптив для мобильных: 1 колонка */
@media (max-width: 768px) {
    .ticket-types-container {
        grid-template-columns: 1fr;
    }
}

/* Адаптивность для мобильных устройств */
@media all and (max-width: 768px) {
    .regular-price{
        font-size: 15px;
    }
    .time-option{
        padding: 3px 15px;
    }
    .selected-date-summary{
        margin-bottom: 10px;
        padding: 0 5px;
    }
    .selected-time-summary{
        margin-bottom: 10px !important;
        padding: 0 5px !important;
    }
    .modal-buttons{
        padding-top: 0;
        border-top: none;
        margin-top: 10px;
    }
    .ticket-type-row{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        border: 1px solid #e6e6e6;
        border-radius: 10px;
        padding: 0 9px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: box-shadow 0.2s ease, transform 0.1s ease;
    }
    .ticket-type-info{
        flex-direction: row;
        align-items: center;
        gap: 10px;
        position: relative;
        height: 36px;
    }
    .ticket-discount-info{
        /* position: absolute;
        bottom: -23px; */
        background: #fff;
        /* padding: 2px;
        border-radius: 3px;
        box-shadow: 2px 2px 4px; */
    }
    /* Скрываем полный текст скидки на мобильных, показываем короткий */
    .ticket-discount-info .ticket-discount-full {
        display: none;
    }
    .ticket-discount-info .ticket-discount-mobile {
        display: inline;
    }
    .total-summary{
        gap: 0px;
        flex-wrap: wrap;
        padding: 10px;
    }
    body .promo-input{
        max-width: 170px;
    }
    .ticket-type-name{
        font-size: 13px;
        width: 85px;
    }
    .ticket-discount-amount{
        margin-right: 0px;
    }
    .ticket-type-price{
        display: flex;
        align-items: baseline;
        gap: 5px;
    }
    .original-price{
        font-size: 15px;
        margin-right: 0;
    }
    .special-price{
        font-size: 15px;
    }
    .ticket-type-price .currency{
        font-size: 12px;
        margin-right: 7px;
    }
    .ticket-quantity-controls{
        gap: 3px;
    }
    .ticket-quantity{
        padding: 0;
    }
    .quantity-btn{
        width: 24px;
        height: 24px;
    }
    .ticket-quantity{
        width: 32px;
        height: 24px;
    }
    .ticket-types-container{
        gap: 8px;
    }
    .excursion-sidebar, .exc-page-sidebar, .blog-page-sidebar{
        margin-left: 0 !important;
    }
    .calendar-popup {
        max-width: 95vw;
        max-height: initial;
        height: calc(100vh - 20px);
        overflow-y: auto;
    }
    
    .calendar-header {
        padding: 2px 15px;
    }
    
    .calendar-content {
        padding: 15px;
        padding-bottom: 400px;
    }
    
    .date-button {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Смещение блока шаринга на мобильных */
    .ya-share2_inited {
        position: relative;
        bottom: -20px;
    }
    
    .promo-input-group {
        flex-direction: column;
    }
    
    /* Блок способа оплаты и промокода в диалоговом окне на мобильных */
    .modal-payment-promo-block {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* Кнопки бронирования и связи */
.booking-actions {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1023px) {
    body {
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--auth-panel-height, 72px) + 120px);
    }

    .excursion-sidebar,
    .booking-block {
        padding-bottom: calc(var(--auth-panel-height, 72px) + 40px);
    }

    .booking-actions {
        position: relative;
        margin-bottom: calc(var(--auth-panel-height, 72px) + 40px);
    }

    .btn-book.btn-book-sticky,
    .booking-actions .btn-book.btn-book-sticky {
        display: block;
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        bottom: env(safe-area-inset-bottom, 0px);
        width: 100%;
        width: 100vw;
        margin: 0;
        z-index: 2100;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        border-radius: 0;
        height: 50px;
    }

    .btn-book.btn-book-sticky:disabled,
    .booking-actions .btn-book.btn-book-sticky:disabled {
        box-shadow: none;
    }

    .booking-actions .btn-book:not(.btn-book-sticky) {
        margin-bottom: 8px;
    }
}

.btn-book, .btn-contact {
    width: 100%;
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book {
    background-color: #00a7ff;
    color: white;
}

.btn-book:hover {
    background-color: #0088cc;
}

.btn-book:disabled, .btn-book[disabled] {
    background-color: #b5e5ff;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-contact {
    background-color: #f8f9fa;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-contact:hover {
    background-color: #e9ecef;
    border-color: #00a7ff;
}

.btn-book-sticky {
    display: none;
}

/* Промокод */
.promo-code-section {
    margin: 20px 0 0;
    padding: 0px;
    background-color: transparent;
    border-radius: 8px;
}

.promo-input-group {
    display: flex;
    flex-direction: row; /* Кнопка под полем */
    gap: 10px;
}

.promo-input {
    flex: 1;
    padding: 8px 20px; /* как у кнопок */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px; /* как у кнопок */
}

.btn-outline {
    background-color: transparent;
    color: #00a7ff;
    border: 2px solid #00a7ff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #00a7ff;
    color: white;
}

/* Сумма заказа */
.order-summary {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.order-total {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.total-amount {
    font-weight: 600;
    font-size: 16px;
}

.original-total .original-amount {
    color: #999;
    text-decoration: line-through;
    text-decoration-color: #e74c3c;
    text-decoration-thickness: 2px;
}

.final-total .final-amount {
    color: #00a7ff;
    font-size: 18px;
}

/* Информация об экскурсии */

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #666;
    font-size: 14px;
    width: 100%;
}

.info-value {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-align: right;
}

/* Модальное окно для связи */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.contact-popup {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    z-index: 2001;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-header .contact-title {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.close-contact {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-contact:hover {
    color: #333;
}

.contact-content {
    padding: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00a7ff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.form-actions .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions .btn-primary {
    background-color: #00a7ff;
    color: white;
}

.form-actions .btn-primary:hover {
    background-color: #0088cc;
}

.form-actions .btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.form-actions .btn-secondary:hover {
    background-color: #e9ecef;
}

@media all and (max-width: 767px){
    .btn-outline{
        padding: 6px 16px;
    }
    .promo-input{
        padding: 5px 20px;
    }
    .blog-page .ex-main, .exc-page .ex-main {
        flex-direction: column-reverse;
    }
    .video-embed-block iframe{
        max-width: 100% !important;
    }
    .exc-page-sidebar, .blog-page-sidebar{
        margin: 0 !important;
        width: 100% !important;
        padding: 15px;
    }
    .modal-step {
        min-height: initial !important;
    }
}
