/* ================================================================
   REVIEW VIEW PAGE — /reviews/{slug}
   Extends public/style.css, không override base classes.
================================================================ */

/* ── Title & meta ─────────────────────────────────────────────── */
.review-title {
  font-family: 'Starling', Georgia, serif;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .review-title { font-size: 1.5rem; }
}

.review-standfirst {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 12px;
}

.review-meta {
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 12px;
}

/* ── Hero photo ───────────────────────────────────────────────── */
.review-hero-img {
  max-height: 520px;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* ── Executive summary panel ─────────────────────────────────── */
.review-exec-panel {
  background: #eef3f9;
  border-left: 4px solid var(--navy);
  padding: 20px 24px;
}

/* ── Review fields (flight details) ──────────────────────────── */
.review-fields {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.review-field-item {
  padding: 6px 0;
}

.review-field-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2px;
}

.review-field-value {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}

/* ── Star ratings ─────────────────────────────────────────────── */
.review-ratings {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.review-ratings-table {
  width: 100%;
  border-collapse: collapse;
}

.review-ratings-table tr + tr td {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.review-ratings-table td {
  padding: 5px 0;
  vertical-align: middle;
}

.review-rating-label {
  font-size: 0.85rem;
  color: var(--text);
  width: 45%;
  padding-right: 12px;
}

.review-rating-stars {
  white-space: nowrap;
}

.review-rating-value {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: right;
  padding-left: 8px;
  min-width: 30px;
}

.review-star {
  color: #e6a817;
  font-size: 13px;
}

/* ── Hot / Not / X Factor ──────────────────────────────────────  */
.review-summary-col {
  padding: 0 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.review-summary-col:first-child { padding-left: 0; }
.review-summary-col:last-child  { padding-right: 0; border-right: 0; }

.review-summary-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-summary-hot     .review-summary-header { color: #c0392b; }
.review-summary-not     .review-summary-header { color: var(--navy); }
.review-summary-xfactor .review-summary-header { color: #1a6b9a; }

.review-summary-list {
  margin: 0;
  padding-left: 16px;
  font-size: 0.83rem;
  color: var(--text);
  line-height: 1.6;
}

.review-summary-list li + li { margin-top: 3px; }

/* ── Body content ─────────────────────────────────────────────── */
.review-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.review-body p { margin-bottom: 1.2em; }

.review-body img {
  max-width: 100%;
  height: auto;
}

/* ── Section headings ─────────────────────────────────────────── */
.review-section-title {
  font-family: 'Starling', Georgia, serif;
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}

/* ── Tags ─────────────────────────────────────────────────────── */
.review-tag-pill {
  display: inline-block;
  padding: 4px 12px;
  margin: 3px 3px 3px 0;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.review-tag-pill:hover {
  background: var(--red);
  color: #fff;
}

/* ── Author bio ───────────────────────────────────────────────── */
.review-author-bio {
  background: var(--light);
  border-top: 2px solid var(--navy);
}

.review-author-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.review-author-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Ad slot ─────────────────────────────────────────────────── */
.review-ad-slot {
  background: #f0f0f0;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .review-exec-panel { padding: 16px; }

  .review-summary-col {
    flex: 0 0 100%;
    max-width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 0;
  }

  .review-summary-col:last-child { border-bottom: 0; }
}
