/* ══════════════════════════════════════
   NOC Emirates — blog.css
   Page-specific styles for blog & news
   ══════════════════════════════════════ */

.blog-hero {
  padding-bottom: 2rem;
  max-width: 800px;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 4rem 6rem;
}

/* ── FEATURED POST ── */
.featured-post {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--steel);
  border: 1px solid var(--border);
  margin-bottom: 4rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.featured-post:hover {
  border-color: rgba(232,93,4,0.4);
}

.featured-image {
  background-size: cover;
  background-position: center;
  min-height: 380px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-post:hover .featured-image {
  transform: scale(1.02);
}

.featured-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.post-category {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
}

.post-divider {
  color: var(--border);
  font-size: 0.8rem;
}

.post-date, .post-read {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.featured-content p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* ── POST GRID ── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--steel);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.blog-card:hover {
  border-color: rgba(232,93,4,0.4);
  transform: translateY(-4px);
}

.card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .card-image {
  transform: scale(1.03);
}

.card-body {
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.card-body p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.read-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}

.read-more .arrow {
  transition: transform 0.3s;
  color: var(--orange);
}

.read-more:hover {
  color: var(--orange);
}

.read-more:hover .arrow {
  transform: translateX(4px);
}

/* ── NEWSLETTER SIGNUP ── */
.newsletter-section {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 4rem;
  margin-bottom: 2rem;
}

.newsletter-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.newsletter-inner p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 0.8rem 1.2rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--orange);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .blog-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .featured-post {
    grid-template-columns: 1fr;
  }
  .featured-image {
    min-height: 280px;
  }
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .blog-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 110px;
  }
  .post-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .newsletter-section {
    padding: 3.5rem 1.5rem;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* ── SINGLE ARTICLE LAYOUT ── */
.article-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.article-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 160px 4rem 4.5rem;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,0.3) 0%, rgba(10,11,13,0.92) 100%);
  z-index: 1;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.back-to-blog {
  margin-bottom: 1.5rem;
}

.back-to-blog a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}

.back-to-blog a:hover {
  color: var(--orange);
  transform: translateX(-4px);
}

.article-hero-content h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 0.8rem;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* Reading Progress Bar */
.reading-progress-container {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.05);
  z-index: 999;
}

.reading-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  box-shadow: 0 0 10px var(--orange);
  transition: width 0.08s ease-out;
}

.article-content {
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--text);
}

.article-content p {
  margin-bottom: 2rem;
  font-weight: 300;
}

.article-content p strong {
  color: var(--white);
  font-weight: 500;
}

.article-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem !important;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.article-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5rem !important;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.article-content blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 2rem;
  margin: 3rem 0;
  font-size: 1.35rem;
  line-height: 1.65;
  font-style: italic;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
}

.article-content ul, .article-content ol {
  margin: 1.8rem 0 2.2rem 2.2rem;
  color: var(--text);
}

.article-content li {
  margin-bottom: 0.9rem;
  line-height: 1.8;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-top: 4rem;
  transition: all 0.3s;
}

.back-link:hover {
  color: var(--amber);
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .article-hero {
    min-height: 320px;
    padding: 110px 1.5rem 2.5rem;
  }
  .article-container {
    padding: 2.5rem 1.5rem 4rem;
  }
}
