/* Наши правки поверх копии Tilda. Дизайн Tilda не меняем — только выравнивание и новые страницы. */
:root {
  --el-navy: #1d2935;
  --el-gold: #866226;
  --el-btn: #ad8b65;
  --el-ink: #272729;
  --el-soft: #ebebeb;
  --el-font: 'Google Sans', Arial, sans-serif;
}

/* Телефон показывает версию ноутбука: запрещаем браузеру самовольно увеличивать шрифт (иначе текст вылезает из блоков). */
html { -webkit-text-size-adjust: 100% !important; text-size-adjust: 100% !important; }

/* Якоря: шапка Tilda закреплена сверху, поэтому оставляем под ней место. */
.el-anchor { position: relative; top: -80px; height: 0; visibility: hidden; }

/* ---------- Шапка: одна ровная строка на любой ширине компьютера ---------- */
@media screen and (min-width: 961px) {
  #rec4288342803 .t-menu-base__maincontainer {
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    column-gap: clamp(16px, 2vw, 32px);
    min-height: 72px;
  }
  #rec4288342803 .t-menu-base__logowrapper { flex: 0 0 auto; }
  #rec4288342803 .t-menu-base__leftwrapper {
    flex: 1 1 auto; min-width: 0; margin: 0 !important; justify-content: center;
  }
  #rec4288342803 .t-menu-base__list {
    flex-wrap: nowrap !important; justify-content: center; align-items: center;
    /* у Tilda было 60px всегда — на ноутбуках пункты не помещались; теперь отступ сжимается */
    column-gap: clamp(12px, calc((100vw - 1000px) * 0.12 + 12px), 60px) !important;
  }
  #rec4288342803 .t-menu-base__list > li {
    padding: 0 !important; margin: 0 !important; white-space: nowrap;
  }
  #rec4288342803 .t-menu-base__rightwrapper {
    flex: 0 0 auto; margin: 0 !important; flex-wrap: nowrap !important; align-items: center;
  }
  #rec4288342803 .t-menu-base__additionalwrapper {
    flex-wrap: nowrap !important; align-items: center; column-gap: 20px;
  }
  #rec4288342803 .t-menu-base__buttons,
  #rec4288342803 .t-menu-base__langs-wrapper { margin: 0 !important; }
}
@media screen and (min-width: 961px) and (max-width: 1240px) {
  #rec4288342803 .t-menu-base__maincontainer { padding-left: 24px !important; padding-right: 24px !important; }
  #rec4288342803 .t-menu-base__list a.t-menu__link-item { font-size: 14px !important; }
  #rec4288342803 .t-menu-base__textlogo { font-size: 18px !important; white-space: nowrap; }
}

/* Кнопка «Войти»: иконка и текст по центру, одинаковые отступы. */
#rec4288342803 .t-menu-base__button { cursor: pointer; }
/* Активный пункт меню: у Tilda тёмное золото на тёмном фоне почти не читалось. */
#rec4288342803 .t-menu-base__list a.t-menu__link-item.t-active { color: #c9a77c !important; opacity: 1 !important; }
#rec4288342803 .t-menu-base__button .t-btnflex {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  height: 40px !important; padding: 0 22px !important; line-height: 1 !important;
  white-space: nowrap; box-sizing: border-box; vertical-align: middle;
}
#rec4288342803 .t-menu-base__button .t-btnflex__icon { flex: 0 0 auto; margin: 0 !important; display: block; }
#rec4288342803 .t-menu-base__button .t-btnflex__text { display: block; line-height: 1 !important; padding: 0 !important; }
#rec4288342803 .t-menu-base__button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 12px; }

/* Переключатель языков: тот же шрифт, что у меню, список не вылезает за край экрана. */
#rec4288342803 .t-menu-base__langs-button,
#rec4288342803 .t-menu-base__langs,
#rec4288342803 .t-menu-base__langs a {
  font-family: var(--el-font) !important;
}
#rec4288342803 .t-menu-base__langs-button { font-size: 14px !important; font-weight: 600 !important; }
#rec4288342803 .t-menu-base__langs_dropdown { right: 0; left: auto !important; min-width: 170px; max-width: calc(100vw - 32px); }
#rec4288342803 .t-menu-base__langs-item a {
  display: flex !important; align-items: baseline; gap: 10px; white-space: nowrap; font-size: 14px !important;
}
#rec4288342803 .t-menu-base__lang-code { min-width: 24px; font-weight: 600; }
#rec4288342803 .t-menu-base__lang-descr { font-family: var(--el-font), 'Noto Naskh Arabic', 'Segoe UI', Tahoma, sans-serif !important; }

/* Ссылки в подвале выглядят как текст подвала. */
#rec4487724403 .t420__descr a, #rec4487724403 .t420__text a { color: inherit !important; text-decoration: none; border: 0; }
#rec4487724403 .t420__descr a:hover, #rec4487724403 .t420__text a:hover { text-decoration: underline; }

