.uc-residence .t774__wrapper{border:1px solid #D0B275 !important;}
.uc-communication .t490 .t-section__title{margin-bottom:10px !important;}
.uc-communication .t490 .t-section__topwrapper{margin-bottom:50px !important;}
.uc-communication .t490__img{margin-bottom:0px;}
.uc-residence .t774 .t-card__btn{width:100% !important;}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

@media only screen and (orientation: portrait) and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
.t995__inner-wrapper{padding:30px 0 !important;}
}

.tmenu-mobile__imglogo{width:110px !important;}
.tmenu-mobile__container{padding:10px 20px !important;}

/* ===== DESKTOP ≥980px ===== */
@media (min-width:980px){
  /* H1 (T120) — крупный */
  .uc-mc-h1 .t120__title{
    font-size:46px !important;
    line-height:1.2 !important;
    font-weight:700 !important;
    letter-spacing:.01em !important;
    margin-bottom:10px !important;
  }
  .uc-mc-h1 .t120__descr{
    font-size:20px !important;
    line-height:1.55 !important;
  }

  /* H2 (T004) — меньше H1 */
  .uc-mc-h2 .t-heading{
    font-size:24px !important;
    line-height:1.4 !important;
    font-weight:600 !important;
    margin-bottom:8px !important;
  }

  /* Межабзацные интервалы + ширина колонки */
  .uc-mc-txt .t-text p{ margin:0 0 12px !important; }
  .uc-mc-h1 .t-descr, .uc-mc-h1 .t-text,
  .uc-mc-h2 .t-descr, .uc-mc-h2 .t-text,
  .uc-mc-txt .t-descr, .uc-mc-txt .t-text{
    max-width:66ch !important; hyphens:auto;
  }
}
/* Сблизить лид и H2: уменьшаем верхний паддинг секции с подзаголовком */
@media (min-width:980px){
  .uc-mc-h2 .t-container, .uc-mc-h2 .t-row, .uc-mc-h2 .t-col{
    padding-top:12px !important; /* было 14 */
  }
  /* Чуть больше выдох перед фото */
  .uc-mc-txt .t-container, .uc-mc-txt .t-row, .uc-mc-txt .t-col{
    padding-bottom:32px !important; /* было 36 — можно 28–32 по вкусу */
  }
}

/* Лид: капля контраста */
.uc-mc-h1 .t120__descr{ color: rgba(26,26,26,.9) !important; }

/* (Опционально) на ультра-широких H1=48px */
@media (min-width:1400px){
  .uc-mc-h1 .t120__title{ font-size:48px !important; }
}



/* ===== MOBILE 980px ===== */
@media (max-width:979px){
  .uc-mc-h1 .t120__title{
    font-size:34px !important;  /* при желании 32–36 */
    line-height:1.25 !important;
    font-weight:700 !important;
    letter-spacing:.01em !important;
    margin-bottom:10px !important;
  }
  .uc-mc-h1 .t120__descr{
    font-size:17px !important;
    line-height:1.6 !important;
  }

  .uc-mc-h2 .t-heading{
    font-size:20px !important;
    line-height:1.4 !important;
    font-weight:600 !important;
    margin-bottom:8px !important;
  }

  .uc-mc-txt .t-text, .uc-mc-txt .t-descr, .uc-mc-txt p{
    font-size:16.8px !important;
    line-height:1.65 !important;
  }
  .uc-mc-txt .t-text p{ margin:0 0 14px !important; }

  /* На мобиле колонку не сужаем */
  .uc-mc-h1 .t-text, .uc-mc-h1 .t-descr,
  .uc-mc-h2 .t-text, .uc-mc-h2 .t-descr,
  .uc-mc-txt .t-text, .uc-mc-txt .t-descr{
    max-width:100% !important;
  }
}

