.image-block-outer-wrapper,
.image-block-outer-wrapper.layout-caption-below,
.fluid-image-container,
.content-fill,
.sqs-image-content,
.image-block-wrapper,
.fluid-image-animation-wrapper {
    background: transparent !important;
}

.sqs-block-image .fluid-image-container:before,
.sqs-block-image .fluid-image-container:after {
    display: none !important;
}

.fe-block-d1217ef7465cf4d44754 .sqs-block-content,
.fe-block-d1217ef7465cf4d44754 .image-block-outer-wrapper,
.fe-block-d1217ef7465cf4d44754 .fluid-image-container,
.fe-block-d1217ef7465cf4d44754 .content-fill {
    background: transparent !important;
}

.sqs-gallery-container,
.sqs-gallery,
.sqs-gallery-design-stacked,
.sqs-gallery-design-stacked-slide,
.content-fill {
    background: transparent !important;
}

/* Убираем любые оверлеи */
.color-overlay,
.fluidImageOverlay {
    display: none !important;
}

/* Дополнительные стили для изображения Chateau Artwine */
.image-block-outer-wrapper img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

.sqs-block-image {
    background: transparent !important;
}

.sqs-block-image-figure {
    background: transparent !important;
}

/* Убираем все возможные фоны */
[class*="sqs-col"] {
    background: transparent !important;
}

.sqs-block {
    background: transparent !important;
}

.sqs-block-content {
    background: transparent !important;
}

/* Стили для заголовков везде, кроме первой секции */
.page-section:not(:first-of-type) h1,
.page-section:not(:first-of-type) h2,
.page-section:not(:first-of-type) h3,
.page-section h2,
.page-section h3 {
    font-family: 'Playfair Display', serif !important;
    letter-spacing: -0.02em;
}

/* Стили для заголовков */
.page-section:not(:first-of-type) h2,
.page-section h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 3.5rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

/* Стили для подзаголовков */
.page-section:not(:first-of-type) h3,
.page-section h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.75rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

/* Специальные стили для секции расписания */
.schedule-wrapper h2,
.schedule-wrapper h3 {
    font-family: 'Playfair Display', serif !important;
    text-align: center !important;
}

.schedule-wrapper h2 {
    font-size: 3.5rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin-bottom: 30px !important;
}

.schedule-wrapper h3 {
    font-size: 2.5rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

/* Стили для основного текста везде, кроме первой секции */
.page-section:not(:first-of-type) p,
.page-section:not(:first-of-type) span,
.page-section:not(:first-of-type) div,
#dresscode p {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.375rem !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
}

/* Стили для жирного текста */
.page-section:not(:first-of-type) strong,
.page-section:not(:first-of-type) b {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600 !important;
}

/* Увеличенный текст (если есть) */
.page-section:not(:first-of-type) .large-text,
.page-section:not(:first-of-type) p.large {
    font-size: 1.625rem !important;
    line-height: 1.5 !important;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .page-section:not(:first-of-type) h2,
    .page-section h2 {
        font-size: 2.5rem !important;
    }
    
    .page-section:not(:first-of-type) h3,
    .page-section h3 {
        font-size: 1.5rem !important;
    }
    
    .page-section:not(:first-of-type) p,
    .page-section:not(:first-of-type) span,
    .page-section:not(:first-of-type) div,
    #dresscode p {
        font-size: 1.25rem !important;
    }
    
    .page-section:not(:first-of-type) .large-text,
    .page-section:not(:first-of-type) p.large {
        font-size: 1.375rem !important;
    }
}

/* Стили для секции с историей знакомства */
.fe-block-741189ec3b27ccf3365f,
.fe-block-741189ec3b27ccf3365f .sqs-block,
.fe-block-741189ec3b27ccf3365f .sqs-block-content,
.fe-block-741189ec3b27ccf3365f .sqs-html-content {
    margin: 0 !important;
    padding: 0 !important;
}

.fe-block-741189ec3b27ccf3365f h2 {
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
}

.fe-block-5ff10b6fd28c6380a35b,
.fe-block-5ff10b6fd28c6380a35b .sqs-block,
.fe-block-5ff10b6fd28c6380a35b .sqs-block-content,
.fe-block-5ff10b6fd28c6380a35b .sqs-html-content {
    margin: 0 !important;
    padding: 0 !important;
}

.fe-block-5ff10b6fd28c6380a35b p {
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
}

.fe-block-5ff10b6fd28c6380a35b p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .fe-block-741189ec3b27ccf3365f h2 {
        margin: 0 0 0.75rem 0 !important;
    }
    
    .fe-block-5ff10b6fd28c6380a35b p {
        margin: 0 0 0.4rem 0 !important;
    }
}

#dresscode p {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.375rem !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    text-align: center !important;
    max-width: 700px !important;
    margin: 20px auto !important;
}

@media (max-width: 768px) {
    #dresscode p {
        font-size: 1.25rem !important;
        margin: 15px auto !important;
        padding: 0 15px !important;
    }
}

/* Стили для элементов расписания */
.schedule-wrapper .schedule-item .schedule-time,
.schedule-wrapper .schedule-item .schedule-event {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.375rem !important;
    line-height: 1.6 !important;
    letter-spacing: 0.01em !important;
}

.schedule-wrapper .schedule-item .schedule-time {
    font-weight: 600 !important;
}

.schedule-wrapper .schedule-item .schedule-event {
    font-weight: 400 !important;
}

@media (max-width: 768px) {
    .schedule-wrapper .schedule-item .schedule-time,
    .schedule-wrapper .schedule-item .schedule-event {
        font-size: 1.25rem !important;
    }
}

