/* Consent UI is isolated from the existing carousel and navigation styles. */
#pv-consent {position:fixed;inset:0;margin:auto;width:min(640px,calc(100% - 40px));max-height:calc(100svh - 64px);max-height:calc(100dvh - 64px);padding:30px;border:1px solid rgba(207,231,246,.28);border-radius:18px;background:linear-gradient(rgba(39,39,43,0.2),rgba(39,39,43,0.2)),linear-gradient(105deg,rgba(191,226,245,.10),transparent 42%,rgba(255,255,255,.035) 78%,transparent),linear-gradient(125deg,rgba(207,231,246,.14),rgba(207,231,246,0) 48%),linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,0) 60%),rgba(39,39,43,0.78);color:#edf3f7;box-shadow:0 24px 60px rgba(17,35,52,.38),inset 0 1px 0 rgba(255,255,255,.14);-webkit-backdrop-filter:blur(16px) saturate(1.08);backdrop-filter:blur(16px) saturate(1.08);font:14px/1.55 Inter,Arial,sans-serif;overflow:auto;overscroll-behavior:contain;color-scheme:dark;}
#pv-consent::backdrop {background:rgba(39,39,43,0.38);}
#pv-consent:not([open]) {display:none;}
#pv-consent h2 {margin:0 34px 12px 0;font:500 clamp(22px,4vw,28px)/1.25 Inter,Arial,sans-serif;letter-spacing:-.03em;color:#fff;text-transform:none;}
#pv-consent p {font:inherit;color:#c8d7e1;margin:0 0 16px;}
#pv-consent .pv-consent-kicker {color:#9fc5dc;font-size:10px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:10px;}
#pv-consent button,#pv-consent input {font:inherit;}
#pv-consent .pv-consent-close {position:absolute;right:15px;top:14px;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#c8d7e1;cursor:pointer;font-size:26px;line-height:1;}
#pv-consent .pv-consent-necessary {display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid #ffffff26;color:#d6e4ed;}
#pv-consent .pv-consent-necessary span {font-size:12px;white-space:nowrap;color:#9fc5dc;}
#pv-consent .pv-consent-option {display:grid;grid-template-columns:22px 1fr;gap:12px;padding:14px 0;border-top:1px solid #ffffff26;cursor:pointer;}
#pv-consent .pv-consent-option input {width:20px;height:20px;margin:2px 0;accent-color:#9fc5dc;}
#pv-consent .pv-consent-option strong {display:block;font-weight:600;color:#edf3f7;}
#pv-consent .pv-consent-option small {display:block;font-size:12px;line-height:1.55;color:#b9cbd7;margin-top:3px;}
#pv-consent .pv-consent-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;}
#pv-consent .pv-consent-actions button,.pv-consent-placeholder button {min-height:46px;padding:10px 12px;border:1px solid rgba(193,224,243,.55);border-radius:7px;background:linear-gradient(125deg,rgba(207,231,246,.12),transparent 65%),rgba(255,255,255,.045);color:#f3f8fb;cursor:pointer;font-weight:500;font-size:13px;line-height:1.3;text-align:center;}
#pv-consent .pv-consent-actions button:hover,.pv-consent-placeholder button:hover {background:rgba(159,197,220,.20);}
#pv-consent :focus-visible,.pv-consent-placeholder :focus-visible,.pv-consent-footer:focus-visible {outline:2px solid #9fc5dc;outline-offset:4px;}
#pv-consent .pv-consent-links {display:flex;flex-wrap:wrap;gap:18px;margin-top:17px;font-size:12px;color:#b9cbd7;}
#pv-consent .pv-consent-links a {text-decoration:underline;text-underline-offset:3px;}
.pv-consent-footer {font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0;cursor:pointer;}
.pv-consent-footer[hidden] {display:none;}
.pv-consent-status {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.pv-consent-media {position:absolute;inset:0;overflow:hidden;background:#27272b;}
.pv-consent-placeholder {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px;text-align:center;color:#edf3f7;background:radial-gradient(ellipse at top,#294655,#27272b 75%);overflow:auto;font:13px/1.45 Inter,Arial,sans-serif;}
.pv-consent-placeholder[hidden] {display:none;}
.pv-consent-placeholder strong {font-size:18px;font-weight:500;color:#edf3f7;}
.pv-consent-placeholder p {margin:0;max-width:460px;color:#bfced9;font:inherit;}
.pv-consent-placeholder a {color:#c4e0f0;font-size:12px;text-decoration:underline;}
.pv-consent-media > iframe {position:absolute;inset:0;width:100%;height:100%;border:0;}
.pv-consent-privacy {max-width:850px;}
.pv-consent-privacy h2 {margin-top:30px;}
.pv-consent-privacy a {color:#315f7e;text-decoration:underline;}
@media(max-width:600px) {
 #pv-consent {width:calc(80% - 25.6px);max-height:calc(80svh - 44.8px);max-height:calc(80dvh - 44.8px);padding:18.4px 16px;border-radius:11.2px;font-size:13px;}
 #pv-consent .pv-consent-option {padding:11px 0;}
 #pv-consent .pv-consent-actions {grid-template-columns:1fr;gap:8px;}
 #pv-consent .pv-consent-links {margin-top:14px;}
 .pv-consent-placeholder {padding:10px;gap:5px;font-size:11px;}
 .pv-consent-placeholder strong {font-size:15px;}
 .pv-consent-placeholder button {min-height:38px;padding:7px 10px;font-size:12px;}
}
/* Keep all consent choices visible on phone screens without removing information. */
@media(max-width:600px) {
  #pv-consent {width:calc(100% - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;padding:16px;border-radius:12px;font-size:12px;line-height:1.4;}
  #pv-consent .pv-consent-kicker {display:none;}
  #pv-consent h2 {font-size:20px;line-height:1.2;margin:0 28px 10px 0;}
  #pv-consent p {margin-bottom:10px;}
  #pv-consent .pv-consent-close {top:6px;right:6px;}
  #pv-consent .pv-consent-necessary {padding:8px 0;gap:8px;}
  #pv-consent .pv-consent-necessary span {font-size:11px;}
  #pv-consent .pv-consent-option {padding:9px 0;gap:8px;grid-template-columns:20px 1fr;}
  #pv-consent .pv-consent-option small {font-size:11px;line-height:1.35;margin-top:2px;}
  #pv-consent .pv-consent-actions {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px;}
  #pv-consent .pv-consent-actions button {min-height:40px;padding:8px;font-size:12px;}
  #pv-consent [data-pv-consent-action="deny"] {order:1;}
  #pv-consent [data-pv-consent-action="allow"] {order:2;}
  #pv-consent [data-pv-consent-action="save"] {order:3;grid-column:1 / -1;}
  #pv-consent .pv-consent-links {margin-top:10px;gap:14px;font-size:11px;}
  #pv-consent > p:last-child {font-size:11px!important;line-height:1.35;margin:8px 0 0!important;}
}
@media(max-width:600px) and (max-height:650px) {
  #pv-consent {padding:12px;font-size:11px;line-height:1.3;}
  #pv-consent h2 {font-size:18px;margin-bottom:8px;}
  #pv-consent p {margin-bottom:7px;}
  #pv-consent .pv-consent-option {padding:7px 0;}
  #pv-consent .pv-consent-links {margin-top:8px;}
}
/* Slightly more compact phone consent dialog. */
@media (max-width:600px) {
  #pv-consent {width:calc(100% - 36px);padding:14px;line-height:1.35;}
  #pv-consent h2 {font-size:19px;line-height:1.22;margin-bottom:9px;letter-spacing:-.025em;}
  #pv-consent p {margin-bottom:9px;}
  #pv-consent .pv-consent-necessary {padding:7px 0;}
  #pv-consent .pv-consent-option {padding:8px 0;}
  #pv-consent .pv-consent-option strong {font-size:12px;line-height:1.35;}
  #pv-consent .pv-consent-actions {margin-top:7px;}
  #pv-consent .pv-consent-actions button {min-height:40px;padding:7px 8px;line-height:1.25;}
  #pv-consent .pv-consent-links {margin-top:9px;gap:12px;}
}
@media (max-width:600px) and (max-height:650px) {
  #pv-consent {padding:12px;line-height:1.3;}
  #pv-consent h2 {font-size:18px;}
  #pv-consent .pv-consent-option {padding:7px 0;}
}
/* Compact phone layout with isolated checkbox and wrapping text columns. */
@media (max-width:600px) {
  #pv-consent {width:calc(100% - 48px);max-width:340px;max-height:calc(100svh - 32px);max-height:calc(100dvh - 32px);padding:12px;font-size:11.5px;line-height:1.3;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
  #pv-consent h2 {font-size:18px;line-height:1.2;margin:0 26px 8px 0;}
  #pv-consent p {margin-bottom:8px;}
  #pv-consent .pv-consent-option {display:flex;align-items:flex-start;gap:12px;padding:7px 0;min-height:44px;box-sizing:border-box;}
  #pv-consent .pv-consent-option > input {position:static;float:none;flex:0 0 20px;box-sizing:border-box;width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;margin:1px 0 0;padding:0;transform:none;}
  #pv-consent .pv-consent-option > span {position:static;display:block;flex:1 1 0%;min-width:0;width:auto;max-width:100%;margin:0;padding:0;transform:none;text-align:left;white-space:normal;overflow-wrap:anywhere;}
  #pv-consent .pv-consent-option strong {font-size:11.5px;line-height:1.3;white-space:normal;}
  #pv-consent .pv-consent-option small {font-size:11px;line-height:1.3;white-space:normal;}
  #pv-consent .pv-consent-necessary {padding:6px 0;}
  #pv-consent .pv-consent-actions {margin-top:6px;}
  #pv-consent .pv-consent-actions button {font-size:11.5px;min-height:40px;}
  #pv-consent .pv-consent-links {gap:10px;margin-top:8px;}
}

/* Match the neutral charcoal palette of the homepage header. */
#pv-consent {
 background:#27272b;
 border-color:#646565;
 color:#efefef;
 box-shadow:0 24px 60px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.1);
 -webkit-backdrop-filter:none;
 backdrop-filter:none;
}
#pv-consent::backdrop { background:rgba(39,39,43,0.38); }
#pv-consent p,
#pv-consent .pv-consent-close { color:#d0d0d0; }
#pv-consent .pv-consent-kicker,
#pv-consent .pv-consent-necessary span { color:#c9c9c9; }
#pv-consent .pv-consent-necessary,
#pv-consent .pv-consent-option strong { color:#efefef; }
#pv-consent .pv-consent-option small,
#pv-consent .pv-consent-links,
#pv-consent .pv-consent-links a { color:#c9c9c9; }
#pv-consent .pv-consent-option input { accent-color:#d7d7d7; }
#pv-consent .pv-consent-actions button {
 border-color:#646565;
 background:#27272b;
 color:#fff;
}
#pv-consent .pv-consent-actions button:hover { background:#27272b; }
#pv-consent :focus-visible { outline-color:#fff; }
