/* ==========================================================================
   LINA STERNENFEE - NEWS & ARTICLE SYSTEM STYLES
   ========================================================================== */

/* --- News Hero Banner --- */
.news-hero {
  padding: 8rem 0 4rem;
  background: radial-gradient(circle at 50% 20%, #1e2850 0%, #0b1026 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 197, 66, 0.12);
}

.news-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(1.5px 1.5px at 15% 25%, rgba(255, 255, 255, 0.8), transparent),
              radial-gradient(1px 1px at 45% 65%, rgba(245, 197, 66, 0.7), transparent),
              radial-gradient(2px 2px at 80% 30%, rgba(255, 255, 255, 0.6), transparent),
              radial-gradient(1px 1px at 70% 85%, rgba(245, 197, 66, 0.8), transparent),
              radial-gradient(1.5px 1.5px at 30% 90%, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0.6;
  pointer-events: none;
  animation: stardustTwinkle 12s infinite alternate ease-in-out;
}

@keyframes stardustTwinkle {
  0% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-15px) scale(1.02); opacity: 0.5; }
}

.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 197, 66, 0.15);
  color: #f5c542;
  border: 1px solid rgba(245, 197, 66, 0.35);
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}

.news-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.news-hero h1 span.gold {
  color: #f5c542;
  background: linear-gradient(135deg, #ffe58f 0%, #f5c542 50%, #d49e1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.news-hero p.lead {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: #c9d2f0;
  line-height: 1.7;
}

/* --- Breadcrumb Navigation --- */
.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #8fa0cf;
  margin-bottom: 2rem;
}

.news-breadcrumb a {
  color: #c9d2f0;
  transition: color 0.2s;
}

.news-breadcrumb a:hover {
  color: #f5c542;
}

.news-breadcrumb span.sep {
  opacity: 0.4;
}

/* --- Filter & Category Tags (Overview) --- */
.news-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: -1.75rem auto 3.5rem;
  position: relative;
  z-index: 5;
}

.filter-btn {
  background: #141b33;
  color: #c9d2f0;
  border: 1px solid rgba(245, 197, 66, 0.2);
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.filter-btn:hover,
.filter-btn.active {
  background: #f5c542;
  color: #0b1026;
  border-color: #f5c542;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.35);
}

/* --- Featured Big Card --- */
.news-featured-card {
  background: linear-gradient(145deg, rgba(20, 27, 51, 0.9) 0%, rgba(11, 16, 38, 0.95) 100%);
  border: 1.5px solid rgba(245, 197, 66, 0.3);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-featured-card:hover {
  transform: translateY(-4px);
  border-color: #f5c542;
  box-shadow: 0 25px 60px rgba(245, 197, 66, 0.2);
}

.news-featured-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-featured-card:hover .news-featured-media img {
  transform: scale(1.04);
}

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

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8fa0cf;
  margin-bottom: 1rem;
}

.news-meta span.date {
  color: #f5c542;
  font-weight: 600;
}

.news-featured-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: #fff;
}

.news-featured-content p {
  color: #c9d2f0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --- News Grid Cards --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-bottom: 5rem;
}

.news-card {
  background: rgba(20, 27, 51, 0.75);
  border: 1px solid rgba(245, 197, 66, 0.15);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 66, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.news-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #0b1026;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-body h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 0.85rem;
  color: #fff;
  transition: color 0.2s;
}

.news-card:hover .news-card-body h3 {
  color: #f5c542;
}

.news-card-body p {
  color: #a9b7dc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f5c542;
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap 0.2s;
}

.news-readmore:hover {
  gap: 0.7rem;
}

/* ==========================================================================
   SINGLE ARTICLE TEMPLATE STYLING
   ========================================================================== */

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-header {
  padding: 7.5rem 0 3rem;
  text-align: center;
}

.article-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.9rem;
  line-height: 1.25;
  color: #fff;
  margin: 1.2rem auto;
  max-width: 820px;
}

.article-subtitle {
  font-size: 1.25rem;
  color: #c9d2f0;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 2rem;
  font-style: italic;
}

.article-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #8fa0cf;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245, 197, 66, 0.15);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 600;
}

.article-author img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #f5c542;
  object-fit: cover;
}

/* Hero Article Media */
.article-featured-image {
  margin: 1.5rem 0 3.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(245, 197, 66, 0.25);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-featured-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(to top, rgba(11, 16, 38, 0.95), transparent);
  font-size: 0.85rem;
  color: #c9d2f0;
}

/* Article Typography */
.article-body {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #dce3f7;
}

.article-body p {
  margin-bottom: 1.8rem;
}

