/*
Theme Name: Lovelace Family Medicine
Description: Custom theme recreating the Lovelace Family Medicine Wix site.
Version: 1.0.0
Text Domain: lovelace
*/

:root {
  --navy: #00255f;
  --sky: #c8e0fe;
  --sky-2: #d3e6fe;
  --ink: #000;
  --wrap: 980px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.4; }
/* Wix desktop layout has a 980px minimum width (phones get the stacked layout below 861px). */
@media (min-width: 861px) { body { min-width: 980px; } }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 .9em; }
ul, ol { margin: 0 0 .9em; padding-left: 29px; }
li { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; margin: 0 0 .4em; line-height: 1.25; letter-spacing: -.01em; }
.h-xl { font-size: 56px; line-height: 1.4; }
.h-lg { font-size: 56px; line-height: 1.3; }
.h-md { font-size: 36px; }
.h-sm { font-size: 22px; }
.h-xs { font-size: 18px; }
.center { text-align: center; }
.white { color: #fff; }
.bold { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout primitives ---------- */
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.sec { position: relative; }
.bg-navy { background: var(--navy); color: #fff; }
.bg-sky { background: var(--sky); }
.bg-white { background: #fff; color: var(--ink); }
.gap-t { margin-top: 10px; }
.split { display: grid; grid-template-columns: var(--l, 1fr) var(--r, 1fr); }
.split > * { min-width: 0; }
/* Wix column strips: column content keeps its 1440-layout size and stays anchored to the
   column centre at any width (paddings rewritten by tools/wixcols.cjs). */
.split > [style*="--c0"] { --g: calc((100% - var(--c0)) / 2); }
.pad { padding: 70px 60px; }
.card { background: #fff; color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-size: 16px; letter-spacing: .1em; line-height: 1; padding: 12px 28px; border: 1px solid var(--navy); cursor: pointer; font-family: var(--font); text-align: center; transition: background .2s, color .2s; }
.btn:hover { background: #fff; color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: var(--navy); color: #fff; border-color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--block { display: block; width: 100%; }
.btn-row { margin-top: 24px; }

/* ---------- header ---------- */
.site-header { background: #fff; height: 160px; position: relative; z-index: 50; }
.site-header .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 116px 0 20px; }
.logo img { width: 294px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: block; padding: 8px 26.5px; font-size: 18px; font-weight: 700; letter-spacing: 0; text-decoration: none; color: #000; transition: background .15s, color .15s; }
.nav > ul > li.current-menu-item > a, .nav > ul > li.current-menu-ancestor > a, .nav > ul > li.current-page-ancestor > a { color: var(--navy); }
.nav > ul > li:hover > a, .nav > ul > li:focus-within > a { background: var(--navy); color: #fff; }
.nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 100%; background: #fff; padding: 4px 0; display: none; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { display: block; }
.nav .sub-menu a { display: block; padding: 12px 20px; font-size: 16px; letter-spacing: .05em; text-decoration: none; color: #000; }
.nav .sub-menu a:hover { color: var(--navy); text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--navy); margin: 5px 0; }

.callbar { background: var(--navy); color: #fff; height: 50px; display: flex; align-items: center; justify-content: center; padding-left: 210px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; white-space: pre; }
.callbar a { text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 62px 0 34px; }
.site-footer .cols { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; width: calc(100% - 180px); margin: 0 auto; }
.site-footer h3 { font-size: 22px; margin: 0 0 2px; letter-spacing: -.02em; }
.site-footer .hours { font-size: 18px; line-height: 1.4; max-width: 370px; }
.site-footer .hours b { letter-spacing: -.02em; }
.site-footer .addr { margin-top: 56px; padding-left: 10px; font-size: 18px; line-height: 1.6; }
.site-footer .addr b { font-size: 20px; letter-spacing: -.02em; }
.site-footer .mark { align-self: end; justify-self: center; margin-top: 120px; }
.site-footer .mark img { width: 136px; }
.site-footer .right { text-align: center; }
.site-footer .right p { font-size: 18px; margin: 6px 0 0; }
.site-footer .right .btn { margin-top: 30px; font-size: 16px; letter-spacing: .1em; padding: 11px 15px; }
.site-footer .right .btn + .btn { margin-top: 25px; }
.site-footer .stack { display: flex; flex-direction: column; align-items: center; }
.btn .dl { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #000; color: #fff; margin-left: 10px; vertical-align: middle; font-size: 14px; letter-spacing: 0; }
.site-footer .right .copy { text-align: left; font-size: 16px; letter-spacing: .06em; margin: 125px 0 0 120px; max-width: 390px; }

/* Desktop footer: Wix 40/20/40 column strip, items placed from the column centre
   (measured on the original at 1100/1440/1920). */
@media (min-width: 861px) {
  .site-footer { padding: 0; height: 545px; }
  .site-footer .cols { width: auto; height: 100%; grid-template-columns: 2fr 1fr 2fr; }
  .site-footer .cols > div { position: relative; height: 100%; }
  .site-footer .hours { position: absolute; left: calc(50% - 196px); top: 59px; width: 392px; max-width: none; line-height: 25.2px; }
  .site-footer .hours h3 { line-height: 30.8px; margin: 0; letter-spacing: 0; }
  .site-footer .hours b { letter-spacing: 0; }
  .site-footer .addr { position: absolute; left: calc(50% - 186px); top: 269px; width: 258px; margin: 0; padding: 0; line-height: 28.8px; }
  .site-footer .addr b { font-size: 18px; letter-spacing: 0; }
  .site-footer .addr b:first-child { font-size: 20px; }
  .site-footer .cols > .mark { justify-self: stretch; align-self: stretch; margin: 0; }
  .site-footer .mark img { position: absolute; left: calc(50% - 83px); top: 372px; }
  .site-footer .right { text-align: left; }
  .site-footer .right .join { position: absolute; left: calc(50% - 181px); top: 66px; width: 309px; margin: 0; line-height: 25.2px; }
  .site-footer .stack { display: block; }
  .site-footer .right .btn { position: absolute; margin: 0; height: 40px; padding: 0; display: flex; align-items: center; justify-content: center; line-height: 1; }
  .site-footer .right .b-emp { left: calc(50% - 135px); top: 140px; width: 239px; }
  .site-footer .right .b-npp { left: calc(50% - 166px); top: 205px; width: 299px; }
  .site-footer .right .b-pol { left: calc(50% - 125px); top: 275px; width: 216px; }
  .site-footer .right .btn + .btn { margin-top: 0; }
  .site-footer .right .btn .dl { width: 24px; height: 24px; margin-left: 10px; }
  .site-footer .right .copy { position: absolute; left: calc(50% - 221px); top: 471px; width: 392px; max-width: none; margin: 0; letter-spacing: .07em; line-height: 22.4px; }
}

/* ---------- generic content blocks ---------- */
.prose { font-size: 16px; line-height: 1.4; }
.prose b, .prose strong { font-weight: 700; }
.prose ul { padding-left: 29px; }
.prose ul ul { list-style: circle; }
.lead { font-size: 18px; }

.overlay-box { background: rgba(255,255,255,.55); }
.glow { text-shadow: 0 0 6px #fff, 0 0 2px #fff; }

.media-frame { box-shadow: 0 0 6px rgba(0,0,0,.35); }
.video { width: 100%; height: auto; background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.yt { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* accordion */
.acc { border: 1px solid var(--navy); box-shadow: 0 2px 4px rgba(0,0,0,.25); padding: 12px 52px 12px 15px; position: relative; margin: 0 0 28px; background: #fff; }
.acc summary { list-style: none; cursor: pointer; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc .chev { position: absolute; right: 10px; top: 9px; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; pointer-events: none; }
.acc .chev::after { content: ""; width: 12px; height: 12px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.acc[open] .chev::after { transform: translateY(-3px) rotate(45deg); }
.acc .acc-body { font-size: 15px; padding-top: 4px; }
.acc.static summary { cursor: default; }
.acc ul { margin: 0; }

/* FAQ variant (office care) */
.faq .acc { border: 0; border-bottom: 3px solid var(--navy); box-shadow: 0 2px 5px rgba(0,0,0,.35); padding: 12px 60px 12px 24px; margin: 0 0 8px; }
.faq .acc summary { font-weight: 400; font-size: 18px; letter-spacing: -.01em; }
.faq .acc .chev { width: 30px; height: 30px; top: 9px; right: 16px; }
.faq .acc .chev::after { width: 9px; height: 9px; }
.faq .acc .acc-body { padding: 14px 0 6px; }

/* slideshow */
.slides { position: relative; overflow: hidden; }
.slides .track { display: flex; transition: transform .6s ease; }
.slides .slide { flex: 0 0 100%; }
.slides .slide img { width: 100%; height: 756px; object-fit: cover; }
.slides .cap { text-align: center; font-size: 22px; font-weight: 700; padding: 30px 0 145px; letter-spacing: -.02em; }
.slides .arrow { position: absolute; top: 300px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.85); border: 1px solid rgba(0,0,0,.12); display: grid; place-items: center; cursor: pointer; }
.slides .arrow::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid #333; border-top: 1.5px solid #333; transform: rotate(45deg); margin-left: -4px; }
.slides .arrow.prev { left: 22px; transform: scaleX(-1); }
.slides .arrow.next { right: 22px; }

/* modal / lightbox */
.lfm-modal { position: fixed; inset: 0; z-index: 1000; display: none; background: rgba(0, 37, 95, .65); overflow-y: auto; padding: 60px 16px; }
.lfm-modal.open { display: block; }
.lfm-modal .dlg { background: #fff; color: #000; margin: 0 auto; position: relative; max-width: 980px; }
.lfm-modal .x { position: absolute; right: 22px; top: 18px; font-size: 52px; line-height: 1; color: var(--navy); background: none; border: 0; cursor: pointer; font-weight: 700; font-family: Arial, sans-serif; }
body.modal-open { overflow: hidden; }

/* forms */
.lfm-form label, .lfm-form .lbl { display: block; font-size: 14px; margin: 0 0 8px; }
.lfm-form input[type=text], .lfm-form input[type=email], .lfm-form input[type=tel], .lfm-form input[type=date], .lfm-form select, .lfm-form textarea { width: 100%; height: 42px; border: 1px solid #000; padding: 6px 10px; font: inherit; font-size: 16px; background: #fff; border-radius: 0; }
.lfm-form .grid { display: grid; gap: 22px 24px; }
.lfm-form .opt { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; margin: 0 0 12px; letter-spacing: -.01em; cursor: pointer; }
.lfm-form .opt input { width: 16px; height: 16px; accent-color: var(--navy); margin: 0; }
.lfm-form .chips { display: flex; flex-wrap: wrap; gap: 15px; }
.lfm-form .chips label { margin: 0; }
.lfm-form .chips input { position: absolute; opacity: 0; }
.lfm-form .chips span { display: inline-block; border: 1px solid #000; padding: 10px 12px; font-size: 16px; font-weight: 700; cursor: pointer; }
.lfm-form .chips input:checked + span { background: var(--sky); }
.lfm-form .req::after { content: " *"; }
.lfm-form .hp { position: absolute; left: -9999px; }
.lfm-form .notice { display: none; background: var(--sky-2); border-left: 4px solid var(--navy); padding: 14px 16px; margin-top: 18px; font-size: 15px; }
.lfm-form .notice.show { display: block; }
.lfm-form .submit { background: var(--navy); color: #fff; border: 0; height: 48px; font-size: 16px; font-family: var(--font); cursor: pointer; }
.form-msg { padding: 14px 16px; margin: 0 0 18px; background: var(--sky-2); border-left: 4px solid var(--navy); }

/* blog */
.blog-tabs { display: flex; gap: 40px; font-size: 14px; padding: 30px 0 0; }
.blog-tabs a { text-decoration: none; }
.blog-tabs a:hover { color: var(--navy); }
.post-card { display: grid; grid-template-columns: 452px 1fr; border: 1px solid #d9e6f6; margin-bottom: 32px; background: #fff; text-decoration: none; color: inherit; }
.post-card img { width: 100%; height: 340px; object-fit: cover; }
.post-card .body { padding: 72px 42px 30px 33px; }
.post-card h2 { font-size: 28px; line-height: 1.2; margin: 0 0 14px; }
.post-card p { font-size: 16px; line-height: 24px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-single { border: 1px solid #d9e6f6; padding: 64px 99px 60px; margin: 30px 0 80px; }
.post-single .meta { font-size: 14px; margin-bottom: 22px; }
.post-single h1 { font-size: 38px; line-height: 1.45; margin-bottom: 26px; }
.post-single .content { font-size: 18px; line-height: 1.7; }
.post-single .content img, .post-single .content video { margin: 30px 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 15px; }
  .h-xl { font-size: 38px; line-height: 1.25; }
  .h-lg { font-size: 34px; line-height: 1.25; }
  .h-md { font-size: 26px; }
  .site-header { height: 92px; }
  .logo img { width: 190px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; display: none; box-shadow: 0 6px 12px rgba(0,0,0,.12); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav > ul > li > a { padding: 14px 20px; border-top: 1px solid #eee; }
  .nav > ul > li:hover > a { background: none; color: var(--navy); }
  .nav .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 6px 16px; }
  .nav .sub-menu a { padding: 8px 20px; }
  .callbar { height: auto; padding: 12px 16px; font-size: 17px; white-space: normal; text-align: center; }
  .split { grid-template-columns: 1fr !important; }
  .pad { padding: 40px 16px !important; }
  .m-order-first { order: -1; }
  .slides .slide img { height: 260px; }
  .slides .arrow { top: 110px; }
  .slides .cap { padding: 18px 0 40px; font-size: 18px; }
  .site-footer .cols { grid-template-columns: 1fr; width: calc(100% - 32px); gap: 30px; }
  .site-footer .mark { margin: 0; order: 3; }
  .site-footer .right .copy { margin: 20px 0 0; text-align: center; }
  .post-card { grid-template-columns: 1fr; }
  .post-card img { height: 220px; }
  .post-card .body { padding: 24px 20px; }
  .post-single { padding: 30px 18px; }
  .post-single h1 { font-size: 28px; }
  .lfm-form .grid { grid-template-columns: 1fr !important; }
  .lfm-modal { padding: 20px 8px; }
  .lfm-modal .x { font-size: 40px; right: 10px; top: 6px; }
  .hide-m { display: none !important; }
}

/* ---------- page components ---------- */
/* history timeline */
.tl-row { margin-top: 10px; }
.tl-left { display: grid; grid-template-columns: var(--tab, 16%) 1fr; background: #fff; }
.tl-text[style*="--c0"] { --g: calc((100% - var(--c0)) / 2); }
.tl-year { background: var(--navy); color: #fff; font-size: 30px; font-weight: 700; text-align: center; padding-top: 82px; letter-spacing: -.03em; }
.tl-text { font-size: 16px; line-height: 1.6; letter-spacing: -.01em; }
.tl-text p { margin: 0; }
.tl-row .slides .slide img { height: 434px; }
.tl-row > .bg-navy .slides { margin-top: 0; }

/* providers */
.prov { display: grid; grid-template-columns: 344px 1fr; background: #fff; margin-bottom: 40px; align-items: stretch; }
.prov > img { width: 344px; height: 513px; object-fit: cover; }
.prov-body { padding: 37px 34px 20px 16px; font-size: 16px; line-height: 1.4; }
.prov-body h2 { font-size: 38px; line-height: 53.2px; margin: 0 0 21px; letter-spacing: 0; }
.prov-body ul { margin: 0; }
.prov-body a { color: inherit; }

/* community resource cards */
.res { padding: 44px 20px 26px 35px; }
.res h3 { font-size: 20px; text-align: center; margin: 0 0 20px; letter-spacing: -.02em; white-space: nowrap; }
.res p { font-size: 16px; line-height: 1.4; margin: 0; }
.res a { color: inherit; }

/* colonoscopy prep links */
.prep { display: flex; align-items: center; gap: 42px; font-size: 18px; font-weight: 700; text-decoration: none; letter-spacing: -.02em; width: max-content; }
.prep .ico { width: 100px; height: 100px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.prep .ico::before { content: ""; width: 46px; height: 56px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 56' fill='none' stroke='white' stroke-width='5' stroke-linejoin='round'%3E%3Cpath d='M4 4h24l14 14v34H4z'/%3E%3Cpath d='M28 4v14h14'/%3E%3C/svg%3E"); }
.prep:hover { color: var(--navy); }

/* transcript toggle */
.transcript summary::-webkit-details-marker { display: none; }
.transcript .t-hide, .transcript[open] .t-show { display: none; }
.transcript[open] .t-hide { display: inline; }

/* show more clamp */
.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.clampbox.open .clamp { -webkit-line-clamp: unset; display: block; }
.more-btn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- phone layout for hand-placed sections ---------- */
@media (max-width: 860px) {
  .split > * { padding-left: 16px !important; padding-right: 16px !important; }
  .split > * img, .split > * video { width: 100% !important; height: auto !important; max-height: 420px; object-fit: cover; }
  .sec p:has(> .btn) { margin-left: 0 !important; text-align: center; }
  .sec h2, .sec h1 { padding-left: 0 !important; padding-right: 0 !important; white-space: normal !important; margin-left: 0 !important; }
  .h-xl.center, .h-lg.center { font-size: 34px; }

  .hero-inner { margin: 0 !important; height: 420px !important; }
  .hero-box { left: 16px !important; right: 16px !important; width: auto !important; height: auto !important; top: 16px !important; padding: 12px; }
  .hero-box h1 { font-size: 24px !important; line-height: 1.35 !important; }

  [data-m="hero"] { height: auto !important; display: flex; flex-direction: column; }
  [data-m="hero"] > img { position: static !important; height: 260px !important; }
  [data-m="hero-box"] { position: static !important; width: auto !important; height: auto !important; padding: 20px 16px !important; background: #fff !important; }
  [data-m="hero-box"] h1, [data-m="hero-box"] h2 { font-size: 30px !important; line-height: 1.25 !important; }

  .cards3 { grid-template-columns: 1fr !important; padding: 0 16px; }
  .cards3 .card > div { padding: 24px 20px !important; }
  .cards3 h3 { font-size: 28px !important; }

  .hist-cap { left: 8px !important; top: auto !important; bottom: 8px; }
  .hist-cap h1 { font-size: 26px !important; line-height: 1.4 !important; }
  .tl-left { grid-template-columns: 1fr !important; }
  .tl-year { padding: 12px 16px !important; text-align: left; font-size: 24px !important; }
  .tl-text { padding: 20px 16px !important; }
  .tl-row .slides .slide img { height: 240px !important; }

  .prov { grid-template-columns: 1fr; }
  .prov > img { width: 100%; height: 380px !important; }
  .prov-body { padding: 20px 16px 24px; }
  .prov-body h2 { font-size: 26px; line-height: 1.3; }

  .portal { background-size: cover !important; padding: 40px 0 !important; min-height: 0 !important; }
  .portal h2 { margin-bottom: 30px !important; }
  .portal .prose { background: rgba(255,255,255,.9) !important; padding: 12px; }
  .forms-grid { grid-template-columns: 1fr !important; gap: 20px !important; margin-top: 30px !important; }
  .forms-grid .btn { font-size: 14px; letter-spacing: .05em; }
  .resources { grid-template-columns: 1fr !important; gap: 16px !important; }
  .preps { padding-left: 16px !important; }
  .prep .ico { width: 64px; height: 64px; }
  .prep .ico::before { width: 30px; height: 36px; }
  .steps { grid-template-columns: 1fr !important; gap: 30px !important; }
  .inq { grid-template-columns: 1fr !important; }
  .intake-box { padding: 40px 16px !important; margin-top: 56px !important; }
  .intake-box h2, .intake-page h1 { font-size: 34px !important; line-height: 1.2 !important; }
  .intake-page { padding: 0 16px; }
  .emp-body { padding: 56px 16px 30px !important; }
  .emp-body .x { right: 10px !important; top: 6px !important; }
  .emp-body > div { padding-left: 0 !important; }
  .lfm-modal .dlg { padding-left: 16px !important; padding-right: 16px !important; }
  .faq h2 { font-size: 26px !important; margin-left: 0 !important; }
  .faq .acc { padding-left: 14px; }
  .split > .bg-navy:has(iframe[title="Google Maps"]) { min-height: 0 !important; }
  iframe[title="Google Maps"] { height: 320px !important; }
}

/* ---------- fine alignment to the original (desktop) ---------- */
@media (min-width: 861px) {
  .site-header .logo { align-self: flex-start; margin-top: 19px; }
  .site-header .nav { position: relative; top: -5px; }
}
.acc .acc-body { font-size: 16px; line-height: 1.4; padding-top: 0; }
@media (max-width: 860px) {
  .tl-row { min-height: 0 !important; }
  .tl-row img.cover { position: static !important; }
}
@media (max-width: 860px) { .split img.cover[style*="position:absolute"] { position: static !important; } }
@media (min-width: 861px) { .intake-page { position: relative; left: 60px; } }
/* Section heights measured on the original (desktop only): style="--h:NNNpx" */
@media (min-width: 861px) { .sec[style*="--h:"] { height: var(--h); } }
@media (max-width: 860px) { .resources { grid-template-rows: none !important; } .res h3 { white-space: normal; } }
/* Phones: inline desktop heading sizes/offsets measured from the original don't apply. */
@media (max-width: 860px) {
  .sec .h-xl, .sec .h-lg { font-size: 34px !important; line-height: 1.25 !important; margin-top: 0 !important; margin-bottom: 20px !important; }
  .faq h2 { margin-top: 0 !important; }
  .sec .prose[style*="padding:32px 0 0 110px"] { padding-left: 0 !important; }
  .sec p[style*="max-width:700px"] { left: 0 !important; }
}
@media (max-width: 860px) { .cards3 { max-width: none !important; } }
.post-card:last-of-type { margin-bottom: 21px; }
@media (max-width: 860px) { .cards3 { grid-auto-rows: auto !important; } }
