/* Scoped footer presentation; official logos retain color and aspect ratio. */
.py-site-footer{background:#fff;border-top:1px solid #e1e7ee;color:#475569;margin-top:56px;padding-top:36px;font-size:14px;line-height:1.9;clear:both}.py-site-footer *{box-sizing:border-box}.py-site-footer a{color:inherit;text-decoration:none}.py-site-footer a:hover{color:#1d4ed8}.py-site-footer a:focus-visible,.py-site-footer summary:focus-visible{outline:3px solid #2563eb;outline-offset:4px}.py-site-footer h3{font-size:16px;font-weight:750;color:#172b45;margin:0 0 14px}.py-site-footer p{margin:0 0 12px}.py-site-footer ul{list-style:none;padding:0;margin:0}.py-footer-brand-row{display:flex;align-items:center;justify-content:space-between;gap:24px}.py-site-footer .py-footer-brand{font-size:30px;font-weight:900;letter-spacing:-1px;color:#1d4ed8}.py-footer-brand img{width:auto;height:48px;max-width:180px;object-fit:contain}.py-footer-brand-row p{font-size:13px;color:#64748b;margin-top:3px}.py-site-footer .py-footer-top{display:flex;align-items:center;gap:20px;padding:8px 16px;border:1px solid #cbd5e1;border-radius:6px;font-size:13px;min-height:44px}.py-footer-top span{font-size:21px}.py-footer-contact-line{display:flex;flex-wrap:wrap;gap:12px 24px;margin:14px 0}.py-footer-contact-line a{display:inline-flex;align-items:center;gap:8px}.py-footer-contact-line .py-icon{width:18px;height:18px}.py-site-footer .py-footer-benefits{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:24px;padding:36px 0;border-bottom:1px solid #e5eaf0}.py-footer-benefits li{display:flex;align-items:center;gap:14px}.py-footer-benefits .py-icon{width:36px;height:36px;flex-shrink:0;color:#2563eb}.py-footer-benefits strong{display:block;font-size:14px;font-weight:700;color:#243b55}.py-footer-benefits span{font-size:12px;color:#64748b}.py-footer-link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:32px;padding:36px 0}.py-footer-links-list li+li{margin-top:10px}.py-footer-links-list a{display:inline-block;min-height:30px}.py-footer-connect{max-width:330px}.py-footer-connect p{font-size:13px;color:#64748b}.py-site-footer .py-footer-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;padding:10px 14px;border-radius:6px;font-weight:650;min-height:44px}.py-site-footer .py-footer-socials{display:flex;gap:10px;margin-top:16px}.py-footer-socials a{width:44px;height:44px;border:1px solid #e2e8f0;border-radius:6px;display:grid;place-items:center}.py-footer-apps{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#18365b;color:#fff;padding:24px;border-radius:6px;margin:4px 0 30px}.py-footer-apps-intro{display:flex;align-items:center;gap:16px}.py-footer-apps-intro>.py-icon{width:42px;height:42px;flex-shrink:0;color:#a9d4ff}.py-footer-apps h3{color:#fff;font-size:18px;margin-bottom:4px}.py-footer-apps p{color:#d3e2f4;font-size:12px;margin:0}.py-footer-app-buttons{display:flex;gap:12px;flex-shrink:0}.py-footer-app-buttons>a{display:flex;align-items:center;gap:12px;background:#fff;color:#173455;border:1px solid #fff;border-radius:5px;min-height:60px;padding:9px 16px}.py-footer-app-buttons .py-icon{width:26px;height:26px;color:#1d4ed8}.py-footer-app-buttons img{width:32px;height:32px;object-fit:contain}.py-footer-app-buttons strong,.py-footer-app-buttons small{display:block}.py-footer-app-buttons strong{font-size:13px;font-weight:750}.py-footer-app-buttons small{font-size:11px;color:#64748b}.py-footer-about-row{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;padding:0 0 28px}.py-footer-about{max-width:850px;flex:1}.py-footer-about p{text-align:justify;font-size:13px;line-height:2.1;color:#64748b}.py-footer-about summary{cursor:pointer;color:#1d4ed8;font-weight:650;min-height:36px}.py-footer-about details p{padding-top:10px}.py-footer-seals{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.py-footer-licenses{padding:12px 0;min-width:160px}.py-footer-licenses h3{font-size:13px}.py-footer-seal{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px;border:1px solid #e2e8f0;border-radius:6px}.py-footer-seal img{width:80px;height:90px;object-fit:contain}.py-footer-seal span{font-size:11px}.py-footer-enamad{padding:8px}.py-footer-technologies{background:#f5f7fa;border-block:1px solid #e4e9f0;padding:24px;margin:0 -24px}.py-footer-technologies h3{font-size:13px;text-align:center;color:#64748b;font-weight:600;margin-bottom:18px}.py-footer-technologies ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0}.py-footer-technologies li>a,.py-footer-logo-item{display:flex;flex-direction:column;align-items:center;padding:12px 20px;gap:8px;min-width:0}.py-footer-logo-frame{display:flex;align-items:center;justify-content:center;width:140px;height:58px;max-width:100%}.py-footer-logo-frame img{width:auto;height:auto;max-width:min(120px,100%);max-height:46px;object-fit:contain;display:block}.py-footer-logo-label{font-size:12px;color:#64748b;line-height:1.5}.py-footer-attribution{display:block;font-size:10px;text-align:center;margin:16px 12px 0;color:#64748b}.py-footer-attribution a{text-decoration:underline}.py-footer-copyright{padding:22px 0;font-size:11px;text-align:center;color:#64748b}
/* Admin controls are separate from storefront and preserve native WP settings semantics. */
.py-footer-admin{max-width:1100px}.py-fa-card{background:#fff;border:1px solid #dce2e9;border-radius:6px;padding:22px;margin:20px 0}.py-fa-card h2{margin-top:0}.py-fa-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.py-fa-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-weight:600;min-width:0}.py-fa-field input,.py-fa-field select,.py-fa-field textarea{width:100%;max-width:100%;min-height:38px;font-weight:400}.py-fa-row{border:1px solid #d8e1ec;border-radius:5px;padding:16px;margin:18px 0;background:#fbfcfe}.py-fa-row legend{font-weight:700;padding:0 8px}.py-fa-actions{display:flex;gap:12px;align-items:center;margin-top:14px}.py-fa-media{padding:12px;background:#f0f5fb;border-radius:4px;line-height:2.3}.py-fa-media .button{margin-inline-start:8px}.py-fa-error{color:#b32d2e;font-weight:600;margin:0!important}.py-fa-order{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e2e8f0;padding:12px 0}.py-fa-order label{flex:1}.py-fa-status{color:#135e96}.py-fa-card small{color:#646970}.py-fa-row[hidden]{display:none}
@media(max-width:1000px){.py-footer-apps{align-items:stretch;flex-direction:column;gap:18px}.py-footer-app-buttons{flex-wrap:wrap}.py-footer-app-buttons>a{flex:1}.py-footer-about-row{flex-direction:column;gap:18px}}
@media(max-width:600px){.py-site-footer{padding-top:24px;margin-top:36px}.py-footer-brand-row{gap:12px}.py-site-footer .py-footer-brand{font-size:26px}.py-site-footer .py-footer-top{padding:7px 10px;font-size:11px;gap:12px}.py-footer-brand-row p{font-size:11px}.py-site-footer .py-footer-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;padding:24px 0}.py-footer-benefits li{align-items:flex-start;gap:8px}.py-footer-benefits .py-icon{width:27px;height:27px}.py-footer-benefits strong{font-size:12px}.py-footer-benefits span{font-size:11px;line-height:1.7;display:block}.py-footer-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;padding:28px 0}.py-footer-connect{grid-column:1/-1;max-width:none}.py-footer-apps{padding:18px}.py-footer-apps h3{font-size:15px}.py-footer-apps-intro>.py-icon{width:30px;height:30px}.py-footer-app-buttons{flex-direction:column}.py-footer-app-buttons>a{justify-content:center}.py-footer-technologies{margin:0 -16px;padding:20px 10px}.py-footer-technologies ul{grid-template-columns:repeat(2,minmax(0,1fr))}.py-fa-fields{grid-template-columns:1fr}.py-fa-card{padding:14px}.py-fa-order{flex-wrap:wrap}.py-fa-order label{flex-basis:100%}.py-fa-media .button{margin:6px}}

