@media screen and (max-width: 1700px) {
 
}

@media screen and (max-width: 1300px) {
 
}

@media screen and (max-width: 800px) {

}

@font-face {
  font-family: 'HELLO-JANUARY';
  src:  url(../../fonts/HELLO-JANUARY.otf.html);
       font-style: normal;
       font-weight: normal;
}
@font-face {
  font-family: 'ALETHIANEXT';
  src:  url(../../fonts/ALETHIANEXT-LIGHT.otf.html);
       font-style: normal;
       font-weight: normal;
}


#mig {
    /*--primary-color: #333;
    --secondary-color: #eee;*/
    --background-color: white;
    --header-color: black;
    --text-color: black;
    --main-font: 'ALETHIANEXT', sans-serif; /* Основной шрифт */
    --beauty-font: 'HELLO-JANUARY', sans-serif; /* Шрифт для заголовков */
    --secondary-font: 'mak', sans-serif; /* Второй шрифт */
}

#mig{
    font-family: var(--main-font);
    font-size: 20px;
    line-height: 120%;
    color: var(--text-color);
        width: 100%;
    max-width: 500px;
    margin: auto;
}
  #mig .title_text{
    font-family: var(--beauty-font);
    font-size: 64px;
    line-height: 120%;
    color: var(--text-color);
}
 #mig .descr_text{
    font-family: var(--main-font);
    font-size: 18px;
    line-height: 120%;
    color: var(--text-color);
}
#mig .header-block-bottom{
     
    text-transform: uppercase;
 }
#mig .header-block-up2-inside{
         font-family: var(--beauty-font);
    font-size: 42px;
 }
 #mig #bride-letter, #mig #groom-letter{
         font-size: 140px;
    font-family: var(--secondary-font);
    text-transform: uppercase;
    line-height: 140px;
    color: var(--header-color);
     
 }
 #mig .header-blocks{
     height: calc(100vh - 0px);
 }
 #mig .header-img{
     width: 15px;
    margin: 60px 20px 80px;
    font-size: 144px;
    font-family: var(--secondary-font);
    text-transform: uppercase;
 }
  #mig .header-block-up1-inside{
     display: flex;
    align-items: center;
    justify-content: center;
 }
#mig .header{
    height: calc(100vh - 0px);
}
#mig .header-blocks{
    display: flex
;
    flex-direction: column;
    justify-content: center;
    gap: 20vh;
}
#mig .info-date{
    background-image: url(../../../../images/sites/mig/intro-01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
}
#mig .info-invitation{
    width: 90%;
    margin: auto;
    max-width: 600px;
    padding: 20px 10px 50px 10px;
    display: flex
;
    flex-direction: column;
    align-content: space-between;
    gap: 50px;
}
#mig .info-date__invitation .title_text{
    font-size: 58px;
        line-height: 130%;
        color: var(--text-color);
        margin-bottom: 15px;
        text-align: left;
}
#mig .text-white .title_text, #mig .text-white .descr_text{
    color: #ffffff;
    
}
#mig td.wedding-day{
        color: var(--text-color);
    background: center;
    background-image: url(../../../../images/sites/mig/heart-white-01.svg);
   /* background-size: cover;*/
    background-repeat: no-repeat;
    background-position: center;
}
#mig .date-calendar h3{
    text-align: right;
    font-family: var(--secondary-font);
    text-transform: uppercase;
    padding-right: 10px;
    font-weight: 100;
    
}
#mig td, #mig th, #mig tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    padding: 8px 10px;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 18px;
}
#mig .date-calendar{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
#mig .info-invitation{
    display: flex
;
    flex-direction: column;
    align-content: space-between;
    gap: 50px;
}

#mig #welcome-text{
    text-align: left;
}
#mig .places{
    padding: 50px 0;
}
#mig .title__place-right{
    display: flex
