/* style/beginner-guide-glossary.css */
.page-beginner-guide-glossary {
  font-family: 'Arial', sans-serif;
  color: #000080; /* Navy blue for primary text */
  line-height: 1.6;
  background-color: #f8f8f8; /* Light background for readability */
}

.page-beginner-guide-glossary__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-beginner-guide-glossary__hero-section {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #000080 100%); /* Gold to Orange to Navy gradient */
  color: #FFFFFF; /* White text for contrast */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-beginner-guide-glossary__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,gold_navy_pattern]') no-repeat center center/cover; /* Abstract pattern */
  opacity: 0.1;
  z-index: 1;
}

.page-beginner-guide-glossary__hero-section .page-beginner-guide-glossary__container {
  position: relative;
  z-index: 2;
}

.page-beginner-guide-glossary__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-beginner-guide-glossary__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #EEE;
}

.page-beginner-guide-glossary__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Navy text on gold */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide-glossary__cta-button:hover {
  background-color: #FFA500; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-beginner-guide-glossary__content-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-beginner-guide-glossary__intro-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
  color: #333;
}

.page-beginner-guide-glossary__glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-beginner-guide-glossary__glossary-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

.page-beginner-guide-glossary__glossary-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide-glossary__glossary-term {
  font-size: 1.8em;
  color: #000080; /* Navy blue for terms */
  margin-bottom: 15px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-beginner-guide-glossary__glossary-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide-glossary__glossary-definition {
  font-size: 1em;
  margin-bottom: 15px;
  color: #333;
  text-align: justify;
}

.page-beginner-guide-glossary__glossary-definition strong {
  color: #000080;
}

.page-beginner-guide-glossary__glossary-example {
  font-style: italic;
  color: #555;
  border-left: 3px solid #FFD700;
  padding-left: 15px;
  margin-top: 15px;
  font-size: 0.95em;
}

.page-beginner-guide-glossary__section-title {
  font-size: 2.5em;
  color: #000080;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-beginner-guide-glossary__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-beginner-guide-glossary__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-beginner-guide-glossary__benefit-item {
  background-color: #e6f0ff; /* Light blue background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #d0e0f5;
}

.page-beginner-guide-glossary__benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.page-beginner-guide-glossary__benefit-title {
  font-size: 1.4em;
  color: #000080;
  margin-bottom: 10px;
}

.page-beginner-guide-glossary__benefit-description {
  font-size: 0.95em;
  color: #333;
}

.page-beginner-guide-glossary__outro-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

.page-beginner-guide-glossary__cta-bottom {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-beginner-guide-glossary__cta-button--bottom {
  background-color: #000080; /* Navy button */
  color: #FFD700; /* Gold text on navy */
}

.page-beginner-guide-glossary__cta-button--bottom:hover {
  background-color: #000066; /* Darker navy on hover */
}

.page-beginner-guide-glossary__faq-container {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-beginner-guide-glossary__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide-glossary__faq-question {
  font-size: 1.2em;
  color: #000080;
  padding: 18px 25px;
  cursor: pointer;
  position: relative;
  background-color: #f0f5ff;
  margin: 0;
  transition: background-color 0.3s ease;
}

.page-beginner-guide-glossary__faq-question:hover {
  background-color: #e6efff;
}

.page-beginner-guide-glossary__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-beginner-guide-glossary__faq-item.active .page-beginner-guide-glossary__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-beginner-guide-glossary__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #FFFFFF;
  color: #333;
}

.page-beginner-guide-glossary__faq-item.active .page-beginner-guide-glossary__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding: 15px 25px;
  transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.page-beginner-guide-glossary__inline-cta {
  color: #000080;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-beginner-guide-glossary__inline-cta:hover {
  color: #FFD700;
}

@media (max-width: 768px) {
  .page-beginner-guide-glossary__hero-title {
    font-size: 2.5em;
  }
  .page-beginner-guide-glossary__hero-subtitle {
    font-size: 1.1em;
  }
  .page-beginner-guide-glossary__section-title {
    font-size: 2em;
  }
  .page-beginner-guide-glossary__glossary-grid {
    grid-template-columns: 1fr;
  }
  .page-beginner-guide-glossary__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-beginner-guide-glossary__glossary-item {
    padding: 20px;
  }
  .page-beginner-guide-glossary__glossary-term {
    font-size: 1.5em;
  }
  .page-beginner-guide-glossary__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-beginner-guide-glossary__faq-question::after {
    right: 15px;
  }
  .page-beginner-guide-glossary__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-beginner-guide-glossary__hero-title {
    font-size: 2em;
  }
  .page-beginner-guide-glossary__hero-subtitle {
    font-size: 1em;
  }
  .page-beginner-guide-glossary__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-beginner-guide-glossary__section-title {
    font-size: 1.8em;
  }
  .page-beginner-guide-glossary__intro-text, .page-beginner-guide-glossary__outro-text {
    font-size: 0.95em;
  }
  .page-beginner-guide-glossary__glossary-term {
    font-size: 1.3em;
  }
  .page-beginner-guide-glossary__glossary-definition, .page-beginner-guide-glossary__glossary-example, .page-beginner-guide-glossary__benefit-description {
    font-size: 0.9em;
  }
}