/* style/blog-kwin-latest-link.css */
:root {
  --kwin-primary: #26A9E0;
  --kwin-secondary: #FFFFFF;
  --kwin-text-dark: #333333;
  --kwin-text-light: #ffffff;
  --kwin-bg-dark: #0a0a0a;
  --kwin-login-btn: #EA7C07;
}

/* Body background is #0a0a0a (dark), so default text color should be light */
.page-blog-kwin-latest-link {
  font-family: 'Arial', sans-serif;
  color: var(--kwin-text-light); /* Light text for dark body background */
  background-color: var(--kwin-bg-dark);
  line-height: 1.6;
}

.page-blog-kwin-latest-link__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-blog-kwin-latest-link__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
}

.page-blog-kwin-latest-link__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-blog-kwin-latest-link__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  color: var(--kwin-text-light);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  /* IMPORTANT: Text and buttons are NOT layered over the image, this is for initial design intent before strict rule was applied. The HTML structure has image first, then content. */
  /* The HTML structure is already 'image first, then content block' as per strict rule. This CSS is illustrative of text styling for a hero. */
}

.page-blog-kwin-latest-link__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--kwin-secondary);
}

.page-blog-kwin-latest-link__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--kwin-secondary);
}

.page-blog-kwin-latest-link__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-kwin-latest-link__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-kwin-latest-link__btn-primary,
.page-blog-kwin-latest-link__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-kwin-latest-link__btn-primary {
  background-color: var(--kwin-primary);
  color: var(--kwin-secondary);
  border: 2px solid var(--kwin-primary);
}

.page-blog-kwin-latest-link__btn-primary:hover {
  background-color: #1e87b6;
  transform: translateY(-2px);
}

.page-blog-kwin-latest-link__btn-secondary {
  background-color: transparent;
  color: var(--kwin-primary);
  border: 2px solid var(--kwin-primary);
}

.page-blog-kwin-latest-link__btn-secondary:hover {
  background-color: var(--kwin-primary);
  color: var(--kwin-secondary);
  transform: translateY(-2px);
}

.page-blog-kwin-latest-link__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content sections */
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--kwin-text-light); /* Ensure light text on slightly darker background */
}

.page-blog-kwin-latest-link__container {
  width: 100%;
  box-sizing: border-box;
}

.page-blog-kwin-latest-link__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--kwin-primary);
  text-align: left;
}

.page-blog-kwin-latest-link__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--kwin-secondary);
  text-align: left;
}

.page-blog-kwin-latest-link p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--kwin-text-light);
}

.page-blog-kwin-latest-link__highlight {
  color: var(--kwin-primary);
  font-weight: 600;
}

.page-blog-kwin-latest-link__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-kwin-latest-link__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--kwin-text-light);
}

.page-blog-kwin-latest-link__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--kwin-text-light);
}

/* FAQ Section */
.page-blog-kwin-latest-link__faq-list {
  margin-top: 30px;
}

.page-blog-kwin-latest-link__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px 20px;
  color: var(--kwin-text-light);
  transition: background-color 0.3s ease;
}

.page-blog-kwin-latest-link__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-blog-kwin-latest-link__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--kwin-secondary);
  list-style: none; /* Remove default marker for summary */
}

.page-blog-kwin-latest-link__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

.page-blog-kwin-latest-link__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--kwin-primary);
}

.page-blog-kwin-latest-link__faq-answer {
  padding-top: 15px;
  font-size: 1.05rem;
  color: var(--kwin-text-light);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-blog-kwin-latest-link {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-kwin-latest-link__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-blog-kwin-latest-link__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog-kwin-latest-link__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-kwin-latest-link__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-kwin-latest-link__btn-primary,
  .page-blog-kwin-latest-link__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-kwin-latest-link__content-area {
    padding: 20px 15px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .page-blog-kwin-latest-link__section-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-kwin-latest-link__sub-title {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-kwin-latest-link p,
  .page-blog-kwin-latest-link__list-item,
  .page-blog-kwin-latest-link__faq-answer {
    font-size: 0.95rem;
  }

  .page-blog-kwin-latest-link__faq-question {
    font-size: 1.1rem;
  }

  /* Image responsiveness */
  .page-blog-kwin-latest-link img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-kwin-latest-link__section,
  .page-blog-kwin-latest-link__card,
  .page-blog-kwin-latest-link__container,
  .page-blog-kwin-latest-link__hero-section,
  .page-blog-kwin-latest-link__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video responsiveness (if any) */
  .page-blog-kwin-latest-link video,
  .page-blog-kwin-latest-link__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-kwin-latest-link__video-section,
  .page-blog-kwin-latest-link__video-container,
  .page-blog-kwin-latest-link__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-blog-kwin-latest-link__video-section {
    padding-top: 10px !important;
  }
  
  .page-blog-kwin-latest-link__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}