/* Мобильная подправка ритма */
@media (max-width: 979px){
  /* H1 — оставляем крупным, но без лишнего “воздуха” */
  .uc-mc-h1 .t120__title{
    font-size: 32px !important;       /* если хочется ещё крупнее — 34px */
    line-height: 1.25 !important;
    letter-spacing: .005em !important;
    margin-bottom: 8px !important;    /* было 10 */
  }
  .uc-mc-h1 .t120__descr{
    line-height: 1.6 !important;
    margin-top: 6px !important;
  }

  /* H2 — на полшага ниже лида */
  .uc-mc-h2 .t-heading{
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    margin: 12px 0 8px !important;    /* ближе к лиду */
  }

  /* Текст — ровные интервалы */
  .uc-mc-txt .t-text, .uc-mc-txt .t-descr, .uc-mc-txt p{
    font-size: 16.8px !important;
    line-height: 1.65 !important;
  }
  .uc-mc-txt .t-text p{ margin: 0 0 13px !important; } /* было 14 */

  /* Небольшой выдох перед изображением/кнопкой */
  .uc-mc-txt .t-container, .uc-mc-txt .t-row, .uc-mc-txt .t-col{
    padding-bottom: 24px !important;
  }
}

/* ДЕСKTOP */
@media (min-width:980px){
  /* Лид под H1 — заметнее */
  .uc-mc-h1 .t120__descr{
    font-size: 20px !important;      /* было 17–18 */
    line-height: 1.55 !important;
    color: rgba(26,26,26,.88) !important;
    letter-spacing: .01em !important;
  }
  /* Основной текст — спокойнее */
  .uc-mc-txt .t-text, .uc-mc-txt .t-descr, .uc-mc-txt p{
    font-size: 17px !important;
    line-height: 1.68 !important;
    color: #1a1a1a !important;
    letter-spacing: 0 !important;
  }
}

/* МОБИЛЬНЫЕ */
@media (max-width:979px){
  .uc-mc-h1 .t120__descr{
    font-size: 17.5px !important;
    line-height: 1.6 !important;
    color: rgba(26,26,26,.9) !important;
    letter-spacing: .005em !important;
  }
  .uc-mc-txt .t-text, .uc-mc-txt .t-descr, .uc-mc-txt p{
    font-size: 16.6px !important;
    line-height: 1.65 !important;
  }
}




/* === ЕДИНАЯ ШИРИНА КОЛОНКИ === */
:root{
  /* Поставь нужную ширину «колонки» на десктопе */
  --mc-col-width: 760px;   /* варианты: 720, 760, 800 */
}

@media (min-width: 980px){

  

  /* 2) Блок кнопок */
  #mc-links{
    max-width: var(--mc-col-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 3) Текстовые блоки Tilda
     Добавь классу нужного блока (в «Block CSS class name») значение: mc-narrow */
  .mc-narrow .t-container,
  .mc-narrow .t-container_100,
  .mc-narrow .t-col{
    max-width: var(--mc-col-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}





/* === Bitrix24: выровнять ссылку "Сообщить о нарушении" === */

/* 1) Контейнер футера формы — растянуть и очистить обтекание */
.b24-form .b24-form-footer{
  width:100% !important;
  max-width:100% !important;
  display:block !important;
  clear:both !important;
  margin-top:8px !important;
  text-align:left !important;
  box-sizing:border-box !important;
}

/* 2) Сама служебная ссылка — убрать float/right и поставить слева, строкой */
.b24-form .b24-form-footer a,
.b24-form [class*="abuse"],
.b24-form [href*="abuse"],
.b24-form [href*="narush"],          /* на случай русск. версии */
.b24-form [href*="complain"]{
  float:none !important;
  display:inline-block !important;
  text-align:left !important;
  margin:6px 0 0 !important;
  white-space:nowrap;                 /* чтобы не ломалась на буквы */
}

/* 3) На всякий случай — кнопка остаётся на всю ширину */
@media (min-width:980px){
  .b24-form .b24-form-btn{
    width:100% !important;
    white-space:nowrap !important;
  }
}



/* Ровный правый край + переносы СОВЕРХУ БЛОКА uc-mc-txt */
.uc-mc-txt,
.uc-mc-txt *{
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Выравнивание по ширине для разных текстовых контейнеров Тильды */
.uc-mc-txt .t-text,
.uc-mc-txt .t-descr,
.uc-mc-txt .t-name,
.uc-mc-txt .t-title,
.uc-mc-txt p,
.uc-mc-txt li{
  text-align: justify !important;
  text-justify: inter-word;        /* распределяем пробелы */
  overflow-wrap: anywhere;         /* на всякий случай */
  word-break: normal;
  text-align-last: left !important;/* последняя строка не тянется */
}

/* ЕСЛИ раньше добавляли мобильный reset — отключите его или переопределите: */
/*
@media (max-width: 979px){
  .uc-mc-txt .t-text p{ text-align: left; }
}
*/
