﻿.hhaber-wrap {
  max-width: 1240px;
  margin: 20px auto;
  padding: 0 14px;
}

.hhaber-page-title {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
  color: #10141e;
}

.hhaber-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hhaber-card {
  display: block;
  text-decoration: none;
  color: #111;
  border: 1px solid #d8dbe3;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.hhaber-card-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #f1f3f7;
}

.hhaber-card-body { padding: 12px; }
.hhaber-card-title { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
.hhaber-card-summary { margin: 0; font-size: 15px; line-height: 1.5; color: #1e2535; }

.hhaber-detail-wrap .hhaber-text { font-size: 18px; line-height: 1.6; color: #151b26; }
.hhaber-meta { font-size: 16px; color: #0f1520; margin: 8px 0; }

.hhaber-main-image-wrap {
  margin: 10px 0 14px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d8dbe3;
  background: #f1f3f7;
}

.hhaber-main-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.hhaber-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.hhaber-source-card {
  border: 1px solid #d8dbe3;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 10px;
  min-height: 210px;
  max-height: 210px;
  overflow: hidden;
}

.hhaber-source-image {
  width: 100px;
  min-width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  background: #f1f3f7;
}

.hhaber-source-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hhaber-source-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hhaber-source-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #1f2a3f;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hhaber-source-score { margin: 0; font-size: 13px; line-height: 1.3; color: #26324a; }
.hhaber-source-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hhaber-rate-form { display: inline-flex; gap: 8px; align-items: center; }

.hhaber-btn,
.hhaber-block button,
.hhaber-block select { font-size: 13px; }

.hhaber-block {
  margin-top: 16px;
  border: 1px solid #d8dbe3;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
}

.hhaber-block h3 { margin: 0 0 10px; font-size: 18px; }
.hhaber-input,
.hhaber-textarea {
  width: 100%;
  max-width: 620px;
  font-size: 14px;
  margin-bottom: 8px;
}

.hhaber-textarea { max-width: 100%; }
.hhaber-comment { margin-bottom: 10px; font-size: 14px; }
.hhaber-comment p { margin: 4px 0 0; line-height: 1.55; }

@media (max-width: 1100px) {
  .hhaber-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hhaber-grid { grid-template-columns: 1fr; }
  .hhaber-main-image { height: 240px; }
  .hhaber-source-card { min-height: 180px; max-height: 180px; }
  .hhaber-source-image { width: 86px; min-width: 86px; height: 86px; }
}

@media (max-width: 600px) {
  .hhaber-source-grid { grid-template-columns: 1fr; }
  .hhaber-source-card { min-height: 170px; max-height: 170px; }
}
