/*
 * raw-to-cards.css  (2026-10-24, owner rule: no raw-text sections)
 * Turns bare lists, underline-only accordions and bare disclosures into the same card the /buy/ and /sell/ FAQ
 * cards use (gen6-punch-cards.css): rounded 16px, soft shadow, hover lift on desktop, 56px tap row on phone.
 * Palette is the logo blues only: #095E93 #2B80BB #60C3EF #D2E4F5 #f4f9fd (+ white and the existing slate #33475d text).
 * Must load LAST (after gen6-punch-*.css). Every selector is prefixed with `body` to beat the page-scoped rules.
 */

/* ---------- shared card tokens ---------- */
body .g6-citydeep-faq details,
body .cc-faq-list details.cc-faq-item,
body details.ga-question,
body details.g6b-faq,
body .g6-nearby-points,
body details.g6-hub-legacy-films {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 40, 70, .1), 0 0 0 1px rgba(9, 94, 147, .1);
  margin: 0 0 12px;
  padding: 0;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: rgba(43, 128, 187, .15);
}
body .g6-citydeep-faq { border: 0; margin-top: 0; }
body .g6-citydeep-faq details:last-child,
body .cc-faq-list details.cc-faq-item:last-child { margin-bottom: 0; }

body .g6-citydeep-faq details[open],
body .cc-faq-list details.cc-faq-item[open],
body details.ga-question[open],
body details.g6b-faq[open],
body .g6-nearby-points[open] {
  box-shadow: 0 8px 24px rgba(0, 40, 70, .14), 0 0 0 2px #2b80bb;
}

/* summary row = the tap target */
body .g6-citydeep-faq summary,
body .cc-faq-list details.cc-faq-item > summary,
body details.ga-question > summary,
body details.g6b-faq > summary {
  min-height: 56px;
  padding: 14px 18px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  color: #095e93;
  font: 700 16px/1.35 Manrope, sans-serif;
  border: 0;
}
body .g6-citydeep-faq summary::-webkit-details-marker,
body .cc-faq-list details.cc-faq-item > summary::-webkit-details-marker,
body details.ga-question > summary::-webkit-details-marker,
body details.g6b-faq > summary::-webkit-details-marker { display: none; }
body details.ga-question > summary h3 { margin: 0; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.3; color: #095e93; }
body details.g6b-faq > summary { font-size: 16px; }

/* +/- badge, same look as the buy/sell FAQ cards */
body .g6-citydeep-faq summary::after,
body details.g6b-faq > summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d2e4f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 2v10M2 7h10' stroke='%23095e93' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
  transform: none;
  font-size: 0;
}
body .g6-citydeep-faq details[open] > summary::after,
body details.g6b-faq[open] > summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7h10' stroke='%23095e93' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transform: none;
}
/* b-faq had a native triangle marker as ::before; drop it so the badge is the only control */
body details.g6b-faq > summary::before { content: none; display: none; }
body .cc-faq-list .cc-faq-marker,
body details.ga-question > summary::after {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d2e4f5;
  color: #095e93;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 18px/1 Manrope, sans-serif;
  transform: none;
}
body details.ga-question > summary::after { content: "+"; position: static; }
body details.ga-question[open] > summary::after { content: "\2212"; }
body .cc-faq-list details.cc-faq-item[open] .cc-faq-marker { transform: none; }
body .g6-citydeep-faq details[open] > summary,
body .cc-faq-list details.cc-faq-item[open] > summary,
body details.ga-question[open] > summary,
body details.g6b-faq[open] > summary { padding-bottom: 8px; }

/* answer text */
body .g6-citydeep-faq details > p,
body .cc-faq-list details.cc-faq-item > p,
body details.ga-question > p,
body details.ga-question > div,
body details.g6b-faq > p,
body details.g6b-faq > div {
  margin: 0;
  padding: 0 18px 18px;
  max-width: none;
  color: #33475d;
  font: 400 15px/1.65 Manrope, sans-serif;
}

/* ---------- wrapper disclosures: card the whole disclosure ---------- */
body .g6-nearby-points > summary {
  min-height: 56px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
}
body .g6-nearby-points > summary::-webkit-details-marker { display: none; }
body .g6-nearby-points > summary h2 { margin: 0; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; }
body .g6-nearby-points > summary::after {
  content: "+";
  flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #d2e4f5; color: #095e93;
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 18px/1 Manrope, sans-serif;
}
body .g6-nearby-points[open] > summary::after { content: "\2212"; }
body .g6-nearby-points > *:not(summary) { margin-left: 20px; margin-right: 20px; }
body .g6-nearby-points > *:last-child { margin-bottom: 20px; }

