/* ---------------------------------------------
   DiPStrategy -- Latest Blog Section
   style/blog.css
   --------------------------------------------- */

.blog-section {
  background: #ffffff;
  padding: 80px 56px;
  position: relative;
}

/* --- HEADER -- centered --- */
.blog-header {
  text-align: center;
  margin-bottom: 64px;
}

.blog-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #093564;
  margin-bottom: 16px;
}

.blog-label-star {
  width: 16px;
  height: 16px;
  animation: spin 12s linear infinite;
  flex-shrink: 0;
}

.blog-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(28px, 3.5vw, 48px);
  color: #093564;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.blog-headline strong {
  font-weight: 900;
}

.blog-subtext {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: rgba(9,53,100,0.45);
  letter-spacing: 0.04em;
}

/* --- CARD GRID --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

/* --- CARD --- */
.blog-card {
  background: #f2f2f2;
  border: 8px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

/* Thumbnail -- 150x150 fixed */
.blog-card-thumb {
  width: 150px;
  height: 150px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* Placeholder thumbnail */
.blog-card-thumb-placeholder {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #d8d8d8 0%, #e8e8e8 50%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-card-thumb-placeholder svg {
  width: 28px;
  height: 28px;
  opacity: 0.25;
  fill: #093564;
}

/* Card body */
.blog-card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.blog-card-category {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #DEFF2D;
  background: #093564;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  align-self: flex-start;
}

.blog-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: #093564;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card-date {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: rgba(9,53,100,0.35);
  letter-spacing: 0.06em;
}

.blog-card-read {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #093564;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.blog-card:hover .blog-card-read { opacity: 1; }
.blog-card-read svg { width: 12px; height: 12px; }

/* --- VIEW ALL LINK --- */
.blog-footer {
  text-align: center;
  margin-top: 48px;
}

.blog-all-link {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(9,53,100,0.45);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.blog-all-link:hover { color: #093564; }
.blog-all-link svg { width: 16px; height: 16px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .blog-section { padding: 80px 24px; }
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; }
}