/* Reserve space only when the course actually renders a fixed mobile purchase bar. */
@media(max-width:782px){body:has(.py-mobile-purchase:not([hidden])) .py-site-footer{padding-bottom:90px}}

/* A learning-route invitation, with no signup form or external requests. */
.py-site-footer .py-footer-learning{padding:20px;border:1px solid var(--py-c-border,#dce3eb);border-block-start:3px solid var(--py-c-accent,#ffc400);border-radius:6px;align-self:start;min-width:0}
.py-footer-learning-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.py-site-footer .py-footer-learning-heading h3{margin:0;font-size:16px;line-height:1.8}
.py-footer-learning-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:6px;background:var(--py-c-surface,#fff);border:1px solid var(--py-c-border,#dce3eb);color:var(--py-c-link,#102a56)}
.py-footer-learning-icon>.py-icon{width:26px;height:26px}
.py-site-footer .py-footer-learning>p{line-height:2.1;margin-bottom:18px;font-size:13px}
.py-site-footer .py-footer-learning .py-footer-cta{gap:10px;font-size:13px}
.py-footer-learning .py-footer-cta>.py-icon{width:20px;height:20px;flex:none;color:inherit}
@media(max-width:600px){.py-site-footer .py-footer-learning{padding:18px}.py-site-footer .py-footer-learning-heading h3{font-size:16px}}

html[data-py-theme] .py-site-footer .py-footer-learning{border-block-start-color:var(--py-c-accent)}
html[data-py-theme] .py-site-footer .py-footer-learning .py-footer-cta>.py-icon{color:var(--py-c-onaccent)}

/* Compact right-aligned brand/contact rail; back-to-top remains on the left. */
.py-site-footer .py-footer-tools{display:flex;justify-content:flex-start;margin:-58px 0 12px;direction:ltr}
.py-site-footer .py-footer-tools .py-footer-top{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;gap:0;border-radius:10px;border:1px solid var(--py-c-border);background:var(--py-c-surface);color:var(--py-c-heading);box-shadow:0 3px 12px rgb(0 0 0 / 5%);transition:transform .18s ease,background-color .18s ease}
.py-footer-tools .py-footer-top .py-icon{width:22px;height:22px}
.py-site-footer .py-footer-tools .py-footer-top:hover{background:var(--py-c-raised);border-color:var(--py-c-link);color:var(--py-c-link);transform:translateY(-2px)}
.py-site-footer .py-footer-brand-row{display:flex;direction:ltr;flex-direction:column;align-items:flex-end;gap:12px}
.py-footer-lockup{flex:none;max-width:100%;text-align:center}
.py-site-footer .py-footer-brand{display:block;line-height:1}
.py-site-footer .py-footer-brand .py-brand-art{display:block;width:144px;max-width:100%}
.py-site-footer .py-footer-brand-row .py-footer-tagline{margin:2px 0 0;font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.075em;color:var(--py-c-heading);max-width:180px;overflow-wrap:anywhere}
.py-site-footer .py-footer-contact-line{display:flex;direction:rtl;align-items:center;gap:16px 26px;flex-wrap:wrap;justify-content:flex-start;margin:0 0 0 auto;min-width:0}
.py-site-footer .py-footer-contact-line>a,.py-site-footer .py-footer-hours{display:flex;align-items:center;gap:9px;min-height:44px;font-size:15px;line-height:1.7;min-width:0}
.py-footer-contact-line .py-icon{width:20px;height:20px;flex:none;color:var(--py-c-link)}
.py-footer-contact-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.py-footer-contact-copy small{font-size:12px;font-weight:400;color:var(--py-c-muted)}
.py-footer-contact-copy small:empty{display:none}
.py-footer-contact-copy bdi{font-weight:600;unicode-bidi:isolate;overflow-wrap:anywhere;color:var(--py-c-text)}
@media(max-width:1024px){.py-site-footer .py-footer-brand .py-brand-art{width:128px}.py-site-footer .py-footer-brand-row .py-footer-tagline{max-width:160px;font-size:10px}.py-site-footer .py-footer-contact-line{gap:8px 20px}}
@media(max-width:600px){.py-site-footer .py-footer-brand-row{gap:8px}.py-site-footer .py-footer-brand .py-brand-art{width:112px}.py-site-footer .py-footer-brand-row .py-footer-tagline{max-width:136px;font-size:10px;letter-spacing:.025em}.py-site-footer .py-footer-contact-line{display:grid;grid-template-columns:1fr;gap:4px;max-width:100%;align-self:flex-end;text-align:right}.py-site-footer .py-footer-tools{margin-top:-46px;margin-bottom:8px}.py-footer-contact-copy{gap:0}}
@media(prefers-reduced-motion:reduce){.py-site-footer .py-footer-tools .py-footer-top{transition:none;transform:none}}

/* Replace the parent floating duplicate only where the dedicated footer tool exists. */
body:has(.py-footer-tools) #ast-scroll-top{display:none!important}

@media(max-width:600px){.py-site-footer .py-footer-contact-line>a,.py-site-footer .py-footer-hours{font-size:14px}}

/* Desktop contact columns share the learning-benefits grid; brand stays at physical left. */
@media(min-width:1025px){
 .py-site-footer .py-footer-brand-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:24px;direction:ltr}
 .py-site-footer .py-footer-contact-line{display:contents}
 .py-site-footer .py-footer-brand-row .py-footer-lockup{grid-area:1/1;justify-self:end;min-width:0}
 .py-site-footer .py-footer-contact-line>a[href^="tel:"]{grid-area:1/4}
 .py-site-footer .py-footer-contact-line>a[href^="mailto:"]{grid-area:1/3}
 .py-site-footer .py-footer-hours{grid-area:1/2}
 .py-site-footer .py-footer-contact-line>a,.py-site-footer .py-footer-hours{direction:rtl;text-align:right;justify-self:stretch;justify-content:flex-start;gap:14px;font-size:14px}
 .py-site-footer .py-footer-contact-line .py-icon{width:36px;height:36px}
 html[data-py-theme] .py-site-footer .py-footer-brand-row .py-footer-contact-copy small{font-size:14px;font-weight:700;color:var(--py-c-heading)}
 .py-site-footer .py-footer-contact-copy bdi{font-size:12px;font-weight:400;color:var(--py-c-muted)}
}

/* Two-column contact grid keeps the small-screen footer compact. */
@media(max-width:1024px){
 .py-site-footer .py-footer-brand-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:14px 20px;direction:ltr}
 .py-site-footer .py-footer-contact-line{display:contents}
 .py-footer-brand-row .py-footer-lockup{grid-area:1/1;justify-self:start}
 .py-site-footer .py-footer-contact-line>a[href^="tel:"]{grid-area:1/2}
 .py-site-footer .py-footer-contact-line>a[href^="mailto:"]{grid-area:2/2}
 .py-site-footer .py-footer-hours{grid-area:2/1}
 .py-site-footer .py-footer-contact-line>a,.py-site-footer .py-footer-hours{direction:rtl;text-align:right;justify-self:stretch;justify-content:flex-start;gap:7px}
 .py-site-footer .py-footer-contact-line>a[href^="mailto:"]{font-size:12px}
}
@media(max-width:600px){.py-site-footer .py-footer-brand-row{gap:12px}.py-site-footer .py-footer-contact-line .py-icon{width:18px;height:18px}.py-footer-contact-copy small{font-size:11px}}

/* Fading divider separates contact details from learning benefits. */
@media(max-width:1024px){.py-site-footer .py-footer-brand-row{position:relative;padding-bottom:20px}.py-site-footer .py-footer-brand-row::after{content:"";position:absolute;inset-inline:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--py-c-border) 18%,var(--py-c-border) 82%,transparent);pointer-events:none}.py-site-footer .py-footer-benefits{padding-top:22px}}

