/* === FapRate: Review Page — Полный CSS (без дублей, по порядку из шаблона) === */

/* === Главный контейнер страницы === */
.rr-main-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 18px;
}

/* === Артикль-обёртка обзора (можно добавить стили при необходимости) === */
.rr-review-article {}

/

/* Хедер */
.rr-review-header {
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--clr-border);
  background: none;
}

.rr-review-title {
  font-size: 2.18em;
  font-weight: 800;
  color: var(--clr-title);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 0.38em;
  letter-spacing: -0.02em;
  flex-wrap: wrap;
}

.rr-review-score {
  display: inline-block;
  font-size: 0.60em;
  font-weight: 700;
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: 10px;
  padding: 4px 13px 4px 12px;
  margin-left: 0.22em;
  letter-spacing: 0.02em;
  vertical-align: middle;
  line-height: 1.14;
}

.rr-tagline {
  color: var(--clr-text-light);
  font-size: 1.08em;
  font-style: italic;
  margin-bottom: 0;
  margin-top: 5px;
}

/* Картинка — горизонтальная пропорция */
.rr-review-thumbnail {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 18px auto;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* Для новых браузеров */
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rr-review-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

/* Для браузеров без aspect-ratio — fallback через padding-top */
@supports not (aspect-ratio: 16 / 9) {
  .rr-review-thumbnail {
    height: 0;
    padding-top: 56.25%; /* 16:9 */
    position: relative;
  }
  .rr-review-thumbnail img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
  }
}

/* Кнопка Visit на всю ширину */
.rr-review-visit-wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px auto;
  display: flex;
}
.rr-visit-btn {
  background: var(--clr-accent);
  color: #fff;
  border-radius: 13px;
  padding: 16px 0;
  font-weight: 900;
  font-size: 1.23em;
  text-decoration: none;
  border: none;
  box-shadow: 0 1px 12px rgba(0,80,255,0.11);
  transition: background .15s, box-shadow .13s;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: center;
  letter-spacing: -0.02em;
}
.rr-visit-btn:hover,
.rr-visit-btn:focus {
  background: var(--clr-accent-hover);
  color: #fff;
  box-shadow: 0 3px 18px rgba(0,80,255,0.18);
}

/* Мобильная адаптация */
@media (max-width: 900px) {
  .rr-review-thumbnail,
  .rr-review-visit-wrap { max-width: 98vw; }
}
@media (max-width: 600px) {
  .rr-review-title { font-size: 1.16em; }
  .rr-review-score { font-size: 0.85em; padding: 3px 8px; }
  .rr-visit-btn { font-size: 1em; padding: 13px 0; border-radius: 10px; }
  .rr-review-visit-wrap { margin-bottom: 20px; }
}



