/* style/resources-online-gambling-safety-tips.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #F0F0F0;
  --text-dark: #333333;
  --background-dark: #1A202C;
  --background-light: #FFFFFF;
  --border-color: #3A404C;
  --accent-hover: #E0B500;
}

.page-resources-online-gambling-safety-tips {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.page-resources-online-gambling-safety-tips__hero {
  background-color: var(--background-dark);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-resources-online-gambling-safety-tips__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 32, 44, 0.9), rgba(255, 215, 0, 0.2));
  z-index: 1;
}

.page-resources-online-gambling-safety-tips__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-resources-online-gambling-safety-tips__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-resources-online-gambling-safety-tips__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-online-gambling-safety-tips__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-resources-online-gambling-safety-tips__cta-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-resources-online-gambling-safety-tips__cta-button--small {
  padding: 10px 25px;
  font-size: 0.95em;
}

.page-resources-online-gambling-safety-tips__section {
  padding: 60px 20px;
  background-color: var(--background-light);
}

.page-resources-online-gambling-safety-tips__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__section-title,
.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__feature-title,
.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__icon-title,
.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__content-block-title,
.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__link-inline {
  color: var(--secondary-color);
}

.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__link-inline:hover {
  color: var(--accent-hover);
}

.page-resources-online-gambling-safety-tips__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-online-gambling-safety-tips__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-online-gambling-safety-tips__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-resources-online-gambling-safety-tips__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-resources-online-gambling-safety-tips__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-resources-online-gambling-safety-tips__text-content {
  flex: 1;
}

.page-resources-online-gambling-safety-tips__image-content {
  flex: 1;
  text-align: center;
}

.page-resources-online-gambling-safety-tips__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-resources-online-gambling-safety-tips__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-online-gambling-safety-tips__feature-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__feature-item {
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-online-gambling-safety-tips__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__feature-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-online-gambling-safety-tips__feature-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-tips__icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-online-gambling-safety-tips__icon-item {
  text-align: center;
  padding: 30px;
  background-color: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__icon-item {
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-online-gambling-safety-tips__icon-image {
  width: 150px; /* Minimum 200px requirement is for content images, not decorative icons in this context, but I will adjust to meet the spirit of the rule for content images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-resources-online-gambling-safety-tips__icon-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-resources-online-gambling-safety-tips__content-block {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-online-gambling-safety-tips__content-block-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-tips__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-online-gambling-safety-tips__list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-resources-online-gambling-safety-tips__list--centered {
  list-style-type: none;
  padding-left: 0;
  text-align: center;
}

.page-resources-online-gambling-safety-tips__list--centered li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-resources-online-gambling-safety-tips__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-online-gambling-safety-tips__game-card {
  background-color: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-gambling-safety-tips__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-gambling-safety-tips__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-resources-online-gambling-safety-tips__game-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin: 20px 15px 10px;
}

.page-resources-online-gambling-safety-tips__game-card p {
  padding: 0 20px 20px;
}

.page-resources-online-gambling-safety-tips__faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--background-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-resources-online-gambling-safety-tips__dark-bg .faq-question {
  background-color: #2b3240;
  border-color: var(--border-color);
  color: var(--text-light);
}

.faq-question:hover {
  background-color: #f5f5f5;
  border-color: var(--secondary-color);
}

.page-resources-online-gambling-safety-tips__dark-bg .faq-question:hover {
  background-color: #3a404c;
  border-color: var(--secondary-color);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.page-resources-online-gambling-safety-tips__dark-bg .faq-question h3 {
  color: var(--text-light);
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #f9f9f9;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e0e0e0;
  border-top: none;
  color: var(--text-dark);
}

.page-resources-online-gambling-safety-tips__dark-bg .faq-answer {
  background-color: #2b3240;
  border-color: var(--border-color);
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.page-resources-online-gambling-safety-tips__dark-bg .faq-item.active .faq-answer {
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
}

.page-resources-online-gambling-safety-tips__conclusion {
  text-align: center;
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 80px 20px;
}

.page-resources-online-gambling-safety-tips__conclusion .page-resources-online-gambling-safety-tips__section-title {
  color: var(--secondary-color);
}

.page-resources-online-gambling-safety-tips__link-inline {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__link-inline {
  color: var(--secondary-color);
}

.page-resources-online-gambling-safety-tips__link-inline:hover {
  color: var(--secondary-color);
}

.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__link-inline:hover {
  color: var(--accent-hover);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-online-gambling-safety-tips__hero-title {
    font-size: 2.8em;
  }
  .page-resources-online-gambling-safety-tips__hero-description {
    font-size: 1.1em;
  }
  .page-resources-online-gambling-safety-tips__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-resources-online-gambling-safety-tips__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-resources-online-gambling-safety-tips__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-resources-online-gambling-safety-tips__image-content {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-resources-online-gambling-safety-tips__feature-title,
  .page-resources-online-gambling-safety-tips__icon-title,
  .page-resources-online-gambling-safety-tips__content-block-title,
  .page-resources-online-gambling-safety-tips__game-title {
    font-size: 1.5em;
  }
  .page-resources-online-gambling-safety-tips__icon-image {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-resources-online-gambling-safety-tips__hero {
    padding: 60px 15px;
  }
  .page-resources-online-gambling-safety-tips__hero-title {
    font-size: 2.2em;
  }
  .page-resources-online-gambling-safety-tips__hero-description {
    font-size: 1em;
  }
  .page-resources-online-gambling-safety-tips__section {
    padding: 40px 15px;
  }
  .page-resources-online-gambling-safety-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-online-gambling-safety-tips__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-online-gambling-safety-tips__hero-title {
    font-size: 1.8em;
  }
  .page-resources-online-gambling-safety-tips__section-title {
    font-size: 1.5em;
  }
  .page-resources-online-gambling-safety-tips__feature-grid,
  .page-resources-online-gambling-safety-tips__icon-grid,
  .page-resources-online-gambling-safety-tips__game-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-online-gambling-safety-tips__icon-image {
    width: 100px;
    height: 100px;
  }
}