/* Responsive technology strip: six fluid tablet columns; paired mobile rows. */
@media(min-width:601px) and (max-width:1024px){
 .py-site-footer .py-footer-technologies ul{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
 .py-footer-technologies li{min-width:0}
 .py-footer-technologies li>a,.py-footer-technologies .py-footer-logo-item{padding:10px 4px;gap:8px}
 .py-footer-technologies .py-footer-logo-frame{width:100%;height:48px}
 .py-footer-technologies .py-footer-logo-frame img{max-width:100%;max-height:42px}
 .py-footer-technologies .py-footer-logo-label{font-size:11px;text-align:center;overflow-wrap:anywhere}
 .py-site-footer .py-footer-benefits{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 12px}
 .py-footer-benefits li{flex-direction:column;align-items:center;text-align:center;gap:8px;min-width:0}
 .py-footer-benefits .py-icon{width:28px;height:28px}
 .py-footer-benefits strong{font-size:12px}
 .py-footer-benefits span{font-size:11px;line-height:1.8;display:block}
 .py-footer-brand-row .py-footer-lockup{justify-self:center}
 .py-site-footer .py-footer-brand-row .py-footer-contact-line>a,.py-site-footer .py-footer-brand-row .py-footer-hours{justify-content:center;text-align:center}
}
@media(max-width:600px){
 .py-footer-technologies ul>li:nth-child(n+7),.py-footer-technologies ul>li:nth-child(odd):last-child{display:none}
 .py-footer-technologies:has(ul>li:only-child){display:none}
}

/* Link columns and a compact full-row learning invitation on smaller screens. */
@media(min-width:601px) and (max-width:1024px){
 .py-site-footer .py-footer-link-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 20px;padding:24px 0}
 .py-site-footer .py-footer-link-grid>nav{min-width:0}
 .py-site-footer .py-footer-learning{grid-column:1/-1;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 24px;padding:16px 18px}
 .py-site-footer .py-footer-learning-heading{grid-column:1;grid-row:1;margin:0;gap:9px}
 .py-site-footer .py-footer-learning>p{grid-column:1;grid-row:2;margin:0;font-size:12px}
 .py-site-footer .py-footer-learning .py-footer-cta{grid-column:2;grid-row:1/3;align-self:center;margin:0;font-size:12px;min-height:44px;max-width:220px}
}
@media(max-width:1024px){
 .py-site-footer .py-footer-learning-icon{width:32px;height:32px}
 .py-site-footer .py-footer-learning-icon>.py-icon{width:19px;height:19px}
 .py-site-footer .py-footer-learning-heading h3{font-size:14px;line-height:1.8}
 html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning{border-block-start-width:1px}
 html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning>p{line-height:1.9}
 html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning .py-footer-cta{background:var(--py-c-raised)!important;color:var(--py-c-link)!important;border-color:var(--py-c-border)}
 html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning .py-footer-cta:hover{background:var(--py-c-surface)!important;color:var(--py-c-heading)!important;border-color:var(--py-c-link)}
}
@media(max-width:600px){
 .py-site-footer .py-footer-link-grid{gap:20px 16px;padding:22px 0}
 .py-site-footer .py-footer-link-grid h3{font-size:14px;margin-bottom:10px}
 .py-site-footer .py-footer-links-list li+li{margin-top:6px}
 .py-site-footer .py-footer-links-list a{font-size:12px;min-height:32px}
 .py-site-footer .py-footer-learning{grid-column:1/-1;max-width:none;padding:14px}
 .py-site-footer .py-footer-learning-heading{gap:8px;margin-bottom:8px}
 .py-site-footer .py-footer-learning-heading h3{margin:0}
 .py-site-footer .py-footer-learning>p{font-size:12px;margin:0 0 10px}
 .py-site-footer .py-footer-learning .py-footer-cta{display:inline-flex;gap:14px;width:auto;max-width:100%;min-height:44px;padding:8px 12px;font-size:12px}
}

