:root {
  --color-primary: #FF8C1A;
  --color-secondary: #FFA53A;
  --bg-card: #17191F;
  --bg-body: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  --text-dark-contrast: #333333; /* For light backgrounds */
  --text-light-contrast: #ffffff; /* For dark backgrounds */
}

.page-blog-o8-deposits-withdrawals-guide {
  font-family: 'Arial', sans-serif;
  color: var(--text-light-contrast); /* Overall light text for dark body background */
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--bg-body); /* Ensure consistency if body background is not set by shared */
}

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

/* Hero Section */
.page-blog-o8-deposits-withdrawals-guide__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  background-color: var(--bg-body);
}

.page-blog-o8-deposits-withdrawals-guide__hero-image {
  width: 100%;
  max-height: 675px; /* Max height for hero image container */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 1; /* Image first in DOM */
}

.page-blog-o8-deposits-withdrawals-guide__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Cover the container */
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-o8-deposits-withdrawals-guide__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up a bit to overlap with image visually, but still below in DOM */
  background: linear-gradient(180deg, rgba(13, 14, 18, 0) 0%, var(--bg-body) 30%); /* Gradient for smooth transition */
  order: 2; /* Content second in DOM */
}

.page-blog-o8-deposits-withdrawals-guide__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
}

.page-blog-o8-deposits-withdrawals-guide__intro-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-o8-deposits-withdrawals-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-o8-deposits-withdrawals-guide__btn-primary,
.page-blog-o8-deposits-withdrawals-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  text-align: center;
}

.page-blog-o8-deposits-withdrawals-guide__btn-primary {
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--deep-orange) 100%);
  color: var(--text-light-contrast);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-blog-o8-deposits-withdrawals-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-blog-o8-deposits-withdrawals-guide__btn-secondary {
  background: var(--bg-card);
  color: var(--color-primary);
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-o8-deposits-withdrawals-guide__btn-secondary:hover {
  background: var(--color-primary);
  color: var(--text-light-contrast);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 140, 26, 0.4);
}

/* General Content Sections */
.page-blog-o8-deposits-withdrawals-guide__content-section {
  padding: 60px 0;
  background-color: var(--bg-body);
}

.page-blog-o8-deposits-withdrawals-guide__dark-bg {
  background-color: var(--bg-body);
  color: var(--text-main);
}

.page-blog-o8-deposits-withdrawals-guide__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-blog-o8-deposits-withdrawals-guide__content-section p {
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-blog-o8-deposits-withdrawals-guide__content-section h3 {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-blog-o8-deposits-withdrawals-guide__content-section h4 {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-blog-o8-deposits-withdrawals-guide__content-section a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-o8-deposits-withdrawals-guide__content-section a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* Feature Grid */
.page-blog-o8-deposits-withdrawals-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-o8-deposits-withdrawals-guide__feature-card {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-blog-o8-deposits-withdrawals-guide__feature-card .page-blog-o8-deposits-withdrawals-guide__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.page-blog-o8-deposits-withdrawals-guide__feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  color: var(--text-main);
}

.page-blog-o8-deposits-withdrawals-guide__feature-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-o8-deposits-withdrawals-guide__card-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: underline;
}
.page-blog-o8-deposits-withdrawals-guide__card-link:hover {
  color: var(--glow-color);
}

/* Guide Steps */
.page-blog-o8-deposits-withdrawals-guide__guide-step {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-blog-o8-deposits-withdrawals-guide__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-blog-o8-deposits-withdrawals-guide__guide-step img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* CTA Block */
.page-blog-o8-deposits-withdrawals-guide__cta-block {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--bg-card);
  border-radius: 10px;
  margin-top: 40px;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-blog-o8-deposits-withdrawals-guide__cta-block p {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: var(--text-main);
}

/* Issue Cards */
.page-blog-o8-deposits-withdrawals-guide__issue-card {
  background-color: var(--bg-card);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-blog-o8-deposits-withdrawals-guide__issue-card .page-blog-o8-deposits-withdrawals-guide__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 0;
  margin-bottom: 10px;
}

/* FAQ Section */
.page-blog-o8-deposits-withdrawals-guide__faq-section {
  padding: 60px 0;
  background-color: var(--bg-body);
  color: var(--text-main);
}

details.page-blog-o8-deposits-withdrawals-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-card);
  color: var(--text-main);
}
details.page-blog-o8-deposits-withdrawals-guide__faq-item summary.page-blog-o8-deposits-withdrawals-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
details.page-blog-o8-deposits-withdrawals-guide__faq-item summary.page-blog-o8-deposits-withdrawals-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-o8-deposits-withdrawals-guide__faq-item summary.page-blog-o8-deposits-withdrawals-guide__faq-question:hover {
  background: rgba(255, 140, 26, 0.1);
}
.page-blog-o8-deposits-withdrawals-guide__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-blog-o8-deposits-withdrawals-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-o8-deposits-withdrawals-guide__faq-item .page-blog-o8-deposits-withdrawals-guide__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 140, 26, 0.05);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}
.page-blog-o8-deposits-withdrawals-guide__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-blog-o8-deposits-withdrawals-guide__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--deep-orange) 100%);
  color: var(--text-light-contrast);
}

