/* ===== Reviews page: Telegram-style feed ===== */

.reviews-hero{
  background: #f7fbff;
  border-bottom: 1px solid rgba(15,59,105,.08);
  padding: 56px 0 34px;
}

.reviews-hero__grid{
  display: grid;
  grid-template-columns: 1fr;
}

.reviews-hero__text{
  max-width: 820px;
}

.reviews-hero h1{
  margin: 0 0 14px;
  font-size: 52px;
  line-height: 1.05;
  color: #0f3b69;
}

.reviews-hero__lead{
  margin: 0 0 18px;
  font-size: 18px;
  color: #244a73;
  line-height: 1.6;
}

.reviews-hero__actions{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.ghost-btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(15,59,105,.16);
  background: #ffffff;
  color: #0f3b69;
  text-decoration: none;
  font-weight: 700;
}

.ghost-btn:hover{
  filter: brightness(0.98);
}

.reviews-hero__note{
  margin-top: 14px;
  font-size: 13px;
  color: #6b7280;
}

/* Toolbar */
.reviews-toolbar{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.reviews-toolbar__title{
  font-weight: 900;
  color: #0f3b69;
  font-size: 18px;
}

.reviews-toolbar__hint{
  color: #6b7280;
  font-size: 14px;
}

/* Feed */
.tg-feed{
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 980px;
}

.tg-item{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
}

.tg-avatar{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5effb;
  border: 1px solid #dbeafe;
}

.tg-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tg-avatar span{
  font-weight: 900;
  color: #0f3b69;
}

/* Telegram-like bubble */
.tg-bubble{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  position: relative;
}

/* little “tail” */
.tg-bubble::before{
  content: "";
  position: absolute;
  left: -6px;
  top: 16px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  transform: rotate(45deg);
}

.tg-head{
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 8px;
}

.tg-name{
  font-weight: 600;
  color: #2a7de1; /* телеграм-синий */
  font-size: 14px;
}

.tg-meta{
  color: #8e8e93;
  font-size: 12px;
}

.tg-text{
  color: #1f2937;
  font-size: 14px;
  line-height: 1.55;
}

.tg-foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
}

.tg-date{
  color: #9ca3af;
}

.tg-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2a7de1;
  font-weight: 600;
  text-decoration: none;
}

.tg-link:hover{
  text-decoration: underline;
}

/* More */
.reviews-more{
  margin-top: 20px;
  max-width: 980px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.reviews-more__hint{
  color: #6b7280;
  font-size: 13px;
}

/* Mobile */
@media (max-width: 900px){
  .reviews-hero h1{ font-size: 38px; }
  .tg-item{ grid-template-columns: 46px 1fr; }
  .tg-avatar{ width: 46px; height: 46px; }
  .tg-bubble::before{ top: 14px; }
}

.reviews-page{
  background: #f5f7f8; /* фон чата Telegram */
}

.reviews-page .container{
  background: transparent;
}

/* убираем подчеркивание у бренд-ссылок */
.brand,
.brand:visited,
.brand:hover,
.brand:active {
  text-decoration: none;
  color: inherit;
}

.brand *{
  text-decoration: none !important;
}

.hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 800;
}
/* ===== Telegram Light look ===== */

.reviews-page{
  background: #eef3f7;            /* фон чата */
  padding-top: 28px;
  padding-bottom: 34px;
}

.tg-feed{
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* один элемент ленты */
.tg-item{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

/* аватар как в телеге */
.tg-avatar{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #dbeafe;
  border: 1px solid rgba(0,0,0,.06);
}

.tg-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* пузырёк сообщения */
.tg-bubble{
  background: #ffffff;
  border-radius: 18px;
  padding: 10px 12px 9px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  position: relative;
}

/* хвостик пузыря */
.tg-bubble::before{
  content: "";
  position: absolute;
  left: -6px;
  top: 14px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: -1px 1px 0 rgba(0,0,0,.03);
}

/* шапка сообщения */
.tg-head{
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
}

.tg-name{
  font-weight: 700;
  color: #2a7de1;                /* телеграм-синий */
  font-size: 14px;
  line-height: 1.1;
}

.tg-meta{
  color: #8e8e93;
  font-size: 12px;
}

/* текст сообщения */
.tg-text{
  color: #111827;
  font-size: 14px;
  line-height: 1.5;
}

/* нижняя строка: подпись + ссылка */
.tg-foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.tg-date{
  color: #9aa0a6;
  font-size: 12px;
}

/* ссылка как “Открыть в Telegram” */
.tg-link{
  color: #2a7de1;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tg-link:hover{
  text-decoration: underline;
}

/* мобилка */
@media (max-width: 900px){
  .tg-item{ grid-template-columns: 40px 1fr; }
  .tg-avatar{ width: 40px; height: 40px; }
  .tg-bubble::before{ top: 12px; }
}

.nav a.active{
  color: #2a7de1;
  font-weight: 700;
}