/* ===== WRAPPER ===== */
.sc-ql-wrap {
    background: #faf7fc;
    padding: 50px 0 60px;
    font-family: "Rubik", sans-serif;
    color: #222;
  }
  
  .sc-ql-inner {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* ===== SECTION HEADERS ===== */
  .sc-ql-section-title {
    text-align: center;
    margin-bottom: 24px;
  }
  
  .sc-ql-section-title h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #441752;
    margin: 0 0 8px;
  }
  
  .sc-ql-section-title p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
  }
  
  .sc-ql-section-title span.sc-ql-underline {
    display: inline-block;
    width: 80px;
    height: 3px;
    border-radius: 999px;
    background: #441752;
    margin-top: 12px;
  }
  
  /* =========================================
     QUICK ACCESS
     ========================================= */
  .sc-qa {
    margin-bottom: 40px;
  }
  
  .sc-qa__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  
  @media (max-width: 1024px) {
    .sc-qa__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .sc-qa__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 520px) {
    .sc-qa__grid {
      grid-template-columns: 1fr;
    }
  }
  
  .sc-qa__card {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #ece4f5;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  }
  
  .sc-qa__card:hover,
  .sc-qa__card:focus {
    border-color: #c9b0e8;
    box-shadow: 0 6px 16px rgba(68, 23, 82, 0.16);
    transform: translateY(-2px);
  }
  
  .sc-qa__icon {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #441752;
  }
  
  .sc-qa__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
  }
  
  .sc-qa__meta h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: #2a1636;
  }
  
  .sc-qa__meta p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #666;
  }
  
  /* =========================================
     LEGAL RESOURCES
     ========================================= */
  .sc-leg {
    margin-top: 10px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #ece4f5;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 24px 22px 22px;
  }
  
  @media (max-width: 768px) {
    .sc-leg {
      padding: 20px 16px 18px;
    }
  }
  
  .sc-leg__head {
    text-align: left;
    margin-bottom: 18px;
  }
  
  .sc-leg__head h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #441752;
    margin: 0 0 6px;
  }
  
  .sc-leg__head p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
  }
  
  /* Search */
  .sc-leg__search {
    margin-bottom: 18px;
  }
  
  .sc-leg__search-label {
    display: none;
  }
  
  .sc-leg__search-field {
    position: relative;
  }
  
  .sc-leg__search-field input[type="search"] {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #e0d3f0;
    padding: 9px 36px 9px 14px;
    font-size: 0.9rem;
    font-family: "Rubik", sans-serif;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
  }
  
  .sc-leg__search-field input[type="search"]:focus {
    border-color: #441752;
    box-shadow: 0 0 0 1px rgba(68, 23, 82, 0.3);
  }
  
  .sc-leg__search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #999;
  }
  
  /* Grid of resource groups */
  .sc-leg__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 16px;
  }
  
  @media (max-width: 1024px) {
    .sc-leg__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .sc-leg__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 520px) {
    .sc-leg__grid {
      grid-template-columns: 1fr;
    }
  }
  
  .sc-leg__group {
    background: #faf7fc;
    border-radius: 12px;
    border: 1px solid #e6d8f7;
    padding: 12px 13px;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  
  .sc-leg__group ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .sc-leg__group h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #2a1636;
  }
  
  .sc-leg__group li + li {
    margin-top: 6px;
  }
  
  .sc-leg__group a {
    position: relative;
    display: inline-block;
    padding-left: 14px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #4d2d6d;
    text-decoration: none;
    transition: color 0.16s ease, text-decoration-color 0.16s ease;
  }
  
  .sc-leg__group a::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.3;
    font-size: 0.9rem;
    color: #b08ed9;
  }
  
  .sc-leg__group a:hover,
  .sc-leg__group a:focus {
    color: #441752;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
  }
  
  /* Footer link */
  .sc-leg__footer {
    text-align: right;
  }
  
  .sc-leg__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #441752;
    text-decoration: none;
  }
  
  .sc-leg__more::after {
    content: "➜";
    font-size: 0.8rem;
  }
  
  .sc-leg__more:hover,
  .sc-leg__more:focus {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
  }
  

  /* FORCE REMOVE THEME BULLETS on shortcode */
.sc-leg__group ul,
.sc-leg__group li {
    list-style: none !important;
}

/* Restore purple bullet */
.sc-leg__group li a::before {
    content: "•" !important;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #b08ed9 !important;
}

.sc-leg__group ul,
.sc-leg__group li,
.sc-leg__group ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}