/* ProTeacher Independent: theme shell is namespaced to protect lesson widgets. */
html{scroll-padding-top:24px}body{margin:0} .wp-site-blocks{padding:0}.wp-site-blocks>header,.wp-site-blocks>footer{margin-block:0}
.pt-site-header,.pt-site-header *,.pt-site-footer,.pt-site-footer *{box-sizing:border-box}
.pt-site-header{background:#fff;padding:12px clamp(14px,3vw,36px);border-bottom:1px solid #e8edf3;color:#1e1e20}
.pt-header-inner{max-width:1320px;margin-inline:auto;gap:24px;min-height:75px}
.pt-brand{gap:14px;min-width:0;flex-shrink:0}.pt-brand .wp-block-site-title{margin:0;font-size:clamp(19px,2vw,25px);font-weight:650;line-height:1.2}.pt-brand .wp-block-site-title a{color:#1e1e20;text-decoration:none}
.pt-logo-link{display:block;flex:0 0 auto;line-height:0}.pt-logo-link img{display:block;width:75px;height:75px;object-fit:contain}
.pt-primary-nav{margin:0;font-size:14px;line-height:1.5;font-weight:500}.pt-primary-nav .wp-block-navigation__container{gap:clamp(12px,1.7vw,26px)}.pt-primary-nav a{color:#1e1e20;text-decoration:none}.pt-primary-nav a:hover{color:#6621ba}.pt-primary-nav .wp-block-navigation-item__label{text-transform:uppercase}
.pt-site-header a:focus-visible,.pt-site-header button:focus-visible,.pt-site-footer a:focus-visible{outline:3px solid #d6a600;outline-offset:5px;border-radius:3px}
/* Use core navigation's accessible modal, opened at tablet widths as well. */
@media(min-width:600px) and (max-width:1100px){.pt-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}.pt-primary-nav .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}}
.pt-primary-nav .wp-block-navigation__responsive-container.is-menu-open{padding:28px;background:#fff;color:#18324d}.pt-primary-nav .is-menu-open .wp-block-navigation__container{align-items:flex-start;gap:22px}.pt-primary-nav .is-menu-open .wp-block-navigation-item a{min-height:44px;display:flex;align-items:center}
.pt-page-shell{margin:0 auto;padding:0;min-height:45vh;width:100%;min-width:0}.pt-reading-shell{box-sizing:border-box;width:min(100% - 40px,1040px);margin:0 auto;padding:clamp(28px,5vw,60px) 0;min-height:55vh}
.pt-document-title{max-width:100%;margin:0 0 24px;font-size:clamp(27px,4vw,44px);overflow-wrap:anywhere;line-height:1.2}.pt-page-shell>.pt-document-title{box-sizing:border-box;max-width:1240px;padding:28px 20px 0;margin-inline:auto}
.pt-post-meta{font-size:14px;color:#596c80;margin-bottom:28px}.pt-existing-content{width:100%;min-width:0;margin-block-start:0;overflow-wrap:break-word}.pt-existing-content>p,.pt-existing-content>h2,.pt-existing-content>h3,.pt-existing-content>h4,.pt-existing-content>ul,.pt-existing-content>ol,.pt-existing-content>.wp-block-quote{max-width:860px;margin-inline:auto}.pt-page-shell>.pt-existing-content>p,.pt-page-shell>.pt-existing-content>h2,.pt-page-shell>.pt-existing-content>h3{padding-inline:20px;box-sizing:border-box}
.pt-existing-content img,.pt-existing-content video{max-width:100%;height:auto}.pt-existing-content iframe{max-width:100%}.pt-existing-content pre{max-width:100%;overflow:auto}.pt-existing-content .wp-block-table{overflow-x:auto}.pt-existing-content .alignwide{max-width:1240px;margin-inline:auto}.pt-existing-content .alignfull{max-width:none}
.pt-result-list{list-style:none;padding:0}.pt-result-card{padding:26px;border:1px solid #dce5ef;border-radius:18px;background:#fff;margin-bottom:20px}.pt-result-card h2{font-size:clamp(22px,3vw,29px);margin:0 0 12px}.pt-result-card h2 a{text-decoration:none}.pt-result-card .wp-block-post-date{font-size:14px;color:#596c80}.wp-block-search__input{min-width:0}.wp-block-search__button{background:#087f67;color:#fff;border:0;border-radius:8px;padding:12px 18px}.pt-reading-shell .wp-block-query-pagination{flex-wrap:wrap;gap:16px}.pt-reading-shell .wp-block-query-pagination-numbers a,.pt-reading-shell .wp-block-query-pagination-numbers span{display:inline-block;padding:6px 10px}
/* Existing homepage selectors: retain the actual page, scripts, banners and map. */
.home .pt-existing-content .pt-home-simple{padding:clamp(28px,5vw,60px) clamp(16px,3vw,32px);background:linear-gradient(135deg,#f0f8f5,#f5f8ff)}.home .pt-existing-content .pt-simple-container{width:100%;max-width:1200px;margin:auto}.home .pt-existing-content .pt-simple-intro h1{font-size:clamp(30px,4.5vw,54px);line-height:1.15}.home .pt-existing-content .pt-broad-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home .pt-existing-content .pt-broad-tab{box-sizing:border-box;min-width:0;border-radius:18px;padding:20px;min-height:100px}.home .pt-existing-content .pt-tab-text{min-width:0}.home .pt-existing-content .pt-tab-text strong,.home .pt-existing-content .pt-tab-text small{white-space:normal;overflow-wrap:anywhere}.home .pt-existing-content #pt-pcs-home{box-sizing:border-box;max-width:1200px;width:100%;margin:32px auto;padding:24px}.home .pt-existing-content #pt-pcs-home .pcs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Footer retains the observed purple background, information and four columns. */
.pt-site-footer{margin:0;background:linear-gradient(rgb(102 33 186 / 92%),rgb(102 33 186 / 92%)),url('footer-background.jpg') center/cover;color:#fff;padding:80px clamp(20px,4vw,48px) 0}.pt-footer-grid{display:grid;grid-template-columns:1.25fr .9fr .9fr 1.2fr;gap:clamp(24px,4vw,56px);max-width:1240px;margin-inline:auto}.pt-footer-grid>.pt-footer-column{margin:0;min-width:0}.pt-site-footer h2{font-size:17px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:#fff;margin:0 0 20px}.pt-site-footer p,.pt-site-footer li{font-size:15px;line-height:1.85;color:#fff;overflow-wrap:anywhere}.pt-site-footer a{color:#fff;text-decoration:none}.pt-site-footer a:hover{text-decoration:underline}.pt-site-footer ul:not(.wp-block-social-links){list-style:none;padding:0;margin:0}.pt-site-footer li{margin-bottom:10px}.pt-site-footer .wp-block-social-links{gap:14px;margin-top:14px}.pt-site-footer .wp-block-social-links li{margin:0}.pt-site-footer .wp-block-social-link-anchor{min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center}.pt-copyright{max-width:1240px;margin:48px auto 0;border-top:1px solid #ffffff26;padding:18px 0;text-align:center}.pt-copyright p{font-size:13px;margin:0}
@media(max-width:1000px){.home .pt-existing-content .pt-broad-tabs,.home .pt-existing-content #pt-pcs-home .pcs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pt-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pt-header-inner{gap:12px;min-height:56px}.pt-brand{gap:10px}.pt-logo-link img{width:54px;height:54px}.pt-reading-shell{width:calc(100% - 32px);padding-block:28px}.pt-site-footer{padding-top:44px}.pt-footer-grid{grid-template-columns:minmax(0,1fr);gap:30px}.pt-copyright{margin-top:30px}.home .pt-existing-content .pt-broad-tabs,.home .pt-existing-content #pt-pcs-home .pcs-grid{grid-template-columns:minmax(0,1fr)}.home .pt-existing-content .pt-broad-tab{padding:16px;min-height:88px}}
@media(prefers-reduced-motion:reduce){.pt-site-header *, .pt-site-footer *{scroll-behavior:auto;transition:none}}
@media print{.pt-site-header,.pt-site-footer,.pt-post-meta,.wp-block-post-navigation-link{display:none}.pt-reading-shell{width:100%;padding:0}}

/* 1.1 — lighter editorial layout, defined page edges and clearer links. */
body.wp-theme-proteacher-independent{background:#f5f7fa;color:#334155;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}
body.wp-theme-proteacher-independent .pt-page-shell,
body.wp-theme-proteacher-independent .pt-reading-shell{box-sizing:border-box;max-width:1320px;width:calc(100% - 64px);margin:28px auto 40px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 8px 32px rgb(30 50 75 / 3%);padding:clamp(20px,3vw,44px);min-width:0}
body.wp-theme-proteacher-independent .pt-reading-shell{max-width:1080px}
body.wp-theme-proteacher-independent .pt-page-shell>.pt-existing-content{min-width:0;max-width:100%}
body.wp-theme-proteacher-independent .pt-existing-content>:where(section,article,nav,.wp-block-group,.wp-block-columns,.wp-block-cover){margin-block:24px}
body.wp-theme-proteacher-independent .pt-existing-content>:where(section,article,nav,.wp-block-group,.wp-block-columns,.wp-block-cover):first-child{margin-top:0}
body.wp-theme-proteacher-independent .pt-existing-content>p{margin-block:0 1.3em}
body.wp-theme-proteacher-independent .pt-existing-content>:where(h2,h3,h4){margin-top:1.8em;margin-bottom:.7em;color:#24364b;font-weight:650;letter-spacing:-.02em}
body.wp-theme-proteacher-independent .pt-document-title{font-size:clamp(27px,3.5vw,40px);font-weight:650;color:#24364b;letter-spacing:-.03em;line-height:1.25}
body.wp-theme-proteacher-independent .pt-page-shell>.pt-document-title{padding:0;margin:0 0 26px}
body.wp-theme-proteacher-independent .pt-page-shell>.pt-existing-content>p,
body.wp-theme-proteacher-independent .pt-page-shell>.pt-existing-content>h2,
body.wp-theme-proteacher-independent .pt-page-shell>.pt-existing-content>h3{padding-inline:0}
/* Links in ordinary prose; custom lesson colour schemes remain locally controlled. */
body.wp-theme-proteacher-independent .pt-existing-content>p a,
body.wp-theme-proteacher-independent .pt-existing-content>ul a,
body.wp-theme-proteacher-independent .pt-existing-content>ol a,
body.wp-theme-proteacher-independent .pt-existing-content>.wp-block-paragraph a,
body.wp-theme-proteacher-independent .pt-result-card .wp-block-post-excerpt a{color:#245ba8;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
body.wp-theme-proteacher-independent .pt-existing-content>p a:hover,
body.wp-theme-proteacher-independent .pt-existing-content>ul a:hover,
body.wp-theme-proteacher-independent .pt-existing-content>ol a:hover{color:#163f7c;text-decoration-thickness:2px}
body.wp-theme-proteacher-independent .pt-existing-content a:focus-visible{outline:3px solid #376db6;outline-offset:4px;border-radius:3px}
/* Compact brand and understated navigation. */
body.wp-theme-proteacher-independent .pt-site-header{padding:12px clamp(18px,3vw,40px);border-bottom:1px solid #e5eaf1;background:#fff}
body.wp-theme-proteacher-independent .pt-header-inner{max-width:1320px;min-height:58px;gap:20px}
body.wp-theme-proteacher-independent .pt-brand{gap:10px}
body.wp-theme-proteacher-independent .pt-brand .wp-block-site-title{font-size:20px!important;font-weight:650!important;letter-spacing:-.035em;line-height:1.2;margin:0}
body.wp-theme-proteacher-independent .pt-brand .wp-block-site-title a{color:#263a50}
body.wp-theme-proteacher-independent .pt-logo-link img{width:56px;height:56px}
body.wp-theme-proteacher-independent .pt-primary-nav{font-size:12.5px;font-weight:550;letter-spacing:.025em}
body.wp-theme-proteacher-independent .pt-primary-nav .wp-block-navigation__container{gap:20px}
body.wp-theme-proteacher-independent .pt-primary-nav a{color:#475569;text-decoration:none;text-underline-offset:6px}
body.wp-theme-proteacher-independent .pt-primary-nav a:hover{color:#245ba8;text-decoration:underline}
body.wp-theme-proteacher-independent .pt-primary-nav .current-menu-item>a{color:#245ba8}
/* Homepage blocks: soft surfaces with crisp, distinct link text. */
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-home-simple{padding:clamp(24px,4vw,48px) clamp(18px,3vw,32px);background:linear-gradient(135deg,#f5f9fc,#f2f8f6);border:1px solid #e4ecf1;border-radius:14px}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-simple-intro h1{color:#24364b;font-size:clamp(30px,3.6vw,46px);font-weight:650;letter-spacing:-.035em}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-simple-intro p{color:#536478;font-size:17px;line-height:1.8}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-simple-eyebrow{color:#276459;letter-spacing:.13em;font-weight:650}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-broad-tab{background:#fff;border:1px solid #dce5ef;box-shadow:0 3px 12px rgb(31 50 73 / 3%);border-radius:12px;text-decoration:none;gap:12px;transition:border-color .15s ease,box-shadow .15s ease}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-tab-text strong{color:#245ba8;font-size:16px;font-weight:650;line-height:1.45}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-tab-text small{color:#526477;font-size:13px;line-height:1.65}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-tab-arrow{color:#245ba8}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-broad-tab.pt-tab-featured{background:#edf6f3;border-color:#bdd6cc}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-tab-featured .pt-tab-text strong{color:#236052}
body.home.wp-theme-proteacher-independent .pt-existing-content .pt-broad-tab:hover{border-color:#8faed1;box-shadow:0 5px 18px rgb(31 50 73 / 6%)}
body.home.wp-theme-proteacher-independent .pt-existing-content #pt-pcs-home{border:1px solid #e2e8f0;border-radius:14px;background:#fafcfe;margin:28px auto;padding:clamp(18px,3vw,30px)}
body.home.wp-theme-proteacher-independent .pt-existing-content #pt-pcs-home .pcs-tab{background:#fff;border:1px solid #dce5ef;border-radius:10px;box-shadow:none;padding:16px;min-height:74px}
body.home.wp-theme-proteacher-independent .pt-existing-content #pt-pcs-home .pcs-name{color:#245ba8;font-size:15px;font-weight:650}
body.home.wp-theme-proteacher-independent .pt-existing-content #pt-pcs-home .pcs-state{color:#526477}
body.home.wp-theme-proteacher-independent .pt-existing-content #pt-pcs-home .pcs-arrow{color:#245ba8;background:#edf3fa}
body.wp-theme-proteacher-independent .pt-result-card{border-color:#e2e8f0;border-radius:12px;box-shadow:none;padding:24px}
body.wp-theme-proteacher-independent .pt-result-card h2 a{color:#245ba8;font-weight:650}
body.wp-theme-proteacher-independent .pt-post-meta{color:#586b80}
/* Keep the branded purple footer; reduce visual weight through type and spacing. */
body.wp-theme-proteacher-independent .pt-site-footer{padding-top:56px}
body.wp-theme-proteacher-independent .pt-site-footer h2{font-size:14px;letter-spacing:.07em;font-weight:600}
body.wp-theme-proteacher-independent .pt-site-footer p,
body.wp-theme-proteacher-independent .pt-site-footer li{font-size:14px;line-height:1.9}
body.wp-theme-proteacher-independent .pt-site-footer a{text-decoration:underline;text-decoration-color:#ffffff70;text-underline-offset:4px}
body.wp-theme-proteacher-independent .pt-site-footer a:hover{text-decoration-color:#fff}
@media(max-width:768px){body.wp-theme-proteacher-independent .pt-page-shell,body.wp-theme-proteacher-independent .pt-reading-shell{width:calc(100% - 32px);padding:22px;margin-top:18px;border-radius:14px}}
@media(max-width:480px){body.wp-theme-proteacher-independent .pt-page-shell,body.wp-theme-proteacher-independent .pt-reading-shell{width:calc(100% - 20px);padding:14px;margin:12px auto 24px;border-radius:12px}body.wp-theme-proteacher-independent .pt-brand .wp-block-site-title{font-size:18px!important}body.wp-theme-proteacher-independent .pt-logo-link img{width:46px;height:46px}body.wp-theme-proteacher-independent .pt-header-inner{min-height:48px}body.home.wp-theme-proteacher-independent .pt-existing-content .pt-home-simple{padding:24px 14px}body.home.wp-theme-proteacher-independent .pt-existing-content .pt-simple-intro p{font-size:15px}body.home.wp-theme-proteacher-independent .pt-existing-content .pt-broad-tab{padding:14px}body.wp-theme-proteacher-independent .pt-existing-content>:where(section,article,nav,.wp-block-group,.wp-block-columns,.wp-block-cover){margin-block:18px}}
@media(prefers-reduced-motion:reduce){body.home.wp-theme-proteacher-independent .pt-existing-content .pt-broad-tab{transition:none}}
@media print{body.wp-theme-proteacher-independent{background:#fff}body.wp-theme-proteacher-independent .pt-page-shell,body.wp-theme-proteacher-independent .pt-reading-shell{width:100%;max-width:none;margin:0;padding:0;border:0;box-shadow:none}}
