/* The pledge is a local expansion of John's introduction. */
#john .john-layout { align-items: start; gap: clamp(32px, 5vw, 72px); }
#john .john-copy { min-width: 0; }
.pledge-invitation {
  display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center;
  width: 100%; margin: 28px 0 0; padding: 26px 28px 26px 12px; gap: 8px;
  position: relative; isolation: isolate; overflow: hidden;
  background: #102e4c; color: #fff; border: 1px solid #244963;
  border-radius: 12px 38px 12px 12px; text-align: left;
  box-shadow: 0 12px 26px #0f274417;
  transition: background .2s ease, box-shadow .2s ease;
}
.pledge-invitation[hidden], .pledge-reader[hidden], .pledge-tools[hidden] { display: none; }
.pledge-invitation::after { content: ""; position: absolute; height: 5px; background: #bc4248; bottom: 0; left: 28px; right: 28px; border-radius: 5px 5px 0 0; }
.pledge-invitation:hover { background: #173d60; box-shadow: 0 14px 30px #0f27442b; }
.pledge-invitation:focus-visible { outline: 3px solid #b43a3a; outline-offset: 5px; }
.pledge-art { width: 136px; height: auto; transition: transform .25s ease; }
.pledge-invitation:hover .pledge-art { transform: rotate(-3deg) translateY(-2px); }
.pledge-invitation-copy { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.pledge-kicker { color: #efb6b5; font-size: 10px; font-weight: 750; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.pledge-invitation-title { color: #fff; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -.025em; }
.pledge-invitation-description { font-size: 14px; line-height: 1.5; color: #d5e2ec; }
.pledge-invitation-action { display: inline-flex; align-items: center; gap: 18px; padding: 8px 14px; min-height: 44px; margin-top: 4px; border: 1px solid #7790a5; border-radius: 30px; font-size: 13px; font-weight: 700; color: #fff; }
.pledge-invitation-action svg { width: 17px; height: 17px; transition: transform .2s; }
.pledge-invitation[aria-expanded="true"] .pledge-invitation-action svg { transform: rotate(180deg); }
.pledge-reader { margin-top: 48px; padding: clamp(24px, 4.5vw, 56px); background: #fff; border: 1px solid #d9e1e8; border-top: 5px solid #b43a3a; border-radius: 12px 40px 12px 12px; box-shadow: 0 16px 42px #0f274409; scroll-margin-top: 20px; }
.pledge-reader:focus { outline: none; }
.pledge-reader:focus-visible { outline: 3px solid #b43a3a; outline-offset: 5px; }
.pledge-reader.pledge-revealed { animation: pledge-reveal .3s ease-out; }
.pledge-reader-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 44px; align-items: end; padding-bottom: 30px; }
.pledge-reader .eyebrow { color: #ac343a; font-size: 11px; margin-bottom: 16px; }
.pledge-reader h3 { font-size: clamp(32px, 4vw, 49px); line-height: 1.08; color: #102e4c; }
.pledge-reader h3 span { display: block; color: #b43a3a; }
.pledge-reader-intro { font-size: 16px; line-height: 1.7; margin-top: 20px; color: #465665; max-width: 610px; }
.pledge-reader-aside { border-left: 3px solid #cad7e2; padding-left: 23px; }
.pledge-reader-aside strong { display: block; font-size: 18px; line-height: 1.4; color: #102e4c; }
.pledge-reader-aside p { font-size: 14px; line-height: 1.6; margin-top: 10px; color: #516272; }
.pledge-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e0e6ec; padding: 20px 0; }
.pledge-tools p { font-size: 13px; color: #576b7b; }
.pledge-tools button, .pledge-close { background: #f1f5f8; border: 1px solid #b8c9d7; border-radius: 24px; padding: 9px 17px; color: #102e4c; font-size: 13px; font-weight: 700; min-height: 44px; }
.pledge-tools button:hover, .pledge-close:hover { background: #e1eaf1; }
.pledge-item { border: 1px solid #d8e1e8; border-radius: 12px; margin: 0 0 12px; background: #fff; overflow: hidden; scroll-margin-top: 20px; }
.pledge-item>summary { display: flex; gap: 20px; align-items: center; padding: 23px 26px; cursor: pointer; list-style: none; color: #102e4c; }
.pledge-item>summary::-webkit-details-marker { display: none; }
.pledge-item>summary::marker { content: ""; }
.pledge-item>summary:hover { background: #f5f8fa; }
.pledge-item>summary:focus-visible { outline-offset: -4px; border-radius: 12px; }
.pledge-topic-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 46px; color: #a73037; background: #fbefef; border-radius: 13px; }
.pledge-topic-icon svg { width: 24px; height: 24px; }
.pledge-item-label { flex: 1; min-width: 0; }
.pledge-item-label small { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #677b8d; }
.pledge-item-label strong { font-size: 23px; line-height: 1.25; letter-spacing: -.025em; display: block; }
.pledge-plus { width: 30px; height: 30px; border: 1px solid #cedae3; border-radius: 50%; position: relative; flex: 0 0 30px; }
.pledge-plus::before,.pledge-plus::after { content: ""; position: absolute; width: 10px; height: 2px; background: #102e4c; left: 9px; top: 13px; }
.pledge-plus::after { transform: rotate(90deg); transition: transform .18s ease; }
.pledge-item[open] .pledge-plus::after { transform: rotate(0); }
.pledge-item[open] { border-color: #c2d2df; background: #fbfcfd; }
.pledge-item[open]>summary { background: #edf3f7; }
.pledge-item-body { padding: 26px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 40px; }
.pledge-item[open] .pledge-item-body { animation: pledge-reveal .22s ease-out; }
.pledge-item-body h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #9c3036; margin: 0 0 12px; }
.pledge-item-body p { font-size: 16px; line-height: 1.75; color: #405364; }
.pledge-item-body p+p { margin-top: 12px; }
.pledge-accountability { border-left: 2px solid #d3e1ec; padding-left: 24px; }
.pledge-accountability h4 { display: flex; align-items: center; gap: 13px; line-height: 1.55; }
.pledge-review-icon { width: 52px; height: 52px; flex: 0 0 52px; }
.pledge-related { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 16px; border-top: 1px solid #dde5ec; }
.pledge-related a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; color: #123958; font-size: 14px; font-weight: 700; }
.pledge-related a:hover { color: #a73037; }
.pledge-signoff { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; padding-top: 26px; border-top: 1px solid #d8e1e8; }
.pledge-signoff-person { display: flex; align-items: center; gap: 18px; flex: 1 1 450px; min-width: 0; }
.pledge-signoff-photo { width: 84px; height: 104px; flex: 0 0 84px; overflow: hidden; border: 1px solid #d5dfe7; border-radius: 12px; background: #e9edf0; }
.pledge-signoff-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.6); transform-origin: center top; }
.pledge-signoff-copy { min-width: 0; }
.pledge-signoff .pledge-close { flex-shrink: 0; }
.pledge-signoff strong { display: block; color: #102e4c; font-size: 20px; }
.pledge-signoff p { font-size: 14px; line-height: 1.6; }
.pledge-signoff span { color: #a73037; font-size: 11px; letter-spacing: .08em; font-weight: 700; display: block; margin-top: 8px; }
.pledge-context { margin-top: 26px; font-size: 13px; line-height: 1.65; color: #526575; max-width: 880px; }
@keyframes pledge-reveal { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 801px) { #john .john-portrait-group { position: sticky; top: 120px; } }
@media (max-width: 1000px) { .pledge-invitation { grid-template-columns: 100px minmax(0,1fr); padding: 22px 20px 25px 8px; } .pledge-art { width: 100px; } .pledge-invitation-title { font-size: 26px; } }
@media (min-width: 561px) and (max-width: 800px) { #john .john-layout { grid-template-columns: .8fr 1.2fr; gap: 25px; } .pledge-invitation { grid-template-columns: 76px minmax(0,1fr); } .pledge-art { width: 76px; } }
@media (max-width: 700px) {
  .pledge-signoff-person { gap: 14px; align-items: flex-start; }
  .pledge-signoff-photo { width: 64px; height: 80px; flex-basis: 64px; }
  .pledge-reader { margin-top: 30px; padding: 26px 20px; scroll-margin-top: 18px; }
  .pledge-reader-heading { grid-template-columns: 1fr; gap: 20px; padding-bottom: 24px; }
  .pledge-reader-intro { font-size: 15px; line-height: 1.65; }
  .pledge-reader-aside { padding-left: 14px; }
  .pledge-reader-aside strong { font-size: 14px; }
  .pledge-reader-aside strong br { display: none; }
  .pledge-reader-aside p { display: none; }
  .pledge-item>summary { padding: 18px 15px; gap: 13px; }
  .pledge-item-label strong { font-size: 20px; }
  .pledge-topic-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
  .pledge-topic-icon svg { width: 21px; height: 21px; }
  .pledge-item-body { grid-template-columns: 1fr; padding: 22px 18px; gap: 23px; }
  .pledge-accountability { padding: 18px 0 0; border-left: 0; border-top: 2px solid #d3e1ec; }
  .pledge-item-body p { font-size: 15px; }
  .pledge-plus { width: 26px; height: 26px; flex-basis: 26px; }
  .pledge-plus::before,.pledge-plus::after { left: 7px; top: 11px; }
}
@media (max-width: 380px) {
  .pledge-invitation { grid-template-columns: 68px minmax(0,1fr); padding-right: 16px; }
  .pledge-art { width: 68px; }
  .pledge-invitation-title { font-size: 25px; }
  .pledge-reader { padding: 23px 13px; }
  .pledge-item-label strong { font-size: 18px; }
  .pledge-topic-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pledge-reader, .pledge-item .pledge-item-body { animation: none !important; }
  .pledge-invitation, .pledge-art, .pledge-invitation-action svg, .pledge-plus::after { transition: none; }
  .pledge-invitation:hover .pledge-art { transform: none; }
}
@media print {
  .pledge-invitation, .pledge-tools, .pledge-close { display: none !important; }
  .pledge-reader, .pledge-reader[hidden] { display: block !important; box-shadow: none; padding: 25px; border: 1px solid #ddd; }
  .pledge-reader-heading, .pledge-item-body { display: block; }
  .pledge-accountability { margin-top: 16px; }
  .pledge-item { break-inside: avoid; }
}

/* Published salary and Presidential commitments, 14 October 2026. */
.pledge-current-commitments{margin:0 0 24px;padding:22px;background:#edf3f7;border-radius:12px;border-top:3px solid #ba9147}
.pledge-update-label{font-size:11px;font-weight:800;letter-spacing:.1em;color:#695027;margin:0 0 14px}
.pledge-current-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pledge-current-grid>a{display:flex;align-items:flex-start;gap:14px;padding:18px;background:#fff;border:1px solid #ccd9e3;border-radius:9px;color:#123451;text-decoration:none}
.pledge-current-grid>a:hover{border-color:#ac7d31;background:#fffdf8}.pledge-current-grid svg{width:25px;height:25px;flex:0 0 25px;stroke:currentColor;fill:none;stroke-width:1.6}
.pledge-current-grid>a>span{flex:1;min-width:0}.pledge-current-grid strong{font-size:22px;line-height:1.2;display:block;margin-bottom:8px}.pledge-current-grid span span{font-size:13px;line-height:1.6;display:block;color:#4d6275}.pledge-current-grid b{font-size:22px;color:#a37834}
.pledge-salary-table{width:100%;border-collapse:collapse;margin:20px 0 22px;color:#16384e;font-size:14px;line-height:1.5}
.pledge-salary-table caption{text-align:left;font-size:13px;font-weight:700;padding-bottom:10px;color:#40596b}
.pledge-salary-table th,.pledge-salary-table td{text-align:left;padding:11px 12px;border-bottom:1px solid #d6e0e8}
.pledge-salary-table td,.pledge-salary-table thead th:last-child{text-align:right}.pledge-salary-table tbody th{font-weight:500}
.pledge-salary-table thead{background:#edf3f7;font-size:12px}.pledge-salary-table tfoot{background:#153650;color:#fff;font-weight:800}.pledge-salary-table tfoot th,.pledge-salary-table tfoot td{border-bottom:0}
.pledge-presidential{padding:18px 20px;border-left:4px solid #b48a3f;background:#f8f3e8;color:#173952!important}
@media(max-width:800px){.pledge-current-grid{grid-template-columns:1fr}.pledge-current-commitments{padding:18px}.pledge-current-grid strong{font-size:21px}}
@media(max-width:380px){.pledge-current-grid>a{padding:14px;gap:10px}.pledge-salary-table th,.pledge-salary-table td{padding:9px 6px;font-size:12px}}
