/* ========================================
   Council Articles - Premium Design
   ======================================== */

:root {
  --primary: #263370;
  --primary-light: #3a4a8f;
  --secondary: #0c7fae;
  --accent: #42b07a;
  --dark: #0a1628;
  --light: #f8fafc;
  --gray: #6b7280;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(38, 51, 112, 0.08);
  --shadow-md: 0 8px 30px rgba(38, 51, 112, 0.12);
  --shadow-lg: 0 20px 50px rgba(38, 51, 112, 0.18);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 50px;
  
  /* Article Type Colors */
  --type-article: #263370;
  --type-video: #dc2626;
  --type-gallery: #7c3aed;
  --type-document: #ea580c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--light);
  color: #1f2937;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========================================
   Hero Section
   ======================================== */
.articles-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  overflow: hidden;
}

.articles-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.articles-hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--light);
  border-radius: 50% 50% 0 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
  color: var(--accent);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-title span {
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 12px;
  background: rgba(66, 176, 122, 0.4);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .articles-hero {
    padding: 140px 0 80px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ========================================
   Filter Section
   ======================================== */
.filter-section {
  position: relative;
  z-index: 10;
  margin-top: -40px;
  padding: 0 20px;
}

.filter-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--light);
  color: var(--gray);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, currentColor 0%, currentColor 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover i {
  transform: scale(1.1);
}

.filter-btn.active {
  color: var(--white);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Filter Button Types */
.filter-btn[data-filter="all"].active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.filter-btn[data-filter="Default"] {
  border-color: rgba(38, 51, 112, 0.2);
}
    .filter-btn[data-filter="Default"].active {
        background: linear-gradient(135deg, var(--type-article) 0%, var(--primary-light) 100%);
    }

.filter-btn[data-filter="Video"] {
  border-color: rgba(220, 38, 38, 0.2);
}
.filter-btn[data-filter="Video"].active {
  background: linear-gradient(135deg, var(--type-video) 0%, #ef4444 100%);
}

.filter-btn[data-filter="Gallery"] {
  border-color: rgba(124, 58, 237, 0.2);
}
.filter-btn[data-filter="Gallery"].active {
  background: linear-gradient(135deg, var(--type-gallery) 0%, #8b5cf6 100%);
}

.filter-btn[data-filter="Document"] {
  border-color: rgba(234, 88, 12, 0.2);
}
.filter-btn[data-filter="Document"].active {
  background: linear-gradient(135deg, var(--type-document) 0%, #f97316 100%);
}

@media (max-width: 768px) {
  .filter-container {
    padding: 16px;
    gap: 8px;
  }
  
  .filter-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* ========================================
   Articles Grid
   ======================================== */
.articles-section {
  padding: 60px 0 100px;
}

.articles-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Article Card - Premium Design
   ======================================== */
.article-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Card Image Container */
.card-image-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-card:hover .card-image {
  transform: scale(1.08);
}

/* Image Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.article-card:hover .card-overlay {
  opacity: 1;
}

/* Type Badge */
.type-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.type-badge i {
  font-size: 0.9rem;
}

/* Type Badge Colors */
.type-badge.type-article {
  background: linear-gradient(135deg, var(--type-article) 0%, var(--primary-light) 100%);
}

.type-badge.type-video {
  background: linear-gradient(135deg, var(--type-video) 0%, #ef4444 100%);
}

.type-badge.type-gallery {
  background: linear-gradient(135deg, var(--type-gallery) 0%, #8b5cf6 100%);
}

.type-badge.type-document {
  background: linear-gradient(135deg, var(--type-document) 0%, #f97316 100%);
}

/* Date Badge */
.date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.date-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.date-month {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  margin-top: 4px;
}

/* Play Button for Video */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  z-index: 3;
  opacity: 0;
}

.play-button i {
  font-size: 1.8rem;
  color: var(--type-video);
  margin-right: -4px;
}

.article-card[data-type="Video"]:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.article-card[data-type="Video"]:hover .play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--white);
}

/* Gallery Preview */
.gallery-preview {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 4px;
  z-index: 3;
  opacity: 0.8;
  transform: translateY(10px);
  transition: var(--transition);
}

.article-card[data-type="Gallery"]:hover .gallery-preview {
  opacity: 1;
  transform: translateY(0);
}

.gallery-thumb {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.gallery-thumb:hover {
  transform: scale(1.1);
  z-index: 1;
}

.gallery-more {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.9);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Document Icon */
.document-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(234, 88, 12, 0.9);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.article-card[data-type="Document"]:hover .document-icon {
  opacity: 1;
  transform: translateY(0);
}

/* Card Content */
.card-content {
  padding: 24px;
}

.card-category {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(12, 127, 174, 0.08);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.article-card:hover .card-title {
  color: var(--secondary);
}

.card-excerpt {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

/* Card Footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray);
}

.meta-item i {
  font-size: 0.9rem;
  color: var(--secondary);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.read-more-btn:hover {
  transform: translateX(-4px);
  box-shadow: 0 4px 15px rgba(12, 127, 174, 0.3);
}

.read-more-btn i {
  transition: transform 0.3s ease;
}

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

/* ========================================
   Modals - Premium Design
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  width: 100%;
  max-height: 100vh;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

/* Modal Close Button */
.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--dark);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
  background: var(--white);
  transform: rotate(90deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Article Modal
   ======================================== */
.article-modal .modal-container {
  max-width: 900px;
  overflow-y: auto;
}

.article-modal-header {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.article-modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-modal-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

.article-modal-title-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
}

.article-modal-category {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.article-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.article-modal-body {
  padding: 40px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray);
}

.article-meta-item i {
  color: var(--secondary);
}

.article-content {
  font-size: 1.1rem;
  line-height: 2;
  color: #374151;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 16px;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-right: 24px;
}

.article-content li {
  margin-bottom: 12px;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.share-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.share-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.share-btn:hover {
  transform: translateY(-3px);
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #4267B2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

/* ========================================
   Video Modal
   ======================================== */
.video-modal .modal-container {
  max-width: 1000px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-modal .modal-close {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.video-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 24px;
  background: var(--dark);
  color: var(--white);
}

.video-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.video-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ========================================
   Gallery Modal
   ======================================== */
.gallery-modal .modal-container {
  max-width: 1100px;
  background: var(--dark);
}

.gallery-modal .modal-close {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.gallery-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gallery-main {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.gallery-main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gallery-nav.prev { right: 20px; }
.gallery-nav.next { left: 20px; }

.gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
  overflow-x: auto;
  justify-content: center;
}

.gallery-thumb-item {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
  flex-shrink: 0;
  border: 2px solid transparent;
}

.gallery-thumb-item:hover,
.gallery-thumb-item.active {
  opacity: 1;
  border-color: var(--accent);
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-info {
  padding: 20px 24px;
  background: var(--dark);
}

.gallery-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.gallery-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Document Modal
   ======================================== */
.document-modal .modal-container {
  max-width: 800px;
}

.document-preview {
  height: 500px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.document-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.document-placeholder {
  text-align: center;
  padding: 40px;
}

.document-icon-large {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--type-document) 0%, #f97316 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.document-icon-large i {
  font-size: 3rem;
  color: var(--white);
}

.document-filename {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.document-size {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.document-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.doc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.doc-action-btn.primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(12, 127, 174, 0.3);
}

.doc-action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12, 127, 174, 0.4);
}

.doc-action-btn.secondary {
  background: var(--light);
  color: var(--dark);
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.doc-action-btn.secondary:hover {
  background: var(--white);
  border-color: var(--secondary);
  color: var(--secondary);
}

.document-info {
  padding: 24px 32px;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.document-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.document-description {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 991px) {
  .article-modal-header {
    height: 280px;
  }
  
  .article-modal-title-wrapper {
    padding: 24px;
  }
  
  .article-modal-title {
    font-size: 1.5rem;
  }
  
  .article-modal-body {
    padding: 24px;
  }
  
  .gallery-main {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .article-meta-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .document-actions {
    flex-direction: column;
  }
  
  .gallery-nav {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   Empty State
   ======================================== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(12, 127, 174, 0.1) 0%, rgba(66, 176, 122, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.empty-icon i {
  font-size: 2.5rem;
  color: var(--secondary);
}

.empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.empty-text {
  font-size: 1rem;
  color: var(--gray);
}
