/* ============================================================
   BLOG V3 — PREMIUM EDITORIAL REDESIGN
   Elegant, magazine-style layout with natural reading flow
   ============================================================ */

/* ---------- Page Base ---------- */
.blog-page-v3 {
  min-height: 100vh;
  background: #080808;
  color: #e8e4de;
}

/* ---------- Progress Bar ---------- */
.blogv3-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #c8a44e, #e8a838, #daa520);
  z-index: 9999;
  transition: width 0.08s linear;
}

/* ============================================================
   HERO — CINEMATIC EDITORIAL
   ============================================================ */
.blogv3-hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  max-height: 960px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  overflow: hidden;
}

.blogv3-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blogv3-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  transition: transform 0.08s linear;
  filter: brightness(0.85) contrast(1.05);
}

.blogv3-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8,8,8,0.15) 0%,
      rgba(8,8,8,0.0) 25%,
      rgba(8,8,8,0.35) 60%,
      rgba(8,8,8,0.92) 85%,
      rgba(8,8,8,1) 100%
    ),
    linear-gradient(90deg, rgba(8,8,8,0.55) 0%, transparent 55%);
}

.blogv3-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px, 5vw, 80px) 72px;
  max-width: 720px;
}

.blogv3-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #c8a44e;
  margin-bottom: 28px;
  padding: 8px 18px;
  border: 1px solid rgba(200,164,78,0.3);
  background: rgba(200,164,78,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.blogv3-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8a44e;
  animation: v3pulse 2.5s ease-in-out infinite;
}

@keyframes v3pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.blogv3-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(44px, 9vw, 96px);
  line-height: 0.92;
  color: #f5f1ea;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.blogv3-hero__title em {
  font-style: italic;
  font-weight: 500;
  color: #c8a44e;
}

.blogv3-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(232,228,222,0.55);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.blogv3-hero__meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.blogv3-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(232,228,222,0.45);
  letter-spacing: 0.04em;
}

.blogv3-hero__meta-item svg {
  stroke: #c8a44e;
  opacity: 0.6;
}

.blogv3-hero__meta-sep {
  color: rgba(232,228,222,0.2);
  font-size: 14px;
}

.blogv3-hero__scroll-cue {
  position: absolute;
  bottom: 36px;
  right: clamp(24px, 5vw, 80px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(232,228,222,0.35);
  transition: color 0.3s ease;
  animation: v3bounce 2.2s ease-in-out infinite;
}

.blogv3-hero__scroll-cue:hover {
  color: #c8a44e;
}

@keyframes v3bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ============================================================
   MAIN ARTICLE AREA
   ============================================================ */
.blogv3-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px clamp(20px, 4vw, 60px) 40px;
}

/* ============================================================
   ARTICLE CARDS — EDITORIAL STYLE
   ============================================================ */
.blogv3-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 72px 0;
  border-bottom: 1px solid rgba(200,164,78,0.08);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.blogv3-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.blogv3-card:last-child {
  border-bottom: none;
}

/* Alternate layout: even cards flip image to right */
.blogv3-card:nth-child(even) {
  direction: rtl;
}

.blogv3-card:nth-child(even) > * {
  direction: ltr;
}

/* Featured card — slightly bigger image ratio */
.blogv3-card--featured {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
}

/* ---------- Image ---------- */
.blogv3-card__img-link {
  display: block;
  text-decoration: none;
}

.blogv3-card__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: #111;
}

.blogv3-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s ease;
  filter: brightness(0.95) saturate(1.05);
}

.blogv3-card__img-wrap:hover .blogv3-card__img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1.1);
}

.blogv3-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,8,8,0.5) 100%);
  pointer-events: none;
}

.blogv3-card__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 16px;
  background: rgba(200,164,78,0.9);
  color: #0a0a0a;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

.blogv3-card__tag--rose {
  background: rgba(220,80,140,0.85);
  color: #fff;
}

.blogv3-card__tag--outline {
  background: rgba(8,8,8,0.5);
  color: #c8a44e;
  border: 1px solid rgba(200,164,78,0.5);
  backdrop-filter: blur(10px);
}

/* ---------- Body ---------- */
.blogv3-card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blogv3-card__topline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blogv3-card__date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(232,228,222,0.4);
  letter-spacing: 0.02em;
}

.blogv3-card__dot {
  color: rgba(232,228,222,0.2);
  font-size: 14px;
}