;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    padding-bottom: 20px;
}
#mig .text-white .title__place-line {
    background-color: white;
}
#mig .title__place-line{
    height: 1px;
    background-color: black;
    max-width: 120px;
        flex-grow: 1;
    margin-top: 25px;
}
#mig .places{
    max-width: 600px;
    margin: auto;
}
#mig #place-one, #mig #place-two{
    display: block;
    width: 100%;
    margin: auto;
    max-width: 1000px;
}
#mig .place-right{
        text-align: right;
    margin-bottom: 20px;
}
#mig .place-left {
    text-align: left;
    margin-bottom: 20px;
}
#mig .registration_title_text, #mig .banquet_title_text{
    font-family: var(--main-font);
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
#mig .info-place__text{
    margin-bottom: 0px;
}
#mig #place_img-separate img{
    width: 20px;
    margin: auto;
    padding: 50px 0;
}
#mig .timetable{
    background-image: url(../../../../images/sites/mig/timeline-012.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
padding: 10px 0 50px 0;
    
}
#mig .timetable__block{
    display: flex
;
    flex-direction: column;
    max-width: 1000px;
    align-items: flex-end;
    width: 100%;
    padding: 0px 0px;
    margin: auto;
    gap: 0;
}
#mig .info-date__place{
    max-width: 500px;
    margin: auto;
}
#mig .timetable__block-stroke{
    text-align: right;
}
#mig .timetable__block-name{
    font-size: 24px;
}
#mig .timetable__block-time{
    font-size: 20px;
}
#mig .timetable__block-time, #mig .timetable__block-name{
    font-family: var(--secondary-font);
}
#mig .timetable__block-descr{
    line-height: 100%;
    padding-bottom: 10px;
}
#mig .timetable__block-line{
    height: 40px;
    border-right: 1px solid var(--background-color);
    margin: 5px 0 5px;
}
#mig .dresscode__color{
    width: 75px;
    height: 20px;
    max-height: 40px;
}
#mig .dresscode__colors{
        display: flex;
    gap: 10px;
    justify-content: flex-end;
}
#mig #dresscode__description{
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding-bottom: 30px;
    text-align: right;
}
#mig #dresscode{
    padding: 20px 0 50px;
}
#mig #dresscode{
    max-width: 600px;
    margin: auto;
}
#mig #details{
    background-image: url(../../../../images/sites/mig/details-01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#mig .details-block{
    padding: 20px 0 60px;
        max-width: 600px;
    margin: auto;
}
#mig #details-container{
    width: 100%;
    margin: auto;
    max-width: 1000px;
    text-align: right;
}
#mig .separator-image{
    width: 15px;
    text-align: right;
    padding-bottom: 15px;
}
#mig #details-container{
        display: flex
;
    flex-direction: column;
    align-items: flex-end;
}
#mig .opros-grup-title{
        font-weight: 900;
}
#mig #question .rsvp-message, #question #mig .error-rsvp {
    font-size: 14px;
    padding-bottom: 20px;
    margin: 0;
    text-align: right;
    width: 100%;
}
#mig button {
    background-color: var(--header-color);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 50%;
    text-transform: uppercase;
}
#mig .rsvp__buttons{
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
#mig .rsvp__string input{
    border: 0px;
    border-bottom: 1px solid var(--header-color);
    border-radius: 0;
    width: 100%;
    font-size: 14px;
    line-height: 14px;
    text-align: right;
    text-transform: uppercase;
}
#mig .rsvp_descr_text{
    text-align: right;
}
#mig #rsvp_container{
    width: 100%;
    margin: auto;
    max-width: 1000px;
}
#mig #rsvp{
    max-width: 600px;
    margin: auto;
}
 #mig #rsvp{
    padding: 20px 0 60px;
}
 #mig .counter{
    background-image: url(../../../../images/sites/mig/timer-01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
 #mig .timer{
    padding: 20px 0 60px;
}
#mig .timer-title{
    font-size: 72px;
}
#mig #clockdiv{
    display: flex
