/* Anchors that buttons scroll to: leave room for the fixed header. */
.jdg-anchor, #contactseida, #enrollNow { display: block; scroll-margin-top: 110px; }
.jdg-anchor { height: 0; }
.jdg-cart-link { display: inline-flex; align-items: center; gap: 4px; position: relative; }
.jdg-cart-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #2969af; color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
.jdg-cart-count[hidden] { display: none; }
.jdg-cart-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 991px) { .jdg-cart-icon { display: none; } .jdg-cart-text { position: static; width: auto; height: auto; clip: auto; } }
/* The theme takes the header out of the page flow once it sticks, which pulls everything up by the header's height:
 * short pages (the cart) then show white space under the footer. Keep the space while it is stuck. */
body:has(#wrapper-topnav.is-sticky) #page { padding-top: var(--jdg-header-h, 0px); }
/* All Policies page ([jdg_policies]). */
.jdg-policies { list-style: none; margin: 24px 0 48px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.jdg-policy { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border: 1px solid #dbe3ee; border-radius: 12px; background: #fff; color: #1d2a3a; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.jdg-policy:hover, .jdg-policy:focus-visible { border-color: #2969af; box-shadow: 0 4px 14px rgba(41, 105, 175, .12); }
.jdg-policy-title { font-size: 20px; font-weight: 600; }
.jdg-policy-read { color: #2969af; font-size: 15px; }
/* The theme's admissions.css switches the "Let's get started" buttons off (pointer-events: none) on the Admissions page;
 * they now have their enrollment links. */
html body #multiEnroll.buttons-box-block .button-item { pointer-events: auto; }
/* Same for "Explore the packages" under "There's no best package": it jumps to the side-by-side table. */
.package-head .exploer-package-btn, .package-head .exploer-package-btn a { pointer-events: auto !important; }
