/* ===========================
   MODERN ARTICLE DESIGN
   Clean, professional news article layout
   =========================== */

.news-article {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===========================
   ARTICLE HEADER - HERO SECTION
   =========================== */

.article-header {
  position: relative;
  min-height: 30vh;
  display: flex;
  align-items: end;
  overflow: hidden;
}

.article-header-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.article-header-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
  color: white;
}

/* ===========================
   BREADCRUMB NAVIGATION
   =========================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item:hover {
  color: white;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.6);
  font-weight: bold;
}

/* ===========================
   ARTICLE META HEADER
   =========================== */

.article-meta-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-category-badge {
  background: #8e4248;
  color: #333333;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.unpublished-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 53, 69, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.article-date {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===========================
   ARTICLE TITLE & LEAD
   =========================== */

.article-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.article-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 800px;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===========================
   ARTICLE MAIN CONTENT
   =========================== */

.article-main {
  position: relative;
  z-index: 3;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.article-body {
  background: #ffffff;
  border-radius: 1rem;
  padding: 3rem;
  margin-bottom: 3rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #333333;
}

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

.article-body strong {
  color: #8e4248;
  font-weight: 600;
}

/* ===========================
   ARTICLE FOOTER
   =========================== */

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}

.publication-info {
  color: #666666;
  font-size: 0.875rem;
  line-height: 1.5;
}

.publication-info strong {
  color: #333333;
}

/* ===========================
   ACTION BUTTONS - Use existing button components
   =========================== */

.article-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===========================
   ADMIN PANEL
   =========================== */

.admin-panel {
  background: #fef3f0;
  border: 1px solid #cccccc;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
}

.admin-panel h3 {
  color: #8e4248;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-panel h3::before {
  content: "⚙️";
  font-size: 1.2rem;
}

.admin-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
  .article-header {
    min-height: 25vh;
  }

  .article-header-content {
    padding: 2rem 0;
  }

  .article-meta-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-lead {
    font-size: 1.1rem;
  }

  .article-body {
    padding: 2rem 1rem;
    margin: 0;
    border-radius: 0.5rem;
  }

  .article-footer {
    flex-direction: column;
    gap: 1.5rem;
  }

  .article-actions {
    width: 100%;
    justify-content: center;
  }

  .admin-panel {
    margin: 1rem 0;
    border-radius: 0.5rem;
    padding: 1rem;
  }

  .admin-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .breadcrumb {
    font-size: 0.8rem;
  }

  .article-category-badge,
  .unpublished-status {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.7;
  }
}