;
    width: 90%;
    margin: auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
#mig .timer__block-info{
    display: flex
;
    flex-direction: column;
    align-items: center;
}
#mig .timer__number{
    background: #ffffff8f;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--header-color);
    line-height: 50px;
    font-size: 18px;
}
#mig .timer__text{
    text-transform: uppercase;
    font-size: 12px;
    padding-top: 8px;
}
#mig .footer{
    background-image: url(../../../../images/sites/mig/footer-01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px 0 60px;
}
#mig .name-footer{
    font-family: var(--secondary-font);
    text-transform: uppercase;
    font-size: 40px;
    line-height: 48px;
}
#mig .and-footer{
    font-family: var(--beauty-font);
    font-size: 74px;
}
#mig .name-footer-first{
    display: flex;
    flex-direction: row;
    align-content: flex-end;
    justify-content: center;
    gap: 20px;
}
#mig #questions{
    padding: 20px 0 60px;
}
#mig .opros-inside{
    width: 100%;
    margin: auto;
    max-width: 1000px;
    text-align: right;
}   
#mig #questions{
    max-width: 600px;
    margin: auto;
}
#mig #question{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
#mig #question p.question__string{
    width: 100%;
}
#mig #question .question__string input[type="text"] {
   border: 0px;
    border-bottom: 1px solid var(--header-color);
    border-radius: 0;
    width: 100%;
    font-size: 14px;
    line-height: 14px;
    text-align: right;
    text-transform: uppercase;
}
#mig .question__string{
    text-align: right;
}
#mig .question__label{
    display: flex;
    flex-direction: row-reverse;
        line-height: 14px;
    margin-bottom: 10px;
    align-items: center;
}
#mig .question__text-mini{
    font-size: 14px;
}
#mig .rsvp__button{
    width: 180px;
}
#mig #question .question__string input[type="radio"], #mig #question .question__string input[type="checkbox"]{
    margin-right: 0px;
    margin-left: 5px;
}
#mig #music-block img {
    padding: 10px 0;
    cursor: pointer;
    width: 10%;
    margin: auto;
    max-width: 70px;
}
#mig #music-block {
    padding: 50px 0;
}
@media screen and (max-width: 1700px) {
 
}

@media screen and (max-width: 1300px) {
 
}

@media screen and (max-width: 800px) {
    #mig .timer__number{
    width: 50px;
    height: 50px;
    line-height: 50px;
}
#mig #place-one, #mig #place-two{
    display: block;
    width: 90%;
    margin: auto;
    max-width: 1000px;
}
#mig #rsvp_container{
    width: 90%;
    margin: auto;
    max-width: 1000px;
}
#mig .opros-inside{
    width: 90%;
    margin: auto;
    max-width: 1000px;
    text-align: right;
} 
#mig #details-container{
    width: 90%;
    margin: auto;
    max-width: 1000px;
    text-align: right;
}
#mig #dresscode__description{
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding-bottom: 30px;
    text-align: right;
}
#mig #questions{
    padding: 20px 0 60px;
}
#mig #question p.question__string{
    width: 100%;
}
#mig .footer{
    padding: 20px 0 60px;
}
 #mig{
    font-family: var(--main-font);
    font-size: 16px;
    line-height: 120%;
    overflow: hidden;
    color: var(--text-color);
}
#mig #clockdiv{
    gap: 15px;
}
#mig .timer{
    padding: 20px 0 60px;
}
 #mig #rsvp{
    padding: 20px 0 60px;
}
#mig .details-block{
    padding: 20px 0 60px;
}
#mig .timetable__block-line{
    height: 30px;
    border-right: 1px solid var(--background-color);
    margin: 5px 0;
}
#mig .timetable__block{
    display: flex
