:root {
  --primary-red: #da291c;
  --dark-red: #b81f14;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --text-main: #2d3436;
  --text-muted: #636e72;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


#main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: transparent;
}


.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.page-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-red);
  border-radius: 2px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}


.month-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 60px;
  padding: 10px;
  background: var(--white);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.filter-btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--primary-red);
  background: rgba(218, 41, 28, 0.05);
}

.filter-btn.active {
  background: var(--primary-red);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(218, 41, 28, 0.3);
}


.featured-wrapper {
  margin-bottom: 60px;
}

.news-card.featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
  border: 1px solid var(--border-color);
}

.news-card.featured .card-image {
  height: 100%;
  position: relative;
}

.news-card.featured .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card.featured .card-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card.featured .card-title {
  font-size: 2rem;
  margin: 15px 0;
  line-height: 1.2;
}


.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}


.news-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.news-card .card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .card-image img {
  transform: scale(1.05);
}

.news-card .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-red);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.card-date::before {
  content: '📅';
  margin-right: 6px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.read-more-btn {
  background: transparent;
  border: none;
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.read-more-btn:hover {
  gap: 12px;
  color: var(--dark-red);
}


.press-modal.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.press-modal__panel {
  background: var(--white);
  width: 95%;
  max-width: 900px;
  max-height: 85vh;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.press-modal__top {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.press-modal__badge {
  background: rgba(218, 41, 28, 0.1);
  color: var(--primary-red);
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: 700;
  margin-right: 15px;
}

.press-modal__title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 20px 0;
  color: var(--text-main);
}

.press-modal__body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.press-modal__body h3 {
  margin: 30px 0 15px;
  color: var(--text-main);
}

.press-modal__body p {
  margin-bottom: 20px;
}

.press-modal__close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: var(--text-muted);
  transition: var(--transition);
  line-height: 1;
}

.press-modal__close:hover {
  color: var(--primary-red);
  transform: rotate(90deg);
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-card {
  animation: fadeInUp 0.5s ease backwards;
}


@media (max-width: 992px) {
  .news-card.featured {
    grid-template-columns: 1fr;
  }

  .news-card.featured .card-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .month-filters {
    border-radius: 20px;
  }

  .news-card.featured .card-content {
    padding: 30px;
  }

  .press-modal__panel {
    padding: 25px;
  }

  .press-modal__title {
    font-size: 1.5rem;
  }
}

.news-card.featured {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  position: relative;
  min-height: 400px;
}


.news-card.featured .card-image {
  flex: 1;
  height: auto;
  border-bottom: none;
}

.news-card.featured .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.news-card.featured .card-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.news-card.featured .card-date {
  position: static;
  background: none;
  color: #666;
  padding: 0;
  margin-bottom: 15px;
  box-shadow: none;
  font-weight: 600;
}


.news-card.featured .card-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.news-card.featured .card-excerpt {
  font-size: 1.1rem;
  margin-bottom: 30px;
}


@media (max-width: 992px) {
  .news-card.featured {
    flex-direction: column;
  }

  .news-card.featured .card-image {
    height: 250px;
  }
}

.press-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s ease;
}

.press-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.press-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.press-modal__panel {
  position: relative;
  background: var(--white, #fff);
  width: 95%;
  max-width: 800px;
  max-height: 85vh;
  border-radius: 16px;
  padding: 40px;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(30px);
  transition: transform 0.3s ease;
  z-index: 10001;
}

.press-modal.is-visible .press-modal__panel {
  transform: translateY(0);
}

.press-modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}

.press-modal__close:hover {
  color: var(--primary-red, #da291c);
}


.press-modal__top {
  margin-bottom: 20px;
}

.press-modal__badge {
  background: rgba(218, 41, 28, 0.1);
  color: var(--primary-red, #da291c);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 10px;
}

.press-modal__date {
  color: #666;
  font-size: 0.9rem;
}

.press-modal__title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.press-modal__body {
  line-height: 1.7;
  color: #333;
}

.press-modal__actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

@media (max-width: 768px) {
  .press-modal__panel {
    padding: 25px;
  }

  .press-modal__title {
    font-size: 1.4rem;
  }
}