/* WordPress Content Area - Automatic Checkmark Lists */

/* Target all unordered lists within the main content area */
.entry-content ul,
.wp-block-post-content ul,
.content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

/* Style each list item */
.entry-content ul li,
.wp-block-post-content ul li,
.content ul li {
  color: var(--brand-orange);
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Create orange checkmarks using CSS pseudo-elements */
.entry-content ul li::before,
.wp-block-post-content ul li::before,
.content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--brand-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Second-level nested lists */
.entry-content ul li ul,
.wp-block-post-content ul li ul,
.content ul li ul {
  margin-top: 0.75rem;
  margin-bottom: 0;
  padding-left: 1.5rem;
}

/* Second-level list items - empty circles instead of checkmarks */
.entry-content ul li ul li::before,
.wp-block-post-content ul li ul li::before,
.content ul li ul li::before {
  content: "";
  background-color: transparent;
  border: 2px solid var(--brand-orange);
  color: transparent;
  width: 1rem;
  height: 1rem;
}

/* Adjust padding for second-level items */
.entry-content ul li ul li,
.wp-block-post-content ul li ul li,
.content ul li ul li {
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.95em;
}

/* Two-column layout on desktop (lg breakpoint and up) - only for top-level lists */
@media (min-width: 992px) {
  .entry-content > ul,
  .wp-block-post-content > ul,
  .content > ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    row-gap: 1rem;
  }

  /* Adjust margins for grid layout - only top-level items */
  .entry-content > ul > li,
  .wp-block-post-content > ul > li,
  .content > ul > li {
    margin-bottom: 0;
  }

  /* Keep nested lists as single column */
  .entry-content ul li ul,
  .wp-block-post-content ul li ul,
  .content ul li ul {
    display: block;
    grid-template-columns: none;
  }
}

/* Mobile responsiveness - ensure single column on smaller screens */
@media (max-width: 991.98px) {
  .entry-content ul,
  .wp-block-post-content ul,
  .content ul {
    display: block;
  }
}

/* Hero Section */
#primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 34vw;
  background-color: var(--brand-green);
}

@media (max-width: 991px) {
  .hero-section .rounded-5 {
    border-radius: 0 !important;
  }

  .services-hero-overlay {
    z-index: 3;
    bottom: -20%;
    opacity: 90%;
  }

  .hero-section {
    min-height: 51vw;
  }
}

@media (min-width: 992px) {
  .services-hero-overlay {
    z-index: 3;
    bottom: -10%;
  }

  .hero-section {
    min-height: 42vw;
  }
}

@media (min-width: 1170px) {
  .hero-section {
    min-height: 36vw;
  }
}

@media (min-width: 1600px) {
  .hero-section {
    min-height: 34vw;
  }
}
