/* September 2026 PSD revisions. Keep the original layouts, refine shared modules. */
.goody-modern .academy-article-row {display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;padding:22px 0;align-items:start}
.goody-modern .academy-article-row > a.academy-post-image {display:block;padding:0}
.goody-modern .academy-post-image figure {margin:0;width:100%;aspect-ratio:16/10;height:auto;border-radius:5px;overflow:hidden}
.goody-modern .academy-post-image img {width:100%;height:100%;object-fit:cover;display:block}
.goody-modern .academy-post-summary {min-width:0}
.goody-modern .academy-post-summary h3 {margin:8px 0;font-size:19px;line-height:1.6;font-weight:650}
.goody-modern .academy-post-summary h3 a {color:#222}
.goody-modern .academy-post-summary h3 a:hover {color:#3265f5}
.goody-modern .academy-post-summary p {margin:7px 0;color:#858585;font-size:13px;line-height:1.75}
.goody-modern .academy-post-summary small {font-size:11px;color:#969696}
.goody-modern .academy-post-summary small a {color:inherit}
.goody-modern .academy-post-chips {display:flex;flex-wrap:wrap;gap:6px;margin:0}
.goody-modern .academy-post-chips a {display:inline-flex;align-items:center;background:#f4f5f7;color:#787c84;border-radius:3px;font-size:11px;line-height:1.4;padding:5px 9px}
.goody-modern .academy-post-chips a:hover {background:#eaf0ff;color:#3163f5}
.goody-modern .academy-article-card {min-width:0}
.goody-modern .academy-article-card > a {display:block}
.goody-modern .academy-article-card .academy-post-chips {margin-top:10px}
.goody-modern .academy-article-card h3 {font-size:15px;line-height:1.65;margin-top:8px}
.goody-modern .academy-category-hero__intro {display:block;text-align:center;padding:22px 30px 18px;min-height:0;background:none}
.goody-modern .academy-category-hero__intro h1 {font-size:30px;margin:0 0 9px;color:#232323;line-height:1.4}
.goody-modern .academy-category-hero__intro p {font-size:14px;color:#777;margin:0 auto;max-width:680px;line-height:1.9}
.goody-modern .academy-category-hero {background:transparent}
.goody-modern .academy-category-hero .academy-search-shell {margin:8px auto 22px}
.goody-modern .academy-subcategory-tabs {justify-content:center;flex-wrap:wrap;gap:10px;padding:0 0 22px}
.goody-modern .academy-subcategory-tabs a {background:#f5f6f8;border:0;border-radius:3px;color:#767a82;padding:8px 14px;font-size:12px}
.goody-modern .academy-subcategory-tabs a:hover,.goody-modern .academy-subcategory-tabs a.is-active {background:#3266f7;color:#fff}
.goody-modern .academy-account-banner {position:relative;display:flex;align-items:center;gap:18px;justify-content:space-between;margin:24px 0 38px;padding:26px 30px;background:#3063f7 url('../academy/account-banner-bg.png') center/cover no-repeat;min-height:145px;color:#fff;border-radius:0}
.goody-modern .academy-account-banner h2 {font-size:18px;font-weight:600;line-height:1.8;margin:0;max-width:660px;color:#fff}
.goody-modern .academy-account-banner p {font-size:21px;font-weight:700;line-height:1.5;margin:5px 0 0;color:#fff}
.goody-modern .academy-account-banner > small {position:absolute;right:12px;top:8px;font-size:9px;opacity:.65}
.goody-modern .academy-account-banner > a {flex-shrink:0;display:inline-flex;gap:22px;background:#fff;color:#3264f7;border-radius:22px;font-size:12px;padding:8px 18px}
.goody-modern .academy-side-section--event {padding-bottom:6px}
.goody-modern .academy-event-card {display:flex;align-items:flex-start;text-align:left;flex-direction:column;gap:9px;border:0;border-radius:0;min-height:165px;padding:24px 21px;background:#2764fa url('../academy/event-banner-bg.png') center/cover no-repeat;color:#fff;width:100%}
.goody-modern .academy-event-card strong {font-size:21px;color:#fff;line-height:1.4}
.goody-modern .academy-event-card > span {font-size:13px;line-height:1.6;letter-spacing:0;font-weight:500;color:#fff;max-width:100%}
.goody-modern .academy-event-card em {margin-top:7px;font-size:12px;padding:5px 14px;background:#fff;color:#3265f6;border-radius:16px;font-style:normal}
.goody-modern .academy-publisher-list {display:grid;gap:20px}
.goody-modern .academy-publisher-list article {position:relative;padding:0 0 15px;border-bottom:1px solid #eee;display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:8px 12px;align-items:center}
.goody-modern .academy-publisher-list header {display:flex;align-items:center;gap:10px;grid-column:1;min-width:0}
.goody-modern .academy-publisher-list h3 {margin:0;font-size:16px;line-height:1.6;font-weight:600;color:#1b1b1b}
.goody-modern .academy-publisher-list header span {font-size:10px;color:#aaa}
.goody-modern .academy-publisher-logo {width:40px;height:40px;object-fit:contain;flex-shrink:0}
.goody-modern .academy-publisher-logo--dasheng {width:44px}
.goody-modern .academy-publisher-list p {grid-column:1;font-size:11px;line-height:1.8;color:#8a8a8a;margin:0}
.goody-modern .academy-publisher-qr {grid-column:2;grid-row:1/3;width:78px;height:78px;object-fit:contain}
.goody-modern .academy-topic-cloud {gap:7px;display:flex;flex-wrap:wrap}
.goody-modern .academy-topic-cloud a {background:#f5f5f6;color:#93959a;padding:6px 9px;border:0;border-radius:3px;font-size:10px;line-height:1.35;font-weight:400}
.goody-modern .academy-topic-cloud a:hover {color:#3265f7;background:#edf1ff}
.goody-modern .academy-more-content {margin:45px 0 28px}
.goody-modern .academy-more-categories {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;background:#3165f6;padding:25px 20px}
.goody-modern .academy-more-categories a {text-align:center;color:#fff;font-size:12px;padding:11px 5px;line-height:1.5;border-radius:4px}
.goody-modern .academy-more-categories a:hover {background:#fff;color:#3265f6}
.goody-modern .academy-growth-banner {text-align:center;display:flex;flex-direction:column;justify-content:center;min-height:350px;padding:65px 40px 100px;margin:30px 0 55px;background:#387cfa url('../academy/growth-banner-bg.png') center/cover no-repeat;color:#fff}
.goody-modern .academy-growth-banner h2 {font-size:20px;font-weight:600;line-height:1.9;margin:0;color:#fff}
.goody-modern .academy-growth-banner p {font-size:17px;font-weight:500;line-height:1.9;margin:9px auto 0;max-width:900px;color:#fff}
.goody-modern .academy-growth-banner > div {display:flex;justify-content:center;gap:25px;margin-top:30px}
.goody-modern .academy-growth-banner button,.goody-modern .academy-growth-banner a {display:inline-flex;border:0;border-radius:25px;background:#191919;color:#fff;padding:11px 25px;font-size:13px;font-weight:500;cursor:pointer;line-height:1.5}
.goody-modern .academy-growth-banner a {background:#fff;color:#222}
.goody-modern .academy-post-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:25px 0 0;padding:0;border:0}
.goody-modern .academy-post-nav > div {min-width:0}
.goody-modern .academy-post-nav__link {position:relative;display:flex;flex-direction:column;gap:7px;background:#f4f4f5;color:#222;padding:18px 32px 18px 18px;border-radius:0;border-bottom:3px solid #3265f7;min-height:110px}
.goody-modern .academy-post-nav__link > span {color:#9c9c9c;font-size:11px}
.goody-modern .academy-post-nav__link strong {font-size:14px;line-height:1.7}
.goody-modern .academy-post-nav__link i {position:absolute;right:12px;top:47%;font-size:20px;color:#333;font-style:normal}
.goody-modern .academy-post-nav .academy-post-chips {margin-top:12px}
.goody-modern .academy-post-nav__empty {background:#f5f5f5;min-height:110px;padding:24px;color:#aaa;font-size:12px}
.goody-modern .academy-lead-modal {padding:28px}
.goody-modern .academy-lead-modal__backdrop {background:rgba(2,25,72,.58);backdrop-filter:blur(3px)}
.goody-modern .academy-lead-modal__dialog {width:min(940px,100%);grid-template-columns:1.05fr 1fr;max-height:calc(100dvh - 56px);border-radius:14px;background:#fff;overflow:auto}
.goody-modern .academy-lead-modal__form {padding:30px 34px;min-width:0}
.goody-modern .academy-lead-modal__form > h2 {font-size:23px;line-height:1.4;margin:0 0 10px;color:#222}
.goody-modern .academy-lead-modal__form > p {font-size:12px;line-height:1.8;color:#8a8a8a;margin:0 0 18px}
.goody-modern .academy-lead-modal__form form {gap:11px}
.goody-modern .academy-lead-modal__form label {font-size:12px}
.goody-modern .academy-lead-modal__form :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),select) {min-height:42px;padding:9px 12px;font-size:14px}
.goody-modern .academy-lead-modal__form textarea {min-height:75px;height:75px;font-size:14px}
.goody-modern .academy-lead-modal__copy {padding:34px 30px;background:linear-gradient(140deg,#3166f8,#1662e7);border-radius:0;color:#fff;min-width:0}
.goody-modern .academy-lead-modal__copy h2 {font-size:23px;line-height:1.5;color:#fff;margin:0 0 9px}
.goody-modern .academy-lead-modal__copy h3 {font-size:15px;line-height:1.8;font-weight:500;margin:0;color:#fff}
.goody-modern .academy-lead-modal__copy ul {margin:22px 0 25px;font-size:12px;line-height:2.1;gap:7px}
.goody-modern .academy-contact-qrs {display:grid;grid-template-columns:1fr 1fr;gap:20px;text-align:center}
.goody-modern .academy-contact-qrs figure {margin:0}
.goody-modern .academy-contact-qrs img {width:130px;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:4px;padding:4px}
.goody-modern .academy-contact-qrs figcaption {font-size:11px;color:#fff;margin:8px 0}
.goody-modern .goody-modern-floating {right:10px;bottom:160px;gap:5px}
.goody-modern .goody-modern-floating > :is(a,button) {position:relative;width:58px;height:64px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;border:0;border-radius:4px;background:#1b1b18;color:#fff;cursor:pointer;padding:5px}
.goody-modern .goody-modern-floating > :is(a,button) > img {width:25px;height:25px;object-fit:contain}
.goody-modern .goody-modern-floating > :is(a,button) > span:not(.academy-floating-qr) {font-size:9px;white-space:nowrap;color:#fff}
.goody-modern .academy-floating-qr {display:none;position:absolute;right:68px;top:-40px;width:140px;height:140px;padding:8px;background:#fff;box-shadow:0 6px 25px #0002;border-radius:8px}
.goody-modern .academy-floating-qr img {width:100%;height:100%;object-fit:contain}
@media (hover:hover) {.goody-modern .goody-modern-floating > button:hover .academy-floating-qr {display:block}}
.academy-quick-lead {position:fixed;z-index:1050;bottom:14px;left:50%;transform:translateX(-50%);width:min(1050px,calc(100% - 48px));border:1px solid #7397ff;border-radius:32px;background:rgba(255,255,255,.98);padding:12px 20px;box-shadow:0 5px 32px #223b7522;font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;box-sizing:border-box;color:#333}
.academy-quick-lead[hidden] {display:none}
.academy-quick-lead * {box-sizing:border-box}
.academy-quick-lead form {display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:center;margin:0}
.academy-quick-lead strong {font-size:13px;color:#3464ec;margin-right:4px}
.academy-quick-lead label {display:flex;align-items:center;gap:5px;font-size:11px;background:#f5f6f8;white-space:nowrap;padding:7px 10px;border-radius:4px}
.academy-quick-lead label span {color:#ea5768}
.academy-quick-lead input {width:100%;min-width:0;border:0;background:transparent;color:#333;font-size:12px;outline-offset:2px;padding:0;line-height:1.6}
.academy-quick-lead input::placeholder {color:#b4b8bf}
.academy-quick-lead button[type="submit"] {background:#3265f6;color:#fff;border:0;border-radius:5px;padding:10px 17px;font-size:12px;white-space:nowrap;cursor:pointer}
.academy-quick-lead button:disabled {opacity:.6;cursor:wait}
.academy-quick-lead__close {position:absolute;right:-9px;top:-12px;width:24px;height:24px;background:#fff;border:1px solid #dce3f3;border-radius:50%;font-size:18px;line-height:20px;color:#777;cursor:pointer;padding:0}
.academy-quick-lead form > p {grid-column:1/-1;color:#45629a;font-size:12px;line-height:1.5;margin:0;text-align:center}
.academy-quick-lead form > p:empty {display:none}
.academy-honeypot {position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
body.academy-modal-open .academy-quick-lead {visibility:hidden}
body.has-quick-lead {padding-bottom:85px}
@media (max-width:1179px) {
.goody-modern .academy-article-row {grid-template-columns:155px minmax(0,1fr);gap:16px}
.goody-modern .academy-publisher-list {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.goody-modern .academy-more-categories {grid-template-columns:repeat(4,minmax(0,1fr))}
.goody-modern .academy-growth-banner {min-height:300px;padding:40px 28px 80px}
.goody-modern .academy-growth-banner h2 {font-size:18px}
.goody-modern .academy-growth-banner p {font-size:15px}
.goody-modern .goody-modern-floating {display:none}
}
@media (max-width:767px) {
.goody-modern .academy-article-row {grid-template-columns:104px minmax(0,1fr);gap:13px;padding:18px 0}
.goody-modern .academy-article-row .academy-post-image figure {aspect-ratio:1.15}
.goody-modern .academy-post-summary h3 {font-size:15px;line-height:1.55;margin:7px 0}
.goody-modern .academy-post-summary p {font-size:11px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0}
.goody-modern .academy-post-summary small {font-size:10px;line-height:1.6;display:block}
.goody-modern .academy-post-chips {gap:4px}
.goody-modern .academy-post-chips a {font-size:9px;padding:4px 6px}
.goody-modern .academy-article-card h3 {font-size:14px}
.goody-modern .academy-category-hero__intro {padding:8px 3px 12px}
.goody-modern .academy-category-hero__intro h1 {font-size:25px}
.goody-modern .academy-category-hero__intro p {font-size:12px;line-height:1.8}
.goody-modern .academy-subcategory-tabs {gap:7px;justify-content:flex-start;padding-bottom:15px}
.goody-modern .academy-subcategory-tabs a {font-size:11px;padding:7px 10px}
.goody-modern .academy-account-banner {flex-direction:column;align-items:flex-start;gap:12px;min-height:0;padding:22px;margin:24px 0 30px;background-position:45% center}
.goody-modern .academy-account-banner h2 {font-size:14px;line-height:1.9}
.goody-modern .academy-account-banner p {font-size:18px}
.goody-modern .academy-account-banner > a {font-size:11px;padding:7px 16px}
.goody-modern .academy-publisher-list {grid-template-columns:1fr;gap:19px}
.goody-modern .academy-publisher-list article {grid-template-columns:minmax(0,1fr) 92px;padding-bottom:18px}
.goody-modern .academy-publisher-qr {width:92px;height:92px}
.goody-modern .academy-publisher-list p {font-size:12px}
.goody-modern .academy-event-card {min-height:160px;padding:25px}
.goody-modern .academy-topic-cloud {gap:7px}
.goody-modern .academy-topic-cloud a {font-size:10px;padding:7px 9px}
.goody-modern .academy-more-content {margin:30px 0 20px}
.goody-modern .academy-more-categories {grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:17px 10px}
.goody-modern .academy-more-categories a {font-size:11px;padding:10px 4px}
.goody-modern .academy-growth-banner {min-height:325px;padding:38px 22px 85px;margin:22px 0 30px}
.goody-modern .academy-growth-banner h2 {font-size:16px;line-height:1.9}
.goody-modern .academy-growth-banner p {font-size:13px;line-height:1.9}
.goody-modern .academy-growth-banner > div {gap:12px;flex-wrap:wrap;margin-top:23px}
.goody-modern .academy-growth-banner button,.goody-modern .academy-growth-banner a {font-size:11px;padding:9px 16px}
.goody-modern .academy-post-nav {grid-template-columns:1fr;gap:20px}
.goody-modern .academy-post-nav__link {min-height:100px}
.goody-modern .academy-lead-modal {padding:14px}
.goody-modern .academy-lead-modal__dialog {grid-template-columns:1fr;max-height:calc(100dvh - 28px);border-radius:12px}
.goody-modern .academy-lead-modal__form {padding:25px 22px}
.goody-modern .academy-lead-modal__form > h2 {font-size:21px;padding-right:20px}
.goody-modern .academy-lead-modal__form :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),textarea,select) {font-size:16px}
.goody-modern .academy-lead-modal__copy {padding:25px 22px}
.goody-modern .academy-lead-modal__copy h2 {font-size:20px}
.goody-modern .academy-lead-modal__copy ul {font-size:12px;margin:18px 0}
.goody-modern .academy-contact-qrs img {width:110px}
.academy-quick-lead {bottom:8px;width:calc(100% - 28px);border-radius:12px;padding:9px 10px}
.academy-quick-lead form {grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.academy-quick-lead strong {display:none}
.academy-quick-lead label {font-size:10px;padding:6px;gap:3px}
.academy-quick-lead input {font-size:16px;line-height:1.3}
.academy-quick-lead input::placeholder {font-size:11px}
.academy-quick-lead button[type="submit"] {font-size:11px;padding:8px 10px;min-height:34px}
body.has-quick-lead {padding-bottom:115px}
}
@media (prefers-reduced-motion:reduce) {.goody-modern .academy-feature-slide {transition:none!important}}
.goody-modern .screen-reader-text {border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}
.goody-modern .academy-search-box {padding:0 0 0 12px;height:46px;align-items:center;border-radius:24px;overflow:hidden;grid-template-columns:30px minmax(0,1fr) 112px}
.goody-modern .academy-search-box > input {width:100%;min-width:0;border:0;background:transparent;outline-offset:-4px;padding:0 10px;height:44px}
.goody-modern .academy-search-box > button {height:44px;padding:0 18px;line-height:1.4;border:0}
.goody-modern .academy-search-box > span {text-align:center}
.goody-modern .academy-account-banner h2,.goody-modern .academy-account-banner p {color:#2458cd}
.goody-modern .academy-account-banner > small {color:#2458cd}
.goody-modern .academy-article-row .academy-post-summary small > a {display:inline}
@media(max-width:767px){.goody-modern .academy-search-box {grid-template-columns:24px minmax(0,1fr) 80px;padding-left:8px}.goody-modern .academy-search-box > button {min-width:0;padding:0 8px;font-size:11px}.goody-modern .academy-search-box > input {font-size:16px;padding:0 8px}}
.goody-modern .academy-lead-modal__form .gc-cf7-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px}
.goody-modern .academy-lead-modal__form .gc-cf7-field {display:flex;flex-direction:column;gap:5px;min-width:0}
.goody-modern .academy-lead-modal__form .gc-cf7-wide {grid-column:1/-1}
.goody-modern .academy-lead-modal__form .gc-cf7-field > span {font-size:12px;line-height:1.5}
.goody-modern .academy-lead-modal__form .gc-cf7-field em {color:#ed5d6c;font-style:normal}
.goody-modern .goody-modern-floating > :is(a,button) {margin:0}
.academy-quick-lead label {min-height:34px;height:34px}
.academy-quick-lead label input {min-height:22px!important;height:22px!important;border:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important}
@media(max-width:767px){.goody-modern .academy-lead-modal__form .gc-cf7-grid {gap:13px 10px}.goody-modern .academy-lead-modal__form .gc-cf7-field > span {font-size:11px}.goody-modern .academy-lead-modal__form .gc-cf7-field :is(input,textarea) {font-size:16px}.academy-quick-lead label {height:34px}.academy-quick-lead {padding:9px 10px}}
@media(max-width:359px){.goody-modern .academy-lead-modal__form .gc-cf7-grid {grid-template-columns:1fr}}
/* Contact Form 7's wpautop wrapper must not become a single grid cell. */
.goody-modern .academy-lead-modal__form .gc-cf7-grid > p {display:contents}
.goody-modern .academy-lead-modal__form .gc-cf7-grid br {display:none}
.goody-modern .academy-lead-modal__form .gc-cf7-submit-wrap > p {margin:0}
.goody-modern .academy-lead-modal__form .gc-cf7-field .wpcf7-form-control-wrap {display:block;width:100%}

/* Roomy, scrollable Academy directories on desktop and mobile. */
.goody-modern .academy-menu-scroll {min-width:0}
.goody-modern .academy-portal-rail nav {gap:7px;max-height:max(300px,calc(100dvh - 340px));overflow-y:auto;overflow-x:hidden;padding:3px 5px 5px 0;scrollbar-width:thin;scrollbar-color:#bfcce3 #edf1f7}
.goody-modern .academy-portal-rail nav a {min-height:42px;padding:10px 12px;font-size:14px;line-height:1.5}
.goody-modern [data-academy-menu-track] {overscroll-behavior:contain;scroll-padding:8px}
.goody-modern [data-academy-menu-track]:focus-visible {outline:2px solid #3266f7;outline-offset:3px}
.goody-modern [data-academy-menu-track]::-webkit-scrollbar {display:block;width:5px;height:5px}
.goody-modern [data-academy-menu-track]::-webkit-scrollbar-track {background:#edf1f7;border-radius:8px}
.goody-modern [data-academy-menu-track]::-webkit-scrollbar-thumb {background:#bfcce3;border-radius:8px}
.goody-modern .academy-menu-scroll__controls {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}
.goody-modern .academy-menu-scroll__controls[hidden] {display:none}
.goody-modern .academy-menu-scroll__hint {font-size:11px;line-height:1.5;color:#858c99}
.goody-modern .academy-menu-scroll__controls > div {display:flex;gap:8px;flex-shrink:0}
.goody-modern .academy-menu-scroll__controls button {display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:0;background:#f1f4fa;color:#3266f7;border:1px solid #e0e6f0;border-radius:50%;font-size:24px;line-height:1;cursor:pointer}
.goody-modern .academy-menu-scroll__controls button:disabled {opacity:.3;cursor:default}
.goody-modern .academy-menu-scroll.is-vertical .academy-menu-scroll__controls button {transform:rotate(90deg)}
.goody-modern .academy-menu-scroll--secondary {margin-bottom:22px}
.goody-modern .academy-subcategory-tabs {padding-bottom:10px;gap:12px}
.goody-modern .academy-subcategory-tabs a {padding:10px 15px;font-size:13px;line-height:1.5;min-height:40px;display:flex;align-items:center;justify-content:center;white-space:nowrap}
@media(max-width:1180px) {
  .goody-modern .academy-portal-rail nav {display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,44px);grid-auto-columns:max-content;justify-content:start;gap:10px 12px;max-height:none;overflow-x:auto;overflow-y:hidden;margin:0;padding:3px 0 12px;scroll-snap-type:x proximity}
  .goody-modern .academy-portal-rail nav a {min-height:44px;min-width:94px;padding:10px 16px;font-size:14px;line-height:1.5;border-radius:7px;white-space:nowrap;scroll-snap-align:start}
  .goody-modern .academy-portal-rail nav a:hover {transform:none}
  .goody-modern .academy-portal-rail__brand {margin-bottom:15px}
  .goody-modern .academy-menu-scroll__controls {margin:8px 0 4px}
  .goody-modern .academy-menu-scroll__controls button {min-width:36px;min-height:36px}
}
@media(max-width:767px) {
  .goody-modern .academy-subcategory-tabs {display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,42px);grid-auto-columns:max-content;justify-content:start;gap:10px 12px;overflow-x:auto;overflow-y:hidden;padding:3px 0 12px;scrollbar-width:thin;scrollbar-color:#bfcce3 #edf1f7;scroll-snap-type:x proximity}
  .goody-modern .academy-subcategory-tabs a {font-size:13px;min-height:42px;padding:10px 14px;border-radius:6px;scroll-snap-align:start}
}
