:root {
  --primary-color: #017439; /* Main brand green */
  --secondary-color: #FFFFFF; /* White */
  --text-dark: #333333; /* Dark text for light backgrounds */
  --text-light: #FFFFFF; /* Light text for dark backgrounds */
  --btn-register-bg: #C30808; /* Register/Login button background */
  --btn-register-text: #FFFF00; /* Register/Login button text */
  --border-color: #e0e0e0; /* Light border color */
  --card-bg: #ffffff; /* Card background */
  --section-padding-desktop: 80px 0;
  --section-padding-mobile: 40px 15px;
}

.page-index-thomo-live-stream {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--secondary-color); /* Matches body background */
}

/* --- Global Container for sections --- */
.page-index-thomo-live-stream__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section Titles & Subtitles --- */
.page-index-thomo-live-stream__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-index-thomo-live-stream__section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-thomo-live-stream__sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* --- Card Styles --- */
.page-index-thomo-live-stream__card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color); /* Added for contrast */
}

.page-index-thomo-live-stream__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index-thomo-live-stream__card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block; /* Ensure no extra space below image */
  margin-left: auto;
  margin-right: auto;
}

/* --- Button Styles --- */
.page-index-thomo-live-stream__cta-button,
.page-index-thomo-live-stream__btn-primary,
.page-index-thomo-live-stream__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  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-index-thomo-live-stream__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-index-thomo-live-stream__btn-primary:hover {
  background: #006030; /* Darker green */
  border-color: #006030;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-thomo-live-stream__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-index-thomo-live-stream__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Register/Login Specific Buttons */
.page-index-thomo-live-stream__btn-register,
.page-index-thomo-live-stream__btn-login {
  background: var(--btn-register-bg);
  color: var(--btn-register-text);
  border: 2px solid var(--btn-register-bg);
}

.page-index-thomo-live-stream__btn-register:hover,
.page-index-thomo-live-stream__btn-login:hover {
  background: #a80707; /* Darker red */
  border-color: #a80707;
  transform: translateY(-2px);
  box-shadow: 0 44px 10px rgba(0, 0, 0, 0.15);
}

/* --- Hero Section --- */
.page-index-thomo-live-stream__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-padding-desktop);
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #01743980 100%); /* Slight gradient for depth */
  overflow: hidden; /* To contain image */
}

.page-index-thomo-live-stream__hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above potential background effects */
}