;
    flex-direction: column;
    max-width: 1000px;
    align-items: flex-end;
    width: 90%;
   padding: 20px 20px 0;
    margin: auto;
    gap: 0px;
}
#mig .info-invitation{
    gap: 50px;
}
#place_img-separate img{
    width: 20px;
    margin: auto;
    padding: 50px 0;
}
#mig td, #mig th, #mig tr {
    padding: 8px 10px;
    
    font-size: 14px;
}
#mig .info-invitation{
    padding: 20px 10px 50px 10px;
    width: 90%;
    margin: auto;
    max-width: 1000px;
}
#mig .header-blocks {
    display: flex
;
    flex-direction: column;
    justify-content: center;
    gap: 20vh;
    padding-top: 15vh;
    height: calc(100vh - 0px);
}
#mig .header{
    height: calc(100vh - 0px);
}
 #mig .title_text{
    font-family: var(--beauty-font);
    font-size: 72px;
    line-height: 130%;
    color: var(--text-color);
}
 #mig .descr_text{
    font-family: var(--main-font);
    font-size: 16px;
    line-height: 120%;
    color: var(--text-color);
}
#mig .header-block-up2-inside{
    font-size: 44px;
 }
  #mig #bride-letter, #mig #groom-letter{
         font-size: 140px;
    line-height: 140px;
     
 }
  #mig .header-img{
     width: 15px;
    margin: 60px 20px 80px;
    font-size: 144px;
 }
#mig .date-calendar h3{
    text-align: right;
    font-family: var(--secondary-font);
    text-transform: uppercase;
    padding-right: 10px;
    
}
#mig .info-date__invitation .title_text{
    font-size: 42px;
        line-height: 130%;
        margin-bottom: 15px;
        text-align: left;
        color: #ffffff;
        
}
#mig #welcome-text{
    text-align: left;
}
#mig .places{
    padding: 50px 0;
}
#mig .title__place-right{
    display: flex
;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    padding-bottom: 20px;
}
#mig .title__place-line{
    height: 1px;
    background-color: black;
   max-width: 120px;
        flex-grow: 1;
    margin-top: 25px;
}
    #mig .text-white .title__place-line {
        background-color: var(--background-color);
    }
#mig .place-right{
    margin-bottom: 20px;
}
#mig .place-left {
    margin-bottom: 20px;
}
#mig .registration_title_text, #mig .banquet_title_text{
    font-family: var(--main-font);
    font-size: 18px;
    margin-bottom: 10px;
}
#mig .timetable__block-time{
    font-size: 20px;
}
#mig .timetable__block-name{
    font-size: 24px;
}
#mig .timetable{
padding: 10px 0 50px 0;
    
}
#mig .timetable__block-descr{
    line-height: 100%;
    padding-bottom: 10px;
}
#mig .dresscode__colors{
    gap: 10px;
    width: 90%;
    margin: auto;
}
#mig .dresscode__color{
    width: 75px;
    height: 20px;
    max-height: 25px;
    min-height: 20px;
        min-width: 40px;
}
#mig #dresscode__description{
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding-bottom: 30px;
    text-align: right;
}
 #mig #dresscode{
    padding: 20px 0 50px;
}
#mig .separator-image{
    width: 15px;
    text-align: right;
   adding-bottom: 15px;
        padding-top: 5px;
}
#mig button {
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 50%;
}
#mig .rsvp__buttons{
    gap: 15px;
}
#mig .rsvp__string input{
    border-radius: 0;
    width: 100%;
    font-size: 14px;
    line-height: 14px;
}
#mig .timer-title{
    font-size: 50px;
}
#mig .timer__text{
    text-transform: uppercase;
    font-size: 12px;
    padding-top: 8px;
}
#mig .name-footer{
    font-size: 40px;
    line-height: 48px;
}
#mig .and-footer{
    font-size: 74px;
}
#mig .name-footer-first{
    gap: 20px;
}
#mig .question__text-mini{
font-size: 14px;
}
#mig #question .question__string input[type="text"] {
   border: 0px;
    border-bottom: 1px solid var(--header-color);
    border-radius: 0;
    width: 100%;
    font-size: 14px;
    line-height: 14px;
}
#mig #question .question__string input[type="radio"], #mig #question .question__string input[type="checkbox"]{
    margin-right: 0px;
    margin-left: 5px;
}
#mig .rsvp__button{
    width: 180px;
}
#mig .question__label {
    line-height: 14px;
}
}

