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

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

.page-community-hot-topics .page-community-hot-topics__hero-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-community-hot-topics .page-community-hot-topics__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-community-hot-topics .page-community-hot-topics__hero-title .highlight {
  color: #ffc107;
}

.page-community-hot-topics .page-community-hot-topics__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-community-hot-topics .page-community-hot-topics__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-community-hot-topics .page-community-hot-topics__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-community-hot-topics .page-community-hot-topics__content-section {
  padding: 60px 0;
}

.page-community-hot-topics .page-community-hot-topics__section-title {
  font-size: 2.2em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-community-hot-topics .page-community-hot-topics__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  border-radius: 2px;
}

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

.page-community-hot-topics .page-community-hot-topics__topic-grid,
.page-community-hot-topics .page-community-hot-topics__feature-grid,
.page-community-hot-topics .page-community-hot-topics__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-community-hot-topics .page-community-hot-topics__topic-card,
.page-community-hot-topics .page-community-hot-topics__news-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px 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-hot-topics .page-community-hot-topics__topic-card:hover,
.page-community-hot-topics .page-community-hot-topics__news-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-community-hot-topics .page-community-hot-topics__card-image,
.page-community-hot-topics .page-community-hot-topics__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.page-community-hot-topics .page-community-hot-topics__card-title,
.page-community-hot-topics .page-community-hot-topics__news-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #007bff;
  min-height: 60px; /* Ensure consistent height for titles */
}

.page-community-hot-topics .page-community-hot-topics__card-title a,
.page-community-hot-topics .page-community-hot-topics__news-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-community-hot-topics .page-community-hot-topics__card-title a:hover,
.page-community-hot-topics .page-community-hot-topics__news-title a:hover {
  color: #0056b3;
}

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

.page-community-hot-topics .page-community-hot-topics__card-button,
.page-community-hot-topics .page-community-hot-topics__read-more {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-community-hot-topics .page-community-hot-topics__card-button:hover,
.page-community-hot-topics .page-community-hot-topics__read-more:hover {
  background-color: #0056b3;
}

.page-community-hot-topics .page-community-hot-topics__feature-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-community-hot-topics .page-community-hot-topics__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-community-hot-topics .page-community-hot-topics__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-community-hot-topics .page-community-hot-topics__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-community-hot-topics .page-community-hot-topics__feature-description {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 25px;
}

.page-community-hot-topics .page-community-hot-topics__feature-button {
  display: inline-block;
  background-color: #ffc107;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-community-hot-topics .page-community-hot-topics__feature-button:hover {
  background-color: #e0a800;
}

.page-community-hot-topics .page-community-hot-topics__faq-list {
  margin-bottom: 60px;
}

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

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

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

.page-community-hot-topics .page-community-hot-topics__faq-item.active .page-community-hot-topics__faq-question::after {
  content: '-';
}

.page-community-hot-topics .page-community-hot-topics__faq-answer {
  font-size: 1em;
  color: #555;
  margin-top: 10px;
  display: none; /* Hidden by default */
}

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

.page-community-hot-topics .page-community-hot-topics__faq-button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-community-hot-topics .page-community-hot-topics__faq-button:hover {
  background-color: #0056b3;
}

.page-community-hot-topics .page-community-hot-topics__news-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px 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-hot-topics .page-community-hot-topics__news-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.page-community-hot-topics .page-community-hot-topics__news-title {
  font-size: 1.3em;
  color: #007bff;
  margin: 15px 20px 10px;
  min-height: 50px;
}

.page-community-hot-topics .page-community-hot-topics__news-excerpt {
  font-size: 0.9em;
  color: #666;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-community-hot-topics .page-community-hot-topics__read-more {
  display: inline-block;
  background-color: #ffc107;
  color: #000;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85em;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-community-hot-topics .page-community-hot-topics__read-more:hover {
  background-color: #e0a800;
}

.page-community-hot-topics .page-community-hot-topics__call-to-action {
  background-color: #007bff;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-community-hot-topics .page-community-hot-topics__call-to-action-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-community-hot-topics .page-community-hot-topics__call-to-action-title .highlight {
  color: #ffc107;
}

.page-community-hot-topics .page-community-hot-topics__call-to-action-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-community-hot-topics .page-community-hot-topics__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin: 10px;
}

.page-community-hot-topics .page-community-hot-topics__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #ffc107;
  color: #ffc107;
}

.page-community-hot-topics .page-community-hot-topics__cta-button--secondary:hover {
  background-color: #ffc107;
  color: #000;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-community-hot-topics .page-community-hot-topics__hero-title {
    font-size: 2.2em;
  }
  .page-community-hot-topics .page-community-hot-topics__hero-description {
    font-size: 1em;
  }
  .page-community-hot-topics .page-community-hot-topics__section-title {
    font-size: 1.8em;
  }
  .page-community-hot-topics .page-community-hot-topics__topic-grid,
  .page-community-hot-topics .page-community-hot-topics__feature-grid,
  .page-community-hot-topics .page-community-hot-topics__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-community-hot-topics .page-community-hot-topics__call-to-action-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-community-hot-topics__hero-section {
    padding: 60px 0;
  }
  .page-community-hot-topics__hero-title {
    font-size: 1.8em;
  }
  .page-community-hot-topics__content-section {
    padding: 40px 0;
  }
  .page-community-hot-topics__section-title {
    font-size: 1.6em;
  }
  .page-community-hot-topics__intro-text {
    font-size: 0.95em;
  }
  .page-community-hot-topics__topic-grid,
  .page-community-hot-topics .page-community-hot-topics__feature-grid,
  .page-community-hot-topics .page-community-hot-topics__news-grid {
    grid-template-columns: 1fr;
  }
  .page-community-hot-topics .page-community-hot-topics__call-to-action {
    padding: 40px 15px;
  }
  .page-community-hot-topics .page-community-hot-topics__call-to-action-title {
    font-size: 1.8em;
  }
  .page-community-hot-topics .page-community-hot-topics__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    width: 100%;
    margin: 10px 0;
  }
  .page-community-hot-topics .page-community-hot-topics__cta-button--secondary {
    width: 100%;
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .page-community-hot-topics__hero-section {
    padding: 40px 0;
  }
  .page-community-hot-topics__hero-title {
    font-size: 1.5em;
  }
  .page-community-hot-topics__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-community-hot-topics__section-title {
    font-size: 1.4em;
  }
  .page-community-hot-topics .page-community-hot-topics__card-title,
  .page-community-hot-topics .page-community-hot-topics__news-title {
    font-size: 1.2em;
  }
  .page-community-hot-topics .page-community-hot-topics__feature-title {
    font-size: 1.3em;
  }
  .page-community-hot-topics .page-community-hot-topics__faq-question {
    font-size: 1.1em;
  }
  .page-community-hot-topics .page-community-hot-topics__call-to-action-title {
    font-size: 1.5em;
  }
}