/* "More searches, tools and nearby guides" folds hold whole bands: card the summary bar only */
body details.g6-area-compact-farm { border: 0; background: transparent; }
body details.g6-area-compact-farm > summary {
  min-height: 56px;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  list-style: none; cursor: pointer;
  border-radius: 16px; background: #fff;
  box-shadow: 0 4px 16px rgba(0, 40, 70, .1), 0 0 0 1px rgba(9, 94, 147, .1);
  color: #095e93; font: 700 16px/1.35 Manrope, sans-serif;
  transition: transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: rgba(43, 128, 187, .15);
}
body details.g6-area-compact-farm > summary::-webkit-details-marker { display: none; }
body details.g6-area-compact-farm > summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: #d2e4f5; color: #095e93; display: inline-flex; align-items: center; justify-content: center;
  font: 700 18px/1 Manrope, sans-serif;
}
body details.g6-area-compact-farm[open] > summary::after { content: "\2212"; }
body details.g6-area-compact-farm[open] > summary { box-shadow: 0 8px 24px rgba(0, 40, 70, .14), 0 0 0 2px #2b80bb; }

/* film folds on county/city hubs: same bar */
body details.g6-hub-legacy-films { overflow: visible; }
body details.g6-hub-legacy-films > summary {
  min-height: 56px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  list-style: none; cursor: pointer; color: #095e93; font: 700 16px/1.35 Manrope, sans-serif;
}
body details.g6-hub-legacy-films > summary::-webkit-details-marker { display: none; }
body details.g6-hub-legacy-films > *:not(summary) { margin: 0 18px 18px; }

/* small note disclosures (method, map notes, credits): a soft pale card instead of a bare underline */
body details.g6-area-disclosure,
body details.g6h-method,
body details.g6-area-map-credit,
body details.g6gd-credits,
body details.waterway-data-notes,
body details.g6-instrument-sources {
  border: 0;
  border-radius: 14px;
  background: #f4f9fd;
  box-shadow: 0 0 0 1px #d2e4f5;
  padding: 0;
  margin: 12px 0;
}
body details.g6-area-disclosure > summary,
body details.g6h-method > summary,
body details.g6-area-map-credit > summary,
body details.g6gd-credits > summary,
body details.waterway-data-notes > summary,
body details.g6-instrument-sources > summary {
  min-height: 48px;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  list-style: none; cursor: pointer;
  color: #095e93; font: 700 14.5px/1.35 Manrope, sans-serif;
}
body details.g6-area-disclosure > summary::-webkit-details-marker,
body details.g6h-method > summary::-webkit-details-marker,
body details.g6-area-map-credit > summary::-webkit-details-marker,
body details.g6gd-credits > summary::-webkit-details-marker,
body details.waterway-data-notes > summary::-webkit-details-marker,
body details.g6-instrument-sources > summary::-webkit-details-marker { display: none; }
body details.g6-area-disclosure > summary::after,
body details.g6h-method > summary::after,
body details.g6-area-map-credit > summary::after,
body details.g6gd-credits > summary::after,
body details.waterway-data-notes > summary::after,
body details.g6-instrument-sources > summary::after {
  content: "+"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: #d2e4f5; color: #095e93; display: inline-flex; align-items: center; justify-content: center;
  font: 700 16px/1 Manrope, sans-serif;
}
body details.g6-area-disclosure[open] > summary::after,
body details.g6h-method[open] > summary::after,
body details.g6-area-map-credit[open] > summary::after,
body details.g6gd-credits[open] > summary::after,
body details.waterway-data-notes[open] > summary::after,
body details.g6-instrument-sources[open] > summary::after { content: "\2212"; }
body details.g6-area-disclosure > *:not(summary),
body details.g6h-method > *:not(summary),
body details.g6-area-map-credit > *:not(summary),
body details.g6gd-credits > *:not(summary),
body details.waterway-data-notes > *:not(summary),
body details.g6-instrument-sources > *:not(summary) {
  margin-left: 16px; margin-right: 16px; color: #33475d;
}
body details.g6-area-disclosure > *:last-child,
body details.g6h-method > *:last-child,
body details.g6-area-map-credit > *:last-child,
body details.g6gd-credits > *:last-child,
body details.waterway-data-notes > *:last-child,
body details.g6-instrument-sources > *:last-child { margin-bottom: 16px; }

/* ---------- lists: every item becomes a card ---------- */
/* article checklists and numbered steps (blog and guides) */
body :is(.post-body, .g6a-reading, .ga-flow) :is(ul.ga-checklist:not(.g6v10-zones-grid), ol.ga-steps) {
  list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; counter-reset: ga-step;
}
body :is(.post-body, .g6a-reading, .ga-flow) :is(ul.ga-checklist:not(.g6v10-zones-grid), ol.ga-steps) > li {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 62px;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 40, 70, .1), 0 0 0 1px rgba(9, 94, 147, .1);
  color: #33475d;
  line-height: 1.6;
  counter-increment: ga-step;
  transition: transform .18s ease, box-shadow .18s ease;
}
body :is(.post-body, .g6a-reading, .ga-flow) :is(ul.ga-checklist:not(.g6v10-zones-grid), ol.ga-steps) > li:last-child { border-bottom: 0; }
body :is(.post-body, .g6a-reading, .ga-flow) ul.ga-checklist:not(.g6v10-zones-grid) > li::before {
  content: ""; position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: #d2e4f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.4' fill='none' stroke='%23095e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
body :is(.post-body, .g6a-reading, .ga-flow) ol.ga-steps > li::before {
  content: counter(ga-step); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  background: #095e93; color: #fff; display: flex; align-items: center; justify-content: center;
  font: 700 14px/1 Manrope, sans-serif;
}
body :is(.post-body, .g6a-reading, .ga-flow) :is(ul.ga-checklist:not(.g6v10-zones-grid), ol.ga-steps) > li strong { color: #095e93; }
/* nested lists stay plain inside the card */
body :is(.post-body, .g6a-reading, .ga-flow) :is(ul.ga-checklist:not(.g6v10-zones-grid), ol.ga-steps) li ul { margin: 8px 0 0; padding-left: 18px; list-style: disc; }

/* city fact lists ("Every trip crosses the causeway") */
body .g6-citydeep-facts { border: 0; display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
body .g6-citydeep-facts > li {
  padding: 18px 20px;
  border: 0; border-radius: 16px; background: #fff;
  box-shadow: 0 4px 16px rgba(0, 40, 70, .1), 0 0 0 1px rgba(9, 94, 147, .1);
  transition: transform .18s ease, box-shadow .18s ease;
}
body .g6-citydeep-facts > li strong { color: #095e93; }
body .g6-citydeep-facts > li p { color: #33475d; max-width: none; }

/* landing page bullet lines (/lp-*, /sell-your-swfl-home/, /my-home-didnt-sell/) */
body .g6l-ticks { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
body .g6l-ticks > li,
body ul.lux-lead-bullets > li,
body ul.check-list--centered > li {
  position: relative;
  padding: 14px 18px 14px 52px;
  min-height: 48px;
  display: flex; align-items: center;
  border: 0; border-radius: 14px; background: #fff;
  box-shadow: 0 4px 14px rgba(0, 40, 70, .1), 0 0 0 1px rgba(9, 94, 147, .1);
  color: #095e93;
  font: 600 15.5px/1.45 Manrope, sans-serif;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}
body .g6l-ticks > li::before {
  content: ""; position: absolute; left: 18px; top: 50%; margin-top: -8px; width: 12px; height: 7px;
  border-left: 2px solid #2b80bb; border-bottom: 2px solid #2b80bb; transform: rotate(-45deg);
}
body ul.lux-lead-bullets,
body ul.check-list--centered { display: grid; gap: 10px; padding: 0; margin: 18px 0; list-style: none; max-width: 720px; }
body ul.lux-lead-bullets > li::before,
body ul.check-list--centered > li::before {
  content: ""; position: absolute; left: 16px; top: 50%; margin-top: -14px; width: 28px; height: 28px; border-radius: 50%;
  background: #d2e4f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.4' fill='none' stroke='%23095e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transform: none; border: 0;
}
body ul.check-list--centered > li { color: #095e93; }

/* city resources finder list, gulf access ledgers and facts */
body .civic-list__item,
body ul.ct-mini-ledger > li,
body ul.ct-route__facts > li {
  border: 0; border-radius: 14px; background: #fff;
  box-shadow: 0 4px 14px rgba(0, 40, 70, .1), 0 0 0 1px rgba(9, 94, 147, .1);
  transition: transform .18s ease, box-shadow .18s ease;
}
body ul.civic-list__items { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
body .civic-list__item .civic-list__btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 56px; padding: 12px 16px; text-align: left; background: transparent; border: 0; border-radius: 14px; cursor: pointer; }
body ul.ct-mini-ledger { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; border: 0; }
body ul.ct-mini-ledger > li { padding: 14px 18px; }
body ul.ct-route__facts { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; border: 0; }
body ul.ct-route__facts > li { padding: 14px 18px; }

/* relocate "which part of SWFL" places: whole card is the link */
body .g6rr-places { border: 0; display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
body .g6rr-places > li {
  position: relative;
  padding: 20px 22px;
  border: 0; border-radius: 16px; background: #fff;
  box-shadow: 0 4px 16px rgba(0, 40, 70, .1), 0 0 0 1px rgba(9, 94, 147, .1);
  transition: transform .18s ease, box-shadow .18s ease;
}
body .g6rr-places > li a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
body .g6rr-places > li a { min-height: 44px; }

/* ---------- hover lift (desktop only) and press feedback (phone) ---------- */
@media (hover: hover) and (pointer: fine) {
  body .g6-citydeep-faq details:hover,
  body .cc-faq-list details.cc-faq-item:hover,
  body details.ga-question:hover,
  body details.g6b-faq:hover,
  body .g6-nearby-points:hover,
  body details.g6-area-compact-farm > summary:hover,
  body :is(.post-body, .g6a-reading, .ga-flow) :is(ul.ga-checklist:not(.g6v10-zones-grid), ol.ga-steps) > li:hover,
  body .g6-citydeep-facts > li:hover,
  body .g6l-ticks > li:hover,
  body ul.lux-lead-bullets > li:hover,
  body ul.check-list--centered > li:hover,
  body .civic-list__item:hover,
  body ul.ct-mini-ledger > li:hover,
  body ul.ct-route__facts > li:hover,
  body .g6rr-places > li:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 40, 70, .16), 0 0 0 1px rgba(43, 128, 187, .4);
  }
}
@media (hover: none) {
  body .g6-citydeep-faq details:active,
  body .cc-faq-list details.cc-faq-item:active,
  body details.ga-question:active,
  body details.g6b-faq:active,
  body .g6rr-places > li:active { box-shadow: 0 2px 8px rgba(0, 40, 70, .12), 0 0 0 2px #60c3ef; }
}
@media (prefers-reduced-motion: reduce) {
  body .g6-citydeep-faq details,
  body .cc-faq-list details.cc-faq-item,
  body details.ga-question,
  body details.g6b-faq,
  body .g6-nearby-points,
  body details.g6-area-compact-farm > summary,
  body .g6-citydeep-facts > li,
  body .g6rr-places > li,
  body :is(.post-body, .g6a-reading, .ga-flow) :is(ul.ga-checklist:not(.g6v10-zones-grid), ol.ga-steps) > li { transition: none; transform: none !important; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  body .g6-citydeep-faq summary,
  body .cc-faq-list details.cc-faq-item > summary,
  body details.ga-question > summary,
  body details.g6b-faq > summary { padding: 14px 16px; font-size: 15.5px; }
  body .g6-citydeep-faq details > p,
  body .cc-faq-list details.cc-faq-item > p,
  body details.ga-question > p,
  body details.g6b-faq > p { padding: 0 16px 16px; }
  body :is(.post-body, .g6a-reading, .ga-flow) :is(ul.ga-checklist:not(.g6v10-zones-grid), ol.ga-steps) > li { padding: 14px 14px 14px 56px; }
  body :is(.post-body, .g6a-reading, .ga-flow) ul.ga-checklist:not(.g6v10-zones-grid) > li::before,
  body :is(.post-body, .g6a-reading, .ga-flow) ol.ga-steps > li::before { left: 14px; top: 14px; }
  body .g6rr-places > li { padding: 18px 18px; }
}

body .civic-list__item .civic-list__name { display: block; font: 700 16px/1.3 Manrope, sans-serif; color: #095e93; }
body .civic-list__item .civic-list__addr { display: block; font: 400 14px/1.4 Manrope, sans-serif; color: #33475d; }

/* ---------- city "Thinking about X?" bullets and waterway check lists: each row is a card ---------- */
body ul.g6-citydeep-bullets,
body ul.waterway-checklist,
body ul.g6-waterway-list { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0 0 20px; border: 0; }
body ul.g6-citydeep-bullets > li,
body ul.g6-citydeep-bullets > li,
body ul.g6-waterway-list > li {
  position: relative;
  padding: 14px 18px 14px 52px;
  border: 0 !important;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 40, 70, .1), 0 0 0 1px rgba(9, 94, 147, .1);
  transition: transform .18s ease, box-shadow .18s ease;
}
body ul.g6-citydeep-bullets > li::before {
  content: "";
  left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 50%;
  background: #d2e4f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.4' fill='none' stroke='%23095e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
body ul.g6-waterway-list > li { padding-left: 20px; }
/* the assessments / profile checklist sits on the dark navy band: keep its light text, give each row a glass card */
body ul.waterway-checklist > li { position: relative; padding: 14px 18px; border: 0 !important; border-radius: 14px; background: rgba(255,255,255,.1); box-shadow: 0 0 0 1px rgba(210,228,245,.28); transition: transform .18s ease, background-color .18s ease; }
@media (hover: hover) and (pointer: fine) {
  body ul.g6-citydeep-bullets > li:hover,
  body ul.g6-waterway-list > li:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 40, 70, .16), 0 0 0 1px rgba(43, 128, 187, .4); }
  body ul.waterway-checklist > li:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); }
}
@media (prefers-reduced-motion: reduce) {
  body ul.g6-citydeep-bullets > li, body ul.waterway-checklist > li, body ul.g6-waterway-list > li { transition: none; transform: none !important; }
}
