/* News & Events Page Specific Styles */

/* Page Breadcrumb */
.page-breadcrumb {
  background: linear-gradient(135deg, #5e1e28 0%, #822b39 100%);
  padding: 12px 40px;
  border-bottom: none;
}

.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 12px;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.breadcrumb-item a i {
  font-size: 12px;
}

.breadcrumb-item a:hover {
  color: #f5c143;
  text-decoration: none;
}

.breadcrumb-item.active span {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Page Hero Banner with Rotating Background */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.page-hero-bg.active {
  opacity: 1;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(94, 30, 40, 0.92) 0%, rgba(130, 43, 57, 0.88) 50%, rgba(153, 27, 53, 0.85) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #f5c143;
  margin-bottom: 12px;
  animation: fadeInUp 0.6s ease-out;
}

.page-hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: #f5c143;
  margin: 16px auto;
  border-radius: 2px;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.page-hero-content p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

.news-events-content {
  background-color: #fff;
  padding: 80px 0;
  min-height: 100vh;
}

.news-events-content .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Filter Section */
.filter-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 2px solid #e0e0e0;
}

.filter-left {
  flex: 1;
}

.category-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn i {
  font-size: 16px;
}

.filter-btn:hover {
  border-color: #822b39;
  color: #822b39;
  background: #f9f9f9;
}

.filter-btn.active {
  background: #822b39;
  border-color: #822b39;
  color: white;
}

.filter-right {
  flex: 0 0 auto;
}

.search-box {
  display: flex;
  border: 2px solid #e0e0e0;
  border-radius: 0;
  overflow: hidden;
  background: white;
}

.search-box input {
  padding: 12px 20px;
  border: none;
  font-size: 14px;
  width: 300px;
  outline: none;
  font-family: inherit;
}

.search-btn {
  padding: 12px 24px;
  background: #822b39;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.search-btn:hover {
  background: #991b35;
}

/* Featured News Section */
.featured-news-section {
  margin-bottom: 80px;
}

.section-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid #f5c143;
  padding-bottom: 15px;
  display: inline-block;
}

.featured-news-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: white;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.featured-news-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 500px;
}

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

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

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #f5c143;
  color: #222;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 0;
}

.featured-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.category-tag {
  padding: 6px 16px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
}

.news-tag {
  background: #e74c3c;
}

.date-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #999;
  font-size: 13px;
  font-weight: 600;
}

.featured-content h3 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.featured-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.featured-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding: 25px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.stat-item i {
  font-size: 20px;
  color: #822b39;
}

.read-full-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #822b39;
  color: white;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.read-full-btn:hover {
  background: #991b35;
  transform: translateX(5px);
}

/* News Events Grid */
.news-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e0e0e0;
  border: 1px solid #e0e0e0;
  margin-bottom: 60px;
}

.news-event-card {
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

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

.category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 16px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  z-index: 2;
}

.news-badge {
  background: #e74c3c;
}

.event-badge {
  background: #3498db;
}

.press-badge {
  background: #2ecc71;
}

.media-badge {
  background: #9b59b6;
}

.media-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0;
}

.media-overlay i {
  font-size: 16px;
}

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #999;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.card-meta i {
  font-size: 12px;
}

.card-content h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 50px;
}

.card-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 20px;
  flex: 1;
}

.card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  font-size: 11px;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-info {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding: 15px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

.event-detail i {
  color: #822b39;
  font-size: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #822b39;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.card-link:hover {
  color: #991b35;
  gap: 12px;
}

.card-link i {
  transition: transform 0.3s ease;
}

.card-link:hover i {
  transform: translateX(3px);
}

.register-link {
  color: #3498db;
}

.register-link:hover {
  color: #2980b9;
}

/* Load More Section */
.load-more-section {
  text-align: center;
  margin-bottom: 80px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: white;
  border: 2px solid #822b39;
  color: #822b39;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: #822b39;
  color: white;
}

.load-more-btn i {
  font-size: 16px;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #822b39 0%, #991b35 100%);
  padding: 60px;
  border-radius: 0;
  margin-bottom: 0;
}

.newsletter-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #f5c143;
  flex-shrink: 0;
}

.newsletter-text {
  flex: 1;
  min-width: 250px;
}

.newsletter-text h3 {
  font-size: 28px;
  color: white;
  margin-bottom: 8px;
  font-weight: 800;
}

.newsletter-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 0;
  flex: 1;
  min-width: 300px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  border-radius: 0;
  outline: none;
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  border-color: #f5c143;
  background: rgba(255, 255, 255, 0.15);
}

.subscribe-btn {
  padding: 16px 32px;
  background: #f5c143;
  border: none;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.subscribe-btn:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
  .page-hero {
    height: 300px;
  }

  .page-hero-content h1 {
    font-size: 34px;
  }

  .page-hero-content p {
    font-size: 15px;
  }

  .hero-label {
    font-size: 12px;
    letter-spacing: 2px;
  }
}

@media (max-width: 1200px) {
  .news-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-news-card {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .filter-section {
    flex-direction: column;
    align-items: stretch;
  }

  .category-filters {
    justify-content: center;
  }

  .search-box input {
    width: 100%;
  }

  .news-events-grid {
    grid-template-columns: 1fr;
  }

  .featured-content {
    padding: 30px;
  }

  .featured-content h3 {
    font-size: 24px;
  }

  .featured-stats {
    flex-direction: column;
    gap: 15px;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .subscribe-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .filter-btn span {
    display: none;
  }

  .filter-btn {
    padding: 12px;
  }

  .featured-image {
    min-height: 300px;
  }

  .featured-content {
    padding: 20px;
  }

  .card-content {
    padding: 20px;
  }

  .newsletter-section {
    padding: 40px 20px;
  }

  .newsletter-text h3 {
    font-size: 22px;
  }

  .page-hero {
    height: 280px;
  }

  .page-hero-content h1 {
    font-size: 26px;
    letter-spacing: 1px;
  }

  .page-hero-content p {
    font-size: 14px;
  }

  .hero-label {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .hero-divider {
    width: 45px;
    margin: 12px auto;
  }
}

/* Hidden class for filtering */
.news-event-card.hidden {
  display: none;
}

/* Animation for cards appearing */
@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-event-card {
  animation: fadeInCard 0.5s ease-out;
}
