/* style/resources-understanding-manclub-wiki.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* Base styles for the page content */
.page-resources-understanding-manclub-wiki {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Sections */
.page-resources-understanding-manclub-wiki__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-understanding-manclub-wiki__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-resources-understanding-manclub-wiki__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-resources-understanding-manclub-wiki__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-understanding-manclub-wiki__text-block {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly off-white for body text */
}

.page-resources-understanding-manclub-wiki__text-block p {
  margin-bottom: 1em;
}

/* Hero Section */
.page-resources-understanding-manclub-wiki__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: 0; /* shared.css handles body padding-top */
  background-color: #1A1A1A; /* Auxiliary color for hero background */
}

.page-resources-understanding-manclub-wiki__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Subtle background image */
}

.page-resources-understanding-manclub-wiki__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-understanding-manclub-wiki__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-understanding-manclub-wiki__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* CTA Buttons */
.page-resources-understanding-manclub-wiki__cta-button {
  display: inline-block;
  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;
  margin: 10px;
}

.page-resources-understanding-manclub-wiki__btn-primary {
  background-color: #FFD700;
  color: #1A1A1A; /* Dark text on gold button */
  border: 2px solid #FFD700;
}

.page-resources-understanding-manclub-wiki__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-resources-understanding-manclub-wiki__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-understanding-manclub-wiki__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-3px);
}

.page-resources-understanding-manclub-wiki__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Image styles */
.page-resources-understanding-manclub-wiki__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element for margin auto */
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layout for Products and Guides */
.page-resources-understanding-manclub-wiki__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-understanding-manclub-wiki__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}


/* Cards */
.page-resources-understanding-manclub-wiki__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have a minimum height for consistency */
}

.page-resources-understanding-manclub-wiki__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-understanding-manclub-wiki__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-understanding-manclub-wiki__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-understanding-manclub-wiki__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-understanding-manclub-wiki__card-title a:hover {
  color: #e6c200;
}

.page-resources-understanding-manclub-wiki__card-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1; /* Allow description to take available space */
  margin-bottom: 20px;
}

/* Dark background sections */
.page-resources-understanding-manclub-wiki__dark-bg {
    background-color: #1A1A1A; /* Auxiliary dark background */
    color: #ffffff;
}

.page-resources-understanding-manclub-wiki__dark-bg .page-resources-understanding-manclub-wiki__section-title {
    color: #FFD700;
}

/* FAQ Section */
.page-resources-understanding-manclub-wiki__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-resources-understanding-manclub-wiki__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-understanding-manclub-wiki__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-understanding-manclub-wiki__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-understanding-manclub-wiki__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources-understanding-manclub-wiki__faq-item.active .page-resources-understanding-manclub-wiki__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-understanding-manclub-wiki__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-understanding-manclub-wiki__faq-item.active .page-resources-understanding-manclub-wiki__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px 25px 25px;
}

.page-resources-understanding-manclub-wiki__faq-answer p {
  margin-bottom: 1em;
}

.page-resources-understanding-manclub-wiki__faq-link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-understanding-manclub-wiki__faq-link:hover {
    color: #e6c200;
}

/* Conclusion Section */
.page-resources-understanding-manclub-wiki__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-understanding-manclub-wiki__hero-title {
        font-size: 3em;
    }

    .page-resources-understanding-manclub-wiki__hero-description {
        font-size: 1.2em;
    }

    .page-resources-understanding-manclub-wiki__section-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    /* Mobile content area padding */
    .page-resources-understanding-manclub-wiki__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important; /* Ensure container respects full width */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-resources-understanding-manclub-wiki__hero-section {
        min-height: 500px;
        padding-top: 0 !important; /* Ensure no double padding, shared handles body */
    }

    .page-resources-understanding-manclub-wiki__hero-title {
        font-size: 2.2em;
    }

    .page-resources-understanding-manclub-wiki__hero-description {
        font-size: 1em;
    }

    .page-resources-understanding-manclub-wiki__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        margin: 8px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Buttons container */
    .page-resources-understanding-manclub-wiki__hero-content,
    .page-resources-understanding-manclub-wiki__text-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* General section padding */
    .page-resources-understanding-manclub-wiki__section {
        padding: 40px 0;
    }

    .page-resources-understanding-manclub-wiki__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-understanding-manclub-wiki__sub-title {
        font-size: 1.5em;
    }

    /* Images */
    .page-resources-understanding-manclub-wiki img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
      min-width: 200px !important; /* Ensure minimum size */
      min-height: 200px !important; /* Ensure minimum size */
    }

    .page-resources-understanding-manclub-wiki__hero-image {
        min-width: unset !important; /* Hero image can be smaller if needed */
        min-height: unset !important;
    }

    /* Card images */
    .page-resources-understanding-manclub-wiki__card-image {
        height: auto !important; /* Allow auto height for card images on mobile */
        max-height: 180px;
    }

    /* Grid layout */
    .page-resources-understanding-manclub-wiki__grid,
    .page-resources-understanding-manclub-wiki__grid--two-columns {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    /* Cards */
    .page-resources-understanding-manclub-wiki__card {
        padding: 20px;
        min-height: unset; /* Remove min-height for mobile cards */
    }

    /* FAQ */
    .page-resources-understanding-manclub-wiki__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-understanding-manclub-wiki__faq-answer {
        padding: 0 20px;
    }

    .page-resources-understanding-manclub-wiki__faq-item.active .page-resources-understanding-manclub-wiki__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}