.page-guide {
  background-color: var(--bg-color, #0D0E12);
  color: var(--text-main-color, #FFF3E6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%);
  overflow: hidden;
}

.page-guide__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-guide__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-guide__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--text-main-color, #FFF3E6);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.7);
}

.page-guide__description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--text-main-color, #FFF3E6);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-guide__btn-primary,
.page-guide__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-guide__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-guide__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
  transform: translateY(-2px);
}

.page-guide__btn-secondary {
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-guide__btn-secondary:hover {
  background: rgba(255, 140, 26, 0.1);
  color: #FFA53A;
  border-color: #FFA53A;
  transform: translateY(-2px);
}

.page-guide__section {
  padding: 80px 20px;
  background-color: var(--bg-color, #0D0E12);
}

.page-guide__section:nth-of-type(even) {
  background-color: var(--card-bg-color, #17191F);
}

.page-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-guide__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-guide__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-guide__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--text-main-color, #FFF3E6);
}

.page-guide__highlight {
  color: #FFA53A;
  font-weight: bold;
}

.page-guide__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-guide__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-guide__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-guide__card {
  background-color: var(--card-bg-color, #17191F);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color, #A84F0C);
}

.page-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 176, 77, 0.2);
}

.page-guide__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 150px;
}

.page-guide__card-title {
  font-size: 1.5em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-guide__card-title a {
  color: #FFA53A;
  text-decoration: none;
}

.page-guide__card-title a:hover {
  text-decoration: underline;
  color: #FFB04D;
}

.page-guide__card-text {
  font-size: 1em;
  color: var(--text-main-color, #FFF3E6);
  flex-grow: 1;
}

.page-guide__tips-list {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 50px;
}

.page-guide__tip-item {
  background-color: var(--card-bg-color, #17191F);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FF8C1A;
}

.page-guide__tip-title {
  font-size: 1.3em;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-guide__tip-text {
  font-size: 0.95em;
  color: var(--text-main-color, #FFF3E6);
}

.page-guide__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 150px;
}

.page-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-guide__faq-item {
  background-color: var(--card-bg-color, #17191F);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color, #A84F0C);
}

.page-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFA53A;
  cursor: pointer;
  background-color: rgba(255, 140, 26, 0.05);
  transition: background-color 0.3s ease;
}

.page-guide__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.15);
}

.page-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-guide__faq-item[open] > .page-guide__faq-question {
  background-color: rgba(255, 140, 26, 0.15);
}

.page-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FF8C1A;
  transition: transform 0.3s ease;
}

.page-guide__faq-item[open] .page-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-guide__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-main-color, #FFF3E6);
  line-height: 1.7;
}

.page-guide__faq-answer p {
  margin-bottom: 0;
}

.page-guide__faq-answer a {
  color: #FF8C1A;
  text-decoration: underline;
}

.page-guide__cta-banner {
  background: linear-gradient(90deg, #D96800 0%, #FF8C1A 100%);
  padding: 60px 20px;
  text-align: center;
  color: #FFF3E6;
}

.page-guide__cta-banner .page-guide__container--flex {
  flex-direction: column;
}

.page-guide__cta-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-guide__cta-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #FFF3E6;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-guide__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-guide__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-guide__cta-image-wrapper {
  width: 100%;
  max-width: 600px;
}

.page-guide__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 150px;
}

/* Responsive styles */
@media (min-width: 769px) {
  .page-guide__cta-banner .page-guide__container--flex {
    flex-direction: row;
    text-align: left;
  }
  .page-guide__cta-content {
    margin-bottom: 0;
    flex: 1;
  }
  .page-guide__cta-image-wrapper {
    flex: 0 0 400px;
  }
}

@media (max-width: 768px) {
  .page-guide__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-guide__main-title {
    font-size: 2em;
  }
  .page-guide__description {
    font-size: 1em;
  }
  .page-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-guide__btn-primary,
  .page-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-guide__section {
    padding: 50px 15px;
  }
  .page-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-guide__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-guide__grid {
    grid-template-columns: 1fr;
  }
  .page-guide__card {
    padding: 20px;
  }
  .page-guide__card-image {
    max-width: 100%;
  }
  .page-guide__tips-list {
    grid-template-columns: 1fr;
  }
  .page-guide__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-guide__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-guide__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9em;
  }
  .page-guide__cta-banner {
    padding: 40px 15px;
  }
  .page-guide__cta-title {
    font-size: 2em;
  }
  .page-guide__cta-text {
    font-size: 1em;
  }
  .page-guide__btn-primary--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-guide__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-guide__section,
  .page-guide__card,
  .page-guide__container,
  .page-guide__cta-buttons,
  .page-guide__button-group,
  .page-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-guide__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}