/* === Мета-инфо: параметры, автор, дата === */
.rr-review-meta {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 28px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-block--parameters {
  background: var(--clr-bg-alt);
  border-radius: 14px;
  padding: 22px 20px 13px 20px;
  box-shadow: none;
  border: 1px solid var(--clr-border);
}
.review-parameters {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.param-item {
  padding: 0;
}
.param-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #ececec;
  padding: 8px 0 7px 0;
  font-size: 1em;
}
.param-row:last-child { border-bottom: none; }
.param-name {
  color: var(--clr-title);
  font-weight: 700;
  flex: 0 0 180px;
  font-size: 1em;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.param-value {
  color: var(--clr-text);
  font-weight: 500;
  font-size: 1.01em;
  flex: 1 1 0;
  min-width: 0;
  text-align: right;
  line-height: 1.3;
  word-break: break-word;
}
.param-value a {
  color: var(--clr-accent);
  text-decoration: underline dotted;
  transition: color .14s;
}
.param-value a:hover { color: var(--clr-accent-hover); }

@media (max-width: 700px) {
  .review-block--parameters { padding: 15px 8px 7px 8px; }
  .param-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 7px 0; }
  .param-name { font-size: 0.97em; flex: 1 1 0; }
  .param-value { font-size: 0.98em; text-align: left; }
}

/* Автор и дата */
.review-author-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.98em;
  color: var(--clr-text-light);
  padding-left: 2px;
}
.review-author {
  font-weight: 600;
  color: var(--clr-accent);
}
.review-date {
  color: #999;
  font-size: 0.97


/* === Универсальный блок обзора (review_block_*) === */
.review-block {
  margin-bottom: 30px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 18px 16px;
}
.review-block__title { font-size: 1.18em; font-weight: 700; margin-bottom: 12px; color: #2e7d32; }
.review-block__desc { color: #666; font-size: 1.02em; margin-bottom: 8px; }
.review-block--awards { background: #fff8ec; }
.review-block--log { background: #f3f7ff; }
.review-block--network { background: #f8f9fa; }
.review-block--parameters { background: #f7f7fa; }
.review-block--price { background: #f3fcf5; }
.review-block--rating { background: #f8f9fa; }



/* === Таблица цен (review_block_price) === */
.review-block--prices {
  background: var(--clr-bg-alt);
  border-radius: 14px;
  padding: 22px 20px 16px 20px;
  border: 1px solid var(--clr-border);
  margin-bottom: 20px;
}

.review-block__title {
  font-size: 1.18em;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2e7d32;
}

.review-price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-price-list__item {
  border-bottom: 1px solid #ececec;
  padding: 12px 0 5px 0;
  margin: 0;
  font-size: 1.07em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}
.review-price-list__item:last-child { border-bottom: none; }

/* Цена и скидка */
.review-price-list__value {
  font-weight: 900;
  font-size: 1.18em;
  color: #e63946;
  margin-right: 7px;
  letter-spacing: -0.01em;
}
.review-price-list__value s, .old-price {
  color: #b1b1b1;
  text-decoration: line-through;
  font-size: 0.99em;
  font-weight: 500;
  margin-right: 8px;
}
.new-price { color: #e63946; }

.review-price-list__label,
.review-price-list__label strong {
  font-weight: 700;
  color: var(--clr-title);
  font-size: 1.06em;
  margin-left: 4px;
}
.review-price-list__label a {
  display: inline-block;
  font-size: 0.89em;
  font-weight: 700;
  border-radius: 7px;
  padding: 2px 9px 1.5px 9px;
  margin-right: 7px;
  line-height: 1.05;
  background: #eefcff;
  color: #0aa3b8;
  border: 1px solid #b9eefc;
  text-decoration: none;
}
.review-price-list__rebill {
  color: #757575;
  font-size: 0.98em;
  font-weight: 500;
  margin-left: 8px;
}
.review-price-list__comment {
  color: #999;
  font-size: 0.97em;
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.45;
  display: block;
  flex-basis: 100%;
}

/* Вариант для lifetime и free */
.review-price-list__label a[href*="lifetime"] {
  background: #ffeccf;
  color: #b97e16;
  border-color: #ffdfb0;
}
.review-price-list__label a[href*="free-trial"] {
  background: #e8fbe8;
  color: #259d3f;
  border-color: #c9eec9;
}
.review-price-list__label a[href*="one-dollar-trial"] {
  background: #eefcff;
  color: #0aa3b8;
  border-color: #b9eefc;
}

@media (max-width: 700px) {
  .review-block--prices { padding: 13px 6px 7px 6px; }
  .review-price-list__item { font-size: 1em; gap: 4px 8px; }
  .review-price-list__value { font-size: 1.05em; }
}


/* === Блоки "Плюсы/Минусы" === */
.review-pros-cons, .rr-pros-cons { margin-bottom: 22px; }
.pros, .rr-pros, .cons, .rr-cons { margin-bottom: 0; }
.pros h3, .cons h3 { margin-bottom: 7px; }
.pros ul, .cons ul { margin-left: 18px; }
.pros li, .cons li { margin-bottom: 6px; }

/* === Контент обзора === */
.review-content, .rr-review-content, .formatted-content {
  font-size: 1.12em;
  color: #212121;
  line-height: 1.66;
  margin-bottom: 26px;
}

/* === Автор обзора === */
.author-box, .rr-author-box {
  display: flex;
  align-items: center;
  background: #f5f6fb;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  gap: 16px;
}
.author-box__img, .rr-author-img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.author-box__text, .rr-author-text { flex: 1 1 auto; }
.author-box__name, .rr-author-box strong { font-weight: 700; color: #313131; }
.author-box__bio { color: #555; font-size: 0.98em; }

/* === Рейтинг (review_rating) === */
.rating-list { margin: 0; padding: 0; list-style: none; }
.rating-list__item { display: flex; align-items: center; margin-bottom: 10px; }
.rating-list__label { min-width: 110px; color: #555; font-size: 0.97em; }
.rating-list__bar { flex: 1; height: 12px; background: #eee; border-radius: 8px; margin: 0 8px; overflow: hidden; position: relative; }
.rating-list__bar::after {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(90deg,#2e7d32 60%,#72e27e 100%);
  width: var(--bar,70%);
  position: absolute;
  left: 0; top: 0;
}
.rating-list__value,
.review-rating-value {
  font-weight: 700;
  color: #2e7d32;
  font-size: 1em;
  margin-left: 10px;
  min-width: 36px;
  text-align: right;
  display: inline-block;
}
.review-rating-total {
  font-size: 2em;
  font-weight: 800;
  color: #2e7d32;
  margin-top: 4px;
  margin-bottom: 10px;
  letter-spacing: -1px;
  display: block;
  text-align: left;
}

/* === Скриншоты (review_block_screenshots) === */
.review-screenshots, .rr-screenshots { margin-bottom: 30px; }
.review-screenshots-title { text-align: center; font-size: 1.16em; margin-bottom: 12px; }
.review-screenshots-slider, .rr-screenshots-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.review-screenshots-slider img { border-radius: 10px; }

/* === Блок Awards (review_block_awards) === */
.awards-list { margin: 0; padding: 0; list-style: none; }
.awards-list__item { margin-bottom: 8px; }
.awards-list__title { color: #ff9800; font-weight: 700; font-size: 1em; }
.awards-list__meta { color: #333; margin-left: 7px; font-size: 0.97em; }

/* === Update Log (review_block_log) === */
.log-list { margin: 0; padding: 0; list-style: none; }
.log-list__item { margin-bottom: 8px; }
.log-list__date { font-weight: 700; color: #2276b8; margin-right: 8px; }
.log-list__text { color: #3d4250; font-size: 0.99em; }

/* === Network (review_block_network) === */
.network-list { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }
.network-list__item { flex: 0 0 200px; }
.network-card { background: #fff; border-radius: 10px; box-shadow: 0 1px 6px rgba(30,30,60,0.04); padding: 12px; }

/* === Блоки related === */
.review-related-category, .review-related-network { margin-bottom: 24px; }
.group__item-title-wrap { margin-bottom: 12px; }
.group__item-title { font-size: 1.12em; font-weight: 700; }
.horizontal-scroll-cards {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 6px;
}
.rr-slide-card { min-width: 250px; }

/* === Сайдбар и блок Company info === */
.review-aside, .rr-aside { margin-top: 24px; }
.review-aside-block, .rr-company-info { margin-bottom: 18px; }
.rr-company-title { font-size: 1.06em; font-weight: 600; }
.rr-company-link a, .rr-company-link span { color: #2e7d32; font-weight: 600; text-decoration: none; }

/* --- Адаптив --- */
@media (max-width: 800px) {
  .rr-main-container { padding: 0 3vw; }
  .review-block { padding: 14px 5vw; }
  .network-list { gap: 8px; }
  .review-screenshots-slider, .rr-screenshots-row { gap: 6px; }
}