#mig .info-date__with-map {
  position: relative; /*  ВАЖНО:  Чтобы вложенные рамки позиционировались относительно этого контейнера */
  padding: 10px; /*  Внутренний отступ, чтобы контент (iframe) не прилипал к рамкам */
                  /*  Отрегулируйте значение по своему вкусу */
filter: grayscale(100%);
  /*  Опционально:  Если нужно ограничить максимальную ширину */
  /* max-width: 600px; */
  /* margin: 0 auto;  /*  Центрируем блок, если задана max-width */
}

#mig .info-date__with-map::before,
#mig .info-date__with-map::after {
  content: "";         /*  Обязательно для псевдоэлементов */
  position: absolute;  /*  Абсолютное позиционирование относительно .info-date__with-map */
  border: 1px solid var(--text-color); /*  Толщина и цвет рамки (измените по своему вкусу) */
  pointer-events: none; /*  Чтобы рамки не перехватывали клики */
}

/*  Первая рамка (внутренняя) */
#mig .info-date__with-map::before {
 top: 10px;
    left: 10px;
    right: 0px;
    bottom: 0px;
   /* width: calc(100% - 20px);
    height: calc(100% - 20px); /* Вычисляемая высота, с учетом отсутупов, чтобы не было вылетов за границы*/
}

/*  Вторая рамка (внешняя) */
#mig .info-date__with-map::after {
 top: 0;
    left: 0;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
}
#mig .info-date__map {
    width: 100%;
   height: 220px;
    border: none;   /*  Убираем стандартную рамку iframe (если она есть) */
}
#mig .animate-from-left {
    opacity: 0; /* Сначала делаем элемент невидимым */
    transition: opacity 1s ease, transform 1s ease; /* Плавный переход */
    transform: translateX(-50px); /* Сдвигаем влево */
}

#mig .animate-from-left.aos-animate {
    opacity: 1; /* Когда AOS активирует анимацию, делаем видимым */
    transform: translateX(0); /* Возвращаем на место */
}

/*  Пример класса для текстовых элементов, появляющихся справа */
#mig .animate-from-right {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateX(50px); /* Сдвигаем вправо */
}

#mig .animate-from-right.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/*  Пример класса для элементов, появляющихся снизу */
#mig .animate-from-bottom {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateY(50px); /* Сдвигаем вниз */
}

#mig .animate-from-bottom.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

#mig .swing {
  animation: swingAnimation 5s linear infinite alternate;
}



/* Дополнительные анимации (примеры) */
#mig .fade-in {
    animation: fadeIn 1s ease-in-out forwards;
    opacity: 0; /* Скрываем элемент изначально */
}



#mig .slide-up {
    animation: slideUp 1s ease-out forwards;
    transform: translateY(50px); /* Сдвигаем элемент вниз изначально */
    opacity: 0;
}



#mig .slide-down {
    animation: slideDown 1s ease-out forwards;
    transform: translateY(-50px); /* Сдвигаем элемент вверх изначально */
    opacity: 0;
}
#mig .pulse {
  animation: pulse 3s linear infinite; /* 3 секунды, линейно, бесконечно */
}


