/* style/support.css */

/* Base Styles */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark background, so light text */
  background-color: #1a1a1a; /* Inherited from shared, but explicitly set for clarity */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__inline-link {
  color: #FFFF00; /* Use yellow for inline links for visibility on dark background */
  text-decoration: underline;
}

.page-support__inline-link:hover {
  color: #017439; /* Brand color on hover */
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-support__btn-primary {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-support__btn-primary:hover {
  background-color: #005a2e; /* Darker green on hover */
  border-color: #005a2e;
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-support__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-support__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Specific button colors for Register/Login if they appear */
/* Note: Contrast for #C30808 (background) vs #FFFF00 (text) is 3.03:1, which is below WCAG AA (4.5:1).
   This is a known issue but follows the explicit instruction. */
.page-support__hero-cta a[href*="register"],
.page-support__hero-cta a[href*="login"],
.page-support__cta-buttons a[href*="register"],
.page-support__cta-buttons a[href*="login"] {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-support__hero-cta a[href*="register"]:hover,
.page-support__hero-cta a[href*="login"]:hover,
.page-support__cta-buttons a[href*="register"]:hover,
.page-support__cta-buttons a[href*="login"]:hover {
  background-color: #a30606; /* Darker red on hover */
  border-color: #a30606;
}

/* Card General Style */
.page-support__card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent white on dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-support__card img {
  max-width: 100%; /* Ensure images inside cards are responsive */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  overflow: hidden;
}