/* Jim Jones 2026 — shared styles for the content pages (Biography, Planning, Transit)
   and the main menu used on every page. Colours match the home page. */
:root {
  --blue: #005AAB; --blue-700: #004C91; --blue-900: #062B55; --blue-50: #EEF5FC; --blue-100: #D6E7F7; --blue-200: #A9CBEC;
  --red: #ED1C24; --red-600: #D3141B; --red-50: #FEF0F0;
  --ink: #0F1B2D; --muted: #5B6778; --line: #E3E8EF; --canvas: #F5F7FA;
}

/* ------------------------------------------------------------ main menu (all pages) */
.mainnav { display: flex; align-items: center; gap: 2px; margin-left: 18px; margin-right: auto; }
.mainnav > a { position: relative; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 800; color: var(--blue-900); text-decoration: none; transition: background .15s, color .15s; }
.mainnav > a:hover { background: var(--blue-50); color: var(--blue); }
.mainnav > a[aria-current="page"] { color: var(--red); }
.mainnav > a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--red); }
.menu-btn { display: none; width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 10px; cursor: pointer; place-items: center; color: var(--blue-900); background: var(--blue-50); }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.menu-panel { display: none; }
@media (max-width: 1180px) { .top .brand span { display: none; } .mainnav { margin-left: 10px; } .mainnav > a { padding: 9px 9px; } }
@media (max-width: 1020px) {
  .mainnav { display: none; }
  .menu-btn { display: grid; order: 3; }
  .top .wrap { position: relative; }
  .nav-actions { margin-left: auto; }
  .menu-panel { position: absolute; top: calc(100% + 4px); right: 0; width: min(300px, calc(100vw - 24px)); z-index: 50; display: block; padding: 8px; border-radius: 16px; background: #fff;
    box-shadow: 0 24px 60px rgba(6,43,85,.25), 0 0 0 1px rgba(6,43,85,.06); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s, transform .18s; }
  .top.menu-open .menu-panel { opacity: 1; transform: none; pointer-events: auto; }
  .menu-panel a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 11px; font-weight: 800; font-size: 15px; color: var(--blue-900); text-decoration: none; }
  .menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--blue-50); color: var(--blue); }
  .menu-panel a i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); font-style: normal; font-size: 16px; }
}
@media (max-width: 600px) { .nav-actions .nav-videos { display: none; } .menu-btn { width: 38px; height: 38px; } }

