/* Справочник SMS-отправителей /sms/ (11.11.2026). Отдельный файл, как za-home.css/zaimy.css:
   подключается только на страницах раздела и не трогает сборку theme.css. */
.sms-dir { padding-bottom: 24px; }
.sms-hero {
  margin: 8px 0 24px; padding: 32px 36px 28px; border-radius: 20px;
  background: linear-gradient(135deg, #eaf2ff 0%, #f6f9ff 60%, #fff 100%);
  border: 1px solid #dce7f8;
}
.sms-hero-h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.2; font-weight: 700; color: var(--black); }
.sms-hero-lead { max-width: 1080px; margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--black); }
.sms-tools[hidden] { display: none; }
.sms-search {
  position: relative; display: flex; align-items: center; max-width: 860px; height: 60px;
  background: #fff; border: 2px solid #c9d8f0; border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 94, 216, .08); transition: border-color .15s, box-shadow .15s;
}
.sms-search:focus-within { border-color: var(--blue); box-shadow: 0 6px 24px rgba(0, 94, 216, .18); }
.sms-search-ico { flex: 0 0 auto; margin: 0 12px 0 18px; color: var(--blue); }
.sms-search input {
  flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 8px 0 0; border: 0; outline: 0;
  background: transparent; font: inherit; font-size: 18px; color: var(--black);
}
.sms-search input::placeholder { color: #8a9ab0; }
.sms-search input::-webkit-search-cancel-button { display: none; }
.sms-search-clear {
  flex: 0 0 auto; width: 36px; height: 36px; margin-right: 10px; border: 0; border-radius: 50%;
  background: var(--grey-light); color: var(--grey); font-size: 22px; line-height: 1; cursor: pointer;
}
.sms-search-clear[hidden] { display: none; }
.sms-suggest {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: -2px; right: -2px; max-height: 420px; overflow-y: auto;
  background: #fff; border: 1px solid #c9d8f0; border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 19, 43, .14);
}
.sms-suggest[hidden] { display: none; }
.sms-sug { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 18px; border-bottom: 1px solid var(--grey-light); color: var(--black); }
.sms-sug:hover { background: var(--light); }
.sms-sug b { font-weight: 700; }
.sms-sug span { grid-column: 1; color: var(--grey); font-size: 13px; }
.sms-sug i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--blue); font-style: normal; font-weight: 600; font-size: 14px; white-space: nowrap; }
.sms-sug-all { display: block; padding: 11px 18px; color: var(--blue); font-weight: 600; font-size: 14px; }
.sms-sug-none { padding: 14px 18px; line-height: 1.5; font-size: 14px; }
.sms-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--grey); font-size: 14px; }
.sms-stats li { margin: 0; padding: 0; list-style: none; }
.sms-stats b { color: var(--black); }

.sms-popular { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 18px 0 0; line-height: 1.6; color: var(--grey); font-size: 14px; }
.sms-popular span { flex-basis: 100%; }
.sms-popular a { color: var(--blue); font-weight: 600; white-space: nowrap; }
.sms-popular a:hover { text-decoration: underline; }
.sms-found { margin: 0 0 12px; color: var(--grey); font-size: 14px; }
.sms-none { margin: 0 0 20px; padding: 16px 20px; border-radius: 12px; background: #fff7ec; border: 1px solid #ffe0b8; line-height: 1.5; }


.sms-block { margin: 0 0 24px; padding: 28px 32px; border-radius: 20px; background: #fff; }
.sms-h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--black); }
.sms-sub { margin: 0 0 20px; color: var(--grey); line-height: 1.5; }

