/* style/resources-mcw77-beginner-guide.css */

.page-resources-mcw77-beginner-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-resources-mcw77-beginner-guide__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  box-sizing: border-box;
}

.page-resources-mcw77-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-mcw77-beginner-guide__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #e44d26; /* Highlight with auxiliary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-mcw77-beginner-guide__intro-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-mcw77-beginner-guide__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-mcw77-beginner-guide__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: #e44d26; /* Auxiliary color for primary CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(228, 77, 38, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-mcw77-beginner-guide__cta-button:hover {
  background: #ff6633;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(228, 77, 38, 0.6);
}

.page-resources-mcw77-beginner-guide__cta-button--secondary {
  background: #1a1a1a;
  border: 2px solid #e44d26;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-resources-mcw77-beginner-guide__cta-button--secondary:hover {
  background: #333333;
  border-color: #ff6633;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-resources-mcw77-beginner-guide__content-section {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-resources-mcw77-beginner-guide__dark-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-resources-mcw77-beginner-guide__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-resources-mcw77-beginner-guide__light-bg .page-resources-mcw77-beginner-guide__section-title,
.page-resources-mcw77-beginner-guide__light-bg .page-resources-mcw77-beginner-guide__subsection-title {
  color: #1a1a1a;
}

.page-resources-mcw77-beginner-guide__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #e44d26;
}

.page-resources-mcw77-beginner-guide__subsection-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #e44d26;
}

.page-resources-mcw77-beginner-guide p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
}

.page-resources-mcw77-beginner-guide a {
  color: #e44d26;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-mcw77-beginner-guide a:hover {
  color: #ff6633;
  text-decoration: underline;
}

.page-resources-mcw77-beginner-guide .highlight {
  color: #e44d26;
  font-weight: bold;
}

.page-resources-mcw77-beginner-guide__list,
.page-resources-mcw77-beginner-guide__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
}

.page-resources-mcw77-beginner-guide__ordered-list {
  list-style-type: decimal;
}

.page-resources-mcw77-beginner-guide__list li,
.page-resources-mcw77-beginner-guide__ordered-list li {
  margin-bottom: 10px;
}

.page-resources-mcw77-beginner-guide__sub-list {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-resources-mcw77-beginner-guide__image-wrapper {
  text-align: center;
  margin: 40px 0;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-mcw77-beginner-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: cover; /* Ensure images cover their area without distortion */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-resources-mcw77-beginner-guide__image-caption {
  margin-top: 15px;
  font-style: italic;
  color: #cccccc;
  font-size: 15px;
}

.page-resources-mcw77-beginner-guide__cta-block {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-mcw77-beginner-guide__inline-cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: #e44d26;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 10px rgba(228, 77, 38, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-mcw77-beginner-guide__inline-cta-button:hover {
  background: #ff6633;
  transform: translateY(-1px);
}

/* FAQ Section */
.page-resources-mcw77-beginner-guide__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
  box-sizing: border-box;
}

.page-resources-mcw77-beginner-guide__faq-section .page-resources-mcw77-beginner-guide__section-title {
  color: #1a1a1a;
}

.page-resources-mcw77-beginner-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-mcw77-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-resources-mcw77-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-mcw77-beginner-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-mcw77-beginner-guide__faq-question:active {
  background: #eeeeee;
}

.page-resources-mcw77-beginner-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #1a1a1a;
  pointer-events: none;
}

.page-resources-mcw77-beginner-guide__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #e44d26;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-mcw77-beginner-guide__faq-item.active .page-resources-mcw77-beginner-guide__faq-toggle {
  color: #1a1a1a;
  transform: rotate(45deg);
}

.page-resources-mcw77-beginner-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #f0f0f0;
  border-radius: 0 0 8px 8px;
}