/* style/resources-win365-app-download-guide.css */
.page-resources-win365-app-download-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light);
  background-color: var(--dark-bg-1);
}

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

/* Fixed nav spacing */
.page-resources-win365-app-download-guide__hero-section {
  padding-top: 120px; /* Adjust based on actual header height */
}

/* Hero Section */
.page-resources-win365-app-download-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color-darker) 0%, var(--primary-color) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-win365-app-download-guide__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-win365-app-download-guide__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-win365-app-download-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-win365-app-download-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-win365-app-download-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-resources-win365-app-download-guide__btn-primary {
  background: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
}

.page-resources-win365-app-download-guide__btn-primary:hover {
  background: var(--primary-color-darker);
  color: #ffffff;
  border-color: var(--primary-color-darker);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-win365-app-download-guide__btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-resources-win365-app-download-guide__btn-secondary:hover {
  background: #ffffff;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-resources-win365-app-download-guide__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust based on actual header height */
  background-color: var(--dark-bg-2);
  color: var(--text-color-light);
}

.page-resources-win365-app-download-guide__video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-win365-app-download-guide__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background-color: #000;
}

.page-resources-win365-app-download-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
}

.page-resources-win365-app-download-guide__video-caption {
  margin-top: 20px;
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
}

/* General Content Sections */
.page-resources-win365-app-download-guide__content-section {
  padding: 80px 0;
  background-color: var(--light-bg-1);
  color: var(--text-color-dark);
}

.page-resources-win365-app-download-guide__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-win365-app-download-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-resources-win365-app-download-guide__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--accent-color);
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.page-resources-win365-app-download-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-color-dark);
}

.page-resources-win365-app-download-guide__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-win365-app-download-guide__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-resources-win365-app-download-guide__list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-color-dark);
}

.page-resources-win365-app-download-guide__ordered-list .page-resources-win365-app-download-guide__list-item {
  display: list-item;
  align-items: flex-start;
  margin-bottom: 15px;
}

.page-resources-win365-app-download-guide__list-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  margin-right: 20px;
  border-radius: 50%;
  background-color: var(--primary-color-light);
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  max-width: 100%;
  height: auto;
}

.page-resources-win365-app-download-guide__list-item span {
  flex: 1;
}

.page-resources-win365-app-download-guide__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-win365-app-download-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-win365-app-download-guide__image-caption {
  font-size: 0.95em;
  color: #666;
  margin-top: 10px;
  padding: 10px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

.page-resources-win365-app-download-guide__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background-color: var(--primary-color-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-win365-app-download-guide__call-to-action .page-resources-win365-app-download-guide__text-block {
  font-size: 1.2em;
  color: var(--text-color-dark);
  margin-bottom: 30px;
}

.page-resources-win365-app-download-guide__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-resources-win365-app-download-guide__link:hover {
  color: var(--primary-color-darker);
  text-decoration: underline;
}

/* Features Grid */
.page-resources-win365-app-download-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-win365-app-download-guide__feature-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-win365-app-download-guide__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-win365-app-download-guide__feature-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.page-resources-win365-app-download-guide__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.page-resources-win365-app-download-guide__feature-description {
  font-size: 1em;
  color: var(--text-color-dark);
  line-height: 1.7;
}

/* FAQ Section */
.page-resources-win365-app-download-guide__faq-section {
  padding: 80px 0;
  background-color: var(--dark-bg-2);
  color: var(--text-color-light);
}

.page-resources-win365-app-download-guide__faq-section .page-resources-win365-app-download-guide__section-title {
  color: #ffffff;
}

.page-resources-win365-app-download-guide__faq-section .page-resources-win365-app-download-guide__section-title::after {
  background-color: #ffffff;
}

.page-resources-win365-app-download-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-win365-app-download-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-win365-app-download-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--dark-bg-1);
  border: 1px solid var(--border-color-dark);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-win365-app-download-guide__faq-question:hover {
  background: var(--dark-bg-3);
  border-color: var(--primary-color);
}

.page-resources-win365-app-download-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-resources-win365-app-download-guide__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-win365-app-download-guide__faq-item.active .page-resources-win365-app-download-guide__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

.page-resources-win365-app-download-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--dark-bg-3);
  color: #cccccc;
  border-radius: 0 0 10px 10px;
  font-size: 1em;
  line-height: 1.7;
}

.page-resources-win365-app-download-guide__faq-item.active .page-resources-win365-app-download-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

/* Brand Section */
.page-resources-win365-app-download-guide__brand-section {
  padding: 80px 0;
  background-color: var(--light-bg-1);
  color: var(--text-color-dark);
}

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

.page-resources-win365-app-download-guide__brand-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-win365-app-download-guide__brand-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-win365-app-download-guide__brand-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.page-resources-win365-app-download-guide__brand-item-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.page-resources-win365-app-download-guide__brand-item-description {
  font-size: 1em;
  color: var(--text-color-dark);
  line-height: 1.7;
}

/* Blog Section */
.page-resources-win365-app-download-guide__blog-section {
  padding: 80px 0;
  background-color: var(--dark-bg-2);
  color: var(--text-color-light);
}