.page-blog-o8-deposits-withdrawals-guide__cta-final-section .page-blog-o8-deposits-withdrawals-guide__section-title {
  color: var(--text-light-contrast);
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.page-blog-o8-deposits-withdrawals-guide__cta-final-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-light-contrast);
}

/* Responsive Images - General */
.page-blog-o8-deposits-withdrawals-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-blog-o8-deposits-withdrawals-guide__container {
    padding: 0 15px;
  }
  .page-blog-o8-deposits-withdrawals-guide__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-blog-o8-deposits-withdrawals-guide__intro-text {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
  .page-blog-o8-deposits-withdrawals-guide__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .page-blog-o8-deposits-withdrawals-guide__feature-card .page-blog-o8-deposits-withdrawals-guide__card-title,
  .page-blog-o8-deposits-withdrawals-guide__step-title,
  .page-blog-o8-deposits-withdrawals-guide__issue-card .page-blog-o8-deposits-withdrawals-guide__card-title {
    font-size: 1.3rem;
  }
  .page-blog-o8-deposits-withdrawals-guide__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
}

@media (max-width: 849px) {
  .page-blog-o8-deposits-withdrawals-guide__hero-image img {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important; /* Allow image to resize freely */
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-blog-o8-deposits-withdrawals-guide__hero-section {
    min-height: unset;
    padding-top: 10px;
  }
  .page-blog-o8-deposits-withdrawals-guide__hero-image {
    max-height: 300px;
  }
  .page-blog-o8-deposits-withdrawals-guide__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }
  .page-blog-o8-deposits-withdrawals-guide__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-blog-o8-deposits-withdrawals-guide__intro-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  .page-blog-o8-deposits-withdrawals-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-o8-deposits-withdrawals-guide__btn-primary,
  .page-blog-o8-deposits-withdrawals-guide__btn-secondary {
    padding: 12px 20px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center;
  }

  /* General Content Sections */
  .page-blog-o8-deposits-withdrawals-guide__content-section {
    padding: 40px 0;
  }
  .page-blog-o8-deposits-withdrawals-guide__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-blog-o8-deposits-withdrawals-guide__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-blog-o8-deposits-withdrawals-guide__content-section p,
  .page-blog-o8-deposits-withdrawals-guide__feature-card p {
    font-size: 0.9rem;
  }
  .page-blog-o8-deposits-withdrawals-guide__content-section h3 {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    margin-top: 25px;
  }
  .page-blog-o8-deposits-withdrawals-guide__content-section h4 {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
    margin-top: 15px;
  }

  /* Feature Grid */
  .page-blog-o8-deposits-withdrawals-guide__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-o8-deposits-withdrawals-guide__feature-card {
    padding: 25px;
  }
  .page-blog-o8-deposits-withdrawals-guide__feature-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Guide Steps */
  .page-blog-o8-deposits-withdrawals-guide__guide-step {
    padding: 25px;
  }
  .page-blog-o8-deposits-withdrawals-guide__step-title {
    font-size: 1.3rem;
  }
  .page-blog-o8-deposits-withdrawals-guide__guide-step img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* CTA Block */
  .page-blog-o8-deposits-withdrawals-guide__cta-block {
    padding: 30px 15px;
  }
  .page-blog-o8-deposits-withdrawals-guide__cta-block p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* Issue Cards */
  .page-blog-o8-deposits-withdrawals-guide__issue-card {
    padding: 20px;
  }
  .page-blog-o8-deposits-withdrawals-guide__issue-card .page-blog-o8-deposits-withdrawals-guide__card-title {
    font-size: 1.15rem;
  }

  /* FAQ Section */
  details.page-blog-o8-deposits-withdrawals-guide__faq-item summary.page-blog-o8-deposits-withdrawals-guide__faq-question {
    padding: 15px;
  }
  .page-blog-o8-deposits-withdrawals-guide__faq-qtext {
    font-size: 1rem;
  }
  details.page-blog-o8-deposits-withdrawals-guide__faq-item .page-blog-o8-deposits-withdrawals-guide__faq-answer {
    padding: 0 15px 15px;
  }
  .page-blog-o8-deposits-withdrawals-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  /* Final CTA Section */
  .page-blog-o8-deposits-withdrawals-guide__cta-final-section {
    padding: 50px 0;
  }
  .page-blog-o8-deposits-withdrawals-guide__cta-final-section p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Generic image rules for content area */
  .page-blog-o8-deposits-withdrawals-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}