@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ── Типографика всего сайта ───────────────────────────────────────────── */
h1, h2, h3,
.t-title, .t-heading, .t-name,
.t-card__title, .t-section__title {
  font-family: 'Playfair Display', Georgia, serif !important;
  letter-spacing: -0.02em;
}

body, p, li, td,
.t-text, .t-descr, .t-uptitle, .t-section__descr,
.t-btn, .t-submit, .t-input, .t-menu__link-item {
  font-family: Inter, Arial, sans-serif !important;
}

/* ── Первый экран внутренних страниц (блок t734) ───────────────────────────
   Эталон: контент прижат влево, надзаголовок золотой с чертой, заголовок
   антиквой в 44-90px, лид белый в одну колонку 620px. */
.r:not(#rec2658339501) .t734__textwrapper { text-align: left !important; }
.r:not(#rec2658339501) .t734__wrapper { margin-left: 0 !important; margin-right: auto !important; }

.r:not(#rec2658339501) .t734__title {
  font: 600 clamp(44px, 6vw, 90px)/0.98 'Playfair Display', Georgia, serif !important;
  letter-spacing: -0.035em !important;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}
.r:not(#rec2658339501) .t734__title h1 { font: inherit !important; }

/* Надзаголовок лежит первым span-ом внутри заголовка */
.r:not(#rec2658339501) .t734__title > span:first-child {
  display: inline-flex !important;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: #eeb544 !important;
  font: 600 11px/1.65 Inter, Arial, sans-serif !important;
  letter-spacing: 0.21em !important;
  text-transform: uppercase;
}
.r:not(#rec2658339501) .t734__title > span:first-child::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.78;
}

.r:not(#rec2658339501) .t734__descr {
  max-width: 620px;
  margin-left: 0 !important;
  margin-right: auto !important;
  font: 400 18px/1.55 Inter, Arial, sans-serif !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

@media (max-width: 720px) {
  .r:not(#rec2658339501) .t734__title { font-size: clamp(38px, 11vw, 52px) !important; }
  .r:not(#rec2658339501) .t734__descr { font-size: 15px !important; }
}

/* ── Шапка внутренних страниц поверх фото (десктоп) ───────────────────────
   В эталоне меню лежит на фотографии первого экрана. Кремовую подложку красят
   ДВА элемента: сама запись и контейнер .t-menu-base — в первой попытке я
   перечислил только вложенные и получил белые ссылки на кремовом.
   Мобильную шапку намеренно не трогаю: там та же полоса служит фоном
   раскрытого бургер-меню. */
@media (min-width: 981px) {
  .t-rec[data-record-type="1368"] {
    position: absolute !important;
    top: 0; left: 0; right: 0;
    z-index: 900;
  }
  .t-rec[data-record-type="1368"],
  .t-rec[data-record-type="1368"] .t-menu-base,
  .t-rec[data-record-type="1368"] .t-menu-base__container,
  .t-rec[data-record-type="1368"] .t-menu-base__maincontainer,
  .t-rec[data-record-type="1368"] .tmenu-mobile,
  .t-rec[data-record-type="1368"] .tmenu-mobile__container {
    background: transparent !important;
    background-color: transparent !important;
  }
  /* Лёгкое затемнение сверху, чтобы пункты меню читались на любом кадре */
  .t-rec[data-record-type="1368"]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(16, 42, 58, 0.55), rgba(16, 42, 58, 0));
    pointer-events: none;
  }
  .t-rec[data-record-type="1368"] .t-menu__link-item,
  .t-rec[data-record-type="1368"] .t-menu-base__textlogo,
  .t-rec[data-record-type="1368"] .t-menu-base__logowrapper a,
  .t-rec[data-record-type="1368"] .t-menu-base__logowrapper span {
    color: #fffaf2 !important;
  }
  /* Активный пункт и подпись города покрашены правилом с id записи, поэтому
     перебиваем через #allrecords — этот id есть на любой странице Тильды. */
  #allrecords .t-rec[data-record-type="1368"] .t-menu__link-item.t-active { color: #eeb544 !important; }
  #allrecords .t-rec[data-record-type="1368"] .t-menu-base__right_descr { color: rgba(255, 250, 242, 0.85) !important; }
  #allrecords .t-rec[data-record-type="1368"] .t-menu__link-item { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }

  /* Заголовок первого экрана не должен уезжать под меню */
  .r:not(#rec2658339501) .t734__wrapper { padding-top: 96px !important; }
}

/* ── Заголовок секции во всю ширину ────────────────────────────────────────
   На галерее и страницах номеров заголовок блока сидел в колонке 360px из 1180
   (настройка блока при сборке): текст переносился по два слова, справа зияла
   пустота. В эталоне заголовок занимает всю ширину контейнера. */
#allrecords .t-section__container > .t-col:has(.js-block-header-title) {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* ── Секции внутренних страниц ─────────────────────────────────────────────
   Надзаголовки секций золотой чертой и антиквенные заголовки, как в эталоне. */
.r:not(#rec2658339501) .t-section__title,
.r:not(#rec2658339501) .t478__title {
  letter-spacing: -0.03em !important;
}
.r:not(#rec2658339501) .t-section__descr,
.r:not(#rec2658339501) .t478__descr {
  font-family: Inter, Arial, sans-serif !important;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ── Типографика всего сайта ───────────────────────────────────────────── */
h1, h2, h3,
.t-title, .t-heading, .t-name,
.t-card__title, .t-section__title {
  font-family: 'Playfair Display', Georgia, serif !important;
  letter-spacing: -0.02em;
}

body, p, li, td,
.t-text, .t-descr, .t-uptitle, .t-section__descr,
.t-btn, .t-submit, .t-input, .t-menu__link-item {
  font-family: Inter, Arial, sans-serif !important;
}

/* ── Первый экран внутренних страниц (блок t734) ───────────────────────────
   Эталон: контент прижат влево, надзаголовок золотой с чертой, заголовок
   антиквой в 44-90px, лид белый в одну колонку 620px. */
.r:not(#rec2658339501) .t734__textwrapper { text-align: left !important; }
.r:not(#rec2658339501) .t734__wrapper { margin-left: 0 !important; margin-right: auto !important; }

.r:not(#rec2658339501) .t734__title {
  font: 600 clamp(44px, 6vw, 90px)/0.98 'Playfair Display', Georgia, serif !important;
  letter-spacing: -0.035em !important;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}
.r:not(#rec2658339501) .t734__title h1 { font: inherit !important; }

/* Надзаголовок лежит первым span-ом внутри заголовка */
.r:not(#rec2658339501) .t734__title > span:first-child {
  display: inline-flex !important;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: #eeb544 !important;
  font: 600 11px/1.65 Inter, Arial, sans-serif !important;
  letter-spacing: 0.21em !important;
  text-transform: uppercase;
}
.r:not(#rec2658339501) .t734__title > span:first-child::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.78;
}

.r:not(#rec2658339501) .t734__descr {
  max-width: 620px;
  margin-left: 0 !important;
  margin-right: auto !important;
  font: 400 18px/1.55 Inter, Arial, sans-serif !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

@media (max-width: 720px) {
  .r:not(#rec2658339501) .t734__title { font-size: clamp(38px, 11vw, 52px) !important; }
  .r:not(#rec2658339501) .t734__descr { font-size: 15px !important; }
}

/* ── Шапка внутренних страниц поверх фото (десктоп) ───────────────────────
   В эталоне меню лежит на фотографии первого экрана. Кремовую подложку красят
   ДВА элемента: сама запись и контейнер .t-menu-base — в первой попытке я
   перечислил только вложенные и получил белые ссылки на кремовом.
   Мобильную шапку намеренно не трогаю: там та же полоса служит фоном
   раскрытого бургер-меню. */
@media (min-width: 981px) {
  .t-rec[data-record-type="1368"] {
    position: absolute !important;
    top: 0; left: 0; right: 0;
    z-index: 900;
  }
  .t-rec[data-record-type="1368"],
  .t-rec[data-record-type="1368"] .t-menu-base,
  .t-rec[data-record-type="1368"] .t-menu-base__container,
  .t-rec[data-record-type="1368"] .t-menu-base__maincontainer,
  .t-rec[data-record-type="1368"] .tmenu-mobile,
  .t-rec[data-record-type="1368"] .tmenu-mobile__container {
    background: transparent !important;
    background-color: transparent !important;
  }
  /* Лёгкое затемнение сверху, чтобы пункты меню читались на любом кадре */
  .t-rec[data-record-type="1368"]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(16, 42, 58, 0.55), rgba(16, 42, 58, 0));
    pointer-events: none;
  }
  .t-rec[data-record-type="1368"] .t-menu__link-item,
  .t-rec[data-record-type="1368"] .t-menu-base__textlogo,
  .t-rec[data-record-type="1368"] .t-menu-base__logowrapper a,
  .t-rec[data-record-type="1368"] .t-menu-base__logowrapper span {
    color: #fffaf2 !important;
  }
  /* Активный пункт и подпись города покрашены правилом с id записи, поэтому
     перебиваем через #allrecords — этот id есть на любой странице Тильды. */
  #allrecords .t-rec[data-record-type="1368"] .t-menu__link-item.t-active { color: #eeb544 !important; }
  #allrecords .t-rec[data-record-type="1368"] .t-menu-base__right_descr { color: rgba(255, 250, 242, 0.85) !important; }
  #allrecords .t-rec[data-record-type="1368"] .t-menu__link-item { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }

  /* Заголовок первого экрана не должен уезжать под меню */
  .r:not(#rec2658339501) .t734__wrapper { padding-top: 96px !important; }
}

/* ── Заголовок секции во всю ширину ────────────────────────────────────────
   На галерее и страницах номеров заголовок блока сидел в колонке 360px из 1180
   (настройка блока при сборке): текст переносился по два слова, справа зияла
   пустота. В эталоне заголовок занимает всю ширину контейнера. */
#allrecords .t-section__container > .t-col:has(.js-block-header-title) {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* ── Секции внутренних страниц ─────────────────────────────────────────────
   Надзаголовки секций золотой чертой и антиквенные заголовки, как в эталоне. */
.r:not(#rec2658339501) .t-section__title,
.r:not(#rec2658339501) .t478__title {
  letter-spacing: -0.03em !important;
}
.r:not(#rec2658339501) .t-section__descr,
.r:not(#rec2658339501) .t478__descr {
  font-family: Inter, Arial, sans-serif !important;
}