/* ---------- Окно «Скоро» ---------- */
.el-modal {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(13, 20, 27, .55);
}
.el-modal[hidden] { display: none; }
.el-modal__box {
  position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 16px;
  padding: 32px 28px 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); font-family: var(--el-font); color: var(--el-ink);
  text-align: center;
}
.el-modal__title { margin: 0 0 10px; font-size: 22px; font-weight: 700; color: var(--el-navy); overflow-wrap: anywhere; }
.el-modal__text { margin: 0 0 22px; font-size: 16px; line-height: 1.45; }
.el-modal__close {
  position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: none;
  font-size: 26px; line-height: 1; color: #777; cursor: pointer; border-radius: 8px;
}
.el-modal__close:hover { background: #f2f2f2; }

/* ---------- Новые страницы в стиле страницы Танзании ---------- */
.el-page { font-family: var(--el-font); color: var(--el-ink); padding: 48px 0 60px; }
.el-wrap { max-width: 1392px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.el-page p { font-size: 16px; line-height: 1.35; margin: 0 0 14px; }
.el-h1 { font-family: var(--el-font); font-size: 38px; line-height: 1.1; font-weight: 900; text-transform: uppercase; color: #000; margin: 0 0 16px; overflow-wrap: anywhere; }
.el-h2 { font-family: var(--el-font); font-size: 35px; line-height: 1.15; font-weight: 600; text-transform: uppercase; color: #000; margin: 0 0 18px; }
.el-gold { color: var(--el-gold); }
.el-label { font-size: 16px; text-transform: uppercase; color: var(--el-gold); margin-bottom: 8px; }
.el-sub { font-size: 18px !important; }
.el-lead { max-width: 900px; }
.el-note { font-size: 18px !important; font-weight: 600; color: var(--el-navy); }
.el-section { margin-top: 56px; }
.el-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.el-split_photo { align-items: center; }
.el-photo { width: 100%; height: auto; border-radius: 10px; display: block; }
.el-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 22px;
  background: var(--el-gold); color: #fff !important; border-radius: 5px; font-weight: 600; font-size: 14px;
  text-decoration: none; margin-top: 8px;
}
.el-btn:hover { background: #6f511f; }
.el-btn_light { background: #fff; color: #000 !important; }
.el-btn_light:hover { background: #f0f0f0; }

.el-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.el-stat { background: var(--el-soft); border-radius: 10px; padding: 18px 24px; }
.el-stat_wide { grid-column: 1 / -1; }
.el-stat b { display: block; font-size: 34px; line-height: 1.1; color: var(--el-gold); font-weight: 600; overflow-wrap: anywhere; }
.el-stat span { display: block; margin-top: 6px; font-size: 15px; }
.el-split > div > .el-stats { margin-top: 20px; }

.el-groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.el-group { display: block; text-align: center; color: #000 !important; text-decoration: none; font-size: 18px; line-height: 1.25; }
.el-group img { width: 100%; height: auto; aspect-ratio: 690 / 340; object-fit: cover; border-radius: 5px; display: block; margin-bottom: 8px; }
.el-group:hover span { color: var(--el-gold); }

.el-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.el-project { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 10px; background: var(--el-soft); color: var(--el-ink) !important; text-decoration: none; }
.el-project b { font-size: 22px; color: #000; }
.el-project i { font-style: normal; color: var(--el-gold); font-weight: 600; margin-top: auto; }
.el-project:hover { background: #e2e2e2; }

.el-quote { display: grid; grid-template-columns: 160px 1fr; gap: 28px; margin-top: 56px; padding: 32px; background: var(--el-soft); border-radius: 10px; }
.el-quote img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.el-quote blockquote { margin: 0 0 14px; font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--el-navy); }
.el-author { color: #555; }

.el-list { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.4; }
.el-list li { margin-bottom: 8px; }

.el-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 14px; }
.el-region img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; display: block; }
.el-region h3 { font-size: 20px; margin: 12px 0 8px; font-weight: 600; color: #000; }
.el-season { color: var(--el-gold); font-size: 14px !important; }

.el-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.el-steps li { background: var(--el-soft); border-radius: 10px; padding: 16px; font-size: 15px; line-height: 1.3; }
.el-steps span { display: block; color: var(--el-gold); font-weight: 700; font-size: 20px; margin-bottom: 6px; }

.el-gallery { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 12px; }
.el-gallery img { width: 100%; height: 360px; object-fit: cover; border-radius: 10px; display: block; }

.el-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px;
  padding: 36px 40px; border-radius: 10px; color: #fff;
  background: var(--el-navy);
}
.el-cta h2 { font-size: 35px; margin: 0 0 8px; font-weight: 600; color: #fff; }
.el-cta p { color: #fff; max-width: 520px; margin: 0; }
.el-cta .el-btn { flex: 0 0 auto; }

.el-empty { min-height: 45vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }

@media screen and (max-width: 1100px) {
  .el-regions { grid-template-columns: repeat(2, 1fr); }
  .el-steps { grid-template-columns: repeat(3, 1fr); }
  .el-gallery { grid-template-columns: repeat(3, 1fr); }
  .el-gallery img { height: 260px; }
}
@media screen and (max-width: 960px) {
  .el-page { padding-top: 32px; }
  .el-split { grid-template-columns: 1fr; gap: 20px; }
  .el-split_photo .el-photo { order: -1; }
  .el-groups { grid-template-columns: repeat(3, 1fr); }
  .el-projects { grid-template-columns: 1fr; }
  .el-cta { flex-direction: column; align-items: flex-start; background-image: none; }
}
@media screen and (max-width: 640px) {
  .el-wrap { padding: 0 16px; }
  .el-h1 { font-size: 28px; }
  .el-h2, .el-cta h2 { font-size: 24px; }
  .el-section { margin-top: 40px; }
  .el-stat b { font-size: 26px; }
  .el-stat { padding: 14px 16px; }
  .el-groups { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .el-group { font-size: 14px; }
  .el-quote { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .el-quote img { width: 96px; height: 96px; }
  .el-quote blockquote { font-size: 19px; }
  .el-regions { grid-template-columns: 1fr; }
  .el-steps { grid-template-columns: 1fr 1fr; }
  .el-gallery { grid-template-columns: 1fr 1fr; }
  .el-gallery img { height: 220px; }
  .el-gallery img:first-child { grid-column: 1 / -1; height: 300px; }
  .el-cta { padding: 24px 20px; }
}

/* ---------- Убрано по решению владельца: упоминания «Made on Tilda» ---------- */
#tildacopy, .t-tildalabel, .t-tildalabel-free, [class*="t-tildalabel"] { display: none !important; }

/* ---------- Общая рамка новых блоков главной (тот же край, что у блоков Tilda) ---------- */
.el-sec { max-width: 1440px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; font-family: var(--el-font); color: var(--el-ink); }
.el-h2-home { font-family: var(--el-font); font-size: 38px; line-height: 1.15; font-weight: 700; color: #000; margin: 0 0 24px; }

/* ---------- «Новости и события» ---------- */
.el-news { padding: 40px 0 30px; background: #fff; }
.el-news__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
.el-news__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.el-news__title { font-family: var(--el-font); font-size: 46px; line-height: 1.05; font-weight: 400; color: #101820; margin: 0; }
.el-news__title b { font-weight: 800; }
.el-news__all { display: inline-flex; align-items: center; gap: 10px; color: var(--el-btn) !important; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.el-news__all:hover span { text-decoration: underline; }
.el-nmain { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; color: inherit !important; text-decoration: none; }
.el-nmain img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.el-nmain__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.el-pill { display: inline-block; background: #b68b43; color: #fff; font-size: 12px; letter-spacing: .5px; padding: 7px 12px; border-radius: 4px; text-transform: uppercase; }
.el-nmain__title { font-size: 26px; line-height: 1.2; font-weight: 700; color: #101820; }
.el-nmain:hover .el-nmain__title, .el-nside:hover b, .el-ncard:hover b { color: var(--el-gold); }
.el-nmain__text { font-size: 16px; line-height: 1.45; color: #666; }
.el-date { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #8a8a8a; }
.el-date .el-cal { color: #b68b43; flex: 0 0 auto; }
.el-news__side { border-left: 1px solid #e6e6e6; padding-left: 32px; }
.el-news__side h3 { font-family: var(--el-font); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; margin: 10px 0 18px; padding-bottom: 14px; border-bottom: 1px solid #e6e6e6; color: #101820; }
.el-news__side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.el-nside { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: start; color: inherit !important; text-decoration: none; }
.el-nside img { width: 130px; height: 92px !important; object-fit: cover; border-radius: 8px; display: block; }
.el-nside span { display: flex; flex-direction: column; gap: 10px; }
.el-nside b { font-size: 15px; line-height: 1.3; font-weight: 700; color: #101820; }
.el-news__bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 32px; }
.el-ncard { display: flex; flex-direction: column; gap: 10px; color: inherit !important; text-decoration: none; }
.el-ncard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.el-ncard b { font-size: 19px; font-weight: 700; color: #101820; }
.el-ncard p { margin: 0; color: #666; font-size: 15px; line-height: 1.45; }
.el-ncard__foot { display: flex; justify-content: space-between; align-items: center; color: var(--el-btn); margin-top: auto; }

/* ---------- Курс золота и доллара на главной ---------- */
.el-rates { padding: 30px 0 40px; }
.el-rates .el-label { font-size: 16px; }
.el-rates .eg-market { width: auto !important; left: auto !important; margin-left: 0 !important; padding: 0 !important; overflow: visible; font-family: var(--el-font); }
.el-rates .eg-title h1 { font-family: var(--el-font); }
.el-rates .eg-tab { font-family: var(--el-font); }
/* Страница Пакистана: строки блока курсов начинались с разного отступа — выравниваем по заголовку. */
#rec4499799403 .eg-title, .el-rates .eg-title { text-align: left; }
#rec4499799403 .eg-title { padding-left: calc(28px + (100vw - 1280px) / 32); }
#rec4499799403 .eg-title > span, #rec4499799403 .eg-title h1, #rec4499799403 .eg-title p { margin-left: 0 !important; padding-left: 0 !important; }

/* ---------- Страница новости ---------- */
.t-feed__post-popup, .t-feed__post-popup * { font-family: var(--el-font) !important; }
.el-post-back { text-decoration: none; }
.t-feed__post-popup__img { border-radius: 10px; }

/* ---------- Телефонная версия блоков Tilda ---------- */
.el-m { display: none; }
@media screen and (max-width: 640px) {
  .el-m { display: block; padding: 26px 16px 6px; font-family: var(--el-font); color: var(--el-ink); background: #fff; }
  .el-m__label { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--el-gold); margin-bottom: 6px; }
  .el-m__h { font-family: var(--el-font); font-size: 26px; line-height: 1.15; font-weight: 700; color: #000; margin: 0 0 12px; overflow-wrap: anywhere; }
  h1.el-m__h { font-size: 28px; text-transform: uppercase; }
  .el-m__h strong { font-weight: 700; }
  .el-m__p { font-size: 15px; line-height: 1.5; margin: 0 0 12px; text-align: left !important; color: #272729; }
  .el-m__img { width: 100%; height: auto; border-radius: 10px; display: block; margin: 4px 0 14px; }
  .el-m__btn { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; margin: 6px 0 14px; border-radius: 5px; background: var(--el-gold); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; }
  .el-m__btn_light { background: #fff; color: #000 !important; }
  .el-m__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }
  .el-m__stat { background: var(--el-soft); border-radius: 10px; padding: 14px; }
  .el-m__stat_wide { grid-column: 1 / -1; }
  .el-m__stat b { display: block; font-size: 26px; line-height: 1.1; font-weight: 600; color: var(--el-gold); overflow-wrap: anywhere; }
  .el-m__stat span { display: block; font-size: 13px; line-height: 1.3; margin-top: 4px; }
  .el-m__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .el-m__group { display: block; text-align: center; color: #000 !important; text-decoration: none; font-size: 13px; line-height: 1.25; }
  .el-m__group:last-child { grid-column: 1 / -1; max-width: calc(50% - 6px); justify-self: center; }
  .el-m__group img { width: 100%; height: auto; aspect-ratio: 690 / 340; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 6px; }
  .el-m__group a { color: inherit !important; }
  .el-m__quotes { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
  .el-m__quote { margin: 0; padding: 16px; border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,.08); background: #fff; }
  .el-m__quote blockquote { margin: 0 0 12px; font-size: 15px; line-height: 1.4; }
  .el-m__quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #8a8a8a; line-height: 1.3; }
  .el-m__quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
  .el-m__quote figcaption b { display: block; color: #000; font-size: 14px; margin-bottom: 2px; }
  .el-m__invest { background: var(--el-navy); border-radius: 12px; padding: 22px 18px 8px; color: #fff; }
  .el-m__invest .el-m__h, .el-m__invest .el-m__p { color: #fff; }
  .el-m[data-for="rec4675355403"], .el-m[data-for="rec5196349503"], .el-m[data-for="rec3998192703"] { padding-top: 80px; }
  a.el-m__hero { display: block; text-decoration: none; }
  .el-m__hero { position: relative; border-radius: 12px; overflow: hidden; background: var(--el-navy); }
  .el-m__hero .el-m__img { margin: 0; border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 50%; }
  .el-m__hero-body { display: block; padding: 16px 16px 4px; color: #fff; }
  .el-m__hero-body .el-m__h, .el-m__hero-body .el-m__p { color: #fff; }
  .el-m__tag { display: inline-block; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; padding: 3px 8px; font-size: 12px; margin-bottom: 10px; }
  .el-m__feats { list-style: none; margin: 14px 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .el-m__feats li { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.3; }
  .el-m__feats img { width: 40px; height: 40px; flex: 0 0 auto; }
  .el-m__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .el-m__pair .el-m__img { aspect-ratio: 1; object-fit: cover; }
  .el-m__banner { margin: 8px 0 14px; border-radius: 12px; padding: 22px 16px 10px; color: #fff; background-size: cover; background-position: center; position: relative; overflow: hidden; }
  .el-m__banner::before { content: ''; position: absolute; inset: 0; background: rgba(13,20,27,.55); }
  .el-m__banner > * { position: relative; color: #fff !important; }
  .el-m__feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
  .el-m__feed a { display: grid; grid-template-columns: 110px 1fr; gap: 12px; color: inherit !important; text-decoration: none; padding-bottom: 14px; border-bottom: 1px solid #eee; }
  .el-m__feed img { width: 110px; height: 80px !important; object-fit: cover; border-radius: 8px; }
  .el-m__feed span { display: flex; flex-direction: column; gap: 6px; }
  .el-m__feed time { font-size: 12px; color: #8a8a8a; }
  .el-m__feed b { font-size: 15px; line-height: 1.3; }
  .el-m__feed i { font-style: normal; font-size: 13px; color: var(--el-gold); }

  .el-sec { padding: 0 16px; }
  .el-news { padding: 26px 0 10px; }
  .el-news__grid { grid-template-columns: 1fr; gap: 22px; }
  .el-news__title { font-size: 30px; }
  .el-news__all svg { display: none; }
  .el-nmain { grid-template-columns: 1fr; gap: 14px; }
  .el-nmain__title { font-size: 20px; }
  .el-nmain__text { font-size: 15px; }
  .el-news__side { border-left: 0; padding-left: 0; }
  .el-news__side h3 { margin-top: 0; }
  .el-nside { grid-template-columns: 110px 1fr; gap: 12px; }
  .el-nside img { width: 110px; height: 80px !important; }
  .el-news__bottom { grid-template-columns: 1fr; }
  .el-h2-home { font-size: 26px; margin-bottom: 14px; }
  .el-rates { padding: 20px 0 24px; }
}
@media screen and (min-width: 641px) and (max-width: 1100px) {
  .el-news__grid { grid-template-columns: 1fr; }
  .el-news__side { border-left: 0; padding-left: 0; }
  .el-news__side ul { display: grid; grid-template-columns: 1fr 1fr; }
}
/* Якорные блоки главной: оставляем место под закреплённой шапкой. */
#news, #rates { scroll-margin-top: 80px; }

/* ---------- Общая шапка (по картинке владельца) — на всех страницах ---------- */
.eh { position: fixed; top: 0; left: 0; right: 0; z-index: 9990; background: #1d2935; font-family: var(--el-font); }
.eh__in { max-width: 1440px; margin: 0 auto; height: 64px; padding: 0 30px; display: flex; align-items: center; gap: 24px; box-sizing: border-box; }
.eh__logo { color: #fff !important; font-size: 19px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: 0 0 auto; }
.eh__nav { flex: 1 1 auto; min-width: 0; }
.eh__nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center;
  column-gap: clamp(14px, calc((100vw - 1000px) * 0.1 + 14px), 44px); }
.eh__nav a { color: #fff !important; font-size: 15px; text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.eh__nav a:hover { border-bottom-color: rgba(255,255,255,.5); }
.eh__nav a[aria-current="page"] { color: #c9a77c !important; border-bottom-color: #c9a77c; }
.eh__right { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.eh__lang { position: relative; }
.eh__lang-btn { display: flex; align-items: center; gap: 7px; background: none; border: 0; color: #fff; font: 600 14px var(--el-font); cursor: pointer; padding: 6px 2px; }
.eh-flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.eh__lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; list-style: none; margin: 0; padding: 6px;
  background: #fff; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.2); display: none; }
.eh__lang.is-open .eh__lang-list { display: block; }
.eh__lang-list a { display: flex; gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 6px; color: #1d2935 !important;
  text-decoration: none; font: 14px var(--el-font), 'Noto Naskh Arabic', 'Segoe UI', Tahoma, sans-serif; white-space: nowrap; }
.eh__lang-list a:hover { background: #f3f3f3; }
.eh__lang-list b { min-width: 24px; }
.eh__login { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 6px; background: #ad8b65;
  color: #fff !important; font: 600 14px var(--el-font); text-decoration: none; white-space: nowrap; }
.eh__login:hover { background: #967652; }
.eh__burger { display: none; width: 40px; height: 40px; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px 8px; }
.eh__burger span { display: block; height: 2px; background: #fff; margin: 4px 0; }
@media screen and (max-width: 1100px) { .eh__nav a { font-size: 14px; } .eh__logo { font-size: 17px; } .eh__in { gap: 16px; padding: 0 20px; } }
@media screen and (max-width: 900px) {
  .eh__burger { display: block; }
  .eh__nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #1d2935; padding: 8px 20px 16px; }
  .eh.is-open .eh__nav { display: block; }
  .eh__nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .eh__nav a { display: block; padding: 10px 0; font-size: 16px; }
  .eh__right { gap: 10px; }
}
/* Страницы-копии Tilda: шапка Tilda была 72px, наша 64px — Tilda-блоки остаются на своих местах. */
/* Шапка закреплена сверху (64 px) — всё содержимое страниц Tilda начинается под ней. */
body.t-body { padding-top: 64px !important; }

/* ---------- Общий подвал (по картинке владельца) ---------- */
.ef { background: #1d2935; color: #fff; font-family: var(--el-font); }
.ef__in { max-width: 1440px; margin: 0 auto; padding: 44px 30px 40px; box-sizing: border-box;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.ef__logo { display: inline-block; color: #fff !important; font-size: 20px; font-weight: 700; text-decoration: none; margin-bottom: 70px; }
.ef p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.85); }
.ef a { color: rgba(255,255,255,.85) !important; text-decoration: none; }
.ef a:hover { color: #fff !important; text-decoration: underline; }
.ef h3 { font-size: 16px; font-weight: 700; margin: 4px 0 18px; color: #fff; }
.ef ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ef__docs { margin-top: 36px !important; }
.ef__socials { display: flex; gap: 10px; margin-top: 18px; }
.ef__soc { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.6); border-radius: 6px; }
.ef__soc:hover { background: rgba(255,255,255,.1); text-decoration: none !important; }
@media screen and (max-width: 600px) {
  .eh__in { padding: 0 12px; gap: 10px; }
  .eh__logo { font-size: 15px; }
  .eh__login { padding: 0 10px; }
  .eh__login span, .eh__lang-btn span { display: none; }
  .eh__right { gap: 8px; }
  .eh__burger { margin-left: auto; }
}
@media screen and (max-width: 900px) { .ef__in { grid-template-columns: 1fr 1fr; } .ef__logo { margin-bottom: 16px; } }
@media screen and (max-width: 520px) { .ef__in { grid-template-columns: 1fr; padding: 32px 16px; gap: 24px; } }

/* ---------- Главная: «О компании» и «Наши проекты» (пересобраны в стиле Tilda) ---------- */
.ec-sec { background: #fff; font-family: var(--el-font); color: #1c1c1e; padding: 34px 0; }
.ec-wrap { max-width: 1440px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; }
.ec-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ec-label { font-size: 15px; letter-spacing: .4px; text-transform: uppercase; color: #866226; margin-bottom: 8px; }
.ec-title { font-family: var(--el-font); font-size: 40px; line-height: 1.08; font-weight: 700; color: #000; margin: 0 0 18px; }
.ec-h2 { font-family: var(--el-font); font-size: 40px; line-height: 1.1; font-weight: 700; color: #000; margin: 0 0 20px; }
.ec-lead { font-size: 18px; line-height: 1.5; color: #1c1c1e; margin: 0 0 12px; max-width: 600px; }
.ec-text { font-size: 15px; line-height: 1.6; color: #55555a; margin: 0; max-width: 600px; }
.ec-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ec-stats li { background: #ebebeb; border-radius: 10px; padding: 20px 26px; }
.ec-stats b { display: block; font-size: 36px; line-height: 1.1; font-weight: 600; color: #866226; }
.ec-stats span { display: block; margin-top: 6px; font-size: 15px; color: #272729; }
.ec-stats .ec-stat_wide { grid-column: 1 / -1; }
.ec-slides { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #1d2935; }
.ec-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.ec-slide.is-active { opacity: 1; }
.ec-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.ec-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.ec-dot.is-active { background: #fff; width: 22px; border-radius: 5px; }
.ec-facts { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ec-facts li { border-top: 2px solid #b68b43; padding-top: 8px; font-size: 16px; font-weight: 600; color: #1c1c1e; }
.ec-facts b { display: block; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: #866226; font-weight: 700; margin-bottom: 3px; }
@media screen and (max-width: 900px) {
  .ec-two { grid-template-columns: 1fr; gap: 22px; }
  .ec-wrap { padding: 0 16px; }
  .ec-title, .ec-h2 { font-size: 30px; }
  .ec-stats b { font-size: 26px; }
}
@media screen and (max-width: 520px) { .ec-facts { grid-template-columns: 1fr; } }

/* Секция «Новости и события»: на страницу ещё не назначено новостей */
.el-news__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 34px 36px; border: 1px dashed #d9d9d9; border-radius: 12px; }
.el-news__empty b { font-size: 20px; color: #101820; }
.el-news__empty span { font-size: 15px; color: #666; }
.el-news__empty a { color: #866226 !important; font-weight: 600; text-decoration: none; margin-top: 4px; }
.el-news__grid_single { grid-template-columns: 1fr !important; }
.el-news__grid_single .el-nmain { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); }
@media screen and (max-width: 900px) { .el-news__grid_single .el-nmain { grid-template-columns: 1fr; } }

/* ---------- Баннер-карусель главной ---------- */
.eb-sec { background: #fff; padding: 25px 0 10px; }
.eb { position: relative; aspect-ratio: 1680 / 363; border-radius: 14px; overflow: hidden; background: #2a2118; }
.eb-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.eb-slide.is-active { opacity: 1; visibility: visible; }
.eb-slide a, .eb-slide img { display: block; width: 100%; height: 100%; }
.eb-slide img { object-fit: cover; }
.eb-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.eb-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.eb-dot.is-active { background: #fff; width: 22px; border-radius: 5px; }

/* Цифры с анимацией счёта: ширина не прыгает, для экранного диктора — итоговое значение */
.el-count { display: inline-block; font-variant-numeric: tabular-nums; white-space: nowrap; }
.el-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Языки: круглые флаги, одинаковый шрифт (решение владельца 2026-12-01) ---------- */
@font-face { font-family: 'Elaman Lang Arabic'; src: url('/site/fonts/noto-arabic-lang.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Elaman Lang SC'; src: url('/site/fonts/noto-sc-lang.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
.eh-flag { width: 20px; height: 20px; border-radius: 50%; flex: 0 0 20px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.eh__lang-btn .eh-flag { box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); }
.eh__lang-list { min-width: 190px; }
.eh__lang-list a { display: grid !important; grid-template-columns: 20px 28px 1fr; align-items: center; gap: 10px; height: 38px; padding: 0 12px !important;
  font: 500 14px/1 'Google Sans', 'Elaman Lang Arabic', 'Elaman Lang SC', Arial, sans-serif !important; }
.eh__lang-list b { min-width: 0 !important; font-weight: 700; font-size: 13px; color: #1d2935; }
.eh__lang-name { white-space: nowrap; font-family: inherit; font-size: 14px; line-height: 1; text-align: left; }
.eh__lang-list a[aria-current="true"] { background: #f4ece0; }
/* Казахские буквы (Қ, Ғ, Ң, Ө, Ұ, Ү, Һ, І, Ә) в том же шрифте Google Sans — дополняет основной шрифт сайта */
@font-face { font-family: 'Google Sans'; src: url('/site/fonts/google-sans-kk.woff2') format('woff2'); font-weight: 400 700; font-display: swap;
  unicode-range: U+406, U+456, U+492-493, U+49A-49B, U+4A2-4A3, U+4AE-4B1, U+4BA-4BB, U+4D8-4D9, U+4E8-4E9; }

/* ---------- Переводы: шрифты под каждый язык, похожие на основной (решение владельца 2026-12-01) ----------
   Арабские и китайские буквы рисуются шрифтами Noto (на нашем сервере) под тем же именем 'Google Sans' —
   поэтому все тексты сайта, где указан Google Sans, автоматически получают нужный шрифт. */
@font-face { font-family: 'Google Sans'; src: url('/site/fonts/noto-sans-arabic.woff2') format('woff2'); font-weight: 400 700; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC; }
html[lang="ar"] body, html[lang="ar"] .eh, html[lang="ar"] .ef { line-height: 1.6; }
html[lang="zh-Hans"] body { word-break: normal; line-break: strict; }
html[lang="ar"] .en-card__text, html[lang="ar"] .eg-text, html[lang="ar"] .ec-text { line-height: 1.75; }

/* Подпись на баннере главной для других языков (на картинке русский текст убран) */
.eb-slide img { object-position: right center; }
.eb-cap { position: absolute; inset: 0 auto 0 0; width: 46%; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 4%; color: #fff; font-family: var(--el-font); pointer-events: none; }
.eb-cap__tag { align-self: flex-start; border: 1px solid rgba(255,255,255,.7); border-radius: 4px; padding: 3px 10px; font-size: 14px; }
/* метка «Новости» у начала строки: справа в арабском, слева в остальных (flex-start учитывает направление письма) */
.eb-cap b { font-size: clamp(18px, 2.4vw, 34px); line-height: 1.15; font-weight: 700; }
.eb-cap > span:last-child { font-size: clamp(13px, 1.4vw, 20px); line-height: 1.3; }
/* Арабский: подпись на тёмной части фото (слева), текст по правому краю; фото не зеркалим — на нём люди и флаги */
html[dir="rtl"] .eb-cap { text-align: right; }
/* Блок команды на главной: латинские имена длиннее русских — в одну строку, чуть мельче */
html:not([lang="ru"]) #rec3998193203 [data-elem-id="1789660804736000001"] .tn-atom,
html:not([lang="ru"]) #rec3998193203 [data-elem-id="1789661322600000008"] .tn-atom,
html:not([lang="ru"]) #rec3998193203 [data-elem-id="1789661429982000014"] .tn-atom { font-size: 12.5px !important; white-space: nowrap; }
@media screen and (max-width: 640px) {
  html[lang] #rec3998193203 [data-elem-id="1789660804736000001"] .tn-atom,
  html[lang] #rec3998193203 [data-elem-id="1789661322600000008"] .tn-atom,
  html[lang] #rec3998193203 [data-elem-id="1789661429982000014"] .tn-atom { font-size: 9.5px !important; white-space: nowrap; letter-spacing: -.1px; }
}

/* ---------- Аудит 2026-12-01: правки для иностранных версий ---------- */
/* Метка «Команда Elaman Corporation» над заголовком — в одну строку на любом языке */
html[lang] #rec3998193203 .tn-elem[data-elem-id="1789543377044"] .tn-atom { white-space: nowrap !important; }
/* Узкое окно: подпись баннера помещается в маленький баннер */
@media screen and (max-width: 640px) {
  .eb-cap { gap: 2px; width: 52%; }
  .eb-cap__tag, .eb-cap > span:last-child { display: none; }
  .eb-cap b { font-size: 12px; }
  .el-news__head { flex-wrap: wrap; }
}
.el-nside b, .el-nmain__title, .en-card__title, .ec-facts li { overflow-wrap: anywhere; }
/* Арабская «Команда»: блоки Tilda расставлены под письмо слева направо — заголовки отделов не прижимаем вправо */

/* =====================================================================
   Собственная вёрстка страниц (вместо блоков Tilda), вид — как на старом сайте
   ===================================================================== */
body.es-body { margin: 0; background: #fff; color: #1c1c1e; font-family: var(--el-font); -webkit-font-smoothing: antialiased; }
.es-main { padding-top: 64px; }
.es-main img { max-width: 100%; }

/* Структура компании */
#structure { padding-top: 26px; }
.es-groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.es-group { display: block; text-align: center; color: #000 !important; text-decoration: none; font-size: 18px; line-height: 1.25; }
.es-group img { width: 100%; height: auto; aspect-ratio: 690 / 340; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 10px; transition: transform .25s; }
.es-group:hover img { transform: translateY(-3px); }
.es-group:hover span { color: #866226; }

/* Команда на главной: заголовок слева, 3 карточки с цитатами справа */
.et__grid { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: center; }
.et-gold { color: #866226; }
.et__intro .ec-h2 { margin-bottom: 26px; }
.et-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; background: #866226; color: #fff !important; border-radius: 5px;
  font-weight: 600; font-size: 15px; text-decoration: none; }
.et-btn:hover { background: #6f511f; }
.et__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.et-card { margin: 0; background: #fff; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.09); padding: 20px 18px 16px; display: flex; flex-direction: column; }
.et-q { display: block; font: 700 34px/0.8 Georgia, serif; color: #866226; height: 18px; }
.et-card blockquote { margin: 6px 0 16px; font-size: 14px; line-height: 1.4; color: #1c1c1e; flex: 1; }
.et-card figcaption { display: flex; align-items: center; gap: 12px; }
.et-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px; }
.et-card figcaption b { display: block; font-size: 14px; color: #000; }
.et-card figcaption span span { display: block; font-size: 12px; color: #8a8a8a; line-height: 1.3; margin-top: 2px; }

/* Курс золота (своя вёрстка; график — TradingView, загружается скриптом сайта) */
.eg-market { margin-top: 8px; font-family: var(--el-font); color: #202020; }
.eg-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid #eaeaea; }
.eg-title > span { display: block; color: #b18a46; font-size: 15px; letter-spacing: 1px; margin-bottom: 8px; }
.eg-title h3 { margin: 0 0 8px; font-size: 40px; line-height: 1.12; font-weight: 700; color: #171717; }
.eg-title p { margin: 0; font-size: 19px; line-height: 1.4; color: #888; }
.eg-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.eg-tab { min-height: 48px; padding: 0 22px; border: 1.5px solid #d6b477; border-radius: 30px; background: #fff; color: #77521c;
  font: 600 16px var(--el-font); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.eg-tab:hover, .eg-tab.active { background: #b68b43; border-color: #b68b43; color: #fff; }
.eg-tab:focus-visible { outline: 2px solid #1d2935; outline-offset: 2px; }
.eg-chart { height: 560px; padding-top: 24px; }
.eg-chart .tradingview-widget-container, .eg-chart .tradingview-widget-container__widget { width: 100%; height: 100%; }

/* Страница «Команда» */
.ek { padding-top: 70px; padding-bottom: 60px; }
.ek-dept { margin-bottom: 56px; }
.ek-title { display: flex; align-items: center; gap: 22px; margin: 0 0 30px; font-weight: 400; }
.ek-num { font-size: 64px; line-height: 1; color: #c2a774; font-weight: 300; }
.ek-line { width: 110px; height: 1px; background: #b68b43; flex: 0 0 auto; margin-top: 14px; }
.ek-name { font-size: 36px; line-height: 1.1; color: #866226; text-transform: uppercase; margin-top: 10px; }
.ek-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 18px; }
.ek-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ek-pair .ek-grid { grid-template-columns: 1fr 1fr; }
.ek-card { margin: 0; }
.ek-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; display: block; background: #e9e9ea; }
.ek-card figcaption { padding-top: 12px; }
.ek-card figcaption::before { content: ''; display: block; width: 108px; height: 1px; background: #b68b43; margin-bottom: 10px; }
.ek-card b { display: block; font-size: 20px; line-height: 1.25; color: #000; }
.ek-card span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.35; color: #7a7a7a; }
.ek-card i { display: block; margin-top: 4px; font-size: 15px; line-height: 1.35; color: #9a9a9a; }

@media screen and (max-width: 1100px) {
  .et__grid { grid-template-columns: 1fr; }
  .ek-grid { grid-template-columns: repeat(3, 1fr); }
  .eg-header { flex-direction: column; }
  .eg-tabs { justify-content: flex-start; }
}
@media screen and (max-width: 760px) {
  .es-groups { grid-template-columns: repeat(2, 1fr); }
  .et__cards { grid-template-columns: 1fr; }
  .ek-grid, .ek-pair, .ek-pair .ek-grid { grid-template-columns: 1fr 1fr; }
  .ek-num { font-size: 44px; } .ek-name { font-size: 24px; } .ek-line { width: 50px; }
  .eg-title h3 { font-size: 30px; } .eg-chart { height: 430px; }
}
.ek-title { flex-wrap: wrap; row-gap: 6px; }
.ek-name { min-width: 0; overflow-wrap: anywhere; }
@media screen and (max-width: 520px) { .ek-name { font-size: 18px; } .ek-num { font-size: 34px; } .ek-title { gap: 12px; } .ek-card b { font-size: 16px; } .ek-card span { font-size: 14px; } }
@media screen and (max-width: 760px) { .ek-pair { grid-template-columns: 1fr; } }

/* ---------- Арабский (справа налево): текст всегда на тёмной части картинок ---------- */
/* Баннер главной: подпись уже — не заходит на людей на фото */
html[dir="rtl"] .eb-cap { width: 34%; }
/* Баннеры групп: тёмная часть фото слева — колонка текста там же, текст выровнен по правому краю */
html[dir="rtl"] .eg-hero__body { display: flex; flex-direction: column; align-items: flex-end; }
html[dir="rtl"] .eg-hero__body > * { max-width: min(560px, 48%); text-align: right; }
html[dir="rtl"] .eg-hero__body .eg-tag { align-self: flex-end; }
/* «Инвестиционные возможности»: текст на тёмной части (слева), кнопка справа — монеты не перекрываются */
html[dir="rtl"] .eg-invest { flex-direction: row-reverse; }
