/* =============================================
   INDOCHINA — BLOG ARCHIVE PAGE STYLES
   Figma node 233:1031

   Fonts: Be Vietnam Pro (heading/title cards)
          Public Sans (body, dates, breadcrumb)
          DFVNTheSilverEditorial (section heading "Tin du lịch")
   ============================================= */



/* ── BLOG PAGE — MAIN CONTENT AREA ──────────────────────── */
.ic-blog-page {
  background: var(--ic-cream, #f2ead9);
  padding: 60px 0 80px;
  min-height: 60vh;
}

.ic-blog-page__inner {
  max-width: var(--width-container, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}


/* ── BLOG PAGE — HIGHLIGHT CARD (bài đầu tiên) ─────────── */
.ic-blog-page__highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 28px;
  min-height: 400px;
  transition: box-shadow 0.25s;
}

.ic-blog-page__highlight:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
}

.ic-blog-page__highlight-img {
  position: relative;
  overflow: hidden;
  background: #d9d9d9;
}

.ic-blog-page__highlight-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ic-blog-page__highlight:hover .ic-blog-page__highlight-img img {
  transform: scale(1.04);
}

.ic-blog-page__highlight-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px;
  gap: 16px;
}

.ic-blog-page__highlight-cat {
  display: inline-block;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ic-green, #19974a);
  background: #e8f5ee;
  padding: 4px 12px;
  border-radius: 20px;
  align-self: flex-start;
}

.ic-blog-page__highlight-title {
  font-family: var(--font-title);
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 700;
  color: #22292e;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 2px;
  transition: color 0.2s;
}

.ic-blog-page__highlight:hover .ic-blog-page__highlight-title {
  color: var(--ic-green, #19974a);
}

.ic-blog-page__highlight-excerpt {
  font-family: 'Public Sans', sans-serif;
  font-size: 15px;
  color: #6b6461;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── BLOG PAGE — POSTS GRID 4 COLS ──────────────────────── */
.ic-blog-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}


/* ── BLOG PAGE — POST CARD ───────────────────────────────── */
.ic-blog-page__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.ic-blog-page__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Image wrap — fixed height 214px theo Figma */
.ic-blog-page__card-img {
  position: relative;
  height: 214px;
  overflow: hidden;
  background: #d9d9d9;
  flex-shrink: 0;
}

.ic-blog-page__card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ic-blog-page__card:hover .ic-blog-page__card-img img {
  transform: scale(1.04);
}

.ic-blog-page__card-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d8d0c4, #e8e0d0);
}

/* Card body */
.ic-blog-page__card-body {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Title — Be Vietnam Pro SemiBold 16px */
.ic-blog-page__card-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #22292e;
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.ic-blog-page__card:hover .ic-blog-page__card-title {
  color: var(--ic-green, #19974a);
}

/* Date row */
.ic-blog-page__card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ic-grey, #8e8989);
  margin-top: auto;
}

.ic-blog-page__card-date i {
  font-size: 14px;
  color: var(--ic-grey, #8e8989);
}


/* ── RESPONSIVE ──────────────────────────────────────────── */

/* Tablet (≤ 960px) */
@media (max-width: 960px) {
  .ic-blog-page__grid               { grid-template-columns: repeat(2, 1fr); }
  .ic-blog-page__highlight-body     { padding: 32px 32px; }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
  .ic-blog-page                     { padding: 40px 0 60px; }
  .ic-blog-page__grid               { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ic-blog-page__card-img           { height: 170px; }
  .ic-blog-page__card-title         { font-size: 14px; }
  .ic-blog-page__highlight          { grid-template-columns: 1fr; min-height: auto; }
  .ic-blog-page__highlight-img      { height: 220px; }
  .ic-blog-page__highlight-body     { padding: 24px 20px; }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .ic-blog-page__grid                    { grid-template-columns: 1fr; }
  .ic-blog-page__card-img                { height: 200px; }
  .ic-blog-pagination                    { gap: 4px; }
  .ic-blog-pagination .page-numbers      { min-width: 36px; height: 36px; font-size: 13px; }
}