@media(max-width:600px){.py-site-footer .py-footer-link-grid>nav:nth-of-type(3):last-of-type{grid-column:1/-1;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.py-site-footer .py-footer-link-grid>nav:nth-of-type(3):last-of-type h3{margin:0}.py-site-footer .py-footer-link-grid>nav:nth-of-type(3):last-of-type ul{display:flex;gap:8px 16px;flex-wrap:wrap}.py-site-footer .py-footer-link-grid>nav:nth-of-type(3):last-of-type li+li{margin-top:0}}

/* Compact download rail preserves both destinations and theme tokens. */
@media(max-width:1024px){
 .py-site-footer .py-footer-apps{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:12px;padding:14px 16px;margin:0 0 22px}
 .py-site-footer .py-footer-apps-intro{gap:10px;min-width:0}
 .py-footer-apps-intro>div{min-width:0}
 .py-site-footer .py-footer-apps-intro>.py-icon{width:28px;height:28px}
 .py-site-footer .py-footer-apps h3{font-size:14px;line-height:1.8;margin:0 0 3px}
 .py-site-footer .py-footer-apps p{font-size:11px;line-height:1.8;margin:0}
 .py-site-footer .py-footer-app-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
 .py-site-footer .py-footer-app-buttons>a{min-width:0;min-height:48px;padding:7px 9px;gap:7px;justify-content:center}
 .py-site-footer .py-footer-app-buttons>a>span{min-width:0}
 .py-site-footer .py-footer-app-buttons .py-icon{width:20px;height:20px;flex:none}
 .py-site-footer .py-footer-app-buttons img{width:24px;height:24px;flex:none}
 .py-site-footer .py-footer-app-buttons strong{font-size:11px;line-height:1.7}
 .py-site-footer .py-footer-app-buttons small{font-size:10px;line-height:1.7}
 html[data-py-theme] #page .py-site-footer .py-footer-apps .py-footer-app-buttons>a{background:var(--py-c-raised);border-color:var(--py-c-border);color:var(--py-c-text)}
 html[data-py-theme] #page .py-site-footer .py-footer-apps .py-footer-app-buttons>a:hover{background:var(--py-c-surface);border-color:var(--py-c-link)}
}
@media(min-width:768px) and (max-width:1024px){
 .py-site-footer .py-footer-apps{grid-template-columns:minmax(0,1fr) minmax(270px,42%);gap:18px}
}
@media(max-width:600px){
 .py-site-footer .py-footer-apps{padding:12px;gap:10px}
 .py-site-footer .py-footer-apps h3{font-size:13px}
 .py-site-footer .py-footer-apps-intro>.py-icon{width:24px;height:24px}
 .py-site-footer .py-footer-app-buttons>a{gap:6px;padding:7px 6px}
 .py-site-footer .py-footer-app-buttons .py-icon{width:18px;height:18px}
}

/* Quiet, readable brand introduction beneath the compact footer rails. */
@media(max-width:1024px){
 .py-site-footer .py-footer-about-row{gap:16px;padding-bottom:16px}
 .py-site-footer .py-footer-about{min-width:0;width:100%}
 .py-site-footer .py-footer-about h3{font-size:14px;font-weight:700;line-height:1.8;margin:0 0 6px}
 .py-site-footer .py-footer-about p{font-size:12px;line-height:1.9;margin:0 0 6px;overflow-wrap:anywhere}
 .py-site-footer .py-footer-about summary{font-size:12px;line-height:1.8;min-height:44px;padding:10px 0;font-weight:600;width:fit-content;max-width:100%}
 .py-site-footer .py-footer-about details p{padding-top:4px;margin-bottom:0}
}
@media(max-width:600px){
 .py-site-footer .py-footer-about-row{gap:12px;padding-bottom:14px}
 .py-site-footer .py-footer-about h3{font-size:13px;margin-bottom:5px}
 .py-site-footer .py-footer-about p{line-height:1.85}
}

/* Local social brand strip: independent of the learning invitation and technology logos. */
.py-site-footer .py-footer-social-bar{display:none;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--py-c-border,#dce3eb)}
.py-site-footer .py-footer-social-bar h3{font-size:14px;line-height:1.8;margin:0;color:var(--py-c-text,#172b45);font-weight:700}
.py-site-footer .py-footer-social-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0;padding:0;list-style:none}
.py-footer-social-links>li{display:none}
.py-site-footer .py-footer-social-links a{display:grid;place-items:center;inline-size:44px;block-size:44px;border:1px solid var(--py-c-border,#dce3eb);border-radius:14px;background:var(--py-c-surface,#fff);color:var(--py-c-text,#172b45);transition:color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}
/* Keep glyph/background tokens paired independently of global link hover colors. */
.py-site-footer .py-footer-social-links a:is(:hover,:focus-visible,:active){background:var(--py-c-raised,#eef3fa);border-color:var(--py-c-link,#1d4ed8)}
.py-site-footer .py-footer-social-links .py-social-glyph{color:var(--py-c-link,#1d4ed8)}
@media(hover:hover) and (pointer:fine){.py-site-footer .py-footer-social-links a:hover{transform:translateY(-2px);box-shadow:0 5px 15px #00000012}}
.py-site-footer .py-footer-social-links a:focus-visible{outline:2px solid var(--py-c-link,#1d4ed8);outline-offset:3px}
.py-social-glyph{display:block;width:21px;height:21px;background:currentColor;-webkit-mask:var(--py-social-icon) center/contain no-repeat;mask:var(--py-social-icon) center/contain no-repeat}
@media(min-width:1025px){.py-site-footer .py-footer-social-bar.py-social-show-desktop{display:flex}.py-footer-social-links>li.py-social-show-desktop{display:block}}
@media(min-width:601px) and (max-width:1024px){.py-site-footer .py-footer-social-bar.py-social-show-tablet{display:flex}.py-footer-social-links>li.py-social-show-tablet{display:block}.py-site-footer .py-footer-social-bar{padding:18px 0;gap:12px}.py-site-footer .py-footer-social-links{gap:8px}.py-site-footer .py-footer-social-bar h3{font-size:13px}}
@media(max-width:600px){.py-site-footer .py-footer-social-bar.py-social-show-mobile{display:flex}.py-footer-social-links>li.py-social-show-mobile{display:block}.py-site-footer .py-footer-social-bar{flex-direction:column;gap:10px;padding:16px 0}.py-site-footer .py-footer-social-bar h3{font-size:12px;text-align:center}.py-site-footer .py-footer-social-links{justify-content:center;gap:12px}}
.py-footer-admin .py-fa-social-options{padding:14px 18px;border:1px solid #dce3eb;border-radius:12px;background:#f6f8fc}
.py-footer-admin .py-fa-social-toggle{display:inline-flex;align-items:center;gap:8px;margin:8px 0 8px 20px;font-weight:600}
.py-footer-admin .py-fa-social-toggle input[type=checkbox]{flex:none;margin:0}
.py-footer-admin .py-fa-social-limits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.py-footer-admin .py-fa-social-row{border-radius:12px;padding:0;background:#fff;overflow:visible}
.py-footer-admin .py-fa-social-row>summary{display:flex;align-items:center;gap:12px;min-height:58px;padding:14px 16px;cursor:pointer;list-style:none}
.py-footer-admin .py-fa-social-row>summary::-webkit-details-marker{display:none}
.py-footer-admin .py-fa-social-row>summary:not(.py-admin-fold-toggle):after{content:'+';font-size:22px;margin-inline-start:6px;color:#315a84}
.py-footer-admin .py-fa-social-row[open]>summary:not(.py-admin-fold-toggle):after{content:'−'}
.py-footer-admin .py-fa-social-row>summary strong{font-size:14px;overflow-wrap:anywhere}
.py-footer-admin .py-fa-social-row>summary img{flex:none;object-fit:contain}
.py-footer-admin .py-fa-social-order{margin-inline-start:auto;font-size:12px;white-space:nowrap;color:#64748b}
.py-footer-admin .py-fa-social-state{font-size:11px;padding:2px 9px;border-radius:20px;background:#edf3fa;color:#315a84}
.py-footer-admin .py-fa-social-row>.py-fa-fields{padding:0 16px;margin:0;gap:0 16px}
.py-footer-admin .py-fa-social-url{grid-column:1/-1}
.py-footer-admin .py-fa-social-row>.py-fa-social-toggle,.py-footer-admin .py-fa-social-row>.py-fa-error,.py-footer-admin .py-fa-social-row>.py-fa-actions{margin:12px 16px!important}
.py-footer-admin .py-fa-social-row>.py-fa-error:empty{display:none}
.py-footer-admin .py-fa-social-row[open]>.py-fa-fields{animation:py-social-open .18s ease}
.py-footer-admin .py-fa-social-row>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px;border-radius:12px}
@keyframes py-social-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:600px){.py-footer-admin .py-fa-social-limits{gap:8px}.py-footer-admin .py-fa-social-options{padding:12px}.py-footer-admin .py-fa-social-row>summary{gap:8px;padding:12px}.py-footer-admin .py-fa-social-state{display:none}.py-footer-admin .py-fa-social-toggle{font-size:12px}.py-footer-admin .py-fa-social-order{font-size:11px}}
@media(prefers-reduced-motion:reduce){.py-site-footer .py-footer-social-links a{transition:none}.py-site-footer .py-footer-social-links a:hover{transform:none}.py-footer-admin .py-fa-social-row[open]>.py-fa-fields{animation:none}}

@media(max-width:600px){.py-footer-admin .py-fa-social-limits .py-fa-field>span{min-height:3.5em;display:flex;align-items:flex-end;line-height:1.75}}

/* Center every benefit column consistently across the footer breakpoints. */
.py-site-footer .py-footer-benefits>li{flex-direction:column;align-items:center;gap:8px;text-align:center;min-width:0}
.py-site-footer .py-footer-benefits>li>div{width:100%;min-width:0}

/* Quiet course discovery replaces the former filled footer card. */
html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning.py-footer-discovery{display:block;align-self:start;max-width:330px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.py-site-footer .py-footer-discovery .py-footer-learning-heading{gap:8px;margin:0 0 8px}
.py-site-footer .py-footer-discovery .py-footer-learning-heading h3{font-size:14px;font-weight:700;line-height:1.8;margin:0}
html[data-py-theme] #page .py-site-footer .py-footer-discovery .py-footer-learning-icon{width:22px;height:22px;border:0;border-radius:0;background:transparent}
.py-site-footer .py-footer-discovery .py-footer-learning-icon>.py-icon{width:21px;height:21px}
html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-discovery>p{max-width:34ch;font-size:12px;line-height:1.9;margin:0;text-align:start;text-align-last:start}
/* Legacy theme rules force a filled CTA; this component deliberately uses a text link. */
html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning.py-footer-discovery .py-footer-cta{display:inline-flex;justify-content:flex-start;gap:8px;min-height:44px;width:fit-content;max-width:100%;padding:4px 0;margin:4px 0 0;border:0;border-radius:4px;background:transparent!important;color:var(--py-c-link)!important;box-shadow:none;filter:none;font-size:12px;font-weight:650;line-height:1.8;text-align:start}
html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning.py-footer-discovery .py-footer-cta:is(:hover,:focus-visible){background:transparent!important;color:var(--py-c-heading)!important;filter:none;text-decoration:underline;text-underline-offset:5px}
.py-site-footer .py-footer-discovery .py-footer-cta>.py-icon{width:16px;height:16px;transition:transform .18s ease}
@media(hover:hover) and (pointer:fine){.py-site-footer .py-footer-discovery .py-footer-cta:hover>.py-icon{transform:translateX(-3px)}}
@media(max-width:1024px){
 html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning.py-footer-discovery{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 20px;max-width:none;padding-block-start:14px;border-block-start:1px solid var(--py-c-border)}
 .py-site-footer .py-footer-discovery .py-footer-learning-heading{grid-column:1;grid-row:1;margin:0}
 html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-discovery>p{grid-column:1;grid-row:2;max-width:56ch}
 html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning.py-footer-discovery .py-footer-cta{grid-column:2;grid-row:1/3;margin:0}
}
@media(max-width:600px){
 html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning.py-footer-discovery{display:block;padding-block-start:12px}
 .py-site-footer .py-footer-discovery .py-footer-learning-heading{margin-bottom:6px}
 .py-site-footer .py-footer-discovery .py-footer-learning-heading h3{font-size:13px}
 html[data-py-theme] #page .py-site-footer .py-footer-link-grid .py-footer-learning.py-footer-discovery .py-footer-cta{margin-top:3px}
}

/* Native disclosure remains usable without JavaScript; enhancement only animates height. */
.py-site-footer .py-footer-about .py-footer-disclosure{width:100%;margin-block-start:10px}
.py-site-footer .py-footer-about .py-footer-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;width:fit-content;max-width:100%;min-height:44px;padding:7px 12px;margin:0;list-style:none;border:1px solid var(--py-c-border);border-radius:4px;background:var(--py-c-surface);font-size:12px;font-weight:650;line-height:1.8;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease}
.py-footer-disclosure>summary::marker{content:''}
.py-footer-disclosure>summary::-webkit-details-marker{display:none}
.py-site-footer .py-footer-about .py-footer-disclosure>summary:is(:hover,:focus-visible){background:var(--py-c-raised);border-color:var(--py-c-link);color:var(--py-c-heading)}
.py-site-footer .py-footer-disclosure>summary:focus-visible{outline:2px solid var(--py-c-link);outline-offset:3px}
.py-footer-disclosure>summary>span{min-width:0;overflow-wrap:anywhere}
.py-footer-disclosure-icon{display:block;flex:none;width:18px;height:18px}
.py-footer-disclosure-vertical{transform-origin:center;transition:transform .2s ease}
.py-footer-disclosure[open]>summary:not([aria-expanded="false"]) .py-footer-disclosure-vertical{transform:scaleY(0)}
.py-site-footer .py-footer-about .py-footer-more{margin-block-start:10px;padding-inline-start:14px;border-inline-start:2px solid var(--py-c-border)}
.py-site-footer .py-footer-about .py-footer-more>p{margin:0;padding:0;text-align:justify;text-align-last:start;font-size:13px;line-height:2.1}
@media(max-width:1024px){.py-site-footer .py-footer-about .py-footer-more>p{font-size:12px;line-height:1.9}}
@media(prefers-reduced-motion:reduce){.py-footer-disclosure-vertical,.py-site-footer .py-footer-about .py-footer-disclosure>summary,.py-site-footer .py-footer-discovery .py-footer-cta>.py-icon{transition:none}.py-site-footer .py-footer-discovery .py-footer-cta:hover>.py-icon{transform:none}}
