/* style/resources-rio66-android-download-guide.css */

:root {
  --rio66-gold: #FFD700;
  --rio66-blue: #00BFFF;
  --rio66-dark-bg: #1a1a1a;
  --rio66-light-text: #ffffff;
  --rio66-dark-text: #333333;
  --rio66-accent-orange: #FF4500;
  --rio66-card-bg: rgba(255, 255, 255, 0.05);
}

.page-resources-rio66-android-download-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--rio66-dark-text); /* Default for light backgrounds */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

/* Ensure text color is light on dark body background */
.page-resources-rio66-android-download-guide.page-content {
  color: var(--rio66-light-text);
}

.page-resources-rio66-android-download-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-rio66-android-download-guide__dark-bg {
  background-color: var(--rio66-dark-bg);
  color: var(--rio66-light-text);
}

.page-resources-rio66-android-download-guide__light-bg {
  background-color: #f8f9fa;
  color: var(--rio66-dark-text);
}

.page-resources-rio66-android-download-guide__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--rio66-dark-bg) 0%, #0d0d0d 100%);
  overflow: hidden;
}

.page-resources-rio66-android-download-guide__main-title {
  font-size: 3.2em;
  color: var(--rio66-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-rio66-android-download-guide__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-resources-rio66-android-download-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-resources-rio66-android-download-guide__btn-primary,
.page-resources-rio66-android-download-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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-rio66-android-download-guide__btn-primary {
  background-color: var(--rio66-accent-orange);
  color: var(--rio66-light-text);
  border: 2px solid var(--rio66-accent-orange);
}

.page-resources-rio66-android-download-guide__btn-primary:hover {
  background-color: #e63900;
  border-color: #e63900;
  transform: translateY(-2px);
}

.page-resources-rio66-android-download-guide__btn-secondary {
  background-color: transparent;
  color: var(--rio66-gold);
  border: 2px solid var(--rio66-gold);
}

.page-resources-rio66-android-download-guide__btn-secondary:hover {
  background-color: var(--rio66-gold);
  color: var(--rio66-dark-bg);
  transform: translateY(-2px);
}

.page-resources-rio66-android-download-guide__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-resources-rio66-android-download-guide__content-area,
.page-resources-rio66-android-download-guide__download-steps,
.page-resources-rio66-android-download-guide__features-section,
.page-resources-rio66-android-download-guide__troubleshooting-section,
.page-resources-rio66-android-download-guide__faq-section,
.page-resources-rio66-android-download-guide__final-cta-section {
  padding: 60px 0;
}

.page-resources-rio66-android-download-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--rio66-gold);
}

.page-resources-rio66-android-download-guide__content-area .page-resources-rio66-android-download-guide__section-title,
.page-resources-rio66-android-download-guide__features-section .page-resources-rio66-android-download-guide__section-title {
  color: var(--rio66-dark-text);
}

.page-resources-rio66-android-download-guide__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-resources-rio66-android-download-guide__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-rio66-android-download-guide__feature-item {
  background-color: var(--rio66-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--rio66-light-text);
}

.page-resources-rio66-android-download-guide__feature-item p {
  color: rgba(255, 255, 255, 0.8);
}

.page-resources-rio66-android-download-guide__feature-heading {
  color: var(--rio66-gold);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-resources-rio66-android-download-guide__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-rio66-android-download-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-rio66-android-download-guide__step-item {
  background-color: var(--rio66-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--rio66-light-text);
}

.page-resources-rio66-android-download-guide__step-heading {
  color: var(--rio66-blue);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-resources-rio66-android-download-guide__step-item p {
  color: rgba(255, 255, 255, 0.8);
}

.page-resources-rio66-android-download-guide__feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-rio66-android-download-guide__card {
  background-color: var(--rio66-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--rio66-light-text);
}

.page-resources-rio66-android-download-guide__card-title {
  color: var(--rio66-gold);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-resources-rio66-android-download-guide__card p {
  flex-grow: 1;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.page-resources-rio66-android-download-guide__card-link {
  display: inline-block;
  color: var(--rio66-blue);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.page-resources-rio66-android-download-guide__card-link:hover {
  text-decoration: underline;
}

.page-resources-rio66-android-download-guide__trouble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-rio66-android-download-guide__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-resources-rio66-android-download-guide__faq-item {
  background-color: var(--rio66-card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-rio66-android-download-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: var(--rio66-dark-bg);
  color: var(--rio66-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-resources-rio66-android-download-guide__faq-question:hover {
  background-color: #2a2a2a;
}

.page-resources-rio66-android-download-guide__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: inherit;
}

.page-resources-rio66-android-download-guide__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--rio66-blue);
}

.page-resources-rio66-android-download-guide__faq-item.active .page-resources-rio66-android-download-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-rio66-android-download-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
  background-color: #2a2a2a;
}

.page-resources-rio66-android-download-guide__faq-item.active .page-resources-rio66-android-download-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 30px;
}

.page-resources-rio66-android-download-guide__final-cta-section {
  text-align: center;
  background: linear-gradient(45deg, var(--rio66-blue) 0%, #007bff 100%);
  padding: 80px 0;
}

.page-resources-rio66-android-download-guide__final-cta-section .page-resources-rio66-android-download-guide__section-title {
  color: var(--rio66-light-text);
}

.page-resources-rio66-android-download-guide__final-cta-section .page-resources-rio66-android-download-guide__text-block {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-rio66-android-download-guide__main-title {
    font-size: 2.8em;
  }

  .page-resources-rio66-android-download-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-rio66-android-download-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-rio66-android-download-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-rio66-android-download-guide__main-title {
    font-size: 2.2em;
  }

  .page-resources-rio66-android-download-guide__intro-text {
    font-size: 1em;
  }

  .page-resources-rio66-android-download-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-resources-rio66-android-download-guide__btn-primary,
  .page-resources-rio66-android-download-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-rio66-android-download-guide__container {
    padding: 0 15px;
  }

  .page-resources-rio66-android-download-guide__content-area,
  .page-resources-rio66-android-download-guide__download-steps,
  .page-resources-rio66-android-download-guide__features-section,
  .page-resources-rio66-android-download-guide__troubleshooting-section,
  .page-resources-rio66-android-download-guide__faq-section,
  .page-resources-rio66-android-download-guide__final-cta-section {
    padding: 40px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-resources-rio66-android-download-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-rio66-android-download-guide__feature-list,
  .page-resources-rio66-android-download-guide__steps-grid,
  .page-resources-rio66-android-download-guide__feature-cards,
  .page-resources-rio66-android-download-guide__trouble-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-rio66-android-download-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-resources-rio66-android-download-guide__faq-question {
    padding: 15px 20px;
  }

  .page-resources-rio66-android-download-guide__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-rio66-android-download-guide__main-title {
    font-size: 1.8em;
  }

  .page-resources-rio66-android-download-guide__section-title {
    font-size: 1.5em;
  }
}