.page-resources-win365-app-download-guide__blog-section .page-resources-win365-app-download-guide__section-title {
  color: #ffffff;
}

.page-resources-win365-app-download-guide__blog-section .page-resources-win365-app-download-guide__section-title::after {
  background-color: #ffffff;
}

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

.page-resources-win365-app-download-guide__blog-item {
  background: var(--dark-bg-1);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-win365-app-download-guide__blog-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-win365-app-download-guide__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-bottom: 20px;
}

.page-resources-win365-app-download-guide__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  max-width: 100%;
  height: auto;
}

.page-resources-win365-app-download-guide__blog-item-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #ffffff;
  margin: 0 20px 10px;
  line-height: 1.4;
}

.page-resources-win365-app-download-guide__blog-item-excerpt {
  font-size: 0.95em;
  color: #cccccc;
  margin: 0 20px 15px;
  line-height: 1.6;
}

.page-resources-win365-app-download-guide__blog-item-date {
  font-size: 0.85em;
  color: var(--primary-color);
  margin: 0 20px;
  display: block;
}

.highlight {
  color: var(--primary-color);
  font-weight: 600;
}

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

  .page-resources-win365-app-download-guide__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-win365-app-download-guide__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile header height */
    padding-bottom: 40px;
  }

  .page-resources-win365-app-download-guide__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-resources-win365-app-download-guide__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-win365-app-download-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-win365-app-download-guide__cta-button {
    width: 80%;
    max-width: 300px;
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-win365-app-download-guide__video-section {
    padding-top: 10px !important; /* Mobile: Adjust based on mobile header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources-win365-app-download-guide__video-wrapper {
    border-radius: 8px;
  }
  
  .page-resources-win365-app-download-guide__video {
    border-radius: 8px;
  }

  .page-resources-win365-app-download-guide__content-section,
  .page-resources-win365-app-download-guide__faq-section,
  .page-resources-win365-app-download-guide__brand-section,
  .page-resources-win365-app-download-guide__blog-section {
    padding: 50px 0;
  }

  .page-resources-win365-app-download-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-win365-app-download-guide__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-resources-win365-app-download-guide__text-block,
  .page-resources-win365-app-download-guide__list-item span,
  .page-resources-win365-app-download-guide__feature-description,
  .page-resources-win365-app-download-guide__brand-item-description,
  .page-resources-win365-app-download-guide__blog-item-excerpt {
    font-size: 0.95em;
  }

  .page-resources-win365-app-download-guide__list-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    margin-right: 15px;
    padding: 8px;
  }

  .page-resources-win365-app-download-guide__image-wrapper {
    margin: 20px auto;
  }

  .page-resources-win365-app-download-guide__call-to-action {
    padding: 30px;
  }

  .page-resources-win365-app-download-guide__feature-image {
    width: 100px;
    height: 100px;
  }

  .page-resources-win365-app-download-guide__feature-title {
    font-size: 1.3em;
  }

  .page-resources-win365-app-download-guide__faq-question {
    padding: 15px 20px;
  }

  .page-resources-win365-app-download-guide__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-win365-app-download-guide__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-resources-win365-app-download-guide__faq-answer {
    padding: 15px 20px !important;
  }

  .page-resources-win365-app-download-guide__brand-image {
    width: 100px;
    height: 100px;
  }

  .page-resources-win365-app-download-guide__brand-item-title {
    font-size: 1.4em;
  }

  .page-resources-win365-app-download-guide__blog-image {
    height: 150px;
  }

  .page-resources-win365-app-download-guide__blog-item-title {
    font-size: 1.2em;
  }

  .page-resources-win365-app-download-guide__blog-item-date {
    font-size: 0.8em;
  }

  /* Ensure all images are responsive */
  .page-resources-win365-app-download-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-win365-app-download-guide__section,
  .page-resources-win365-app-download-guide__card,
  .page-resources-win365-app-download-guide__container,
  .page-resources-win365-app-download-guide__image-wrapper,
  .page-resources-win365-app-download-guide__feature-card,
  .page-resources-win365-app-download-guide__brand-item,
  .page-resources-win365-app-download-guide__blog-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Specifics */
.page-resources-win365-app-download-guide__dark-bg {
  background-color: var(--dark-bg-1);
  color: var(--text-color-light);
}

.page-resources-win365-app-download-guide__light-bg {
  background-color: var(--light-bg-1);
  color: var(--text-color-dark);
}

.page-resources-win365-app-download-guide p,
.page-resources-win365-app-download-guide li {
  color: inherit; /* Inherit from parent section */
}

.page-resources-win365-app-download-guide__faq-answer p {
  color: #cccccc;
}

/* Shared colors from shared.css (assuming these exist) */
:root {
  --primary-color: #E44D26; /* Vibrant Orange-Red */
  --primary-color-darker: #c73d1f;
  --primary-color-light: #f57c5d;
  --accent-color: #333333; /* Dark Gray */
  --dark-bg-1: #0d0d0d; /* Very dark for body */
  --dark-bg-2: #1a1a1a;
  --dark-bg-3: #2a2a2a;
  --light-bg-1: #ffffff; /* White for content sections */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --border-color: #e0e0e0;
  --border-color-dark: #3a3a3a;
}