/* style/resources-sodo-latest-news.css */

/* Variables for colors */
:root {
  --sodo-primary-color: #0A2463; /* Tech Blue */
  --sodo-secondary-color: #FFD700; /* Imperial Gold */
  --sodo-text-light: #F0F2F5; /* Light grey for text on dark background */
  --sodo-text-dark: #333333; /* Dark grey for text on light background */
  --sodo-bg-light: #FFFFFF; /* White background */
  --sodo-bg-dark: #071A40; /* Slightly darker than primary for contrast */
}

/* Base styles for the page content */
.page-resources-sodo-latest-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--sodo-text-dark);
  background-color: var(--sodo-bg-light);
}

.page-resources-sodo-latest-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-sodo-latest-news__hero {
  background: linear-gradient(135deg, var(--sodo-primary-color), var(--sodo-bg-dark));
  color: var(--sodo-text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.page-resources-sodo-latest-news__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--sodo-secondary-color);
  font-weight: 700;
  line-height: 1.2;
}

.page-resources-sodo-latest-news__subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 800px;
  opacity: 0.9;
}

/* Article Section */
.page-resources-sodo-latest-news__article-section {
  padding: 60px 0;
  background-color: var(--sodo-bg-light);
}

.page-resources-sodo-latest-news__article-content {
  max-width: 800px; /* Optimal width for reading */
  padding: 20px;
  background-color: var(--sodo-bg-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-resources-sodo-latest-news__intro-paragraph {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: var(--sodo-text-dark);
}

.page-resources-sodo-latest-news__heading {
  font-size: 2.2em;
  color: var(--sodo-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  border-bottom: 2px solid var(--sodo-secondary-color);
  padding-bottom: 10px;
}

.page-resources-sodo-latest-news__sub-heading {
  font-size: 1.6em;
  color: var(--sodo-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-resources-sodo-latest-news__article-content p {
  margin-bottom: 18px;
  font-size: 1em;
  line-height: 1.7;
}

.page-resources-sodo-latest-news__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-sodo-latest-news__list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-resources-sodo-latest-news__list li {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--sodo-text-dark);
}

.page-resources-sodo-latest-news__list li strong {
  color: var(--sodo-primary-color);
}

/* Buttons */
.page-resources-sodo-latest-news__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  margin-top: 20px;
}

.page-resources-sodo-latest-news__button--primary {
  background-color: var(--sodo-secondary-color);
  color: var(--sodo-primary-color);
  border: 2px solid var(--sodo-secondary-color);
}

.page-resources-sodo-latest-news__button--primary:hover {
  background-color: #e6c200; /* Darker gold */
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-sodo-latest-news__button--secondary {
  background-color: var(--sodo-primary-color);
  color: var(--sodo-secondary-color);
  border: 2px solid var(--sodo-secondary-color);
  margin-left: 15px;
}

.page-resources-sodo-latest-news__button--secondary:hover {
  background-color: var(--sodo-bg-dark);
  color: var(--sodo-secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 36, 99, 0.4);
}

/* Return link */
.page-resources-sodo-latest-news__return-link {
  display: inline-block;
  margin-top: 40px;
  color: var(--sodo-primary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--sodo-primary-color);
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-resources-sodo-latest-news__return-link:hover {
  color: var(--sodo-secondary-color);
  border-color: var(--sodo-secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-sodo-latest-news__title {
    font-size: 2.5em;
  }

  .page-resources-sodo-latest-news__subtitle {
    font-size: 1.2em;
  }

  .page-resources-sodo-latest-news__heading {
    font-size: 1.8em;
  }

  .page-resources-sodo-latest-news__sub-heading {
    font-size: 1.4em;
  }

  .page-resources-sodo-latest-news__article-content {
    padding: 15px;
  }

  .page-resources-sodo-latest-news__button {
    padding: 12px 25px;
    font-size: 1em;
    margin-top: 15px;
  }

  .page-resources-sodo-latest-news__button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-resources-sodo-latest-news__hero {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-sodo-latest-news__title {
    font-size: 2em;
  }

  .page-resources-sodo-latest-news__subtitle {
    font-size: 1em;
  }

  .page-resources-sodo-latest-news__heading {
    font-size: 1.6em;
  }

  .page-resources-sodo-latest-news__button {
    width: 100%;
    margin-top: 10px;
  }

  .page-resources-sodo-latest-news__button--secondary {
    margin-left: 0;
  }
}