#mig  .header-block-small-heart{
        padding: 50px 0 40px;
}
#mig  #playButton{
    cursor: pointer;
    width: 15%;
    margin: auto;
    max-width: 60px;
    padding-bottom: 10px;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes swingAnimation {
  0% {
    transform: rotate(-15deg); /* Наклон влево */
  }
  100% {
    transform: rotate(15deg); /* Наклон вправо */
  }
}
@keyframes pulse {
  0% {
    transform: scale(0.85); /* Исходный размер */
  }
  50% {
    transform: scale(1.25); /* Увеличение на 5% */
  }
  100% {
    transform: scale(0.85); /* Возврат к исходному размеру */
  }
}

#mig .question__visible-radio {
    position: relative;
    display: inline-block;
    width: 16px; /* Adjust as needed */
    height: 16px; /* Adjust as needed */
    border: 2px solid #000; /* Black border */
    border-radius: 50%; /* Makes it circular */
       margin-left: 8px;
    vertical-align: middle; /* Important for proper alignment */
    box-sizing: border-box;
}

#mig .question__unvisible:checked + .question__visible-radio::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;  /* Adjust as needed - this is the size of the inner dot */
    height: 8px; /* Adjust as needed */
    border-radius: 50%;
    background-color: #000; /* Black fill */
}
#mig .question__unvisible{
display: none;
}

/* For checkboxes */
#mig .question__visible-checkbox {
    position: relative;
    display: inline-block;
    width: 16px; /* Adjust as needed */
    height: 16px; /* Adjust as needed */
    border: 2px solid #000; /* Black border */
        margin-left: 8px;
    vertical-align: middle;
     box-sizing: border-box;
}

#mig .question__unvisible:checked + .question__visible-checkbox::before {
    content: '✔'; /* Use a checkmark character */
    position: absolute;
     top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px; /* Adjust as needed */
    color: #000;    /* Black checkmark */
}
#mig .rsvp-message, #mig .error-rsvp{
    text-align: right;
    margin-bottom: 10px;
    width: 90%;
    margin: auto;
    max-width: 600px;
}

   #mig .menu__button {
        display: none;
    }
    
     #mig  .dresscode__row {
    display: flex
;
justify-content: flex-end;
    gap: 5px;
}
    
    
    
    #mig #dresscode-0351.dresscode__colors > div:nth-child(6) {
 background: url(../../../../images/colors-dress-code/silver.jpg) center center no-repeat;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#mig .burger-menu {
    display: none;
}
#mig  .question__text-span{
        width: 90%;
}
#mig #dresscode_woman .dresscode_title_text, #mig #dresscode_man .dresscode_title_text {
    margin-bottom: 0px;
    padding-top: 30px;
    font-size: 48px;
    text-align: right;
    width: 90%;
    margin: 0 auto;
}
@media screen and (max-width: 800px) {
   #mig #dresscode_woman .dresscode_title_text, #mig #dresscode_man .dresscode_title_text {
        margin-bottom: 0px;
        padding-top: 30px;
        font-size: 32px;
        padding-bottom: 6px;
    }
}
#mig .dresscode .descr_text{
     text-align: right;
     width: 90%;
    margin: 0 auto;
        padding-bottom: 10px;
}
#mig #linkblock_descr{
    text-align: right;
    width: 90%;
    margin: auto;
    max-width: 600px;
    padding-bottom: 20px;
}
#mig #linkblock{
        padding: 20px 0 60px;
}
#mig .dresscode_woman, #mig .dresscode_man {
        padding-top: 0px;
}

#mig #place{
    width: 90%;
    margin: auto;
}
#mig .details-block{
        padding: 20px 5% 60px;
}
@media screen and (max-width: 800px) {
    #mig #place{
    width: 100%;
}
#mig .details-block{
       padding: 20px 0 60px;
}
}
/* Стили для слайдера дресс-кода */
#mig .dresscode-foto {
    display: flex !important; /* Делаем гибким контейнером */
    overflow-x: auto; /* Включаем горизонтальную прокрутку */
    scroll-snap-type: x mandatory; /* Включаем эффект "прилипания" */
    scroll-behavior: smooth; /* Плавная прокрутка */
    -webkit-overflow-scrolling: touch; /* Плавность для iOS */
    gap: 15px; /* Расстояние между фото */
    padding: 10px 20px 30px; /* Отступы, чтобы слайдер не лип к краям */
    scrollbar-width: none; /* Скрываем скроллбар в Firefox */
}