.sms-rows { border-top: 1px solid var(--grey-light); }
.sms-row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--grey-light); scroll-margin-top: 90px; }
.sms-row-l { padding-top: 4px; white-space: nowrap; font-size: 18px; font-weight: 700; color: var(--black); }
.sms-row-names { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sms-row-names li { margin: 0; padding: 0; list-style: none; }
.sms-row-names li::before { display: none; }
.sms-row-names a, .sms-row-names span { display: inline-block; padding: 5px 10px; border-radius: 6px; font-size: 14px; line-height: 1.3; }
.sms-row-names span { background: var(--light); color: var(--black); }
.sms-row-names a { background: #eaf2ff; color: var(--blue); font-weight: 600; }
.sms-row-names a:hover { background: var(--blue); color: #fff; }
.sms-row-names li.is-hl span, .sms-row-names li.is-hl a { box-shadow: 0 0 0 2px var(--orange); }

.sms-owners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sms-owner { padding: 16px 18px; border: 1px solid #e3eaf3; border-radius: 14px; }
.sms-owner-h { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 10px; font-weight: 700; color: var(--black); }
.sms-owner-h span { flex: 0 0 auto; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--grey-light); color: var(--grey); font-size: 13px; line-height: 24px; text-align: center; }
.sms-owner-names { display: flex; flex-wrap: wrap; gap: 6px; }
.sms-owner-names a, .sms-owner-names span { padding: 4px 10px; border-radius: 6px; background: var(--light); border: 1px solid #e3eaf3; font-size: 13px; }
.sms-owner-names a { color: var(--blue); font-weight: 600; }
.sms-owner-names a:hover { border-color: var(--blue); }
.sms-owner-names span { color: var(--black); }

.sms-text { padding: 28px 32px; }
.sms-text > :first-child, .sms-text > :first-child > :first-child { margin-top: 0; padding-top: 0; }

@media (max-width: 860px) {
  .sms-owners { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sms-hero { padding: 22px 16px 20px; border-radius: 16px; }
  .sms-hero-h1 { font-size: 26px; }
  .sms-hero-lead { font-size: 15px; }
  .sms-search { height: 52px; }
  .sms-search input { font-size: 16px; }
  .sms-search-ico { margin: 0 8px 0 12px; }
  .sms-stats { gap: 6px 18px; font-size: 13px; }
  .sms-block, .sms-text { padding: 20px 16px; border-radius: 16px; }
  .sms-h2 { font-size: 21px; }
  .sms-row { grid-template-columns: 34px 1fr; gap: 8px; }
  .sms-row-l { font-size: 15px; padding-top: 5px; }
  .sms-row-names a, .sms-row-names span { font-size: 13px; padding: 4px 8px; }
  /* Витрина должна начинаться повыше: частых имён на телефоне — шесть */
  .sms-popular { margin-top: 14px; }
  .sms-popular a:nth-of-type(n+7) { display: none; }
}

/* «Каталог микрозаймов» белой карточкой — тот же вид, что на карточке МФО (_mfo_card.scss,
   .zmfo--v2 .zlinking-card, 12.10.2026). Там стиль привязан к обёртке карточки МФО, поэтому
   здесь он повторён под разделом; разметка общая (_zlinking.html с zl_card=True). */
.sms-dir .zlinking-card { margin-top: 24px; padding: 24px 28px 12px; border-radius: 16px; background: #fff; }
.sms-dir .zlinking-card > h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; font-weight: 800; }
.sms-dir .zlinking-card .zlinking-group { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 6px 28px; margin: 0; padding: 14px 0; border-top: 1px solid var(--grey-light); }
.sms-dir .zlinking-card .zlinking-group:first-child { border-top: 0; }
.sms-dir .zlinking-card .zlinking-title { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 700; }
.sms-dir .zlinking-card .zlinking-items { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sms-dir .zlinking-card .zlinking-link { font-size: 15px; line-height: 1.35; }
@media (max-width: 1023.98px) {
  .sms-dir .zlinking-card { padding: 20px 16px 8px; }
  .sms-dir .zlinking-card .zlinking-group { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sms-dir .zlinking-card .zlinking-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .sms-dir .zlinking-card .zlinking-link { display: flex; align-items: center; min-height: 44px; padding: 4px 0; border-radius: 0; background: none; font-size: 14px; line-height: 1.25; }
}

/* Словарь (/glossary/) в том же справочном виде: буква — ссылка на страницу буквы, интро — HTML из seo_body */
.sms-row-l { text-decoration: none; }
a.sms-row-l { color: var(--black); }
a.sms-row-l:hover { color: var(--blue); }
.sms-hero-lead p { margin: 0; }
.sms-sug b + i { grid-row: 1; }
/* в словаре ссылки все до одной — синие плашки слились бы в сплошной синий ковёр */
.gl-dir .sms-row-names a { background: var(--light); color: var(--black); font-weight: 400; }
.gl-dir .sms-row-names a:hover { background: #eaf2ff; color: var(--blue); }