.article-body p.lead {
  font-size: 1.35rem;
  line-height: 1.7;
  color: #fff;
  font-weight: 400;
  padding-bottom: 0.5rem;
}

.article-body h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  color: #fff;
  margin: 3.5rem 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.article-body h2::before {
  content: '✦';
  color: #f5c542;
  font-size: 1.25rem;
}

.article-body h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
  color: #f5c542;
  margin: 2.2rem 0 0.85rem;
}

/* --- Evolution Showcase / Side-by-Side Milestone Grid --- */
.milestone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin: 2.5rem 0;
}

.milestone-card {
  background: rgba(20, 27, 51, 0.8);
  border: 1px solid rgba(245, 197, 66, 0.2);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.milestone-card .milestone-img {
  height: 200px;
  overflow: hidden;
}

.milestone-card .milestone-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

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

.milestone-content {
  padding: 1.5rem;
}

.milestone-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #f5c542;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: block;
}

.milestone-content h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.milestone-content p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #b0bfdf;
  margin-bottom: 0;
}

/* --- The Creative Pipeline / Process Box --- */
.process-box {
  background: linear-gradient(160deg, #161e38 0%, #0d122b 100%);
  border: 2px solid rgba(245, 197, 66, 0.25);
  border-radius: 24px;
  padding: 2.8rem 2.2rem;
  margin: 3.5rem 0;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  position: relative;
}

.process-box-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.process-box-header h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.process-box-header p {
  color: #a9b7dc;
  font-size: 1rem;
  margin: 0;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  position: relative;
}

.pipeline-step {
  background: rgba(11, 16, 38, 0.6);
  border: 1px solid rgba(245, 197, 66, 0.2);
  border-radius: 16px;
  padding: 1.4rem 1.1rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}

.pipeline-step:hover {
  transform: translateY(-4px);
  border-color: #f5c542;
}

.step-num {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: #f5c542;
  color: #0b1026;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(245, 197, 66, 0.4);
}

.step-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.82rem;
  color: #a9b7dc;
  line-height: 1.45;
  margin: 0;
}

/* --- Quote Box --- */
.article-quote {
  margin: 3.5rem 0;
  padding: 2.2rem 2.8rem;
  background: radial-gradient(ellipse at center, #1b254b 0%, #111733 100%);
  border-left: 4px solid #f5c542;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
}

.article-quote::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4.5rem;
  font-family: Georgia, serif;
  color: rgba(245, 197, 66, 0.18);
  line-height: 1;
}

.article-quote blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  line-height: 1.65;
  color: #fff;
  font-style: italic;
  margin-bottom: 1rem;
}

.article-quote cite {
  display: block;
  font-size: 0.95rem;
  color: #f5c542;
  font-style: normal;
  font-weight: 600;
}

/* --- Key Takeaways Box --- */
.key-takeaways {
  background: rgba(245, 197, 66, 0.07);
  border: 1px solid rgba(245, 197, 66, 0.25);
  border-radius: 20px;
  padding: 2rem 2.2rem;
  margin: 3.5rem 0;
}

.key-takeaways h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  color: #f5c542;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.key-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-takeaways li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.9rem;
  color: #dce3f7;
  font-size: 1.05rem;
}

.key-takeaways li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f5c542;
  font-weight: bold;
}

/* --- Article Navigation & Author Card --- */
.article-footer {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(245, 197, 66, 0.2);
}

.author-card {
  background: rgba(20, 27, 51, 0.7);
  border: 1px solid rgba(245, 197, 66, 0.2);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}

.author-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid #f5c542;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.author-info span.role {
  color: #f5c542;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.6rem;
}

.author-info p {
  color: #a9b7dc;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* Read Next Banner */
.article-next-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: #141b33;
  padding: 1.8rem 2.2rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 197, 66, 0.15);
  margin-bottom: 3rem;
}

.article-next-nav a.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f5c542;
  border: 1px solid #f5c542;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.2s;
}

.article-next-nav a.btn-outline:hover {
  background: #f5c542;
  color: #0b1026;
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
  .news-featured-card {
    grid-template-columns: 1fr;
  }
  .news-featured-media {
    min-height: 260px;
  }
  .news-featured-content {
    padding: 2rem;
  }
  .pipeline-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .article-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .news-hero h1 {
    font-size: 2.1rem;
  }
  .article-title {
    font-size: 1.85rem;
  }
  .milestone-grid {
    grid-template-columns: 1fr;
  }
  .pipeline-steps {
    grid-template-columns: 1fr;
  }
  .article-quote {
    padding: 1.8rem 1.4rem;
  }
  .author-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .article-next-nav {
    flex-direction: column;
    text-align: center;
  }
}
