/* ==============================================
   AI Search Readiness Checklist — static, expandable
   reference widget (no scoring, no CTA, no form).

   Colors match the Wheelhouse Tailwind theme directly
   (no CSS custom properties):
     primary      #003D31  forest
     secondary    #C0D8D7  cloudy
     tertiary     #FED448  gold
     dark         #071E16  night
     brand-white  #F9F9F9  light
     slate        #4A4A68  slate
     light-slate  #8C8CA1  light slate
     accent       #F2F7F7  snow
     outlines     #D9D9D9  iris

   Breakpoints match the Tailwind theme.screens config:
     xs 480 / sm 640 / md 768 / lg 1024 / xl 1280 / 2xl 1440
   Only md is relevant here (single mobile/desktop split);
   an xs cutoff further tightens spacing on small phones.
============================================== */
#section-checklist {
	padding-top: 1px !important;
}
.checklist-widget {
  position: relative;
  padding: 40px 44px 44px;
  background: #C0D8D7; /* secondary */
  border-radius: 24px;
  border: 1px solid rgba(0, 61, 49, 0.12);
  isolation: isolate;
  font-family: 'Outfit', sans-serif;
}

/* Lead-in framing */
.checklist-widget__lead {
  margin: 0 0 28px;
}
.checklist-widget__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #003D31; /* primary */
  margin-bottom: 14px;
}
.checklist-widget__kicker::before {
  content: "Self-Assessment";
  display: inline-block;
  background: #003D31; /* primary */
  color: #F9F9F9; /* brand-white */
  padding: 6px 20px;
  margin-bottom: 16px; 
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: 0.14em;
}
.checklist-widget__lead h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: #003D31; /* primary */
  margin: 0 0 10px;
}
.checklist-widget__lead p {
  font-size: 20px;
  line-height: 1.55;
  color: #071E16; /* dark */
  margin: 10px 0 20px;
  /* max-width: 60ch; */
}

/* Sections */
.cl-sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cl-section {
  background: #F9F9F9; /* brand-white */
  border-radius: 16px;
  border: 1.5px solid #D9D9D9; /* outlines */
  overflow: hidden;
}

.cl-section__head {
  display: flex;
  align-items: start;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
/* .cl-section__head:hover { background: #F2F7F7; } accent */
.cl-section__head:focus-visible {
  outline: 2px solid #003D31; /* primary */
  outline-offset: -2px;
}

.cl-section__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cl-section__info {
  flex: 1;
  min-width: 0;
}
.cl-section__title {
  font-size: 17px;
  font-weight: 600;
  color: #003D31; /* primary */
  letter-spacing: -0.005em;
}
.cl-section__title span {
/* 	padding-right: 2px;  */
}
.cl-section__desc {
  font-size: 16px;
  color: #4A4A68; /* slate */
  margin-top: 2px;
}
.cl-chevron {
  color: #4A4A68; /* slate */
  transition: transform 0.25s;
  flex-shrink: 0;
}
.cl-chevron.is-open { transform: rotate(180deg); }

.cl-section__body { border-top: 1.5px solid #D9D9D9; } /* outlines */

.cl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
/*   cursor: pointer; */
  border-bottom: 1px solid #F2F7F7; /* accent */
  transition: background 0.12s;
}
.cl-item:last-child { border-bottom: none; }
/* .cl-item:hover { background: #F2F7F7; } accent */
.cl-marker:focus-visible {
  outline: 2px solid #003D31; /* primary  */
  outline-offset: -2px;
}

.cl-marker {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 6px;
  border: 2px solid #D9D9D9; /* outlines */
  background: #F9F9F9; /* brand-white */
  display: flex;
  align-items: center;
  justify-content: center;
	cursor: pointer; 
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.cl-marker.is-checked {
  /* border-color: transparent; */
  background: transparent;
  transform: scale(1.05);
}

.cl-item__label { flex: 1; }
.cl-item__text {
  font-size: 17px;
  font-weight: 500;
  color: #071E16; /* dark */
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.cl-item.is-checked .cl-item__text {
/*   color: #4A4A68; slate */
/*   text-decoration: line-through; */
  text-decoration-color: rgba(0, 61, 49, 0.3);
}
.cl-item__note {
  font-size: 16px;
  color: #4A4A68; /* slate — light-slate (#8C8CA1) failed WCAG AA at 3.13:1 on this bg */
  margin-top: 4px;
  line-height: 1.55;
}

/* Insight tags */
.cl-tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.cl-tag--new { background: rgba(254, 212, 72, 0.25); color: #003D31; }
.cl-tag--high { background: rgba(0, 61, 49, 0.08); color: #003D31; } /* primary */

/* ==============================================
   Responsive — aligned to theme.screens
   (md: 768px is the only relevant split here;
   an xs: 480px cutoff tightens spacing further
   on the smallest phones)
============================================== */
@media (max-width: 767px) {
  .checklist-widget { padding: 30px 22px 28px; border-radius: 18px; }
  .cl-section__head { padding: 14px 6px; gap: 12px; }
  .cl-section__icon { width: 34px; height: 34px; }
  .cl-item { padding: 12px 6px; }
}

@media (max-width: 479px) {
  .checklist-widget { padding: 24px 16px 24px; }
}
