/* style/blog-ph365-registration-guide.css */

/* Base styles for the page content */
.page-blog-ph365-registration-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-blog-ph365-registration-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-ph365-registration-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-ph365-registration-guide__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Adjusted H1/H2 font size */
  color: #F2C14E;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-ph365-registration-guide__sub-title {
  font-size: clamp(1.5em, 3vw, 2em);
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-blog-ph365-registration-guide__content-area {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-blog-ph365-registration-guide__content-area p {
  margin-bottom: 15px;
}

.page-blog-ph365-registration-guide__content-area ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-blog-ph365-registration-guide__content-area li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-blog-ph365-registration-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-blog-ph365-registration-guide__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-blog-ph365-registration-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-ph365-registration-guide__hero-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  max-width: 800px;
  box-sizing: border-box;
}

.page-blog-ph365-registration-guide__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size */
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.1;
}

.page-blog-ph365-registration-guide__hero-description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-blog-ph365-registration-guide__cta-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-blog-ph365-registration-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-ph365-registration-guide__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for light button */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-ph365-registration-guide__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-blog-ph365-registration-guide__btn-secondary {
  background-color: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E; /* Border color */
}

.page-blog-ph365-registration-guide__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
}

/* Content Images */
.page-blog-ph365-registration-guide__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

/* Step Cards */
.page-blog-ph365-registration-guide__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-ph365-registration-guide__step-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-ph365-registration-guide__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-ph365-registration-guide__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-ph365-registration-guide__step-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-blog-ph365-registration-guide__step-card p {
  color: #FFF6D6;
  font-size: 1em;
}

/* FAQ Section */
.page-blog-ph365-registration-guide__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-ph365-registration-guide__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.page-blog-ph365-registration-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-blog-ph365-registration-guide__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-blog-ph365-registration-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.page-blog-ph365-registration-guide__faq-item.active .page-blog-ph365-registration-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-ph365-registration-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #FFF6D6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-blog-ph365-registration-guide__faq-item.active .page-blog-ph365-registration-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
}

.page-blog-ph365-registration-guide__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-ph365-registration-guide__hero-section {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-blog-ph365-registration-guide__section {
    padding: 40px 0;
  }

  .page-blog-ph365-registration-guide__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: var(--header-offset, 100px) !important; /* Mobile header offset */
  }

  .page-blog-ph365-registration-guide__hero-content-wrapper {
    padding: 15px;
  }

  .page-blog-ph365-registration-guide__hero-title {
    font-size: 2em;
  }

  .page-blog-ph365-registration-guide__hero-description {
    font-size: 1em;
  }

  .page-blog-ph365-registration-guide__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-blog-ph365-registration-guide__sub-title {
    font-size: 1.3em;
  }

  .page-blog-ph365-registration-guide__content-area {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-blog-ph365-registration-guide__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Responsive images */
  .page-blog-ph365-registration-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-blog-ph365-registration-guide__section,
  .page-blog-ph365-registration-guide__card,
  .page-blog-ph365-registration-guide__container,
  .page-blog-ph365-registration-guide__content-area,
  .page-blog-ph365-registration-guide__guide-steps,
  .page-blog-ph365-registration-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Responsive buttons */
  .page-blog-ph365-registration-guide__cta-button,
  .page-blog-ph365-registration-guide__btn-primary,
  .page-blog-ph365-registration-guide__btn-secondary,
  .page-blog-ph365-registration-guide a[class*="button"],
  .page-blog-ph365-registration-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-ph365-registration-guide__cta-buttons,
  .page-blog-ph365-registration-guide__button-group,
  .page-blog-ph365-registration-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
}

/* Ensure text contrast for main content on dark background */
.page-blog-ph365-registration-guide p,
.page-blog-ph365-registration-guide li,
.page-blog-ph365-registration-guide__content-area {
  color: #FFF6D6; /* Text Main - light text for dark body background */
}

.page-blog-ph365-registration-guide__card {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

.page-blog-ph365-registration-guide__dark-section {
  background: #0A0A0A;
  color: #FFF6D6;
}

.page-blog-ph365-registration-guide__light-bg {
  background: #FFD36B;
  color: #000000;
}

.page-blog-ph365-registration-guide__medium-bg {
  background: #F2C14E;
  color: #000000;
}