/* R4-W2 (campaign-2026-10 run 4): My learning tabs, /my-account/ pass, /free-membership/ redesign.
   Own file (enqueued only on /dashboard/, /my-account/, /free-membership/ from includes/pcsm-my-learning.php).
   Brand palette only (run3 BRAND-RULES): #003972 #1f6ba5 #00337d #eac356 #2d1b75 #eadbb2 #eef3f9 #e2e8f0. Radius 0. */

/* ---------- Dashboard: tab row in the hero ---------- */
.pcsm-ml .ml-tabrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.pcsm-ml .ml-tabs[role=tablist] { display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.pcsm-ml .ml-tabs[role=tablist]::-webkit-scrollbar { display: none; }
.pcsm-ml .ml-tabs [role=tab] { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; margin: 0; cursor: pointer;
	color: #fff; font-family: Montserrat, system-ui, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.2; padding: 12px 18px 13px; white-space: nowrap; text-decoration: none; }
.pcsm-ml .ml-tabs [role=tab][aria-selected=true], .pcsm-ml .ml-tabs [role=tab]:hover { border-bottom-color: #eac356; }
.pcsm-ml .ml-tabs [role=tab]:focus-visible, .pcsm-ml .ml-acct:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pcsm-ml .ml-acct { color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; padding: 12px 0 14px; white-space: nowrap; }
.pcsm-ml .ml-acct:hover { text-decoration: underline; }
/* No JS: hide the tab row, every panel shows (today's long page) */
.pcsm-ml.ml-tabbed:not(.ml-js) .ml-tabs { display: none; }
.pcsm-ml .ml-panel[hidden] { display: none !important; }
.pcsm-ml .ml-panel:focus { outline: none; }
.pcsm-ml .ml-panel:focus-visible { outline: 2px solid #1f6ba5; outline-offset: -2px; }

/* Scholar: the Academy card is the panel */
.pcsm-ml .ml-acad { margin: 0; padding: 32px; }
.pcsm-ml .ml-acad .ml-h2 { margin-top: 6px; }
.pcsm-ml .ml-acad p { font-size: 17px; max-width: 900px; }
.pcsm-ml .ml-acad-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 20px 0 0; }
.pcsm-ml .ml-col > .ml-acad { margin-bottom: 24px; }

/* Guides panel + job-tab closing line */
.pcsm-ml .ml-more { margin: 24px 0 0; }
.pcsm-ml .ml-levelline { padding: 28px 0; border-top: 1px solid #e2e8f0; }
.pcsm-ml .ml-levelline p { margin: 0; font-size: 17px; }
.pcsm-ml .ml-levelline .ml-lnk { margin-left: 6px; }

/* CSW band: align with the 1350 box (was inset at x=15) */
.pcsm-ml .ml-csw { padding: 40px 0 8px; }
.pcsm-ml .ml-csw .fusion-fullwidth { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }

@media (max-width: 640px) {
	.pcsm-ml .ml-tabrow { display: block; }
	.pcsm-ml .ml-tabs [role=tab] { font-size: 15px; padding: 11px 11px 12px; }
	.pcsm-ml .ml-tabs [role=tab]:first-child { padding-left: 0; }
	.pcsm-ml .ml-acct { display: inline-block; padding: 12px 0 14px; font-size: 14px; }
	.pcsm-ml .ml-acad { padding: 22px; }
}

/* ---------- /my-account/ ---------- */
.woocommerce-account .ml-acct-back { margin: 0 0 16px; font-weight: 700; }
.woocommerce-account .ml-acct-back a { color: #00337d; text-decoration: none; }
.woocommerce-account .ml-acct-back a:hover { text-decoration: underline; }
.woocommerce-account .ml-acct-note a { font-weight: 700; color: #00337d; }

/* ---------- /free-membership/ (page 6679) ---------- */
.fm-hero .fm-sub { font-size: 20px; line-height: 1.5; }
.fm-hero .fm-list { list-style: none; margin: 8px 0 0; padding: 0; }
.fm-hero .fm-list li { position: relative; padding: 0 0 0 30px; margin: 0 0 10px; font-size: 17px; color: #fff; }
.fm-hero .fm-list li::before { content: "\2713" !important; display: block !important; position: absolute; left: 0; top: 0; color: #eac356 !important; font-weight: 900; font-size: 18px; line-height: 1.4; }
.fm-formcard { background: #fff; color: #333; padding: 28px 28px 22px; border-top: 3px solid #eac356; box-shadow: 0 8px 24px rgba(0,57,114,.18); }
.fm-formcard h2, .fm-formcard .fm-formtitle { color: #00337d !important; font-size: 24px !important; font-weight: 800; line-height: 1.25; margin: 0 0 4px; }
.fm-formcard .fm-formsub { color: #555; font-size: 15px; margin: 0 0 6px; }
.fm-formcard .fm-have { font-size: 14.5px; color: #555; margin: 14px 0 0; border-top: 1px solid #e2e8f0; padding-top: 12px; }
.fm-formcard .fm-have a { color: #00337d; font-weight: 700; }
#gform_wrapper_73 { margin: 0 !important; }
#gform_wrapper_73 .gform_fields { row-gap: 14px !important; }
#gform_wrapper_73 .gfield_label { font-size: 14px !important; font-weight: 700 !important; color: #333 !important; margin-bottom: 6px !important; }
#gform_wrapper_73 .gfield_required { color: #b91c1c; }
#gform_wrapper_73 input[type=email], #gform_wrapper_73 input[type=password], #gform_wrapper_73 select {
	width: 100% !important; min-height: 48px; font-size: 16px !important; padding: 10px 14px !important; border: 1px solid #555555 !important; border-radius: 0 !important; background: #fff !important; color: #333 !important; box-shadow: none !important; }
#gform_wrapper_73 input:focus, #gform_wrapper_73 select:focus { border-color: #1f6ba5 !important; outline: 2px solid rgba(31,107,165,.25); outline-offset: 0; }
#gform_wrapper_73 .gfield--type-captcha { margin-top: 2px; }
#gform_wrapper_73 .gform_footer { margin: 18px 0 0 !important; padding: 0 !important; }
#gform_wrapper_73 .gform_footer [type=submit] { width: 100% !important; background: #eac356 !important; color: #2d1b75 !important; border: 0 !important; border-radius: 0 !important;
	font-family: Montserrat, system-ui, sans-serif; font-weight: 900 !important; font-size: 15px !important; letter-spacing: 2px !important; text-transform: uppercase; padding: 16px 20px !important; line-height: 1.2 !important; cursor: pointer; margin: 0 !important; }
#gform_wrapper_73 .gform_footer [type=submit]:hover { background: #eadbb2 !important; }
#gform_wrapper_73 .ml-consent { font-size: 13px; line-height: 1.5; color: #555; margin: 10px 0 0; }
#gform_wrapper_73 .ml-consent a, .fm-formcard .ml-confirm a { color: #00337d; }
.fm-formcard .ml-confirm h3 { color: #00337d; font-size: 22px; margin: 0 0 8px; }
.fm-formcard .ml-confirm p { font-size: 16px; color: #333; }
.fm-benefit .fm-ico { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #eef3f9; color: #003972; margin: 0 0 14px; }
.fm-benefit .fm-ico svg { width: 26px; height: 26px; }
.fm-trust { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; margin: 0; padding: 0; list-style: none; }
.fm-trust li { margin: 0; font-size: 17px; color: #333; }
.fm-trust strong { color: #003972; font-size: 26px; font-weight: 900; margin-right: 6px; }
.fm-trust a { color: #00337d; font-weight: 700; }
.fm-trust-note { font-size: 13px; color: #555; margin: 12px 0 0; }
.fm-faq details { border-top: 1px solid #e2e8f0; padding: 16px 0; }
.fm-faq details:last-child { border-bottom: 1px solid #e2e8f0; }
.fm-faq summary { cursor: pointer; font-weight: 700; font-size: 18px; color: #333; list-style: none; position: relative; padding-right: 32px; }
.fm-faq summary::-webkit-details-marker { display: none; }
.fm-faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 24px; font-weight: 700; color: #1f6ba5; }
.fm-faq details[open] summary::after { content: "\2212"; }
.fm-faq details p { margin: 10px 0 0; font-size: 17px; }
.fm-hero .fm-formcard p, .fm-hero .fm-formcard .ml-consent, .fm-hero .fm-formcard .gfield_description, .fm-hero .fm-formcard .gfield_label, .fm-hero .fm-formcard legend { color: #333 !important; }
.fm-hero .fm-formcard .fm-formsub, .fm-hero .fm-formcard .fm-have, .fm-hero .fm-formcard .ml-consent { color: #555 !important; }
.fm-hero .fm-formcard .fm-formtitle { color: #00337d !important; }
.fm-hero .fm-formcard a { color: #00337d !important; }
.fm-hero .fm-formcard .gfield_required { color: #b91c1c !important; }
@media (max-width: 800px) {
	.fm-formcard { padding: 22px 18px 18px; }
	.fm-hero .fm-sub { font-size: 18px; }
	.fm-trust strong { font-size: 22px; }
}
