/* ==========================================================================
   BLOG DETAIL ARTICLE STYLES — WAREZONE RELOCATIONS
   Matching references/blog.mp4
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Article Hero Banner
   -------------------------------------------------------------------------- */
.blog-detail-hero {
  padding: 16px;
  background-color: #FFFFFF;
}

.blog-detail-hero-banner {
  width: 100%;
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
  min-height: 560px;
  max-height: 860px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  background-color: #1A1815;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-detail-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-detail-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
}

.blog-detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  max-width: 960px;
}

.blog-detail-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.blog-detail-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.blog-detail-category:hover {
  background: rgba(255, 255, 255, 0.3);
}

.blog-detail-date {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.blog-detail-read-time {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.blog-detail-hero-title {
  font-family: var(--font-serif, "Instrument Serif", Georgia, serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
}

.blog-detail-author-row {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. Editorial Article Body
   -------------------------------------------------------------------------- */
.blog-detail-body {
  padding: 80px 0 100px 0;
  background-color: #FFFFFF;
}

.blog-article-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  color: #222222;
  font-size: 17px;
  line-height: 1.75;
}

.blog-article-container p {
  margin: 0 0 24px 0;
  color: #333333;
}

.blog-article-container h2 {
  font-family: var(--font-serif, "Instrument Serif", Georgia, serif);
  font-size: 34px;
  font-weight: 400;
  color: #111111;
  margin: 48px 0 20px 0;
  letter-spacing: -0.01em;
}

.blog-article-container h2:first-child {
  margin-top: 0;
}

.blog-article-container h3 {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 18px;
  font-weight: 600;
  color: #111111;
  margin: 36px 0 14px 0;
}

.blog-article-container ul {
  list-style: disc;
  padding-left: 24px;
  margin: 0 0 32px 0;
}

.blog-article-container ul li {
  margin-bottom: 12px;
  color: #333333;
  line-height: 1.65;
}

.blog-article-container ul li strong {
  color: #111111;
  font-weight: 600;
}

/* Pro Tip Callout Card */
.pro-tip-card {
  background-color: #F8F8F8;
  border-radius: 18px;
  padding: 24px 28px;
  margin: 36px 0;
  border: 1px solid #ECECEC;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  color: #222222;
  font-size: 16px;
  line-height: 1.6;
}

.pro-tip-card strong {
  font-weight: 700;
  color: #111111;
}

/* Inline Editorial Images */
.blog-inline-media {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin: 40px 0;
  background-color: #F0F0F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-inline-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   3. Social Share Bar
   -------------------------------------------------------------------------- */
.blog-share-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #EFEFEF;
  flex-wrap: wrap;
}

.blog-share-label {
  font-size: 14px;
  font-weight: 600;
  color: #111111;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F4F4F4;
  color: #222222;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.blog-share-btn img {
  width: 20px;
  height: 20px;
  display: block;
}

.blog-share-btn:hover {
  background: #111111;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. Related Articles Section
   -------------------------------------------------------------------------- */
.blog-related-section {
  padding: 80px 0 120px 0;
  background-color: #FFFFFF;
  border-top: 1px solid #F0F0F0;
}

.container-custom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.blog-related-title {
  font-family: var(--font-serif, "Instrument Serif", Georgia, serif);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 400;
  color: #111111;
  margin: 0 0 40px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
}

.blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 20px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.blog-img-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background-color: #EFEFEF;
}

.blog-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img-container img {
  transform: scale(1.04);
}

.blog-card-title {
  font-family: var(--font-serif, "Instrument Serif", Georgia, serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-dark, #111111);
  margin: 0;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: #444444;
}

.blog-card-meta {
  font-size: 13px;
  color: #999999;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   5. Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .blog-detail-hero-banner {
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    min-height: 500px;
    border-radius: 24px;
  }
  .blog-detail-hero-content {
    padding: 36px 30px;
  }
}

@media (max-width: 768px) {
  .blog-detail-hero {
    padding: 10px;
  }

  .blog-detail-hero-banner {
    height: calc(100vh - 20px);
    height: calc(100dvh - 20px);
    min-height: 460px;
    border-radius: 20px;
  }

  .blog-detail-hero-content {
    padding: 24px 20px;
  }

  .blog-detail-body {
    padding: 50px 0 70px 0;
  }

  .blog-article-container {
    font-size: 16px;
    line-height: 1.7;
  }

  .blog-article-container h2 {
    font-size: 28px;
    margin: 36px 0 16px 0;
  }

  .blog-related-section {
    padding: 60px 0 90px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
