/* style/community-forum.css */
.page-community-forum {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.page-community-forum__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-community-forum__hero {
  background: linear-gradient(135deg, #0A6847, #54957e);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-community-forum__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:daga,cockfighting_arena_blurred,vietnamese_pattern]') no-repeat center center/cover;
  opacity: 0.15;
  z-index: 0;
}

.page-community-forum__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700;
  position: relative;
  z-index: 1;
}

.page-community-forum__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-community-forum__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-community-forum__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-community-forum__button--primary {
  background-color: #FFD700;
  color: #0A6847;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-community-forum__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-community-forum__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-community-forum__button--secondary:hover {
  background-color: #FFD700;
  color: #0A6847;
  transform: translateY(-2px);
}

.page-community-forum__button--lg {
  padding: 18px 36px;
  font-size: 1.2em;
}

.page-community-forum__button--small {
  padding: 8px 16px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-community-forum__section-title {
  font-size: 2.5em;
  color: #0A6847;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-community-forum__section-title--light {
  color: #FFD700;
}

.page-community-forum__section-subtitle {
  font-size: 1.2em;
  color: #666;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-community-forum__section-subtitle--light {
  color: #e0e0e0;
}

.page-community-forum__about {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-community-forum__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-community-forum__about-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444;
}

.page-community-forum__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-community-forum__topics {
  padding: 80px 0;
  background-color: #0A6847;
}

.page-community-forum__bg-dark {
  background-color: #0A6847;
}

.page-community-forum__bg-light {
  background-color: #f0f8f0;
}

.page-community-forum__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-community-forum__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-community-forum__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-community-forum__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-community-forum__card-title {
  font-size: 1.5em;
  color: #0A6847;
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-community-forum__card-title a {
  color: #0A6847;
  text-decoration: none;
}

.page-community-forum__card-title a:hover {
  text-decoration: underline;
}

.page-community-forum__card-description {
  font-size: 1em;
  color: #555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-community-forum__card--alt {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: none;
  text-align: center;
  padding: 30px;
}

.page-community-forum__card--alt .page-community-forum__card-title {
  margin: 0 0 15px 0;
  font-size: 1.6em;
}

.page-community-forum__card--alt .page-community-forum__card-description {
  padding: 0;
  margin-bottom: 25px;
}

.page-community-forum__cta {
  padding: 100px 0;
  background: linear-gradient(45deg, #0A6847, #FFD700);
  color: #ffffff;
  text-align: center;
}

.page-community-forum__cta-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-community-forum__cta-content .page-community-forum__section-title {
  color: #ffffff;
}

.page-community-forum__cta-content .page-community-forum__section-subtitle {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-community-forum__responsible-gambling {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-community-forum__responsible-gambling p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

.page-community-forum__latest-posts {
  padding: 80px 0;
  background-color: #f0f8f0;
}

.page-community-forum__post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-community-forum__post-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-community-forum__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-community-forum__post-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-community-forum__post-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-community-forum__post-title {
  font-size: 1.4em;
  color: #0A6847;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-community-forum__post-title a {
  color: #0A6847;
  text-decoration: none;
}

.page-community-forum__post-title a:hover {
  text-decoration: underline;
}

.page-community-forum__post-excerpt {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-community-forum__related-pages {
  padding: 80px 0;
}

.page-community-forum__final-cta {
  padding: 100px 0;
  background-color: #0A6847;
  color: #ffffff;
  text-align: center;
}

.page-community-forum__final-cta .page-community-forum__section-title,
.page-community-forum__final-cta .page-community-forum__section-subtitle {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-community-forum__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-community-forum__about-image {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-community-forum__hero-title {
    font-size: 2.5em;
  }
  .page-community-forum__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-community-forum__hero {
    padding: 80px 0;
  }
  .page-community-forum__hero-title {
    font-size: 2em;
  }
  .page-community-forum__hero-description {
    font-size: 1.1em;
  }
  .page-community-forum__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-community-forum__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-community-forum__section-title {
    font-size: 1.8em;
  }
  .page-community-forum__section-subtitle {
    font-size: 1em;
  }
  .page-community-forum__grid-3-cols {
    grid-template-columns: 1fr;
  }
  .page-community-forum__card, .page-community-forum__post-card {
    margin: 0 auto;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .page-community-forum__hero {
    padding: 60px 0;
  }
  .page-community-forum__hero-title {
    font-size: 1.8em;
  }
  .page-community-forum__hero-description {
    font-size: 1em;
  }
  .page-community-forum__button {
    width: 90%;
    padding: 12px 20px;
  }
  .page-community-forum__section-title {
    font-size: 1.5em;
  }
  .page-community-forum__section-subtitle {
    font-size: 0.9em;
  }
  .page-community-forum__post-content {
    padding: 15px;
  }
  .page-community-forum__post-title {
    font-size: 1.2em;
  }
}