/* Recruiting Industry List block */
.ril-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  color: #4a4a4a;
}

.ril-section h2 {
  font-size: 2.4em;
  font-weight: 700;
  color: #1c1c2e;
  margin: 0 0 24px;
}

.ril-section .ril-intro {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: 1.125em;
  line-height: 1.7;
}

.ril-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  max-width: 760px;
  margin: 40px auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.ril-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 1.15em;
  font-weight: 700;
  color: #1c1c2e;
}

.ril-list li::before {
  content: "\2713";
  color: #a626c9;
  font-size: 1.2em;
  font-weight: 700;
  flex-shrink: 0;
}

.ril-list a {
  color: #1a6fc4;
  text-decoration: none;
}

.ril-list a:hover {
  text-decoration: underline;
}

.ril-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.ril-btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1.05em;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ril-btn:hover {
  opacity: 0.88;
  color: #ffffff;
}

.ril-btn--purple {
  background: #5b21b6;
}

.ril-btn--magenta {
  background: #a832b8;
}

/* ---- "Background Image" block style ----
   Selected via the Styles panel in the editor (adds .is-style-bg-image). */
.ril-section.is-style-bg-image {
  position: relative;
  z-index: 0;
  max-width: none; /* full-bleed background */
  background: url("/wp-content/themes/kas/inc/ACF_blocks/blocks/CTA/images/CTA-bg.jpg") center / cover no-repeat;
  color: #e8e6f0;
}

/* Dark overlay for text readability — adjust opacity or remove if the image is light. */
.ril-section.is-style-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 40, 0.65);
  z-index: -1;
}

.ril-section.is-style-bg-image h2,
.ril-section.is-style-bg-image .ril-list li {
  color: #ffffff;
}

.ril-section.is-style-bg-image .ril-list li::before {
  color: #d06ae8;
}

.ril-section.is-style-bg-image .ril-list a {
  color: #8ec4f5;
}

@media (max-width: 640px) {
  .ril-section h2 {
    font-size: 1.9em;
  }

  .ril-list {
    grid-template-columns: 1fr;
  }
}

/* Intro wrapper (WYSIWYG content) */
.ril-intro p {
  margin: 0 0 18px;
  font-size: inherit;
  line-height: inherit;
}
