/* style/news.css */

/* Custom CSS Variables for this page (optional, if needed) */
:root {
  --primary-color: #017439; /* Brand Green */
  --secondary-color: #FFFFFF; /* White */
  --accent-color: #C30808; /* Register/Login Button Red */
  --button-text-color: #FFFF00; /* Register/Login Button Yellow Text */
  --text-dark: #333333;
  --text-light: #f0f0f0;
  --border-light: #e0e0e0;
}

/* Base Styles for the Page Content */
.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Body background is white */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-news__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-news__section-title--light {
  color: var(--text-light);
}

.page-news__section-title--light::after {
  background-color: var(--text-light);
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__read-more-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}