/* style/resources-how-to-enjoy-betting.css */

/* Variables */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #EA7C07; /* For login/register buttons if needed */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-resources-how-to-enjoy-betting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  /* Apply header offset to the main content wrapper */
  padding-top: var(--header-offset, 120px);
}

.page-resources-how-to-enjoy-betting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-how-to-enjoy-betting__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-resources-how-to-enjoy-betting__container--reverse {
  flex-direction: row-reverse;
}

.page-resources-how-to-enjoy-betting__container--center {
  text-align: center;
}

.page-resources-how-to-enjoy-betting__content-block {
  flex: 1;
}

.page-resources-how-to-enjoy-betting__image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image block has a minimum width */
}

.page-resources-how-to-enjoy-betting__heading {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-how-to-enjoy-betting__section .page-resources-how-to-enjoy-betting__heading {
    text-align: left;
}

.page-resources-how-to-enjoy-betting__container--center .page-resources-how-to-enjoy-betting__heading {
    text-align: center;
}

.page-resources-how-to-enjoy-betting__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-resources-how-to-enjoy-betting__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources-how-to-enjoy-betting__link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-resources-how-to-enjoy-betting__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, var(--primary-color), var(--bg-light));
  overflow: hidden;
}

.page-resources-how-to-enjoy-betting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-how-to-enjoy-betting__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-how-to-enjoy-betting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-how-to-enjoy-betting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-how-to-enjoy-betting__hero-content h1 {
  font-size: 3.5em;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-how-to-enjoy-betting__hero-description {
  font-size: 1.3em;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-enjoy-betting__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-how-to-enjoy-betting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't push it out */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-resources-how-to-enjoy-betting__btn-primary {
  background: var(--secondary-color); /* Use #EA7C07 for primary CTA */
  color: var(--text-light);
  border: 2px solid transparent;
}

.page-resources-how-to-enjoy-betting__btn-primary:hover {
  background: #c26706; /* A slightly darker shade of EA7C07 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.page-resources-how-to-enjoy-betting__btn-secondary {
  background: var(--text-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-how-to-enjoy-betting__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Sections */
.page-resources-how-to-enjoy-betting__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-resources-how-to-enjoy-betting__section:last-of-type {
  border-bottom: none;
}

.page-resources-how-to-enjoy-betting__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-how-to-enjoy-betting__dark-section .page-resources-how-to-enjoy-betting__heading {
  color: var(--text-light);
}

.page-resources-how-to-enjoy-betting__dark-section .page-resources-how-to-enjoy-betting__link {
  color: var(--text-light);
  text-decoration: underline;
}

/* Image styling for content sections */
.page-resources-how-to-enjoy-betting img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  /* No filter property to change color */
}

/* Resource Grid */
.page-resources-how-to-enjoy-betting__resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-enjoy-betting__resource-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources-how-to-enjoy-betting__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-enjoy-betting__resource-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.page-resources-how-to-enjoy-betting__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  margin: 0;
  line-height: 1.3;
}