/* style/resources-latest-access-guide.css */

/* --- General Styles --- */
.page-resources-latest-access-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #f9f9f9); /* Inherit from shared or default light grey */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-latest-access-guide__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-resources-latest-access-guide__section-title {
  text-align: center;
  color: #26A9E0; /* Primary brand color */
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-latest-access-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-resources-latest-access-guide__content-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: justify;
}

.page-resources-latest-access-guide__content-block p {
  margin-bottom: 15px;
}

/* --- Hero Section --- */
.page-resources-latest-access-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #26A9E0, #a0dcf0); /* Light blue gradient */
  color: #ffffff;
}

.page-resources-latest-access-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-latest-access-guide__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-access-guide__intro-text {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-latest-access-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-resources-latest-access-guide__btn-primary,
.page-resources-latest-access-guide__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px; /* Ensure minimum width for buttons */
  box-sizing: border-box;
}

.page-resources-latest-access-guide__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-resources-latest-access-guide__btn-primary:hover {
  background: #d46d06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-access-guide__btn-secondary {
  background: #ffffff;
  color: #26A9E0; /* Primary brand color for secondary action */
  border: 2px solid #26A9E0;
}

.page-resources-latest-access-guide__btn-secondary:hover {
  background: #e0f6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-access-guide__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 1000px;
}

.page-resources-latest-access-guide__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* --- Image specific styles for content blocks --- */
.page-resources-latest-access-guide__image-left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 40%;
  height: auto;
  object-fit: cover;
}

.page-resources-latest-access-guide__image-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 40%;
  height: auto;
  object-fit: cover;
}

.page-resources-latest-access-guide__image-center {
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 80%;
  height: auto;
  object-fit: cover;
}

/* Clearfix for floating images */
.page-resources-latest-access-guide__content-block::after {
  content: "";
  display: table;
  clear: both;
}

/* --- Latest Links Section --- */
.page-resources-latest-access-guide__link-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-resources-latest-access-guide__link-list li a {
  display: block;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #26A9E0;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-latest-access-guide__link-list li a:hover {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Security Section --- */
.page-resources-latest-access-guide__checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-resources-latest-access-guide__checklist li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="%2326A9E0" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
}

.page-resources-latest-access-guide__checklist li strong {
  color: #26A9E0;
}

/* --- Optimization Section --- */
.page-resources-latest-access-guide__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-resources-latest-access-guide__list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="%2326A9E0"/></svg>') no-repeat left center;
  background-size: 8px;
  background-position: 8px center;
  padding-left: 30px;
  margin-bottom: 10px;
}

/* --- Games Section --- */
.page-resources-latest-access-guide__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-latest-access-guide__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}