.blogv3-card__readtime {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #c8a44e;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

.blogv3-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  color: #f5f1ea;
  letter-spacing: -0.01em;
}

.blogv3-card__excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.78;
  color: rgba(232,228,222,0.5);
}

/* ---------- Details / Section ---------- */
.blogv3-card__details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 6px;
}

.blogv3-card__section h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c8a44e;
  margin-bottom: 8px;
}

.blogv3-card__section p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.82;
  color: rgba(232,228,222,0.48);
  margin-bottom: 6px;
}

.blogv3-card__section p:last-child {
  margin-bottom: 0;
}

.blogv3-card__section strong {
  color: #e8e4de;
  font-weight: 600;
}

/* ---------- Callout / Tip Box ---------- */
.blogv3-card__callout {
  display: flex;
  gap: 0;
  border-radius: 0 8px 8px 0;
  overflow: hidden;
  background: rgba(200,164,78,0.04);
  border: 1px solid rgba(200,164,78,0.1);
  border-left: none;
}

.blogv3-card__callout-accent {
  width: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #c8a44e, #a8842e);
}

.blogv3-card__callout--rose .blogv3-card__callout-accent {
  background: linear-gradient(180deg, #dc508c, #b83070);
}

.blogv3-card__callout--rose {
  background: rgba(220,80,140,0.04);
  border-color: rgba(220,80,140,0.1);
}

.blogv3-card__callout-body {
  padding: 18px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(232,228,222,0.6);
}

.blogv3-card__callout-body strong {
  color: #c8a44e;
  font-weight: 600;
}

.blogv3-card__callout--rose .blogv3-card__callout-body strong {
  color: #e8689e;
}

/* ---------- CTA Button ---------- */
.blogv3-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #c8a44e;
  border: 1px solid rgba(200,164,78,0.4);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.blogv3-card__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8a44e, #daa520);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.blogv3-card__cta:hover {
  color: #0a0a0a;
  border-color: #c8a44e;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200,164,78,0.25);
}

.blogv3-card__cta:hover::before {
  opacity: 1;
}

.blogv3-card__cta svg {
  transition: transform 0.3s ease;
}

.blogv3-card__cta:hover svg {
  transform: translateX(3px);
  stroke: #0a0a0a;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.blogv3-footer {
  background: #0c0c0c;
  border-top: 1px solid rgba(200,164,78,0.06);
  padding: 100px clamp(24px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blogv3-footer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,164,78,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.blogv3-footer__inner {
  position: relative;
  z-index: 1;
}

.blogv3-footer__eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(232,228,222,0.35);
  margin-bottom: 20px;
}

.blogv3-footer__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 60px);
  line-height: 1.08;
  color: #f5f1ea;
  margin-bottom: 40px;
}

.blogv3-footer__heading em {
  font-style: italic;
  font-weight: 500;
  color: #c8a44e;
}

.blogv3-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: linear-gradient(135deg, #c8a44e, #daa520);
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(200,164,78,0.2);
}

.blogv3-footer__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(200,164,78,0.35);
}

.blogv3-footer__btn svg {
  transition: transform 0.3s ease;
}

.blogv3-footer__btn:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .blogv3-card,
  .blogv3-card--featured {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .blogv3-hero {
    height: 75vh;
  }
}

@media (max-width: 768px) {
  .blogv3-hero {
    height: 80vh;
    min-height: 520px;
  }

  .blogv3-hero__title {
    font-size: clamp(36px, 11vw, 64px);
  }

  .blogv3-hero__scroll-cue {
    display: none;
  }

  .blogv3-card,
  .blogv3-card--featured {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }

  .blogv3-card:nth-child(even) {
    direction: ltr;
  }

  .blogv3-card__img-wrap {
    aspect-ratio: 16 / 10;
  }

  .blogv3-card__title {
    font-size: clamp(22px, 6vw, 32px);
  }

  .blogv3-card__callout {
    flex-direction: row;
  }

  .blogv3-main {
    padding: 32px clamp(16px, 4vw, 40px) 20px;
  }

  .blogv3-footer {
    padding: 64px 24px;
  }
}

@media (max-width: 480px) {
  .blogv3-hero__content {
    padding: 0 20px 48px;
  }

  .blogv3-hero__meta-row {
    gap: 8px;
  }

  .blogv3-card__cta {
    width: 100%;
    justify-content: center;
  }
}
