/*
Theme Name: Acady
Description: Lightweight Acady website theme. Requires Acady Core for the section library.
Version: 1.0.29
Author: Acady
Author URI: https://acady.org/
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: acady
*/
.acady-core-missing{max-width:900px;margin:60px auto;padding:24px;font:18px/1.6 system-ui,sans-serif}
[data-acady-nl-only][hidden]{display:none!important}
.acady-cookie-settings{cursor:pointer}
/* Imported text reviews have no portrait; keep the author and rating aligned. */
.slider-review-person:not(:has(img)){grid-template-columns:minmax(0,1fr)}
.slider-review-person:not(:has(img)) .review-stars{grid-column:1}
/* Imagify may move the logo class from img to a picture wrapper. Constrain
   the actual image as well, keeping intrinsic raster dimensions in proportion. */
.university-logo-frame picture{display:flex;align-items:center;justify-content:center;max-width:100%;width:100%;height:100%}
.university-logo-frame img{display:block;width:auto;height:auto;max-width:100%;max-height:56px;object-fit:contain}
.university-logo-frame .university-logo-kings{max-height:64px}
body.journey-below-video .virtual-classroom{margin-bottom:0}
/* Homepage subjects are informational: mouse hover never implies navigation. */
body.journey-below-video .curriculum-subjects .subject-tile{cursor:default;transition:background .15s,border-color .15s,color .15s}
@media(hover:hover) and (pointer:fine){body.journey-below-video .curriculum-subjects .subject-tile:hover{background:#dbeafa;border-color:#a8c8e9;color:#173247}}
@media(max-width:600px){.university-logo-frame img{max-height:54px}}
/* More room for the native trial form; the copy stays comfortably readable. */
.trial-grid:has(.acady-trial-host)>*{min-width:0}
.trial-grid:has(.acady-trial-host) .form-panel{width:100%;min-width:0}
@media(min-width:901px){.trial-grid:has(.acady-trial-host){grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(32px,4vw,64px)}}
@media(max-width:900px){.trial-grid:has(.acady-trial-host){grid-template-columns:minmax(0,1fr);gap:32px}}
.packages #package-note:empty{display:none}

/* Approved homepage tier introductions, with plan bullets below the rate. */
#pricing .price-card .tier-intro{min-height:0;margin:0 0 24px;flex:1;font-weight:400;line-height:1.8}
@media(max-width:800px){#pricing .price-card .tier-intro{flex:none}}

/* Quiet score accents and visible plan check marks. */
#pricing .tier-score{font-weight:inherit;white-space:nowrap;background:#e8f1fc;color:#205a9f;border-radius:3px;padding:.05em .22em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
#pricing .tier-score.tier-experience{white-space:normal}
#pricing .price-card>ul>li::before{content:'✓';color:var(--blue,#2468ce);font-weight:400}

@media(max-width:800px){#classroom .classroom-demo-label{display:none}}

/* Bring the current pricing introduction to existing imported homepages. */
#pricing .acady-pricing-heading{margin-bottom:30px}
#pricing .acady-pricing-toolbar{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:28px}
#pricing .acady-pricing-match{display:flex;align-items:center;gap:20px;min-width:0}
#pricing .acady-pricing-match p{margin:0;max-width:350px;color:var(--muted);font-size:16px;line-height:1.7}
#pricing .acady-pricing-portraits{display:flex;flex-shrink:0;padding-left:16px}
#pricing .acady-pricing-portraits img{display:block;width:68px;height:68px;margin-left:-16px;border:3px solid #fff;border-radius:50%;object-fit:cover;object-position:50% 28%}
#pricing .acady-pricing-toolbar .currency-picker{width:300px;flex:0 0 300px;margin:0;align-self:auto}
#pricing .price-card.featured{border-top-color:var(--blue)}
#pricing #currency-note[hidden]{display:none!important}
@media(max-width:800px){#pricing .acady-pricing-toolbar{flex-direction:column;align-items:flex-start;gap:22px}#pricing .acady-pricing-toolbar .currency-picker{width:min(100%,360px);flex:auto}#pricing .acady-pricing-match{gap:14px}#pricing .acady-pricing-portraits img{width:56px;height:56px}}

/* Original Acady artwork. Support picture wrappers added by image plugins. */
.brand.brand-official{display:block;flex:0 0 auto;width:150px;padding:0;line-height:0;letter-spacing:normal}
.brand.brand-official img,.brand.brand-official picture{display:block;width:100%;height:auto;max-width:100%}
@media(max-width:800px){.brand.brand-official{width:120px}.site-footer .brand.brand-official{width:150px}}
