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

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

.page-community-forum-hot-topics__hero {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-community-hot-topics__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,blue,gold,pattern]');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-community-forum-hot-topics__hero > .page-community-forum-hot-topics__container {
  position: relative;
  z-index: 1;
}

.page-community-forum-hot-topics__title {
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-community-forum-hot-topics__title .highlight {
  color: #ffc107;
}

.page-community-forum-hot-topics__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-community-forum-hot-topics__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-community-forum-hot-topics__btn--primary {
  background-color: #ffc107;
  color: #333;
}

.page-community-forum-hot-topics__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-community-forum-hot-topics__btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #ffc107;
}

.page-community-forum-hot-topics__btn--secondary:hover {
  background-color: #ffc107;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-community-forum-hot-topics__main-content {
  padding: 60px 0;
}

.page-community-forum-hot-topics__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-community-forum-hot-topics__section-title .highlight {
  color: #ffc107;
}

.page-community-forum-hot-topics__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555;
}

.page-community-forum-hot-topics__discussion-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-community-forum-hot-topics__discussion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-community-forum-hot-topics__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-community-forum-hot-topics__card-content {
  padding: 30px;
}

.page-community-forum-hot-topics__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-community-forum-hot-topics__card-excerpt {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-community-forum-hot-topics__btn--text {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.page-community-forum-hot-topics__btn--text:hover {
  color: #0056b3;
}

.page-community-forum-hot-topics__btn--text span {
  transition: transform 0.3s ease;
}

.page-community-forum-hot-topics__btn--text:hover span {
  transform: translateX(5px);
}

.page-community-forum-hot-topics__cta-section {
  background-color: #007bff;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-community-forum-hot-topics__cta-section .page-community-forum-hot-topics__section-title {
  color: #fff;
  margin-bottom: 15px;
}

.page-community-forum-hot-topics__cta-section .page-community-forum-hot-topics__section-description {
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-community-forum-hot-topics__btn--large {
  padding: 16px 35px;
  font-size: 1.2em;
}

.page-community-forum-hot-topics__faq {
  margin-top: 60px;
}

.page-community-forum-hot-topics__faq-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px 30px;
}

.page-community-forum-hot-topics__faq-question {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  font-weight: 600;
}

.page-community-forum-hot-topics__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #ffc107;
  transition: transform 0.3s ease;
}

.page-community-forum-hot-topics__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-community-forum-hot-topics__faq-answer {
  font-size: 1em;
  color: #555;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

.page-community-forum-hot-topics__faq-answer.active {
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-community-forum-hot-topics__title {
    font-size: 2.8em;
  }
  .page-community-forum-hot-topics__subtitle {
    font-size: 1.1em;
  }
  .page-community-forum-hot-topics__section-title {
    font-size: 2em;
  }
  .page-community-forum-hot-topics__card-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-community-forum-hot-topics__hero {
    padding: 60px 0;
  }
  .page-community-forum-hot-topics__title {
    font-size: 2.2em;
  }
  .page-community-forum-hot-topics__subtitle {
    font-size: 1em;
  }
  .page-community-forum-hot-topics__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-community-forum-hot-topics__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-community-forum-hot-topics__discussion-card {
    flex-direction: column;
  }
  .page-community-forum-hot-topics__card-content {
    padding: 20px;
  }
  .page-community-forum-hot-topics__card-image {
    height: 200px;
  }
  .page-community-forum-hot-topics__faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 576px) {
  .page-community-forum-hot-topics__title {
    font-size: 1.8em;
  }
  .page-community-forum-hot-topics__section-title {
    font-size: 1.8em;
  }
  .page-community-forum-hot-topics__faq-question {
    font-size: 1.1em;
  }
  .page-community-forum-hot-topics__btn--large {
    padding: 14px 25px;
    font-size: 1.1em;
  }
}