/* JPG Insurance 2026: d-pages.css. Owner: Builder B (pages). Loaded on every page after the shared CSS.
   Hubs (7, 8), areas (708, 711–717), Spanish (710), About, Contact, Quote Request, Resources (11, 207–214), Site Map,
   page.php, 404 and search. Everything is scoped to a body class or a pg- class; shared components are not restyled. */

/* ---------- Small shared helpers ---------- */
.wrap.pg-narrow > * { max-width: 880px; }
.pg-h-sm { font-size: 26px; }
.section-tight.pg-pt0 { padding-top: 0; }
.pg-pill { align-self: flex-start; }
.pg-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pg-split .guide-box { margin-top: 24px; }
@media (max-width: 900px) { .pg-split { grid-template-columns: 1fr; gap: 28px; } }
/* .pg-h-sm stays 26px on phones too (Concept D sets these H2s inline at 26px, the same as a section H2's phone size) */

/* The page's own intro text inside D's quick-answer (svc-lead paragraphs keep D's lead size) */
.pg-answer > p:not(.eyebrow) + p:not(.eyebrow) { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.pg-answer .cite-row { margin-top: 10px; }
.page-area .pin-split > div > .prose:last-child > :last-child { margin-bottom: 0; }

/* ---------- Hubs (Business 7, Personal 8) ---------- */
.page-hub-lines .hub-intro h2 { margin-bottom: 14px; }
.pg-hub-prose { max-width: 640px; }
.pg-hub-prose p { font-size: 17px; }
.pg-hub-prose > p:first-of-type { font-size: 19px; line-height: 1.6; color: var(--ink-2); } /* = D's .lead */
@media (max-width: 760px) { .pg-hub-prose > p:first-of-type { font-size: 17px; } }
.pg-hub-prose h2 { font-size: 22px; margin-top: 1.2em; }
.page-hub-lines .pg-steps { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
.page-hub-lines .pg-finder { margin-top: 20px; }
.pg-details { font-size: 14px; }
/* The catalog starts right under the filter bar (Concept D: padding-top 8px), not a full section gap below it */
.section-tight.pg-catalog { padding-top: 8px; }
.page-hub-personal .add-btn .icon { color: var(--blue); }
.page-hub-personal .add-btn:hover .icon { color: inherit; }

/* ---------- Areas hub (708) and area pages ---------- */
.page-areas-hub #choose-h { margin-bottom: 22px; }
.pg-hub-actions { margin-top: 24px; }
.pg-area-grid { margin-top: 18px; }
.pg-near-text p { color: var(--muted); font-size: 15px; margin: 0; }
.page-area .watch-grid .cite-row { margin-top: 12px; }
.page-area .res-list a { font-weight: 600; }
.page-area .svc-about .prose { max-width: none; }
.page-area .svc-about h2 { margin-bottom: 14px; }
.page-area .svc-about .prose p + .cite-row, .page-area .prose p + .cite-row { display: flex; margin: -6px 0 18px; }

/* ---------- Spanish page (710) ---------- */
.page-es .pg-covers { margin-top: 28px; }
.page-es #nevada h2 { margin-bottom: 20px; }
.page-es .pg-factors { margin-top: 22px; }
@media (max-width: 760px) { .page-es .pg-factors { grid-template-columns: 1fr; } }
/* The page's own CTA band (Spanish labels) sits inside <main>, right above the footer */
.pg-cta-inline { margin-top: 0; }

/* ---------- About (6) ---------- */
.pg-about-grid .prose { max-width: 680px; }
.pg-lead-first > p:first-child { font-size: 19px; line-height: 1.6; color: var(--ink); }
.pg-about-actions { margin-top: 26px; }
.pg-team-grid .person-title { margin-bottom: 4px; }
.pg-team-grid .pg-person-phone { margin: 0 0 14px; font-size: 14px; }
.pg-team-grid .pg-person-phone a { color: var(--ink-2); text-decoration: none; }
.pg-team-grid .pg-person-phone a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 1000px) and (min-width: 761px) { .pg-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pg-team-grid .person-actions { grid-template-columns: 1fr; } .pg-team-grid .pg-person-phone { font-size: 13px; overflow-wrap: anywhere; } }

/* ---------- Contact (9) and Quote Request (10): form cards ---------- */
.pg-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--sh-1); }
.pg-form-card h2 { font-size: 26px; margin-bottom: 8px; }
.pg-form-note { color: var(--muted); margin: 0 0 20px; }
.pg-form-card .jpg-form { max-width: none; }
.pg-form-card .jpg-form textarea { min-height: 130px; }
.pg-form-card .form-message { margin-bottom: 16px; }
@media (max-width: 600px) { .pg-form-card { padding: 22px 18px; border-radius: var(--r-lg); } }

