/* ========================================
   FACULTY PAGE SPECIFIC STYLES
   Faculty-specific styles only (common styles moved to common-components.css)
   ======================================== */

/* Faculty Hero Section */
.faculty-hero {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  background: var(--jinan-gold);
}

/* Faculty News Section - Enhanced */
.faculty-news-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 3rem 2rem;
  margin-top: 3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faculty-news-section h3 {
  color: #2c3e50;
  font-weight: 600;
}

.faculty-news-section h3 i {
  color: var(--jinan-gold, #cd9933);
}

.faculty-news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.faculty-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(49, 102, 103, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faculty-news-card:hover .news-overlay {
  opacity: 1;
}

.news-link {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.news-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  color: white;
}

.news-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  margin-bottom: 1rem;
}

.news-date {
  color: var(--jinan-gold, #cd9933);
  font-size: 0.875rem;
  font-weight: 500;
}

.news-title {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--jinan-gold, #cd9933);
}

.news-excerpt {
  color: #6b7280;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}

.news-read-more {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.news-read-more:hover {
  color: var(--jinan-gold, #cd9933);
  transform: translateX(5px);
}

/* Faculty Directory Title */
.tabber-section .embedded-content h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.tabber-section .embedded-content h3 i {
  color: var(--jinan-gold, #cd9933);
}

/* Responsive Design - Faculty Specific */
@media (max-width: 768px) {
  .faculty-news-section {
    padding: 2rem 1rem;
  }

  .news-image-container {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .news-image-container {
    height: 160px;
  }
}

/* RTL Support - Faculty Specific */
[dir="rtl"] .news-read-more:hover {
  transform: translateX(-5px);
}

/* Loading States - Faculty Specific */
.faculty-hero.loading {
  opacity: 0.7;
  pointer-events: none;
}

.faculty-hero.loading #banner-slide {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Print Styles - Faculty Specific */
@media print {
  .faculty-news-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .news-link {
    display: none;
  }
}