/* ------------------------------------------------------------ page building blocks (prefixed pg-) */
.pg-hero { position: relative; overflow: hidden; color: #fff; padding: 34px 0 36px;
  background: radial-gradient(800px 420px at 8% 0%, rgba(77,155,230,.5), transparent 60%), radial-gradient(600px 400px at 100% 100%, rgba(237,28,36,.32), transparent 60%), linear-gradient(135deg, #041D3A 0%, #062B55 40%, #005AAB 100%); }
.pg-hero::before { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 22px 22px; }
.pg-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 34px; align-items: center; }
.pg-crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; color: #A9CBEC; }
.pg-crumb a { color: #DCEBFA; text-decoration: none; } .pg-crumb a:hover { text-decoration: underline; }
.pg-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pg-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,.3); }
.pg-hero h1 { margin: 12px 0 10px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; }
.pg-hero h1 em { font-style: normal; color: #FF8A8F; }
.pg-hero p.lead { margin: 0; max-width: 680px; font-size: 16.5px; line-height: 1.6; color: #D6E7F7; }
.pg-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pg-stat { padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.pg-stat b { display: block; font-size: 20px; font-weight: 900; line-height: 1.1; }
.pg-stat span { font-size: 12px; font-weight: 600; color: #BFDCF7; }
.pg-hero-img { position: relative; justify-self: end; width: 100%; max-width: 420px; border-radius: 20px; overflow: hidden; border: 5px solid rgba(255,255,255,.9); box-shadow: 0 26px 60px rgba(0,0,0,.45); transform: rotate(1.5deg); }
.pg-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: right center; }
.pg-hero-img.portrait { max-width: 250px; border-radius: 50%; aspect-ratio: 1; transform: none; }
.pg-hero-img.portrait img { aspect-ratio: 1; object-position: center; }
.pg-hero-img .tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 11px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; }
.pg-band { background: var(--red); color: #fff; font-weight: 800; font-size: 14px; }
.pg-band .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; padding: 12px 0; }
.pg-band span::before { content: "★"; margin-right: 8px; opacity: .8; }

.pg-sec { position: relative; padding: 64px 0; }
.pg-sec.alt { background: linear-gradient(180deg, #EAF2FB, #F7FAFD); }
.pg-sec.alt::before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none; background-image: radial-gradient(rgba(0,90,171,.12) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.pg-sec.dark { color: #fff; background: radial-gradient(600px 300px at 0% 0%, rgba(77,155,230,.4), transparent 60%), linear-gradient(135deg, #041D3A, #062B55 55%, #004C91); }
.pg-sec > .wrap { position: relative; }
.pg-head { max-width: 760px; margin-bottom: 30px; }
.pg-head.center { margin-inline: auto; text-align: center; }
.pg-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.pg-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--red); }
.pg-sec.dark .pg-eyebrow { color: #FF8A8F; } .pg-sec.dark .pg-eyebrow::before { background: #FF8A8F; }
.pg-head h2 { margin: 8px 0 8px; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; font-weight: 900; letter-spacing: -.02em; color: var(--blue-900); }
.pg-sec.dark .pg-head h2 { color: #fff; }
.pg-head p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
.pg-sec.dark .pg-head p { color: #D6E7F7; }

.pg-grid { display: grid; gap: 20px; }
.pg-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-card { position: relative; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(6,43,85,.08); transition: transform .25s, box-shadow .25s; }
.pg-card:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(6,43,85,.15); }
.pg-card .im { position: relative; height: 170px; overflow: hidden; background: var(--blue-50); }
.pg-card .im img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .6s; }
.pg-card:hover .im img { transform: scale(1.06); }
.pg-card .im::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4,29,58,.55)); }
.pg-card .im .yr { position: absolute; z-index: 1; left: 16px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 900; }
.pg-card .bd { padding: 20px 22px 22px; }
.pg-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; color: #fff; background: linear-gradient(135deg, #2B7FD0, var(--blue-900)); box-shadow: 0 8px 20px rgba(0,90,171,.3); }
.pg-card .ic.red { background: linear-gradient(135deg, #F0444B, #B4121A); box-shadow: 0 8px 20px rgba(237,28,36,.3); }
.pg-card .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pg-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; font-weight: 900; color: var(--blue-900); }
.pg-card p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.62; color: #3B4A5E; }
.pg-card p:last-child { margin-bottom: 0; }
.pg-card .accent { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--blue), var(--red)); }

.pg-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.pg-list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.55; color: #3B4A5E; }
.pg-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005AAB' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: inset 0 0 0 1.5px var(--blue-100); }
.pg-sec.dark .pg-list li { color: #DCEBFA; }

.pg-num { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: n; }
.pg-num.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-num > div { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(6,43,85,.06); transition: transform .2s, border-color .2s; }
.pg-num > div:hover { transform: translateY(-2px); border-color: var(--blue-200); }
.pg-num > div::before { counter-increment: n; content: counter(n, decimal-leading-zero); flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-900)); }
.pg-num > div:nth-child(even)::before { background: linear-gradient(135deg, #F0444B, #B4121A); }
.pg-num > div p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #24344A; }
.pg-num > div p b { color: var(--blue-900); }
.pg-sec.dark .pg-num > div { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); box-shadow: none; }
.pg-sec.dark .pg-num > div p { color: #E6F0FB; } .pg-sec.dark .pg-num > div p b { color: #fff; }

.pg-quote { position: relative; overflow: hidden; margin: 0; padding: 34px 38px 34px 92px; border-radius: 24px; color: #fff;
  background: radial-gradient(400px 220px at 0% 0%, rgba(77,155,230,.5), transparent 60%), linear-gradient(135deg, #062B55, #005AAB); box-shadow: 0 26px 60px rgba(6,43,85,.3); }
.pg-quote::before { content: "\201C"; position: absolute; left: 26px; top: 6px; font-size: 110px; line-height: 1; font-weight: 900; color: #FF6B70; font-family: Georgia, serif; }
.pg-quote::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--red); }
.pg-quote p { margin: 0; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.4; font-weight: 800; }
.pg-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #A9CBEC; }
.pg-big { font-size: clamp(30px, 4.5vw, 54px); line-height: 1.05; font-weight: 900; letter-spacing: -.02em; color: var(--blue-900); }
.pg-big em { font-style: normal; color: var(--red); }

.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pg-split.rev > :first-child { order: 2; }
.pg-figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(6,43,85,.15); }
.pg-figure img { width: 100%; }
.pg-figure figcaption { padding: 10px 16px; font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--canvas); border-top: 1px solid var(--line); }
.pg-figure.tilt { transform: rotate(-1.2deg); }

.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pg-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 800; color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100); transition: transform .2s, background .2s; }
.pg-chips span:hover { transform: translateY(-2px); background: #fff; }
.pg-chips span i { font-style: normal; }
.pg-sec.dark .pg-chips span { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }

/* timeline */
.pg-time { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pg-time::before { content: ""; position: absolute; left: 4%; right: 4%; top: 31px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.pg-time > div { position: relative; text-align: center; }
.pg-time .dot { position: relative; z-index: 1; width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-900)); box-shadow: 0 0 0 6px #fff, 0 12px 26px rgba(0,90,171,.35); }
.pg-time > div:nth-child(even) .dot { background: linear-gradient(135deg, #F0444B, #B4121A); box-shadow: 0 0 0 6px #fff, 0 12px 26px rgba(237,28,36,.35); }
.pg-time .box { padding: 16px 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(6,43,85,.08); text-align: left; height: calc(100% - 80px); }
.pg-time h3 { margin: 0 0 6px; font-size: 16px; font-weight: 900; color: var(--blue-900); }
.pg-time p { margin: 0; font-size: 13.8px; line-height: 1.55; color: #3B4A5E; }

/* journey (record of thinking ahead) */
.pg-journey { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 8px; }
.pg-journey span { padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 900; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.pg-journey b { color: #FF8A8F; font-size: 20px; }

/* big numbers */
.pg-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.pg-counter { position: relative; overflow: hidden; padding: 24px 24px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(6,43,85,.1); }
.pg-counter::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.pg-counter b { display: block; font-size: clamp(34px, 4vw, 48px); line-height: 1; font-weight: 900; letter-spacing: -.02em; color: var(--blue-900); font-variant-numeric: tabular-nums; }
.pg-counter b small { font-size: .45em; color: var(--red); margin-left: 4px; }
.pg-counter span { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.pg-arrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pg-arrow .to { font-size: 34px; color: var(--red); font-weight: 900; }

/* callout */
.pg-callout { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px 26px; border-radius: 20px; background: #FFF8E6; border: 1px solid #FFE3A3; }
.pg-callout .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: #FFC93C; }
.pg-callout p { margin: 0; font-size: 15px; line-height: 1.6; color: #4A3B12; }
.pg-callout p b { color: #2A1F00; }

.pg-cta { position: relative; overflow: hidden; padding: 36px; border-radius: 24px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: radial-gradient(400px 260px at 0% 0%, rgba(77,155,230,.5), transparent 60%), linear-gradient(135deg, #062B55, #005AAB); box-shadow: 0 30px 70px rgba(6,43,85,.3); }
.pg-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.pg-cta h2 { margin: 0 0 6px; font-size: 26px; font-weight: 900; }
.pg-cta p { margin: 0; color: #D6E7F7; font-size: 15.5px; }
.pg-cta .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.pg-more a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; text-decoration: none; background: #fff; border: 1px solid var(--line); color: var(--blue-900); font-weight: 900; transition: transform .2s, box-shadow .2s; }
.pg-more a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6,43,85,.12); }
.pg-more a i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 18px; background: var(--blue-50); }
.pg-more a small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }

@media (max-width: 980px) {
  .pg-hero .wrap, .pg-split { grid-template-columns: 1fr; }
  .pg-split.rev > :first-child { order: 0; }
  .pg-hero-img { justify-self: start; max-width: 360px; }
  .pg-hero-img.portrait { display: none; }
  .pg-grid.c3, .pg-grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-time { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-time::before { display: none; }
  .pg-num.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-cta { grid-template-columns: 1fr; }
  .pg-more { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pg-sec { padding: 46px 0; }
  .pg-hero { padding: 26px 0 30px; }
  .pg-hero-img { display: none; }
  .pg-grid.c2, .pg-grid.c3, .pg-grid.c4, .pg-num, .pg-num.c3, .pg-time { grid-template-columns: 1fr; }
  .pg-quote { padding: 70px 22px 26px; }
  .pg-quote::before { left: 18px; top: 0; }
  .pg-cta { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ============================================================ v2: richer blocks */
/* Tags inside white cards on a dark section were white-on-white (the "blank" gaps) */
.pg-sec.dark .pg-card .pg-chips span { color: var(--blue-700); background: var(--blue-50); border-color: var(--blue-100); }
.pg-sec.dark .pg-card .pg-list li { color: #3B4A5E; }

/* Numbered cards: tinted, with a large faded number, a gradient edge and a glow on hover */
.pg-num > div { overflow: hidden; padding: 18px 20px 18px 18px; border: 1px solid #DCE7F3; border-radius: 18px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F8FD 100%); box-shadow: 0 10px 28px rgba(6,43,85,.07); }
.pg-num > div::after { content: counter(n); position: absolute; right: 10px; bottom: -22px; font-size: 92px; font-weight: 900; line-height: 1; color: rgba(0,90,171,.06); pointer-events: none; }
.pg-num > div:nth-child(even)::after { color: rgba(237,28,36,.06); }
.pg-num > div p { position: relative; z-index: 1; }
.pg-num > div::before { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 8px 18px rgba(0,90,171,.3); }
.pg-num > div:nth-child(even)::before { box-shadow: 0 8px 18px rgba(237,28,36,.3); }
.pg-num > div { border-left: 4px solid var(--blue); }
.pg-num > div:nth-child(even) { border-left-color: var(--red); }
.pg-num > div:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(6,43,85,.14); border-color: #C5D7EC; }
.pg-sec.dark .pg-num > div { background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); border-left: 4px solid #4DA3FF; backdrop-filter: blur(4px); }
.pg-sec.dark .pg-num > div:nth-child(even) { border-left-color: #FF6B70; }
.pg-sec.dark .pg-num > div::after { color: rgba(255,255,255,.07); }
.pg-sec.dark .pg-num > div:hover { background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); }

/* Checklists inside cards: each point is its own soft row */
.pg-card .pg-list { gap: 8px; }
.pg-card .pg-list li { padding: 10px 12px 10px 40px; border-radius: 12px; background: #F5F9FD; border: 1px solid #E4EDF7; transition: background .2s, transform .2s, border-color .2s; }
.pg-card .pg-list li:hover { background: #fff; border-color: var(--blue-200); transform: translateX(3px); }
.pg-card .pg-list li::before { left: 12px; top: 12px; width: 18px; height: 18px; background-color: #fff; }

/* Cards with a coloured header band (used for the list cards) */
.pg-card.tint { background: linear-gradient(180deg, #EEF5FC 0, #fff 130px); }
.pg-card.tint.red { background: linear-gradient(180deg, #FEF0F0 0, #fff 130px); }
.pg-card.tint .ic { width: 52px; height: 52px; border-radius: 16px; }
.pg-card.tint::after { content: ""; position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(0,90,171,.12), transparent 70%); pointer-events: none; }
.pg-card.tint.red::after { background: radial-gradient(circle, rgba(237,28,36,.12), transparent 70%); }

/* Counters: gradient wash, accent ring and a small label badge */
.pg-counter { background: linear-gradient(135deg, #FFFFFF 55%, #EAF2FB 100%); }
.pg-counter::before { content: ""; position: absolute; right: -50px; bottom: -50px; width: 170px; height: 170px; border-radius: 50%; border: 18px solid rgba(0,90,171,.06); pointer-events: none; }
.pg-counter:nth-child(even)::before { border-color: rgba(237,28,36,.07); }
.pg-counter:nth-child(even) b { color: var(--red); }
.pg-counter .badge { display: inline-flex; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); background: var(--blue-50); }
.pg-counter:nth-child(even) .badge { color: #B4121A; background: var(--red-50); }

/* Plain text cards (Building complete communities) get an icon and tint */
.pg-card.note { padding: 22px 24px 22px 76px !important; background: linear-gradient(135deg, #fff 60%, #F3F8FD); }
.pg-card.note .ic { position: absolute; left: 20px; top: 22px; margin: 0; width: 42px; height: 42px; border-radius: 13px; }