/* Изменяем порядок блоков */
.fe-block-741189ec3b27ccf3365f {
    order: 1 !important;
}

.fe-block-5ff10b6fd28c6380a35b {
    order: 2 !important;
}

.fe-block-d1217ef7465cf4d44754 {
    order: 3 !important;
}

.fe-block-ba6791c6f121fc382f38 {
    order: 4 !important;
}

/* Убираем отступы между заголовком и текстом */
.fe-block-741189ec3b27ccf3365f {
    margin-bottom: 1rem !important;
}

.fe-block-5ff10b6fd28c6380a35b {
    margin-top: 0 !important;
}

@media (min-width: 768px) {
    /* Заголовок */
    .fe-block-741189ec3b27ccf3365f {
        grid-area: 2/13/4/24 !important;
        transform: translateY(-3rem) !important;
    }

    /* Текст */
    .fe-block-5ff10b6fd28c6380a35b {
        grid-area: 4/13/8/24 !important;
        margin-top: 0 !important;
        transform: translateY(-3rem) !important;
    }

    /* Первое изображение */
    .fe-block-d1217ef7465cf4d44754 {
        grid-area: 1/2/19/10 !important;
    }
}

/* Убираем отступы внутри блоков */
.fe-block-741189ec3b27ccf3365f .sqs-block-content,
.fe-block-5ff10b6fd28c6380a35b .sqs-block-content {
    margin: 0 !important;
    padding: 0 !important;
}

.fe-block-741189ec3b27ccf3365f h2 {
    margin-bottom: 1rem !important;
} 



@media (max-width: 768px) {
    .fe-block-ba6791c6f121fc382f38 {
        transform: translateY(-9rem) !important;
    }
}

@media (max-width: 768px) {
    .fe-block-40b11374e3115aab8340 {
        transform: translateY(-12rem) !important;
        position: relative !important;
        z-index: 1 !important;
    }
}
@media (max-width: 768px) {
        .fe-block-b38038563994a743a5fa {
        transform: translateY(-14rem) !important;

        }
    .fe-block-b38038563994a743a5fa,
    .fe-block-b38038563994a743a5fa .sqs-block-content,
    .fe-block-b38038563994a743a5fa .sqs-gallery-container,
    .fe-block-b38038563994a743a5fa .sqs-gallery,
    .fe-block-b38038563994a743a5fa .sqs-gallery-design-stacked,
    .fe-block-b38038563994a743a5fa .slide,
    .fe-block-b38038563994a743a5fa .content-fill {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        height: auto !important;
        min-height: 10 !important;
        max-height: none !important;
    }
}


/* в самом сердце кахетии */

@media (max-width: 768px) {
    .fe-6712571f4f7fe75e16213a1b {
        transform: translateY(-18rem) !important;
        position: relative !important;
        z-index: 1 !important;
    }
}


/* Здесь мы впервые увидели друг друга. */
@media (max-width: 768px) {
    .fe-6712571f4f7fe75e16213a12 {
        transform: translateY(-7rem) !important;
        position: relative !important;
        z-index: 1 !important;
    }
}

/* Тбилиси: где началась наша любовь */

@media (max-width: 768px) {
    .fe-6712571f4f7fe75e16213a18 {
        transform: translateY(-5rem) !important;
        position: relative !important;
        z-index: 1 !important;
    }
}


/*главная фотока*/
@media (max-width: 768px) {
    .fe-block-d1217ef7465cf4d44754 {
        transform: translateY(-3rem) !important;
        position: relative !important;
        z-index: 1 !important;
    }
}
@media (min-width: 800px) {
    .fe-block-d1217ef7465cf4d44754 {
        width: 130% !important; /* например, сделать шире до 80% от родителя */
    }
}


/* фотка cool.png */

@media (max-width: 768px) {
    .fe-block-ba6791c6f121fc382f38 {
        transform: translateY(-15rem) !important;
        position: relative !important;
        z-index: 1 !important;
    }
}

@media (min-width: 800px) {
    .fe-block-ba6791c6f121fc382f38 {
        transform: translateY(-4.5rem) !important;
        position: relative !important;
        z-index: 1 !important;
    }
}


/*Расписание*/
@media (max-width: 768px) {
    .fe-6712571f4f7fe75e16213a1e {
        transform: translateY(3rem) !important;
        position: relative !important;
        z-index: 1 !important;
    }
}

@media (max-width: 768px) {
    .section-border_schedule{
        height: 100% !important;
        transform: translateY(3rem) !important;
        position: relative !important;
        z-index: 1 !important; 
    }
}
@media (max-width: 768px) {
    .section-background_schedule {
        height: 100% !important;
        transform: translateY(3rem) !important;
         position: relative !important;
        z-index: 1 !important; 
    }
}


@media (max-width: 768px) {
    .page-section.full-bleed-section.layout-engine-section.background-width--full-bleed.section-height--medium.content-width--wide.horizontal-alignment--center.vertical-alignment--middle.dark {
        height: 500px !important; /* Принудительно ломаем высоту родительского блока */
        min-height: 500px !important;
        padding-top: 0;
        padding-bottom: 0;
        transform: translateY(-12rem) !important;

    }
}

@media (max-width: 768px) {
    #dresscode {
      margin-top: -180px; /* сдвигаем секцию выше на 180 пикселей на мобильных */
    }
  }


/*полезная информация*/
@media (max-width: 768px) {
    .fe-6712571f4f7fe75e16213a21 {
        transform: translateY(-3rem) !important;
        position: relative !important;
        z-index: 1 !important;
    }
}

h1 {
    text-align: center;
  }
  h2 {
    text-align: center;
  }
  h3 {
    text-align: center;
  }
  h4 {
    text-align: center;
  }