/*
Theme Name: The Teacher Champion
Theme URI: https://theteacherchampion.com
Author: The Teacher Champion
Description: A responsive educator resource theme with Events and Resources management.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: teacherchampion
*/

:root{--navy:#10263f;--navy2:#173b61;--blue:#1878ad;--sky:#e8f5fb;--gold:#f2bc54;--cream:#fffdf8;--ink:#203142;--muted:#607487;--line:#d7e3ea;--white:#fff;--shadow:0 18px 50px rgba(16,38,63,.13)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:var(--blue);text-decoration-thickness:2px;text-underline-offset:3px}
img{max-width:100%;height:auto}
.skip{position:absolute;left:-9999px}.skip:focus{left:1rem;top:1rem;z-index:100;background:#fff;padding:.7rem 1rem}
.site-header{background:var(--navy);color:#fff;position:relative;z-index:20}
.nav-wrap{max-width:1200px;margin:auto;min-height:78px;padding:0 24px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--gold);color:var(--navy);font-family:Georgia,serif}
.site-nav{margin-left:auto}.site-nav ul{display:flex;align-items:center;gap:19px;margin:0;padding:0;list-style:none}.site-nav a{color:#fff;text-decoration:none;font-size:.91rem;font-weight:650}.site-nav a:hover,.site-nav .current-menu-item>a{color:var(--gold)}
.menu-toggle{display:none;margin-left:auto;border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;border-radius:8px;padding:.55rem .8rem}
.hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 68%,#1f668a 100%);color:#fff;overflow:hidden}
.hero-inner{max-width:1200px;margin:auto;padding:72px 24px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:58px;align-items:center}
.eyebrow{margin:0 0 .8rem;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:850;color:var(--gold)}.eyebrow.blue{color:var(--blue)}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;line-height:1.13;color:var(--navy)}
.hero h1{font-size:clamp(2.7rem,6vw,5rem);color:#fff;margin:.1rem 0 1.2rem}.lead{font-size:1.18rem;max-width:690px;color:#e4edf5}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:2rem}.button{display:inline-block;padding:.78rem 1.1rem;border-radius:8px;text-decoration:none;font-weight:800}.button-primary{background:var(--gold);color:var(--navy)}.button-secondary{border:1px solid rgba(255,255,255,.48);color:#fff}
.quick-card{background:#fff;color:var(--ink);border-radius:24px;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.25)}
.profile{text-align:center;padding-bottom:20px;border-bottom:1px solid var(--line)}.portrait{width:184px;height:184px;border-radius:50%;margin:-62px auto 12px;background:linear-gradient(135deg,var(--gold),#fff);padding:6px;overflow:hidden}.portrait img{width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:50%}.profile-name{font-family:Georgia,serif;color:var(--navy);font-size:1.5rem;font-weight:800;text-shadow:1px 1px 0 #fff,2px 3px 2px rgba(16,38,63,.22)}.profile-title{color:var(--blue);font-weight:800;text-shadow:1px 2px 2px rgba(16,38,63,.12)}
.events-preview h2{font-size:1.5rem;margin:1.1rem 0 .7rem}.event-mini{display:grid;grid-template-columns:92px 1fr;gap:12px;padding:.75rem 0;border-top:1px solid var(--line)}.event-mini time{color:var(--blue);font-size:.82rem;font-weight:800}.event-mini strong{display:block;color:var(--navy)}.all-link{display:inline-block;margin-top:.6rem;font-weight:800}
.home-section,.content{max-width:1100px;margin:auto;padding:60px 24px}.home-section h2,.page-head h1{font-size:clamp(2.1rem,4vw,3.4rem);margin:.2rem 0 1.3rem}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card,.entry-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 10px 32px rgba(16,38,63,.07)}.card h3,.entry-card h3{margin:.1rem 0 .65rem;font-size:1.4rem}.card a,.entry-card a{font-weight:800}
.page-head{background:var(--sky);border-bottom:1px solid var(--line)}.page-head>div{max-width:1100px;margin:auto;padding:54px 24px}.page-head p{max-width:760px}
.category-section{margin-bottom:44px}.category-section>h2{font-size:2rem;border-bottom:3px solid var(--gold);padding-bottom:.5rem}
.entry-card{display:grid;grid-template-columns:180px 1fr;gap:22px;margin:18px 0}.entry-card.no-image{grid-template-columns:1fr}.entry-card img{width:180px;height:128px;object-fit:cover;border-radius:11px}.entry-date{color:var(--blue);font-weight:850;text-transform:uppercase;letter-spacing:.04em;font-size:.84rem}
.notice{padding:18px;border-left:5px solid var(--gold);background:#fff7e8;border-radius:8px}.empty{padding:30px;background:#fff;border:1px dashed var(--line);border-radius:12px}
.contact-form{max-width:720px}.field{margin-bottom:17px}.field label{display:block;font-weight:800;margin-bottom:5px}.field input,.field textarea{width:100%;border:1px solid #abc0cc;border-radius:8px;padding:.78rem;font:inherit}.field textarea{min-height:150px}.submit{border:0;border-radius:8px;background:var(--navy);color:#fff;padding:.8rem 1.2rem;font-weight:800;cursor:pointer}
.prose{max-width:820px}.prose h2{margin-top:2rem}.resource-list a{display:block;background:#fff;border:1px solid var(--line);border-radius:10px;margin:.8rem 0;padding:1rem;text-decoration:none;font-weight:800}
.site-footer{background:#0b1d30;color:#dce7f0;margin-top:50px}.footer-inner{max-width:1100px;margin:auto;padding:38px 24px;display:flex;justify-content:space-between;gap:30px}.site-footer a{color:#fff}.site-footer strong{color:#fff;font-family:Georgia,serif;font-size:1.35rem}
@media(max-width:900px){.hero-inner{grid-template-columns:1fr}.quick-card{margin-top:32px}.card-grid{grid-template-columns:1fr}.menu-toggle{display:block}.site-nav{display:none;position:absolute;left:0;right:0;top:78px;background:var(--navy);padding:16px 24px}.site-nav.open{display:block}.site-nav ul{display:block}.site-nav li{padding:.55rem 0}.entry-card{grid-template-columns:130px 1fr}.entry-card img{width:130px;height:110px}}
@media(max-width:560px){.hero-inner{padding-top:54px}.portrait{width:154px;height:154px}.entry-card{grid-template-columns:1fr}.entry-card img{width:100%;height:190px}.footer-inner{display:block}}
@media (max-width: 900px) {
    .state-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .state-resource-grid {
        grid-template-columns: 1fr;
    }
}
/* All 50 States directory */
.state-directory {
    width: 100%;
    max-width: 1100px;
    margin: 55px auto 0;
}

.state-directory > h2 {
    margin: 0 0 12px;
    color: var(--navy);
}

.state-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin: 28px 0 0;
}

.state-resource-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(16, 38, 63, 0.07);
}

.state-resource-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.35rem;
}

.state-resource-card p {
    flex-grow: 1;
    margin: 0 0 15px;
    color: var(--muted);
}

.state-resource-card a {
    color: var(--blue);
    font-weight: 800;
}

.state-directory-footer {
    margin-top: 35px;
    padding: 24px;
    background: var(--sky);
    border-left: 5px solid var(--gold);
    border-radius: 12px;
}

.state-directory-footer h3 {
    margin: 0 0 12px;
}

@media screen and (max-width: 900px) {
    .state-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 600px) {
    .state-resource-grid {
        grid-template-columns: 1fr;
    }
}