:root {
  --phsky-primary-color: #F2C14E;
  --phsky-secondary-color: #FFD36B;
  --phsky-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --phsky-card-bg: #111111;
  --phsky-background-color: #0A0A0A; /* Main page background */
  --phsky-text-main: #FFF6D6;
  --phsky-border-color: #3A2A12;
  --phsky-glow-color: #FFD36B;
  --header-offset: 120px; /* Default desktop offset */
}

/* Base styles for the page content */
.page-blog-phsky-deposit-withdrawal-guide {
  background-color: var(--phsky-background-color);
  color: var(--phsky-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* HERO Section */
.page-blog-phsky-deposit-withdrawal-guide__hero-section {
  display: flex;
  flex-direction: column; /* Default to column for mobile first, then row for desktop */
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset); /* Fixed header spacing */
  background: linear-gradient(135deg, var(--phsky-primary-color), var(--phsky-secondary-color));
  min-height: 500px;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-blog-phsky-deposit-withdrawal-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  color: #000000; /* Dark text for light background */
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.page-blog-phsky-deposit-withdrawal-guide__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Clamp for H1 as per instructions */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #000000; /* Dark text for light background */
}

.page-blog-phsky-deposit-withdrawal-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333333; /* Dark text for light background */
}

.page-blog-phsky-deposit-withdrawal-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-blog-phsky-deposit-withdrawal-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Make it subtle behind text */
}

/* CTA Buttons */
.page-blog-phsky-deposit-withdrawal-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* Ensure container takes full width for mobile */
  max-width: 100%; /* Ensure container takes full width for mobile */
  box-sizing: border-box;
  padding: 0 15px; /* Add padding for mobile */
}

.page-blog-phsky-deposit-withdrawal-guide__btn-primary,
.page-blog-phsky-deposit-withdrawal-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure buttons don't exceed container */
  box-sizing: border-box;
  text-align: center;
}

.page-blog-phsky-deposit-withdrawal-guide__btn-primary {
  background: var(--phsky-button-gradient);
  color: #ffffff; /* White text for gradient button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-phsky-deposit-withdrawal-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-phsky-deposit-withdrawal-guide__btn-secondary {
  background: #ffffff; /* White background */
  color: var(--phsky-primary-color); /* Primary color text */
  border: 2px solid var(--phsky-primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-phsky-deposit-withdrawal-guide__btn-secondary:hover {
  background: var(--phsky-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-blog-phsky-deposit-withdrawal-guide__cta-buttons--center {
  margin-top: 40px;
}

/* Content Sections */
.page-blog-phsky-deposit-withdrawal-guide__content-section {
  padding: 60px 0;
}

.page-blog-phsky-deposit-withdrawal-guide__dark-bg {
  background-color: var(--phsky-card-bg); /* Use card bg for dark sections */
  color: var(--phsky-text-main);
}

.page-blog-phsky-deposit-withdrawal-guide__light-bg {
  background-color: #1A1A1A; /* Slightly lighter dark gray for differentiation */
  color: var(--phsky-text-main);
}

.page-blog-phsky-deposit-withdrawal-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--phsky-text-main);
  position: relative;
  padding-bottom: 15px;
}

.page-blog-phsky-deposit-withdrawal-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--phsky-primary-color);
  border-radius: 2px;
}

.page-blog-phsky-deposit-withdrawal-guide__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--phsky-primary-color);
  text-align: center;
}

.page-blog-phsky-deposit-withdrawal-guide__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--phsky-text-main);
}

.page-blog-phsky-deposit-withdrawal-guide__image-and-text {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-blog-phsky-deposit-withdrawal-guide__image-and-text--reverse {
  flex-direction: row-reverse;
}

.page-blog-phsky-deposit-withdrawal-guide__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.page-blog-phsky-deposit-withdrawal-guide__content-image:hover {
  transform: translateY(-5px);
}

.page-blog-phsky-deposit-withdrawal-guide__text-content {
  flex: 1;
  max-width: 50%;
}

.page-blog-phsky-deposit-withdrawal-guide__ordered-list,
.page-blog-phsky-deposit-withdrawal-guide__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--phsky-text-main);
}

.page-blog-phsky-deposit-withdrawal-guide__ordered-list li,
.page-blog-phsky-deposit-withdrawal-guide__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-blog-phsky-deposit-withdrawal-guide__list-strong {
  color: var(--phsky-primary-color);
}

