/* style/blog-how-to-safely-use-r98-link-access.css */

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

.page-blog-how-to-safely-use-r98-link-access {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--r98-text-main); /* Default text color for the page content */
  background-color: var(--r98-background); /* Default background color for the page content */
}

.page-blog-how-to-safely-use-r98-link-access__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
  background-color: var(--r98-deep-green);
}

.page-blog-how-to-safely-use-r98-link-access__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-how-to-safely-use-r98-link-access__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

.page-blog-how-to-safely-use-r98-link-access__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-how-to-safely-use-r98-link-access__main-title {
  color: var(--r98-text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  /* clamp for responsive font size, avoiding fixed large values */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-blog-how-to-safely-use-r98-link-access__description {
  font-size: 1.15rem;
  color: var(--r98-text-secondary);
  margin-bottom: 30px;
}

.page-blog-how-to-safely-use-r98-link-access__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-blog-how-to-safely-use-r98-link-access__cta-buttons--center {
  justify-content: center;
}

.page-blog-how-to-safely-use-r98-link-access__btn-primary,
.page-blog-how-to-safely-use-r98-link-access__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-how-to-safely-use-r98-link-access__btn-primary {
  background: var(--r98-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-how-to-safely-use-r98-link-access__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-blog-how-to-safely-use-r98-link-access__btn-secondary {
  background-color: transparent;
  color: var(--r98-text-main);
  border: 2px solid var(--r98-primary-color);
  box-shadow: 0 2px 10px rgba(17, 168, 78, 0.2);
}

.page-blog-how-to-safely-use-r98-link-access__btn-secondary:hover {
  background-color: var(--r98-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-blog-how-to-safely-use-r98-link-access__section {
  padding: 60px 20px;
}

.page-blog-how-to-safely-use-r98-link-access__content-area {
  background-color: var(--r98-text-main);
  color: #333333; /* Dark text on light background for contrast */
}

.page-blog-how-to-safely-use-r98-link-access__dark-bg {
  background-color: var(--r98-background);
  color: var(--r98-text-main);
}

.page-blog-how-to-safely-use-r98-link-access__light-bg {
  background-color: var(--r98-text-main);
  color: #333333;
}

.page-blog-how-to-safely-use-r98-link-access__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog-how-to-safely-use-r98-link-access__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-blog-how-to-safely-use-r98-link-access__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-blog-how-to-safely-use-r98-link-access p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: inherit;
}

.page-blog-how-to-safely-use-r98-link-access strong {
  color: inherit;
}

.page-blog-how-to-safely-use-r98-link-access__list,
.page-blog-how-to-safely-use-r98-link-access__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-blog-how-to-safely-use-r98-link-access__ordered-list {
  list-style-type: decimal;
}

.page-blog-how-to-safely-use-r98-link-access__list li,
.page-blog-how-to-safely-use-r98-link-access__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: inherit;
}

.page-blog-how-to-safely-use-r98-link-access__image-block {
  margin: 40px auto;
  text-align: center;
  max-width: 1000px;
  box-sizing: border-box;
}

.page-blog-how-to-safely-use-r98-link-access__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

/* FAQ Section */
.page-blog-how-to-safely-use-r98-link-access__faq-list {
  margin-top: 40px;
}

.page-blog-how-to-safely-use-r98-link-access__faq-item {
  background-color: var(--r98-card-bg);
  border: 1px solid var(--r98-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--r98-text-main);
}

.page-blog-how-to-safely-use-r98-link-access__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--r98-text-main);
  background-color: var(--r98-deep-green);
  border-bottom: 1px solid var(--r98-divider-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-how-to-safely-use-r98-link-access__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-blog-how-to-safely-use-r98-link-access__faq-question:hover {
  background-color: var(--r98-primary-color);
}

.page-blog-how-to-safely-use-r98-link-access__faq-qtext {
  flex-grow: 1;
  color: inherit;
}

.page-blog-how-to-safely-use-r98-link-access__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  width: 25px;
  text-align: center;
  color: var(--r98-gold-color);
}

.page-blog-how-to-safely-use-r98-link-access__faq-item[open] .page-blog-how-to-safely-use-r98-link-access__faq-question {
  border-bottom-color: transparent;
}

.page-blog-how-to-safely-use-r98-link-access__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--r98-text-secondary);
  background-color: var(--r98-card-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-how-to-safely-use-r98-link-access__hero-content {
    margin-top: 20px;
    padding: 15px;
  }

  .page-blog-how-to-safely-use-r98-link-access__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-blog-how-to-safely-use-r98-link-access__description {
    font-size: 1rem;
  }

  .page-blog-how-to-safely-use-r98-link-access__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }

  .page-blog-how-to-safely-use-r98-link-access__sub-title {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  }
}

@media (max-width: 768px) {
  .page-blog-how-to-safely-use-r98-link-access__hero-section {
    padding: 10px 15px 40px;
  }

  .page-blog-how-to-safely-use-r98-link-access__hero-content {
    margin-top: 15px;
    padding: 15px;
  }

  .page-blog-how-to-safely-use-r98-link-access__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-how-to-safely-use-r98-link-access__description {
    font-size: 0.95rem;
  }

  .page-blog-how-to-safely-use-r98-link-access__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-how-to-safely-use-r98-link-access__btn-primary,
  .page-blog-how-to-safely-use-r98-link-access__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-how-to-safely-use-r98-link-access__section {
    padding: 40px 15px;
  }

  .page-blog-how-to-safely-use-r98-link-access__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-how-to-safely-use-r98-link-access__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .page-blog-how-to-safely-use-r98-link-access__sub-title {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  }

  .page-blog-how-to-safely-use-r98-link-access p,
  .page-blog-how-to-safely-use-r98-link-access__list li,
  .page-blog-how-to-safely-use-r98-link-access__ordered-list li,
  .page-blog-how-to-safely-use-r98-link-access__faq-answer {
    font-size: 0.95rem;
  }

  .page-blog-how-to-safely-use-r98-link-access img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-how-to-safely-use-r98-link-access__image-block,
  .page-blog-how-to-safely-use-r98-link-access__video-section,
  .page-blog-how-to-safely-use-r98-link-access__video-container,
  .page-blog-how-to-safely-use-r98-link-access__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-blog-how-to-safely-use-r98-link-access__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-how-to-safely-use-r98-link-access__faq-answer {
    padding: 15px 20px;
  }
}