/* style/blog-what-is-ole777-code.css */
.page-blog-what-is-ole777-code {
  background-color: #08160F;
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

.page-blog-what-is-ole777-code__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  background-color: #08160F;
}

.page-blog-what-is-ole777-code__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-blog-what-is-ole777-code__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-what-is-ole777-code__hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 20px;
  color: #F2FFF6;
}

.page-blog-what-is-ole777-code__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-blog-what-is-ole777-code__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-what-is-ole777-code__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-what-is-ole777-code__btn-primary,
.page-blog-what-is-ole777-code__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-blog-what-is-ole777-code__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
}

.page-blog-what-is-ole777-code__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-what-is-ole777-code__btn-secondary {
  background-color: transparent;
  color: #11A84E; /* Main color */
  border: 2px solid #11A84E;
}

.page-blog-what-is-ole777-code__btn-secondary:hover {
  background-color: #11A84E;
  color: #ffffff;
}

.page-blog-what-is-ole777-code__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F;
  color: #F2FFF6;
}

.page-blog-what-is-ole777-code__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 25px;
  color: #F2FFF6;
  border-bottom: 2px solid #2E7A4E; /* Border color */
  padding-bottom: 10px;
}

.page-blog-what-is-ole777-code__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #57E38D; /* Glow color */
}

.page-blog-what-is-ole777-code p {
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-what-is-ole777-code__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #A7D9B8;
}

.page-blog-what-is-ole777-code__list li {
  margin-bottom: 8px;
  color: #A7D9B8;
}

.page-blog-what-is-ole777-code__list strong {
  color: #F2FFF6; /* Text Main */
}

.page-blog-what-is-ole777-code__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.page-blog-what-is-ole777-code__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-blog-what-is-ole777-code__image-text-block img {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-blog-what-is-ole777-code__text-block {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
}

.page-blog-what-is-ole777-code__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-blog-what-is-ole777-code__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog-what-is-ole777-code__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-blog-what-is-ole777-code__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-what-is-ole777-code__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-blog-what-is-ole777-code__card-text {
  font-size: 0.95em;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-what-is-ole777-code__card .page-blog-what-is-ole777-code__btn-primary,
.page-blog-what-is-ole777-code__card .page-blog-what-is-ole777-code__btn-secondary {
  width: 100%;
  margin-top: auto;
}

.page-blog-what-is-ole777-code__faq-list {
  margin-top: 30px;
}

.page-blog-what-is-ole777-code__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-blog-what-is-ole777-code__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.page-blog-what-is-ole777-code__faq-question:hover {
  background-color: #13994A;
}

.page-blog-what-is-ole777-code__faq-item[open] .page-blog-what-is-ole777-code__faq-question {
  background-color: #13994A;
}

.page-blog-what-is-ole777-code__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-blog-what-is-ole777-code__faq-item[open] .page-blog-what-is-ole777-code__faq-toggle {
  content: '−';
}

.page-blog-what-is-ole777-code__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95em;
  color: #A7D9B8;
  line-height: 1.8;
  background-color: #11271B;
}

.page-blog-what-is-ole777-code__faq-item details > summary {
  list-style: none;
}

.page-blog-what-is-ole777-code__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-blog-what-is-ole777-code__cta-banner {
  position: relative;
  margin-top: 60px;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.page-blog-what-is-ole777-code__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-blog-what-is-ole777-code__cta-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  max-width: 800px;
  background-color: rgba(17, 39, 27, 0.7); /* Card BG with opacity */
  border-radius: 10px;
}

.page-blog-what-is-ole777-code__cta-title {
  font-size: 2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-blog-what-is-ole777-code__cta-text {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-what-is-ole777-code__hero-content {
    padding: 20px;
  }

  .page-blog-what-is-ole777-code__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

  .page-blog-what-is-ole777-code__image-text-block,
  .page-blog-what-is-ole777-code__image-text-block--reverse {
    flex-direction: column;
    text-align: center;
  }

  .page-blog-what-is-ole777-code__image-text-block img,
  .page-blog-what-is-ole777-code__text-block {
    max-width: 100%;
  }

  .page-blog-what-is-ole777-code__image-text-block img {
    order: -1; /* Image always on top for column layout */
  }

  .page-blog-what-is-ole777-code__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-blog-what-is-ole777-code__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-blog-what-is-ole777-code__hero-section {
    padding-top: 10px !important;
  }

  .page-blog-what-is-ole777-code__hero-content {
    padding: 15px;
  }

  .page-blog-what-is-ole777-code__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-blog-what-is-ole777-code__description {
    font-size: 1em;
  }

  .page-blog-what-is-ole777-code__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-what-is-ole777-code__btn-primary,
  .page-blog-what-is-ole777-code__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px !important; /* Adjust padding for smaller screens */
  }

  .page-blog-what-is-ole777-code__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-what-is-ole777-code__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-what-is-ole777-code__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* Image responsive rules */
  .page-blog-what-is-ole777-code img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-what-is-ole777-code__hero-image-wrapper,
  .page-blog-what-is-ole777-code__image-text-block,
  .page-blog-what-is-ole777-code__card-grid,
  .page-blog-what-is-ole777-code__cta-banner,
  .page-blog-what-is-ole777-code__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog-what-is-ole777-code__card-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-what-is-ole777-code__card {
    padding: 20px;
  }

  .page-blog-what-is-ole777-code__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-what-is-ole777-code__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-blog-what-is-ole777-code__cta-title {
    font-size: 1.5em;
  }

  .page-blog-what-is-ole777-code__cta-text {
    font-size: 1em;
  }
}