/* style/blog-uw99-safe-access.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color-page: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-blog-uw99-safe-access {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-color-page); /* Page background */
}

.page-blog-uw99-safe-access__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--background-color-page);
  color: var(--text-main);
  overflow: hidden;
}

.page-blog-uw99-safe-access__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-uw99-safe-access__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-uw99-safe-access__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-uw99-safe-access__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-blog-uw99-safe-access__intro-text {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-blog-uw99-safe-access__btn-primary,
.page-blog-uw99-safe-access__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-uw99-safe-access__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  margin: 10px;
}

.page-blog-uw99-safe-access__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-uw99-safe-access__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin: 10px;
}

.page-blog-uw99-safe-access__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-2px);
}

.page-blog-uw99-safe-access__content-section {
  padding: 60px 0;
}

.page-blog-uw99-safe-access__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-blog-uw99-safe-access__dark-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-blog-uw99-safe-access__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-uw99-safe-access__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--gold-color);
  font-weight: bold;
}

.page-blog-uw99-safe-access__light-bg .page-blog-uw99-safe-access__section-title {
  color: var(--primary-color);
}

.page-blog-uw99-safe-access__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-blog-uw99-safe-access__dark-bg .page-blog-uw99-safe-access__sub-title {
  color: var(--secondary-color);
}

.page-blog-uw99-safe-access__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit; /* Inherit color from parent section */
}

.page-blog-uw99-safe-access__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-blog-uw99-safe-access__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: inherit;
}

.page-blog-uw99-safe-access__warning-text {
  color: var(--gold-color);
  font-weight: bold;
  background-color: var(--deep-green-color);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  border-left: 5px solid var(--gold-color);
}

.page-blog-uw99-safe-access__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-blog-uw99-safe-access__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.page-blog-uw99-safe-access__video-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
  text-align: center;
}

.page-blog-uw99-safe-access__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video container */
  margin: 30px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
}

.page-blog-uw99-safe-access__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-blog-uw99-safe-access__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5; /* Ensure overlay is above video but below controls */
  cursor: pointer;
  background: rgba(0,0,0,0); /* Transparent initially */
  transition: background 0.3s ease;
}

.page-blog-uw99-safe-access__video-link-overlay:hover {
  background: rgba(0,0,0,0.1); /* Slight overlay on hover */
}

/* FAQ Section */
.page-blog-uw99-safe-access__faq-section {
  padding: 60px 0;
}

.page-blog-uw99-safe-access__faq-list {
  margin-top: 40px;
}

.page-blog-uw99-safe-access__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-blog-uw99-safe-access__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--deep-green-color);
  color: var(--text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-uw99-safe-access__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-uw99-safe-access__faq-question:hover {
  background-color: var(--primary-color);
}

.page-blog-uw99-safe-access__faq-item[open] .page-blog-uw99-safe-access__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-uw99-safe-access__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-blog-uw99-safe-access__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-main);
}

.page-blog-uw99-safe-access__cta-content {
  max-width: 800px;
}

.page-blog-uw99-safe-access__cta-button {
  margin-top: 40px;
  padding: 15px 35px;
  font-size: 1.3em;
  border-radius: 10px;
  background: var(--button-gradient);
  color: var(--text-main);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-blog-uw99-safe-access__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-blog-uw99-safe-access__hero-content {
    margin-top: -80px;
    max-width: 80%;
  }
  .page-blog-uw99-safe-access__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-blog-uw99-safe-access__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  .page-blog-uw99-safe-access__hero-content {
    margin-top: -60px;
    padding: 15px;
    max-width: 90%;
  }
  .page-blog-uw99-safe-access__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-blog-uw99-safe-access__intro-text,
  .page-blog-uw99-safe-access__text-block,
  .page-blog-uw99-safe-access__list-item {
    font-size: 1em;
  }
  .page-blog-uw99-safe-access__btn-primary,
  .page-blog-uw99-safe-access__btn-secondary,
  .page-blog-uw99-safe-access a[class*="button"],
  .page-blog-uw99-safe-access a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin: 5px 0 !important; /* Adjust margins for stacked buttons */
  }
  .page-blog-uw99-safe-access__cta-group {
    flex-direction: column;
    gap: 10px;
  }
  .page-blog-uw99-safe-access__content-section,
  .page-blog-uw99-safe-access__video-section,
  .page-blog-uw99-safe-access__faq-section,
  .page-blog-uw99-safe-access__cta-section {
    padding: 40px 0 !important;
  }
  .page-blog-uw99-safe-access__container {
    padding: 0 15px !important;
  }
  .page-blog-uw99-safe-access__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-blog-uw99-safe-access__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
  }
  .page-blog-uw99-safe-access img,
  .page-blog-uw99-safe-access video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-uw99-safe-access__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 20px auto !important;
  }
  .page-blog-uw99-safe-access__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-blog-uw99-safe-access__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-blog-uw99-safe-access__cta-button {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}

@media (max-width: 480px) {
  .page-blog-uw99-safe-access__hero-content {
    margin-top: -40px;
  }
  .page-blog-uw99-safe-access__main-title {
    font-size: 1.8em;
  }
  .page-blog-uw99-safe-access__section-title {
    font-size: 1.8em;
  }
  .page-blog-uw99-safe-access__sub-title {
    font-size: 1.3em;
  }
  .page-blog-uw99-safe-access__faq-question {
    font-size: 1em;
  }
}