/* ═══════════════════════════════════════════════
   EL-SHERIEF LIMOUSINE — blog.css
   Blog listing page
═══════════════════════════════════════════════ */

.blog-main {
  position: relative; z-index: 2;
  background: var(--bg) !important;
  padding: 90px 48px 40px;
}

/* FEATURED POST */
.blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--border2);
  border-radius: 24px; overflow: hidden;
  text-decoration: none; color: inherit;
  margin-bottom: 64px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.blog-featured:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.1); transform: translateY(-3px); }
.blog-featured-img { position: relative; min-height: 340px; background: var(--bg3); overflow: hidden; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.05); }
.blog-featured-body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.blog-tag-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.blog-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 5px 12px; border-radius: 100px; text-transform: uppercase;
}
.blog-cat {
  font-size: 11px; font-weight: 700; color: var(--accent);
  letter-spacing: 1px; text-transform: uppercase;
}
.blog-featured-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(24px, 2.4vw, 34px); font-weight: 900;
  color: var(--ink); letter-spacing: -1px; line-height: 1.15;
  margin-bottom: 16px;
}
.blog-featured-excerpt { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; max-width: 520px; }
.blog-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted2); margin-bottom: 20px; }
.blog-meta-dot { opacity: 0.5; }
.blog-read-more { font-size: 14px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.blog-featured:hover .blog-read-more { gap: 10px; }

/* GRID */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border2);
  border-radius: 20px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: all 0.3s;
}
.blog-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.08); transform: translateY(-5px); border-color: transparent; }
.blog-card-img { position: relative; height: 200px; background: var(--bg3); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.08); }
.blog-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(20,22,27,0.85); backdrop-filter: blur(6px);
  color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
}
.blog-play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20,22,27,0.28);
}
.blog-play-badge svg { width: 52px; height: 52px; padding: 16px; background: rgba(255,255,255,0.92); border-radius: 50%; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.blog-play-badge.sm { background: transparent; align-items: flex-end; justify-content: flex-end; padding: 12px; }
.blog-play-badge.sm svg { width: 30px; height: 30px; padding: 8px; }
.blog-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 18px; font-weight: 800; color: var(--ink);
  line-height: 1.25; letter-spacing: -0.4px; margin-bottom: 10px;
}
.blog-card-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }

@media (max-width: 1024px) {
  .blog-main { padding: 64px 32px 32px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 260px; }
  .blog-featured-body { padding: 36px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
/* Mobile breakpoint aligned to the site-wide 860px convention (matches the
   nav's hamburger switch and every other page's CSS) — previously this was
   640px, so between 641–860px the blog page kept its desktop grid/CTA
   layout while the nav had already switched to mobile, and the CTA strip
   below used different spacing/rules than the same component on every
   other page. */
@media (max-width: 860px) {
  .blog-main { padding: 48px 20px 24px; }
  .blog-featured-body { padding: 28px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .blog-featured-body { padding: 24px 20px; }
}

/* ── CTA STRIP (shared pattern) ── */
.cta-strip {
  position: relative; z-index: 2;
  padding: 100px 48px;
  background: rgba(246,244,238,0.65);
}
.cta-inner {
  background: var(--ink); border-radius: 24px; padding: 72px 64px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px);
  background-size: 48px 48px;
}
.cta-glow {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,132,43,0.3), transparent 70%);
  pointer-events: none;
}
.cta-text { position: relative; z-index: 1; }
.cta-tag { font-size: 11px; color: rgba(255,255,255,0.35); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.cta-h {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(28px, 2.8vw, 44px); font-weight: 900;
  color: #fff; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 14px;
}
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 420px; }
.cta-btns { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.btn-blue {
  background: var(--accent); color: #fff;
  padding: 15px 32px; border: none;
  font-family: 'Instrument Sans', sans-serif; font-weight: 600; font-size: 14px;
  border-radius: 100px; cursor: pointer; transition: all 0.25s; white-space: nowrap;
  text-decoration: none; text-align: center;
}
.btn-blue:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(184,132,43,0.4); }
.btn-ghost-w {
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7);
  padding: 14px 32px; border: 1.5px solid rgba(255,255,255,0.1);
  font-family: 'Instrument Sans', sans-serif; font-weight: 500; font-size: 14px;
  border-radius: 100px; cursor: pointer; transition: all 0.25s; white-space: nowrap;
  text-align: center; text-decoration: none;
}
.btn-ghost-w:hover { border-color: rgba(255,255,255,0.35); color: #fff; }

@media (max-width: 1024px) {
  .cta-strip { padding: 80px 32px; }
}
/* Aligned to the same 860px breakpoint the CTA strip uses on every other
   page (services, products, about, product-details) — this used to be
   640px here, which left the strip stuck in its cramped desktop
   two-column layout, with the glow orb still showing, on all the
   viewport widths where the rest of the site had already gone mobile. */
@media (max-width: 860px) {
  .cta-strip { padding: 56px 20px; }
  .cta-inner { grid-template-columns: 1fr; padding: 36px 24px; text-align: left; border-radius: 20px; }
  .cta-btns { flex-direction: row; flex-wrap: wrap; }
  .cta-glow { display: none; }
}
@media (max-width: 480px) {
  .cta-btns { flex-direction: column; }
}
