/* Media Page Styles */
.media-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 20px 80px;
}

.media-section {
  margin-bottom: 80px;
}

/* Tab Interface */
.tab-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.tab-navigation {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.tab-button {
  flex: 1;
  padding: 20px 30px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
}

.tab-button:hover {
  background: #fff;
  color: #333;
}

.tab-button.active {
  background: #fff;
  color: #6026f4;
  border-bottom-color: #6026f4;
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: #fff;
}

/* Tab Content */
.tab-content {
  min-height: 400px;
}

.tab-pane {
  display: none;
  padding: 40px;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Placeholder */
.content-placeholder {
  text-align: center;
  padding: 40px 20px;
}

.content-placeholder h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.content-placeholder p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Newsroom Styles */
.newsroom-container {
  padding: 0;
}

.newsroom-header {
  text-align: center;
  margin-bottom: 50px;
}

.newsroom-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.newsroom-header p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* News Card */
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.news-card-link:hover {
  text-decoration: none;
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.news-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #6026f4;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-content {
  padding: 25px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.news-date {
  font-size: 0.9rem;
  color: #888;
  font-weight: 500;
}

.news-tag {
  background: #f8f9fa;
  color: #6026f4;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border: 2px solid #e9ecef;
  background: #fff;
  color: #666;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #6026f4;
  color: #6026f4;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-number:hover {
  border-color: #6026f4;
  color: #6026f4;
}

.page-number.active {
  background: #6026f4;
  border-color: #6026f4;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .media-container {
    padding: 6rem 15px 60px;
  }

  .tab-navigation {
    flex-wrap: wrap;
  }

  .tab-button {
    flex: 1 1 50%;
    padding: 15px 20px;
    font-size: 1rem;
    min-width: calc(50% - 1px);
  }

  .tab-pane {
    padding: 30px 20px;
  }

  .content-placeholder h2 {
    font-size: 1.5rem;
  }

  .content-placeholder p {
    font-size: 1rem;
  }

  /* Newsroom Responsive */
  .newsroom-header h2 {
    font-size: 2rem;
  }

  .newsroom-header p {
    font-size: 1.1rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-content {
    padding: 20px;
  }

  .news-title {
    font-size: 1.2rem;
  }

  .news-pagination {
    flex-wrap: wrap;
    gap: 10px;
  }

  .pagination-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .page-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .tab-button {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

/* Governance Section */
.governance-flex {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 40px 0 0 0;
}
.governance-chart-box,
.governance-org-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 32px 24px 24px 24px;
  min-width: 340px;
  max-width: 420px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.governance-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #222;
  text-align: center;
}

@media (max-width: 900px) {
  .governance-flex {
    flex-direction: column;
    align-items: stretch;
  }
  .governance-chart-box,
  .governance-org-box {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 32px;
  }
}

.governance-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}