/* Скрываем скроллбар в Chrome, Safari, Edge */
#mig .dresscode-foto::-webkit-scrollbar {
    display: none;
}

#mig .dresscode-foto img {
    flex: 0 0 75%; /* Каждое фото занимает 75% ширины экрана (чтобы было видно край следующего) */
    max-width: 300px; /* Максимальная ширина одного фото */
    height: auto;
    object-fit: cover;
    border-radius: 8px; /* Скругление углов (по желанию) */
    scroll-snap-align: center; /* Фото центрируется при остановке скролла */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Легкая тень */
}

/* Адаптивность для десктопа */
@media screen and (min-width: 801px) {
    #mig .dresscode-foto {
        justify-content: center; /* Центрируем, если фото мало */
        overflow-x: hidden; /* На больших экранах можно выключить скролл, если фото влезают */
        flex-wrap: wrap; /* Или оставить в ряд */
    }
    #mig .dresscode-foto img {
        flex: 0 0 18%; /* На ПК показываем по 5 в ряд */
        scroll-snap-align: none;
    }
}
/* Исправленный блок для компьютеров */
@media screen and (min-width: 801px) {
    #mig .dresscode-foto {
        display: flex !important;
        flex-direction: row !important; /* Строго в ряд */
        flex-wrap: nowrap !important; /* Запрещаем перенос на новую строку */
        justify-content: flex-start; /* Начинаем от правого края (так как у вас выравнивание в коде вправо) */
        overflow-x: auto; /* Включаем скролл, если фото не влезают */
        padding: 20px 0;
    }

    #mig .dresscode-foto img {
        /* Принудительно задаем ширину, чтобы сбросить глобальные стили шаблона */
        width: 250px !important; 
        min-width: 250px !important; 
        max-width: 250px !important;
        
        height: 350px !important; /* Можно задать фиксированную высоту для аккуратности */
        object-fit: cover; /* Чтобы фото не искажалось */
        flex-shrink: 0 !important; /* Запрещаем картинкам сжиматься */
        margin-bottom: 0 !important;
        scroll-snap-align: start;
    }
}

/* Добавим стиль для самого контейнера, чтобы он не схлопывался */
#mig .dresscode_woman, #mig .dresscode_man {
    width: 100%;
    overflow: hidden;
}

/* Контейнер для позиционирования стрелок */
#mig .slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px; /* как и ваши секции */
    margin: 0 auto;
}

/* Общие стили для стрелок */
#mig .slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8); /* Полупрозрачный фон */
    color: #000; /* Черная стрелка */
    border: 1px solid #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 0;
}

#mig .slide-arrow:hover {
    background: #000;
    color: #fff;
}

#mig .slide-arrow.prev {
    left: 10px;
}

#mig .slide-arrow.next {
    right: 10px;
}

/* На мобильных устройствах стрелки можно сделать чуть меньше или скрыть, 
   так как там удобнее листать пальцем */
@media screen and (max-width: 800px) {
    #mig .slide-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
        opacity: 0.7;
        display: none;
    }
}

/* Чтобы стрелки не накладывались на другие элементы, если фото еще не загружены */
#mig .dresscode-foto {
    scroll-behavior: smooth;
    display: flex;
    overflow-x: auto;
    gap: 15px;
}
#mig  .places .title_text, #mig .dresscode_title_text, #mig .rsvp_title_text, #mig .question_title_text {
    color: var(--header-color);
}
#mig  .places .title__place-line, #mig .dresscode .title__place-line, #mig .rsvp .title__place-line, #mig .question .title__place-line, #mig #linkblock .title__place-line {
    background-color: var(--header-color);
}