/* style/blog-beginner-guide-to-888l.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-blog-beginner-guide-to-888l {
  color: #F3F8FF; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-blog-beginner-guide-to-888l__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-blog-beginner-guide-to-888l__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-blog-beginner-guide-to-888l__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-beginner-guide-to-888l__hero-content {
  max-width: 900px;
  margin-top: 40px;
  z-index: 1; /* Ensure content is above any potential background layers */
}

.page-blog-beginner-guide-to-888l__main-title {
  color: #F3F8FF; /* Text Main */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  /* No fixed font-size, relying on weight and line-height for hierarchy */
}

.page-blog-beginner-guide-to-888l__description {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-blog-beginner-guide-to-888l__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-beginner-guide-to-888l__btn-primary,
.page-blog-beginner-guide-to-888l__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-beginner-guide-to-888l__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-beginner-guide-to-888l__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-beginner-guide-to-888l__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 1px solid #244D84; /* Border */
}

.page-blog-beginner-guide-to-888l__btn-secondary:hover {
  background: #113B7A; /* Main color */
  color: #ffffff;
}

/* Content Section */
.page-blog-beginner-guide-to-888l__content-section {
  padding: 80px 20px;
  background: #08162B; /* Deep Navy from custom palette, matching body */
  color: #F3F8FF; /* Text Main */
}

.page-blog-beginner-guide-to-888l__dark-section {
  background: #113B7A; /* Main color */
  color: #ffffff; /* Forced white text for contrast */
}

.page-blog-beginner-guide-to-888l__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog-beginner-guide-to-888l__section-title {
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-blog-beginner-guide-to-888l__content-section p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
}

/* Step Cards */
.page-blog-beginner-guide-to-888l__step-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-blog-beginner-guide-to-888l__step-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-blog-beginner-guide-to-888l__step-image {
  width: 40%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-beginner-guide-to-888l__step-content {
  width: 60%;
  padding: 40px;
  color: #F3F8FF; /* Text Main */
}

.page-blog-beginner-guide-to-888l__step-content h3 {
  color: #F2C14E; /* Gold */
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-blog-beginner-guide-to-888l__step-content p {
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
}

/* Tips List */
.page-blog-beginner-guide-to-888l__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 80px;
}

.page-blog-beginner-guide-to-888l__tip-item {
  background: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

.page-blog-beginner-guide-to-888l__tip-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-beginner-guide-to-888l__tip-item h3 {
  color: #F2C14E; /* Gold */
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-blog-beginner-guide-to-888l__tip-item p {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

.page-blog-beginner-guide-to-888l__cta-buttons--bottom {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-beginner-guide-to-888l__hero-content {
    max-width: 700px;
  }
  .page-blog-beginner-guide-to-888l__step-content h3 {
    font-size: 1.4em;
  }
  .page-blog-beginner-guide-to-888l__step-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog-beginner-guide-to-888l__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-blog-beginner-guide-to-888l__main-title {
    font-size: 2em;
  }
  .page-blog-beginner-guide-to-888l__description {
    font-size: 1em;
  }
  .page-blog-beginner-guide-to-888l__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog-beginner-guide-to-888l__btn-primary,
  .page-blog-beginner-guide-to-888l__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-beginner-guide-to-888l__content-section {
    padding: 60px 15px;
  }
  .page-blog-beginner-guide-to-888l__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }

  .page-blog-beginner-guide-to-888l__step-card {
    flex-direction: column !important;
  }
  .page-blog-beginner-guide-to-888l__step-image,
  .page-blog-beginner-guide-to-888l__step-content {
    width: 100% !important;
    padding: 25px;
  }
  .page-blog-beginner-guide-to-888l__step-image {
    height: 250px;
  }

  .page-blog-beginner-guide-to-888l__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Mobile image and video responsive rules */
  .page-blog-beginner-guide-to-888l img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-beginner-guide-to-888l video,
  .page-blog-beginner-guide-to-888l__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-beginner-guide-to-888l__section,
  .page-blog-beginner-guide-to-888l__card,
  .page-blog-beginner-guide-to-888l__container,
  .page-blog-beginner-guide-to-888l__video-section,
  .page-blog-beginner-guide-to-888l__video-container,
  .page-blog-beginner-guide-to-888l__video-wrapper,
  .page-blog-beginner-guide-to-888l__cta-buttons,
  .page-blog-beginner-guide-to-888l__button-group,
  .page-blog-beginner-guide-to-888l__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-blog-beginner-guide-to-888l__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-blog-beginner-guide-to-888l__main-title {
    font-size: 1.8em;
  }
  .page-blog-beginner-guide-to-888l__section-title {
    font-size: 1.8em;
  }
  .page-blog-beginner-guide-to-888l__step-content h3 {
    font-size: 1.2em;
  }
  .page-blog-beginner-guide-to-888l__step-content {
    padding: 20px;
  }
  .page-blog-beginner-guide-to-888l__tip-item {
    padding: 20px;
  }
}

/* No CSS filter on images */
.page-blog-beginner-guide-to-888l img {
  filter: none; /* Ensure no filter is applied */
}

/* Video section (if present) */
.page-blog-beginner-guide-to-888l__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px;
}

.page-blog-beginner-guide-to-888l__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}