/* FAQ Section */
.page-blog-phsky-deposit-withdrawal-guide__faq-list {
  margin-top: 30px;
}

.page-blog-phsky-deposit-withdrawal-guide__faq-item {
  background-color: var(--phsky-card-bg);
  border: 1px solid var(--phsky-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-phsky-deposit-withdrawal-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1A1A1A; /* Slightly different background for question */
  color: var(--phsky-text-main);
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog-phsky-deposit-withdrawal-guide__faq-question:hover {
  background-color: #222222;
}

.page-blog-phsky-deposit-withdrawal-guide__faq-question h3 {
  margin: 0;
  color: var(--phsky-text-main);
  font-size: 1em; /* Adjust h3 size within question */
}

.page-blog-phsky-deposit-withdrawal-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--phsky-primary-color);
}

.page-blog-phsky-deposit-withdrawal-guide__faq-item.active .page-blog-phsky-deposit-withdrawal-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-phsky-deposit-withdrawal-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--phsky-text-main);
}

.page-blog-phsky-deposit-withdrawal-guide__faq-item.active .page-blog-phsky-deposit-withdrawal-guide__faq-answer {
  max-height: 1000px !important; /* Important for JS functionality */
  padding: 20px;
}

.page-blog-phsky-deposit-withdrawal-guide__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-blog-phsky-deposit-withdrawal-guide__hero-section {
    flex-direction: row; /* Desktop: row layout */
    text-align: left;
    padding-bottom: 60px;
  }
  
  .page-blog-phsky-deposit-withdrawal-guide__hero-content {
    padding-left: 40px;
    padding-right: 40px;
  }

  .page-blog-phsky-deposit-withdrawal-guide__cta-buttons {
    justify-content: flex-start;
  }

  .page-blog-phsky-deposit-withdrawal-guide__cta-buttons--center {
    justify-content: center;
  }

  .page-blog-phsky-deposit-withdrawal-guide__content-image {
    max-width: 45%; /* Adjust for larger screens */
  }

  .page-blog-phsky-deposit-withdrawal-guide__text-content {
    max-width: 55%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-offset: 100px; /* Adjust for mobile header */
  }

  .page-blog-phsky-deposit-withdrawal-guide__hero-section {
    padding-top: var(--header-offset) !important; /* Mobile: fixed header spacing */
    min-height: 400px;
  }

  .page-blog-phsky-deposit-withdrawal-guide__main-title {
    font-size: 2em;
  }

  .page-blog-phsky-deposit-withdrawal-guide__hero-description {
    font-size: 1em;
  }

  .page-blog-phsky-deposit-withdrawal-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-phsky-deposit-withdrawal-guide__btn-primary,
  .page-blog-phsky-deposit-withdrawal-guide__btn-secondary {
    width: 100% !important;
    max-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-phsky-deposit-withdrawal-guide__content-section {
    padding: 40px 0;
  }

  .page-blog-phsky-deposit-withdrawal-guide__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-blog-phsky-deposit-withdrawal-guide__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
  }

  .page-blog-phsky-deposit-withdrawal-guide__text-block {
    font-size: 1em;
  }

  .page-blog-phsky-deposit-withdrawal-guide__image-and-text {
    flex-direction: column; /* Stack image and text */
    gap: 20px;
  }

  .page-blog-phsky-deposit-withdrawal-guide__image-and-text--reverse {
    flex-direction: column; /* Still stack for mobile */
  }

  .page-blog-phsky-deposit-withdrawal-guide__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto; /* Center image */
  }

  .page-blog-phsky-deposit-withdrawal-guide__text-content {
    max-width: 100%;
  }

  .page-blog-phsky-deposit-withdrawal-guide__container {
    padding: 0 15px; /* Adjust container padding for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure all images inside content sections are responsive */
  .page-blog-phsky-deposit-withdrawal-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-blog-phsky-deposit-withdrawal-guide__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-blog-phsky-deposit-withdrawal-guide__faq-question h3 {
    font-size: 0.95em;
  }

  .page-blog-phsky-deposit-withdrawal-guide__faq-answer {
    padding: 0 15px;
  }

  .page-blog-phsky-deposit-withdrawal-guide__faq-item.active .page-blog-phsky-deposit-withdrawal-guide__faq-answer {
    padding: 15px;
  }
}