/*
 * blog-archive-overlay.css — Insights archive (image-overlay design)
 * Reference: htmlblog/Blog 2.html
 * Loads AFTER blog-archive.css and overrides only the card visuals.
 */

/* Card hover gets a stronger lift + slight wash background */
.blog-archive-overlay .blog-card {
  transition:
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.blog-archive-overlay .blog-card:hover {
  box-shadow: 0 12px 32px rgba(31,71,136,0.18);
  transform: translateY(-6px);
  background: var(--off-white);
}

/* Image wrap is taller (4:3) and the gradient is permanent for legibility */
.blog-archive-overlay .blog-card .card-img-wrap { aspect-ratio: 4/3; }
.blog-archive-overlay .blog-card:hover .card-img-wrap img {
  transform: scale(1.05); filter: brightness(1.3);
}
.blog-archive-overlay .blog-card .card-img-wrap .tint {
  background: linear-gradient(to top,
    rgba(10,22,50,0.88) 0%,
    rgba(10,22,50,0.45) 45%,
    rgba(10,22,50,0.05) 100%);
  opacity: 1;
}
.blog-archive-overlay .blog-card:hover .card-img-wrap .tint { opacity: 0.6; }

/* Category pill — slightly thicker on overlay variant */
.blog-archive-overlay .card-category-pill {
  padding: 5px 11px; font-size: 8px; font-weight: 600; letter-spacing: 0.7px;
  border: 1px solid rgba(232,168,56,0.3); backdrop-filter: blur(8px);
  transition: all 0.2s var(--ease);
}
.blog-archive-overlay .blog-card:hover .card-category-pill {
  background: var(--accent); color: var(--navy-dark); border-color: var(--accent);
}

/* Larger hover read icon */
.blog-archive-overlay .card-read-icon span {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.4);
  transform: scale(0.75);
  box-shadow: 0 0 24px rgba(0,0,0,0.3);
}
.blog-archive-overlay .blog-card:hover .card-read-icon span { transform: scale(1); }

/* Text overlay pinned to bottom of the card image */
.blog-archive-overlay .card-overlay-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 16px; z-index: 2;
}
.blog-archive-overlay .card-overlay-text h3 {
  font-size: 15px; font-weight: 700; color: #fff;
  letter-spacing: -0.2px; line-height: 1.35; margin-bottom: 5px;
}
.blog-archive-overlay .blog-card.wide .card-overlay-text h3 { font-size: 18px; }
.blog-archive-overlay .card-overlay-text .card-article-meta {
  font-size: 11px; color: rgba(255,255,255,0.65); font-weight: 400;
}

/* Wide card — full-width image, overlay text inside the image (no second body) */
.blog-archive-overlay .blog-card.wide {
  display: flex; flex-direction: column;
}
.blog-archive-overlay .blog-card.wide .card-img-wrap { aspect-ratio: 16/7; height: auto; }