.pg-quote-grid h2#start-h { margin-bottom: 20px; }
.pg-starts { display: grid; gap: 12px; }
.pg-start { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; width: 100%; min-height: 84px; padding: 14px 18px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.pg-start:hover { border-color: var(--blue); background: var(--blue-50); }
.pg-start > .icon { color: var(--blue); }
.pg-start-txt strong { display: block; font: 700 18px/1.25 var(--f-head); }
.pg-start-txt span { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
.pg-start-txt .pg-start-vp { font-size: 13px; color: var(--blue-700); font-weight: 600; }
.pg-quote-grid .pg-steps { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
.pg-short-form { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .pg-short-form { position: static; } }
.pg-line-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.pg-line-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.pg-line-col h3 { font-size: 18px; margin-bottom: 10px; }
.pg-line-list { list-style: none; padding: 0; margin: 0; }
.pg-line-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.pg-line-list li:last-child { border-bottom: 0; }
.pg-line-btn { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: 600 15px/1.3 var(--f-body); text-align: left; cursor: pointer; }
.pg-line-btn .icon { color: var(--blue); flex: none; }
.pg-line-btn:hover { color: var(--blue-700); }
.pg-line-more { flex: none; font-size: 13px; color: var(--muted); padding: 12px 0 12px 8px; }
@media (max-width: 1000px) { .pg-line-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pg-line-cols { grid-template-columns: 1fr; } }

/* ---------- Resources (11) ---------- */
.pg-resource-hub > p:first-child { font-size: 19px; color: var(--ink-2); margin-bottom: 24px; }
.resource-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.resource-link-card { display: flex; flex-direction: column; gap: 4px; min-height: 96px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; position: relative; transition: border-color .15s, box-shadow .15s; }
.resource-link-card::after { content: ""; position: absolute; right: 20px; top: 22px; width: 18px; height: 18px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; }
.resource-link-card:hover { border-color: var(--blue); box-shadow: var(--sh-2); color: var(--ink); }
.resource-link-card strong { font: 700 17px/1.3 var(--f-head); padding-right: 28px; }
.resource-link-card span { font-size: 14px; color: var(--muted); }
.resource-link-card[data-refer-friend] { background: var(--blue-50); border-color: var(--blue-100); }
@media (max-width: 900px) { .resource-link-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .resource-link-grid { grid-template-columns: 1fr; } }

/* ---------- Resource pages (207–214) ---------- */
.pg-doc { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.pg-doc-side { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .pg-doc { grid-template-columns: 1fr; gap: 28px; } .pg-doc-side { position: static; } }
.pg-resource-body { max-width: none; }
.pg-res-website-terms-of-use h2, .pg-res-privacy h2 { font-size: 24px; text-transform: none; }
.pg-res-website-terms-of-use > h2:first-child { display: none; } /* repeats the page title (H1) */
.pg-resource-body a { overflow-wrap: anywhere; }
.pg-res-privacy .privacy-brand-name { color: inherit !important; font-size: inherit !important; }
.pg-res-chips .icon { color: var(--blue); }

/* Payments & Claims (207): carrier cards */
.pac-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pac-carrier { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 15px; }
.pac-carrier br { display: none; }
.pac-carrier p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.pac-logo { display: grid; place-items: center; height: 80px; margin-bottom: 8px; border-radius: var(--r-sm); background: #fff; }
.pac-logo img { max-width: 150px; max-height: 72px; width: auto; height: auto; border-radius: 0; }
.pac-title { font: 700 16px/1.3 var(--f-head); color: var(--ink); margin-bottom: 4px; }
.pac-carrier a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; }
.pac-phone { margin-top: auto; padding-top: 6px; color: var(--muted); font-size: 14px; }
@media (max-width: 1100px) { .pac-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pac-list { grid-template-columns: 1fr 1fr; gap: 10px; } .pac-carrier { padding: 14px; } }
@media (max-width: 400px) { .pac-list { grid-template-columns: 1fr; } }

/* Our Companies (208): intro + logo grid */
.oc-intro { max-width: 820px; margin: 0 0 32px; }
.oc-intro h2 { font-size: 28px; }
.oc-intro p { font-size: 17px; }
.oc-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.oc-carrier { display: grid; place-items: center; min-height: 104px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.oc-carrier img { max-width: 100%; max-height: 72px; width: auto; height: auto; border-radius: 0; }
@media (max-width: 1100px) { .oc-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .oc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Helpful Links (210): link cards */
.hl-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hl-list > br { display: none; }
.hl-list > p { display: contents; }
.hl-card { display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.hl-card:hover { border-color: var(--blue); box-shadow: var(--sh-2); color: var(--ink); }
.hl-logo { flex: none; width: 110px; display: grid; place-items: center; }
.hl-logo img { max-width: 108px; max-height: 48px; width: auto; height: auto; border-radius: 0; }
.hl-title { font: 700 16px/1.3 var(--f-head); }
@media (max-width: 1000px) { .hl-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hl-list { grid-template-columns: 1fr; } }

/* Glossary (211): the old layout tables become plain blocks */
.pg-res-glossary table, .pg-res-glossary tbody, .pg-res-glossary tr, .pg-res-glossary td { display: block; width: auto !important; border: 0; padding: 0; margin: 0; }
.pg-res-glossary h3 { font-size: 22px; margin: 1.6em 0 .4em; padding-bottom: 8px; border-bottom: 2px solid var(--blue-100); scroll-margin-top: calc(var(--header-h) + 20px); }
.pg-res-glossary .txt_main > h3:first-child { margin-top: 0; border: 0; font-size: 20px; }
.pg-res-glossary .txt_gterms_bold { margin-top: 14px; color: var(--ink); }
.pg-res-glossary .txt_gterms { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.pg-res-glossary .txt_gterms a { display: inline-block; min-width: 28px; padding: 4px 2px; text-align: center; font-weight: 700; }
.pg-res-glossary .txt_gterms_starts:empty { display: none; }

/* ---------- Site Map (213) ---------- */
.pg-map { columns: 3 300px; column-gap: 24px; }
.pg-map-block { break-inside: avoid; margin: 0 0 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.pg-map-block h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 12px; }
.pg-map-n { margin-left: auto; font: 600 13px/1 var(--f-body); color: var(--muted); }
.pg-map-list { list-style: none; padding: 0; margin: 0; }
.pg-map-list a { display: flex; align-items: center; min-height: 36px; padding: 4px 0; color: var(--ink-2); text-decoration: none; font-size: 15px; line-height: 1.35; }
.pg-map-list a:hover { color: var(--blue-700); text-decoration: underline; }
@media (max-width: 600px) { .pg-map-list a { min-height: 44px; } }

/* ---------- 404 and search ---------- */
.pg-search-form { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 0 28px; }
.pg-search-form > .icon { position: absolute; left: 16px; color: var(--muted); }
.pg-search-form input { flex: 1; min-width: 0; height: 52px; padding: 0 16px 0 46px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 16px; background: #fff; }
.pg-search-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.pg-search-form .btn { flex: none; min-height: 52px; }
.pg-link-cards { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pg-link-cards a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; font: 700 16px/1.3 var(--f-head); }
.pg-link-cards a > span:nth-child(2) { flex: 1; }
.pg-link-cards a > .icon { color: var(--blue); }
.pg-link-cards a:hover { border-color: var(--blue); background: var(--blue-50); }
@media (max-width: 600px) { .pg-link-cards { grid-template-columns: 1fr; } }
.pg-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pg-result { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.pg-result-type { margin: 0 0 4px; font: 700 12px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.pg-result h2 { font-size: 20px; margin: 0 0 6px; }
.pg-result h2 a { color: var(--ink); text-decoration: none; }
.pg-result h2 a:hover { color: var(--blue-700); text-decoration: underline; }
.pg-result p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.page-search .nav-links { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.page-search .nav-links a, .page-search .nav-links span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; }
.page-search .nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pg-empty .chips { margin-top: 16px; }
.pg-entry + .pg-entry { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (max-width: 480px) { .pg-search-form { flex-wrap: wrap; } .pg-search-form .btn { width: 100%; } .pg-search-form > .icon { top: 18px; } }
/* Contact: the form gets the wider column */
@media (min-width: 901px) { .pg-contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
