/* =====================================================
   APK Catalog — точная копия programmy-dlya-android.ru
   Сделано по реальному HTML/CSS исходнику сайта
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --grad-1: #28ab92;
  --grad-2: #51c64f;
  --green:  #09b86d;
  --green2: #47952b;
  --bg:     #f2f4f5;
  --white:  #ffffff;
  --text:   #222222;
  --muted:  #818181;
  --line:   #e8e8e8;
  --font: Arial, Helvetica, sans-serif;
  --max: 1200px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1,h2,h3,h4 { margin: 0; padding: 0; }

/* ======================
   HEAD-LINE
   ====================== */
.head-line {
  background: linear-gradient(90deg, var(--grad-1) 0%, var(--grad-2) 100%);
  position: sticky; top: 0; z-index: 200;
  height: 70px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.head-line-w {
  max-width: var(--max); margin: 0 auto; height: 70px;
  display: flex; align-items: center;
  padding: 0 0 0 50px; position: relative;
}

/* Бургер */
.mob-menu {
  display: block; width: 50px; height: 70px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'%3E%3Crect width='22' height='2.5' rx='1.25' fill='%23fff'/%3E%3Crect y='6.5' width='22' height='2.5' rx='1.25' fill='%23fff'/%3E%3Crect y='13' width='22' height='2.5' rx='1.25' fill='%23fff'/%3E%3C/svg%3E")
    center 15px no-repeat;
  cursor: pointer;
  position: absolute; left: 0; top: 0;
}
.mob-menu::after {
  content: 'меню';
  display: block; position: absolute;
  left: 0; bottom: 13px; width: 100%;
  text-align: center; color: #fff; font-size: 11px;
}

/* Логотип */
.logo {
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; height: 100%;
  padding-left: 52px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.6 9.48l1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.23l-1.88 3.23C14.98 8.31 13.54 8 12 8s-2.98.31-4.47.91L5.65 5.68c-.19-.29-.55-.38-.84-.23-.3.16-.42.54-.26.85L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52zM7 15.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5zm10 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5z'/%3E%3C/svg%3E")
    left center no-repeat;
  background-size: auto 44px;
}
.logo span { font-size: 17px; font-weight: 500; text-transform: uppercase; line-height: 1.1; }
.logo i    { font-style: normal; font-size: 12px; color: rgba(255,255,255,.72); margin-top: 2px; }

/* Поиск */
.search-block {
  flex: 1; margin: 0 70px 0 30px; max-width: 560px;
  height: 38px; border: 1px solid rgba(255,255,255,.38);
  border-radius: 6px; padding: 0 0 0 46px; position: relative;
}
.search-block form { margin: 0; padding: 0; }
.form-text {
  height: 36px; line-height: 36px; width: 100%;
  background: none; border: none; outline: none;
  color: #fff; font-size: 14px; font-family: var(--font);
}
.form-text::placeholder { color: rgba(255,255,255,.55); }
.form-search {
  position: absolute; left: 0; top: 0; width: 46px; height: 38px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center no-repeat;
  border: none; cursor: pointer; outline: none;
}

/* Подсказки поиска */
#searchSuggestions {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border-radius: 5px;
  border: 1px solid #ddd; box-shadow: 0 4px 16px rgba(0,0,0,.12);
  z-index: 400; overflow: hidden;
}
.sugg-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer;
  border-bottom: 1px solid #ebebeb; transition: background .1s;
}
.sugg-item:last-child { border-bottom: none; }
.sugg-item:hover { background: #ebebeb; }
.sugg-item img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sugg-name { display: block; font-size: 14px; color: #000; line-height: 1.2; }
.sugg-ver  { display: block; font-size: 11px; color: var(--muted); }

/* ======================
   MAIN LAYOUT
   ====================== */
.main-center-block {
  max-width: var(--max); margin: 30px auto 50px;
  padding: 0 20px;
}
.colsfl {
  display: flex; flex-direction: row-reverse;
  justify-content: space-between; gap: 22px;
}
.colsfl-right { flex: 1; min-width: 0; }
.colsfl-left  { width: 300px; flex-shrink: 0; }

/* ======================
   LEFT SIDEBAR
   ====================== */
.leftblock {
  background: #f3feff; border-radius: 5px;
  padding: 0 0 6px; margin-bottom: 24px;
}
.leftblock-title {
  font-size: 16px; font-weight: 700; color: #000;
  text-transform: uppercase;
  padding: 18px 24px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.leftblock-title .arrt {
  display: block; width: 28px; height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M18 12c0-.53-.22-1.04-.59-1.4L13.12 6.3a1.49 1.49 0 0 0-2.12 0c-.27.29-.41.66-.41 1.03 0 .38.14.75.41 1.03L14 11.5H5a1.5 1.5 0 1 0 0 3h9l-3 2.64c-.27.28-.41.65-.41 1.03a1.49 1.49 0 0 0 2.53 1.03l4.29-4.3A1.97 1.97 0 0 0 18 12z' fill='%2314c54e'/%3E%3C/svg%3E") center no-repeat;
  background-size: 24px;
}

/* .ltop строки сайдбара */
.ltop {
  display: flex; align-items: center;
  padding: 11px 24px; gap: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
  transition: background .12s; cursor: pointer;
  color: var(--text);
}
.ltop:hover { background: #f1fef3; }
.ltop-image { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.ltop-image img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.ltop-r { flex: 1; min-width: 0; }
.ltop-title {
  font-weight: 500; font-size: 14px; color: #000;
  display: block; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px; line-height: 1.3;
}
.ltop:hover .ltop-title { color: #6fb000; }
.ltop-category {
  display: block; font-size: 12px; color: #727272;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ======================
   ТОП ЗА НЕДЕЛЮ — .rtop-block
   ====================== */
.rtop-block {
  background: #fff; border-radius: 5px;
  padding: 22px 22px 14px; margin-bottom: 22px;
}
.rtop-block-title {
  text-align: center; font-size: 17px; font-weight: 700;
  color: #000; margin-bottom: 18px;
}
.rtop-block-fl {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 8px;
}
/* Одна карточка ТОПа */
.rtop {
  display: flex; width: calc(33.333% - 6px);
  padding: 12px; gap: 11px; align-items: flex-start;
  border: 1px solid #eaeaea; border-radius: 7px;
  cursor: pointer; transition: all .2s ease;
  color: var(--text); background: #fff;
}
.rtop:hover { border-color: #c1ffee; background: #f0fffa; }
.rtop-image { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.rtop-image img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.rtop-r { flex: 1; min-width: 0; }
.rtop-title {
  font-weight: 500; font-size: 14px; color: #000;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block; margin-bottom: 5px; line-height: 1.3;
}
/* Android иконка через SVG data URI */
.rtop-android {
  display: block; font-size: 12px; color: #727272;
  padding-left: 20px; margin-bottom: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ababab' stroke-width='1.5'%3E%3Cpath d='M5 16V8a7 7 0 0 1 14 0v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z'/%3E%3Ccircle cx='9' cy='11' r='1' fill='%23ababab'/%3E%3Ccircle cx='15' cy='11' r='1' fill='%23ababab'/%3E%3Cpath d='m8 3 1.5 2.5M16 3l-1.5 2.5'/%3E%3Cpath d='M3 11v2M21 11v2'/%3E%3Cpath d='M9 21v-2M15 21v-2'/%3E%3C/svg%3E")
  left center no-repeat;
  background-size: 14px;
}
.ltop-size, .rtop .ltop-size {
  display: block; font-size: 12px;
  font-weight: 500; color: var(--green2);
}

/* ======================
   НОВИНКИ — .main2-news
   ====================== */
.cbtitle {
  text-align: center; font-size: 18px; font-weight: 400;
  color: #000; margin: 0 0 14px;
}
.main-news-wrap {
  display: flex; flex-wrap: wrap;
  margin: 0 -6px 16px;
}
.main2-news {
  width: calc(33.333% - 12px);
  margin: 0 6px 10px;
  box-sizing: border-box; position: relative;
}
.main2-news-wrap-link {
  display: block; padding: 12px;
  background: #fff; border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0,0,0,.04);
  height: 100%;
  transition: background .12s;
}
.main2-news:hover .main2-news-wrap-link { background: #f3feff; }
.main2-news-fl { display: flex; gap: 10px; }
.main2-news-image {
  width: 80px; height: 80px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
}
.main2-news-image img {
  width: 80px; height: 80px; object-fit: cover; border-radius: 10px;
}
.main2-news-r { flex: 1; min-width: 0; }
.main2-news-title {
  font-size: 14px; font-weight: 700; color: #464646;
  line-height: 1.3; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 5px;
}
.main2-news:hover .main2-news-title { color: #2971cb; }
.main2-news-arh {
  font-size: 11px; color: #464646;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.main2-news-stats {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 6px;
  font-size: 11px; color: var(--muted);
}
.main2-news-andr {
  padding-left: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23c7c7c7' stroke-width='1.5'%3E%3Cpath d='M5 16V8a7 7 0 0 1 14 0v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z'/%3E%3Ccircle cx='9' cy='11' r='1' fill='%23c7c7c7'/%3E%3Ccircle cx='15' cy='11' r='1' fill='%23c7c7c7'/%3E%3Cpath d='m8 3 1.5 2.5M16 3l-1.5 2.5' stroke-linecap='round'/%3E%3Cpath d='M3 11v2M21 11v2'/%3E%3Cpath d='M9 21v-2M15 21v-2'/%3E%3C/svg%3E")
  left center no-repeat;
  background-size: 13px;
}
.main2-dots {
  position: absolute; top: 8px; right: 8px;
  font-size: 18px; color: #ccc; cursor: pointer;
  transform: rotate(90deg); line-height: 1;
  width: 20px; text-align: center;
}

/* ======================
   GRBLOCK — категориальные блоки
   ====================== */
.grblock {
  background: linear-gradient(295deg, #49cc74 0%, #35a989 100%);
  border-radius: 6px; padding: 22px 20px 12px;
  margin-bottom: 22px;
}
.grblock2 { background: linear-gradient(295deg, #db7b5e 0%, #b33c92 100%); }
.grblock3 { background: linear-gradient(295deg, #712b8d 0%, #966ae7 50%, #1b4996 100%); }

.grblock-title {
  font-size: 17px; color: #fff; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.grblock-title a {
  font-size: 12px; color: #fff; font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,.7);
  line-height: 1.4; padding-left: 14px; position: relative;
}
.grblock-title a::before {
  content: '→'; position: absolute; left: 0;
}
.grblock-title a:hover { opacity: .85; }
.grblock-content {
  display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: flex-start;
}

/* .gnews — карточка в grblock */
.gnews {
  display: flex; background: #fff;
  width: calc(33.333% - 6px);
  border-radius: 10px; overflow: hidden;
  transition: all .25s ease;
  cursor: pointer; color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.gnews:hover { background: #e8f8fa; box-shadow: 0 0 20px rgba(0,0,0,.25); }
.gnews-image { width: 90px; height: 90px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.gnews-image img { width: 90px; height: 90px; object-fit: cover; }
.gnews-r {
  flex: 1; min-width: 0; padding: 9px 9px 9px 6px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.gnews-title {
  font-size: 13px; font-weight: 500; color: #535353;
  line-height: 1.3; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gnews:hover .gnews-title { color: #2971cb; }
.gnews-android {
  font-size: 11px; color: #999;
  padding-left: 18px; margin-bottom: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23c7c7c7' stroke-width='1.5'%3E%3Cpath d='M5 16V8a7 7 0 0 1 14 0v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z'/%3E%3Ccircle cx='9' cy='11' r='1' fill='%23c7c7c7'/%3E%3Ccircle cx='15' cy='11' r='1' fill='%23c7c7c7'/%3E%3Cpath d='m8 3 1.5 2.5M16 3l-1.5 2.5' stroke-linecap='round'/%3E%3C/svg%3E")
  left center no-repeat; background-size: 13px;
}
.gnews-size { font-size: 12px; font-weight: 500; color: var(--green2); }

/* ======================
   ХЛЕБНЫЕ КРОШКИ
   ====================== */
.bc-wrap {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 5px; font-size: 12px; color: var(--muted);
  margin-bottom: 14px;
}
.bc-wrap a { color: var(--muted); transition: color .1s; }
.bc-wrap a:hover { color: var(--green); }
.bc-wrap svg { color: #ccc; flex-shrink: 0; }
.bc-wrap span { color: #444; }

/* ======================
   ПОЛНАЯ НОВОСТЬ — .full-news
   ====================== */
.full-news {
  background: #fff; border-radius: 5px;
  padding: 22px; margin-bottom: 16px;
}

/* Шапка: иконка + заголовок/категории + факты */
.full-news-head {
  display: flex; gap: 18px; align-items: flex-start;
  margin-bottom: 0;
}
.full-news-head-image {
  width: 120px; height: 120px;
  border-radius: 4px; overflow: hidden; flex-shrink: 0;
}
.full-news-head-image img { width: 120px; height: 120px; object-fit: cover; }
.full-news-head-l {
  flex: 1; min-width: 0;
}
.full-news-title h1 {
  font-size: 22px; font-weight: 700; margin-bottom: 6px; line-height: 1.2;
}
.full-news-category {
  font-size: 13px; line-height: 1.8; margin-bottom: 8px;
}
.full-news-category a {
  color: var(--green); text-decoration: underline; font-weight: 700;
}
.full-news-category a:hover { opacity: .8; }

/* Факты */
.full-news-head-r {
  flex-shrink: 0; min-width: 200px;
}
.full-news-head-info-line {
  font-size: 13px; color: #555; margin-bottom: 4px; line-height: 1.5;
}
.full-news-head-info-line i {
  font-style: normal; color: #000; font-weight: 600;
  display: inline-block; min-width: 80px;
}

/* Кнопка СКАЧАТЬ */
.full-news-rline {
  margin: 18px 0 20px; background: #fff;
  border: 1px solid var(--line); border-radius: 5px;
  height: 76px; display: flex; align-items: center;
  padding: 0 20px; gap: 20px;
}
.full-news-d {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 178px; height: 46px;
  background: linear-gradient(90deg, #21be94, #46d34e);
  border-radius: 5px; color: #fff;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: opacity .14s;
  letter-spacing: .03em; flex-shrink: 0;
  text-decoration: none;
}
.full-news-d:hover { opacity: .88; color: #fff; }
.full-news-dr {
  font-size: 14px; color: #999;
  text-decoration: underline; font-weight: 700;
  cursor: pointer;
}
.full-news-dr:hover { color: var(--green); }

/* Слайдер скриншотов */
.ttslider {
  margin-bottom: 20px; position: relative; overflow: hidden;
}
.ttslider-src {
  display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 4px;
}
.ttslider-src::-webkit-scrollbar { height: 3px; }
.ttslider-src::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.ttslider-item {
  flex-shrink: 0; scroll-snap-align: start;
  border-radius: 5px; overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer; transition: border-color .12s;
}
.ttslider-item:hover { border-color: var(--green); }
.ttslider-item img { width: 155px; height: auto; display: block; }
.ttslider-right, .ttslider-left {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(200,213,223,.88); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #36495a;
  z-index: 5; transition: background .13s; line-height: 1;
}
.ttslider-right:hover, .ttslider-left:hover { background: rgba(170,190,200,.92); }
.ttslider-right { right: 0; }
.ttslider-left  { left: 0; }

/* Фото лайтбокс оверлей */
.img-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.img-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 4px; }
.img-overlay-close {
  position: absolute; top: 16px; right: 20px;
  color: #fff; font-size: 32px; cursor: pointer; line-height: 1;
  background: none; border: none;
}

/* Описание */
.full-news-text {
  font-size: 14px; color: #555; line-height: 1.8;
  margin-bottom: 0;
}
.full-news-text p  { margin-bottom: 10px; }
.full-news-text b  { color: #333; }
.full-news-text ul, .full-news-text ol { padding-left: 22px; margin-bottom: 10px; }
.full-news-text li { margin-bottom: 4px; }

/* Характеристики */
.spec-block {
  background: #fff; border-radius: 5px;
  border: 1px solid var(--line); margin-bottom: 14px; overflow: hidden;
}
.spec-block-head {
  font-size: 15px; font-weight: 700; padding: 13px 18px;
  border-bottom: 2px solid var(--green); background: #fff;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table td { padding: 8px 16px; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(odd) td { background: #fafafa; }
.spec-table td:first-child { color: var(--muted); font-weight: 600; width: 36%; }
.spec-table td:last-child  { font-weight: 600; color: var(--text); }

/* FAQ */
.faq-block {
  background: #fff; border-radius: 5px;
  border: 1px solid var(--line); margin-bottom: 14px; overflow: hidden;
}
.faq-block-head {
  font-size: 15px; font-weight: 700; padding: 13px 18px;
  border-bottom: 2px solid var(--green);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; padding: 11px 18px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: var(--text); display: flex; align-items: center;
  justify-content: space-between; gap: 8px; transition: background .1s;
}
.faq-q:hover, .faq-q.open { background: #f0fdf6; color: var(--green); }
.faq-q svg { flex-shrink: 0; transition: transform .18s; color: #bbb; }
.faq-q.open svg { transform: rotate(180deg); color: var(--green); }
.faq-a {
  display: none; padding: 10px 18px;
  font-size: 12px; color: #555; line-height: 1.7;
  background: #f9fef9; border-top: 1px solid var(--line);
}
.faq-a.open { display: block; }
.faq-a ol, .faq-a ul { padding-left: 18px; margin-top: 5px; }
.faq-a li { margin-bottom: 3px; }

/* Похожие приложения */
.sim-block {
  background: #fff; border-radius: 5px;
  border: 1px solid var(--line); margin-bottom: 14px; overflow: hidden;
}
.sim-block-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.sim-block-title { font-size: 14px; font-weight: 700; }
.sim-block-all   { font-size: 12px; color: var(--green); font-weight: 700; }
.sim-block-all:hover { text-decoration: underline; }
.sim-wrap {
  display: flex; flex-wrap: wrap; padding: 8px; gap: 6px;
}
.sim-wrap .main2-news { width: calc(33.333% - 10px); margin: 0; }

/* ======================
   SEO-ТЕКСТ
   ====================== */
.stext {
  font-size: 14px; color: #8f8f8f; line-height: 1.72;
  margin-top: 18px;
}
.stext h1, .stext h2 { font-size: 17px; color: #000; font-weight: 400; margin-bottom: 12px; }
.stext p  { margin-bottom: 10px; }
.stext ul, .stext ol { padding-left: 20px; margin-bottom: 10px; }
.stext li { margin-bottom: 4px; }

/* ======================
   СТРАНИЦА КАТЕГОРИИ
   ====================== */
.snblock-title {
  font-size: 20px; color: #000; font-weight: 400;
  margin: 0 0 14px;
}
.snblock-title h1 { font-size: 20px; font-weight: 400; display: inline; }
.cat-desc { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.65; }

/* ======================
   СТРАНИЦА СКАЧИВАНИЯ
   ====================== */
.dl-wrap {
  background: #fff; border-radius: 5px;
  padding: 22px; margin-bottom: 14px;
}
.dl-app-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.dl-app-icon img { width: 80px; height: 80px; border-radius: 12px; border: 1px solid var(--line); }
.dl-app-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.dl-app-meta  { font-size: 12px; color: var(--muted); }
.dl-timer-box {
  text-align: center; padding: 28px 20px;
  background: #f9fef9; border: 1px solid #d4edda;
  border-radius: 6px; margin-bottom: 16px;
}
.dl-timer-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
#dlTimer { font-size: 64px; font-weight: 900; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 3px; }
#dlTimerLbl { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.dl-prog-wrap { height: 7px; background: #ddd; border-radius: 4px; max-width: 360px; margin: 0 auto 20px; overflow: hidden; }
#dlBar { height: 100%; background: linear-gradient(90deg, #21be94, #46d34e); border-radius: 4px; width: 0; transition: width 1s linear; }
.btn-dl-main {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; background: linear-gradient(90deg, #21be94, #46d34e);
  color: #fff; border: none; border-radius: 5px;
  padding: 12px 40px; font-size: 15px; font-weight: 700;
  font-family: var(--font); cursor: pointer;
  opacity: .4; pointer-events: none;
  transition: opacity .2s; text-decoration: none; letter-spacing: .03em;
}
.btn-dl-main.ready { opacity: 1; pointer-events: auto; }
.btn-dl-main.ready:hover { opacity: .88; }
.dl-info-block { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; margin-bottom: 14px; }
.dl-info-head  { background: #fafafa; padding: 10px 16px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
.dl-info-body  { padding: 13px 16px; font-size: 13px; color: #555; line-height: 1.8; }
.dl-info-body ol { padding-left: 18px; }
.dl-info-body li { margin-bottom: 3px; }
.dl-spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dl-spec-table td { padding: 7px 16px; border-bottom: 1px solid var(--line); }
.dl-spec-table tr:last-child td { border-bottom: none; }
.dl-spec-table tr:nth-child(odd) td { background: #fafafa; }
.dl-spec-table td:first-child { color: var(--muted); font-weight: 600; width: 35%; }
.dl-back { margin-top: 13px; text-align: center; font-size: 12px; color: var(--muted); }
.dl-back a { color: var(--muted); }
.dl-back a:hover { color: var(--green); }

/* ======================
   ПАГИНАЦИЯ
   ====================== */
.navigation { padding: 14px 0; text-align: center; clear: both; }
.navigation-center { display: inline-block; }
.navigation-center a, .navigation-center span {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 2px 6px; width: 38px; height: 38px;
  border-radius: 5px; font-size: 13px;
}
.navigation-center a {
  background: linear-gradient(0deg, #19d19f, #3be1b4);
  color: #fff; border: 1px solid #42d6aa;
}
.navigation-center a:hover { background: #32e16f; }
.navigation-center span {
  background: #fff; color: #000;
  border: 1px solid #e0e0e0;
}

/* ======================
   ПОИСК
   ====================== */
.empty-state { text-align: center; color: var(--muted); padding: 40px; font-size: 14px; }

/* ======================
   FOOTER
   ====================== */
.site-footer {
  background: #2c4052; padding: 22px 20px;
  margin-top: 30px; text-align: center;
}
.footer-text { font-size: 12px; color: #7d8994; line-height: 1.65; margin-bottom: 10px; }
.footer-text a { color: #9caebe; text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.footer-links a { font-size: 12px; color: #9caebe; text-decoration: underline; }
.footer-links a:hover { color: #21a9ff; }

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1240px) {
  .main-center-block { padding: 0 16px; }
}
@media (max-width: 1040px) {
  .colsfl-left { width: 250px; }
  .rtop        { width: calc(50% - 4px); }
  .gnews       { width: calc(50% - 4px); }
  .main2-news  { width: calc(50% - 12px); }
}
@media (max-width: 860px) {
  .colsfl       { flex-direction: column; }
  .colsfl-left  { display: none; }
  .rtop         { width: calc(50% - 4px); }
  .gnews        { width: calc(50% - 4px); }
  .main2-news   { width: calc(50% - 12px); }
  .sim-wrap .main2-news { width: calc(50% - 10px); }
  .full-news-head { flex-wrap: wrap; }
  .full-news-head-r { width: 100%; margin-top: 10px; }
}
@media (max-width: 640px) {
  .head-line { height: 56px; }
  .head-line-w { height: 56px; padding-left: 50px; }
  .mob-menu { height: 56px; background-position: center 10px; }
  .mob-menu::after { bottom: 8px; }
  .logo span { font-size: 13px; }
  .logo i    { display: none; }
  .search-block { margin: 0 10px 0 10px; }
  .rtop   { width: 100%; }
  .gnews  { width: 100%; }
  .main2-news { width: calc(100% - 12px); }
  .full-news-rline { height: auto; flex-wrap: wrap; padding: 12px 14px; gap: 10px; }
  .full-news-d { width: 100%; justify-content: center; }
  .sim-wrap .main2-news { width: calc(100% - 10px); }
  .ttslider-item img { width: 130px; }
}
@media (max-width: 420px) {
  .main-center-block { padding: 0 10px; margin-top: 16px; }
  .grblock { padding: 16px 12px 8px; }
  .rtop-block { padding: 16px 12px 10px; }
}

/* ======================
   FULL-NEWS HERO — точно как скриншот 1
   иконка | название+категории | факты-лев | факты-прав
   ====================== */
.fnh {
  display: grid;
  grid-template-columns: 140px 1fr 220px 220px;
  gap: 0 24px;
  align-items: start;
  margin-bottom: 0;
}

/* Иконка */
.fnh-ico {
  grid-row: 1;
  grid-column: 1;
}
.fnh-ico img {
  width: 130px; height: 130px;
  display: block; border-radius: 4px;
}

/* Название + категории */
.fnh-info {
  grid-row: 1; grid-column: 2;
  padding-top: 4px;
}
.fnh-title {
  font-size: 24px; font-weight: 700;
  color: #000; line-height: 1.2;
  margin-bottom: 8px;
}
.fnh-cats {
  font-size: 14px; line-height: 1.8;
}
.fnh-cats a {
  color: var(--green); text-decoration: underline; font-weight: 700;
}
.fnh-cats a:hover { opacity: .8; }

/* Блок фактов (два столбца) */
.fnh-facts {
  grid-row: 1; padding-top: 2px;
}
.fnh-fact {
  font-size: 13px; color: #555;
  line-height: 1.6; margin-bottom: 3px;
}
.fnh-fact b {
  color: #000; font-weight: 700;
  display: inline-block; min-width: 76px;
}

/* Кнопка СКАЧАТЬ — строка под hero */
.fnh-dlrow {
  display: flex; align-items: center;
  gap: 24px; margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

/* Лайтбокс кнопки */
.img-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  cursor: default;
}
.img-overlay img {
  max-width: 88vw; max-height: 88vh;
  border-radius: 4px; display: block;
}
.img-overlay-close {
  position: absolute; top: 14px; right: 18px;
  color: #fff; font-size: 34px; cursor: pointer;
  background: none; border: none; line-height: 1;
  opacity: .8; transition: opacity .1s;
}
.img-overlay-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.55); border: none; cursor: pointer;
  color: #fff; font-size: 34px; border-radius: 50%;
  width: 52px; height: 52px; display: flex;
  align-items: center; justify-content: center;
  transition: background .13s; line-height: 1;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(0,0,0,.75); }

/* Убрать старый .full-news-head если есть */
.full-news-head { display: none !important; }

/* Адаптив для fnh */
@media (max-width: 1000px) {
  .fnh { grid-template-columns: 120px 1fr 190px; }
  .fnh-facts:last-child { display: none; }
}
@media (max-width: 720px) {
  .fnh {
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
  }
  .fnh-ico  { grid-row: 1; grid-column: 1; }
  .fnh-info { grid-row: 1; grid-column: 2; }
  .fnh-facts {
    grid-row: 2; grid-column: 1 / -1;
    display: flex; flex-wrap: wrap; gap: 0 24px;
    padding-top: 12px; margin-top: 10px;
    border-top: 1px solid var(--line);
  }
  .fnh-facts:last-child { display: flex; }
  .fnh-fact { width: calc(50% - 12px); }
  .fnh-ico img { width: 90px; height: 90px; }
  .fnh-title { font-size: 18px; }
}
@media (max-width: 480px) {
  .fnh { grid-template-columns: 80px 1fr; gap: 0 14px; }
  .fnh-ico img { width: 72px; height: 72px; }
  .fnh-title { font-size: 16px; }
  .fnh-fact { width: 100%; }
  .fnh-dlrow { flex-wrap: wrap; }
  .full-news-d { width: 100%; justify-content: center; }
}
