/* ============================================
   BLOG SECTION — DESIGN 1: EDITORIAL GRID
   Prefix: bs1-
   Light + Dark mode
   Fully responsive
   ============================================ */

.blog-section {
  padding: 72px 0 80px;
  background: var(--bg, #fafafa);
  transition: background 0.3s;
}

body.dark-mode .blog-section {
  background: #111;
}

.bs1-wrapper {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── HEADER ── */
.bs1-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

.bs1-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bs1-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold, #c9943a);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bs1-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold, #c9943a);
  border-radius: 2px;
}

.bs1-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--text, #1a1a1a);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

body.dark-mode .bs1-title {
  color: #f5f5f5;
}

.bs1-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  max-width: 360px;
}

.bs1-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin: 0;
  text-align: right;
}

body.dark-mode .bs1-subtitle {
  color: #999;
}

.bs1-viewall {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  text-decoration: none;
  border-bottom: 1.5px solid var(--text, #1a1a1a);
  padding-bottom: 2px;
  transition: gap 0.25s ease, color 0.2s, border-color 0.2s;
}

.bs1-viewall:hover {
  gap: 11px;
  color: var(--gold, #c9943a);
  border-color: var(--gold, #c9943a);
}

body.dark-mode .bs1-viewall {
  color: #e5e5e5;
  border-color: #e5e5e5;
}

body.dark-mode .bs1-viewall:hover {
  color: var(--gold, #c9943a);
  border-color: var(--gold, #c9943a);
}

/* ── DIVIDER ── */
.bs1-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold, #c9943a) 0%, transparent 60%);
  margin-bottom: 36px;
  opacity: 0.35;
}

body.dark-mode .bs1-divider {
  opacity: 0.2;
}

/* ── GRID ── */
.bs1-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ── CARD BASE ── */
.bs1-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bs1-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

body.dark-mode .bs1-card {
  background: #1c1c1e;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

body.dark-mode .bs1-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* ── FEATURED CARD ── */
.bs1-card-featured {
  grid-row: span 2;
}

.bs1-card-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  height: 320px;
  flex-shrink: 0;
}

.bs1-card-img-wrap-sm {
  height: 190px;
}

.bs1-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.bs1-card-img-mobile {
  display: none;
}

.bs1-card-img-wrap:hover .bs1-card-img {
  transform: scale(1.04);
}

.bs1-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.bs1-cat-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gold, #c9943a);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── CARD BODY ── */
.bs1-card-body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bs1-card-body-sm {
  padding: 18px 18px 16px;
  gap: 8px;
}

.bs1-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bs1-card-date,
.bs1-card-read {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #aaa;
  font-weight: 500;
}

body.dark-mode .bs1-card-date,
body.dark-mode .bs1-card-read {
  color: #666;
}

.bs1-meta-dot {
  color: #ccc;
  font-size: 12px;
}

.bs1-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text, #1a1a1a);
  margin: 0;
  letter-spacing: -0.01em;
}

body.dark-mode .bs1-card-title {
  color: #f0f0f0;
}

.bs1-card-title-sm {
  font-size: 17px;
  line-height: 1.35;
}

.bs1-card-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #666;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.dark-mode .bs1-card-excerpt {
  color: #888;
}

.bs1-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold, #c9943a);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.bs1-read-link:hover {
  gap: 10px;
}

/* ── RIGHT COLUMN ── */
.bs1-col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bs1-col-right .bs1-card-sm {
  flex-direction: row;
}

.bs1-col-right .bs1-card-img-wrap-sm {
  width: 160px;
  min-width: 160px;
  height: auto;
  min-height: 160px;
  border-radius: 0;
}

.bs1-col-right .bs1-card-body-sm {
  flex: 1;
}

/* ── MOBILE VIEW ALL ── */
.bs1-mobile-viewall {
  display: none;
  margin-top: 32px;
  text-align: center;
}

.bs1-viewall-mobile {
  border-bottom: none;
  background: var(--gold, #c9943a);
  color: #fff !important;
  border: none !important;
  padding: 13px 28px;
  border-radius: 40px;
  font-size: 14px;
  justify-content: center;
}

.bs1-viewall-mobile:hover {
  background: #b8822e;
  color: #fff !important;
  gap: 11px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .bs1-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .bs1-header-right {
    align-items: flex-start;
    max-width: 100%;
  }
  .bs1-subtitle {
    text-align: left;
  }
  .bs1-header-right .bs1-viewall {
    display: none;
  }
  .bs1-mobile-viewall {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 52px 0 60px;
  }
  .bs1-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bs1-card-featured {
    grid-row: span 1;
  }
  .bs1-col-right {
    gap: 16px;
  }
  .bs1-col-right .bs1-card-sm {
    flex-direction: column;
  }
  .bs1-col-right .bs1-card-img-wrap-sm {
    width: 100%;
    min-width: unset;
    height: 200px;
  }
  .bs1-card-img {
    display: none;
  }
  .bs1-card-img-mobile {
    display: block;
  }
}

@media (max-width: 480px) {
  .bs1-wrapper {
    width: 94%;
  }
  .bs1-card-img-wrap {
    height: 220px;
  }
  .bs1-card-title {
    font-size: 19px;
  }
  .bs1-card-title-sm {
    font-size: 15px;
  }
  .bs1-card-body {
    padding: 18px 16px 16px;
  }
}