/*
Theme Name: Prismly
Author: Toolsite Studio
Description: Responsive Elementor-ready theme for Local data calculators.
Version: 2.2.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: civiccompare
License: GPL-2.0-or-later
*/
:root{--accent:#7659b5;--soft:#f5f1ff;--ink:#1b2a38;--muted:#596777;--line:#dce2e8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.65}a{color:inherit}a:hover{color:var(--accent)}img{max-width:100%;height:auto}.wrap{width:min(1140px,calc(100% - 40px));margin:auto}.site-header{border-bottom:1px solid var(--line)}.header-inner{min-height:82px;display:flex;align-items:center;gap:32px}.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-size:1.18rem;font-weight:850;letter-spacing:-.04em;text-decoration:none}.mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--accent);color:#fff;font-size:22px}.header-inner nav{margin-left:auto;display:flex;gap:24px}.header-inner nav a{text-decoration:none;font-size:.9rem;font-weight:700}.header-cta,.button{display:inline-block;padding:10px 18px;border-radius:9px;background:var(--accent);color:#fff;text-decoration:none;font-weight:750}.header-cta:hover,.button:hover{filter:brightness(.9);color:#fff}.content-wrap{padding:54px 0 96px}.page-content>h1,.page-content>.lead,.page-content>.crumb,.explainer{max-width:850px}.page-content h1{font-size:clamp(2.7rem,6vw,5.4rem);letter-spacing:-.065em;line-height:1.06;margin:12px 0 22px}.page-content h2{font-size:clamp(1.7rem,3vw,2.5rem);letter-spacing:-.045em;line-height:1.2}.lead{font-size:clamp(1.1rem,2vw,1.38rem);color:var(--muted);line-height:1.55}.eyebrow{font-size:.74rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}.home>.eyebrow{display:inline-block;margin-top:55px}.home>h1{max-width:930px}.home>.lead{max-width:750px}.home-block{padding:95px 0 10px}.home-block>h2{margin:10px 0}.home-block>p{max-width:670px;color:var(--muted)}.tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:35px 0}.tool-card{display:flex;min-height:255px;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:16px;text-decoration:none;transition:transform .2s,box-shadow .2s}.tool-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #16273a15;color:var(--ink);border-color:var(--accent)}.tool-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:var(--soft);color:var(--accent);font-size:1.35rem}.tool-card h3{line-height:1.27;margin:20px 0 5px;font-size:1.15rem}.tool-card p{color:var(--muted);font-size:.91rem;line-height:1.5;margin:0 0 15px}.tool-card>span:last-child{margin-top:auto;color:var(--accent);font-weight:800;font-size:.85rem}.feature{display:grid;grid-template-columns:1.1fr .9fr;gap:55px;align-items:center}.feature p{color:var(--muted)}.steps{display:grid;gap:12px;padding:35px;border-radius:22px;background:var(--soft)}.steps span{padding:10px 0;border-bottom:1px solid #0002;font-weight:750}.notes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:30px 0}.notes>div{padding:26px;background:var(--soft);border-radius:16px}.notes h3{line-height:1.3}.notes p{color:var(--muted);font-size:.9rem}.crumb{font-size:.83rem;color:var(--muted);margin-bottom:26px}.calculator{max-width:900px;margin:42px 0 70px;padding:clamp(22px,4vw,42px);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 50px #16273a0c}.calc-title h2{font-size:1.7rem;margin:5px 0}.calc-title p{color:var(--muted);margin:0 0 28px}.fields{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.fields label span{display:block;font-size:.89rem;font-weight:700;margin-bottom:7px}.fields input{display:block;width:100%;min-height:49px;padding:10px 12px;border:1px solid #bdc7d0;border-radius:9px;background:#fff;color:var(--ink);font:inherit}.fields input:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.result{display:flex;flex-direction:column;gap:4px;margin:26px 0 17px;padding:25px;background:var(--soft);border-radius:14px}.result>span{color:var(--accent);text-transform:uppercase;letter-spacing:.1em;font-size:.75rem;font-weight:850}.result strong{font-size:clamp(1.7rem,4vw,2.7rem);line-height:1.2;overflow-wrap:anywhere}.result small,.calc-hint{color:var(--muted)}.calc-hint{font-size:.84rem;margin:0}.explainer{border-top:1px solid var(--line);padding-top:22px}.explainer p{color:var(--muted)}.explainer .tool-grid{grid-template-columns:repeat(2,1fr)}.site-footer{background:#192b38;color:#fff;padding:60px 0 23px}.footer-main{display:flex;justify-content:space-between;gap:40px}.footer-main p{color:#b8c6ce}.footer-main nav{display:grid;grid-template-columns:repeat(3,auto);gap:8px 25px}.footer-main nav a{color:#e0e8eb;text-decoration:none;font-size:.9rem}.footer-bottom{margin-top:50px;padding-top:20px;border-top:1px solid #ffffff30;display:flex;justify-content:space-between;gap:20px;color:#a9b9c1;font-size:.82rem}.post-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.post-card{border:1px solid var(--line);padding:25px;border-radius:15px}@media(max-width:900px){.tool-grid{grid-template-columns:repeat(2,1fr)}.feature{grid-template-columns:1fr}.header-cta{display:none}}@media(max-width:600px){.wrap{width:calc(100% - 32px)}.header-inner{flex-wrap:wrap;gap:5px;padding:13px 0}.header-inner nav{width:100%;margin:0;gap:18px}.content-wrap{padding:30px 0 70px}.home>.eyebrow{margin-top:35px}.home-block{padding-top:65px}.tool-grid,.explainer .tool-grid,.fields,.notes,.post-grid{grid-template-columns:1fr}.tool-card{min-height:0}.footer-main,.footer-bottom{flex-direction:column}.footer-main nav{grid-template-columns:repeat(2,1fr)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tool-card{transition:none}}

.guide-link{margin:10px 0 30px;font-weight:750}.guide-link a{color:var(--accent)}

.brand img{display:block;width:225px;height:48px;max-width:none;max-height:none}.brand .custom-logo-link{display:block}.brand .custom-logo{max-width:230px;max-height:52px;width:auto;height:auto}@media(max-width:600px){.brand img:not(.custom-logo){width:205px;height:auto}.brand .custom-logo{max-height:46px;max-width:205px}}

.publisher-contact{max-width:700px;position:relative}.publisher-contact label{display:block;margin:20px 0;font-weight:650}.publisher-contact input,.publisher-contact textarea{display:block;width:100%;padding:12px;border:1px solid #8795a0;border-radius:6px;background:#fff;color:#172736;font:inherit;margin-top:7px}.publisher-contact .contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.publisher-contact button{border:0;font:inherit;cursor:pointer}.contact-notice{padding:18px;border:1px solid var(--accent)}.privacy-services{border-left:3px solid var(--accent);padding-left:20px}.guide-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.guide-library article{border:1px solid var(--line);padding:24px;border-radius:10px}.guide-library h2{font-size:1.5rem}@media(max-width:760px){.guide-library{grid-template-columns:1fr}}


body{background:#f8f7f3;color:#282c35}.site-header{border-top:7px solid #282c35;border-bottom:1px solid #282c35}.header-inner{min-height:105px;flex-wrap:wrap}.header-inner nav a{font-family:Georgia,serif;font-size:1rem}.header-cta{background:transparent;color:#282c35;border:1px solid #282c35;border-radius:0}.header-cta:hover{color:#282c35}.design-home h1,.page-content h2,.tool-card h3{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}.edition-line,.civic-section-label{display:flex;justify-content:space-between;gap:20px;font-size:.65rem;font-weight:700;letter-spacing:.13em;border-bottom:1px solid #282c35;padding:12px 0}.civic-lead{display:grid;grid-template-columns:1.35fr .65fr;gap:45px;padding:45px 0;border-bottom:3px double #282c35}.design-home h1{font-size:clamp(3rem,5.4vw,5.6rem);max-width:none}.civic-lead .lead{font-family:Georgia,serif;font-size:1.3rem;max-width:620px}.civic-lead a,.civic-context a{font-weight:700;text-decoration:underline;text-underline-offset:5px}.civic-graphic{border-left:1px solid #a6a6a1;padding-left:30px}.civic-graphic>span{font-size:.58rem;letter-spacing:.1em}.civic-graphic h2{font-size:1.8rem}.civic-graphic p{font-size:.85rem;color:var(--muted)}.city-bars{display:flex;align-items:flex-end;gap:10px;height:140px;padding-top:15px;border-bottom:1px solid #282c35}.city-bars i{background:#a49aba;width:14%;height:60%}.city-bars i:nth-child(2){height:90%;background:#7659b5}.city-bars i:nth-child(3){height:45%}.city-bars i:nth-child(4){height:70%;background:#7659b5}.city-bars i:nth-child(5){height:80%}.city-bars i:nth-child(6){height:100%;background:#7659b5}.civic-directory{padding-top:35px}.tool-grid{display:block;margin:0}.tool-card{display:grid;grid-template-columns:45px 1fr 1fr 100px;gap:22px;align-items:center;border:0;border-bottom:1px solid #a6a6a1;border-radius:0;min-height:110px;padding:22px 0}.tool-card:hover{transform:none;box-shadow:none;background:#eeece5}.tool-card h3{margin:0;font-size:1.7rem}.tool-card p{margin:0;font-size:.86rem}.tool-icon{background:transparent;border:1px solid #a6a6a1;border-radius:50%;width:32px;height:32px}.tool-card>span:last-child{font-size:.75rem;margin:0}.guide-link{font-size:.85rem}.civic-context{display:grid;grid-template-columns:1fr 1fr;gap:70px;border-top:3px double #282c35;padding:45px 0}.civic-context h2{font-size:2.7rem}.civic-context ol{padding-left:24px}.civic-context li{border-bottom:1px solid #a6a6a1;padding:12px 0}.civic-context li p{font-size:.9rem}.calculator{border-radius:0;box-shadow:none;border:1px solid #a6a6a1}.result,.fields input{border-radius:0}.site-footer{background:#282c35}.footer-main nav{grid-template-columns:repeat(2,auto)}
@media(max-width:760px){.civic-lead,.civic-context{grid-template-columns:1fr;gap:25px}.civic-graphic{border-left:0;border-top:1px solid #a6a6a1;padding:20px 0 0}.city-bars{max-width:350px}.tool-card{grid-template-columns:35px 1fr;gap:12px}.tool-card p,.tool-card>span:last-child{grid-column:2}.edition-line,.civic-section-label{flex-direction:column;gap:5px}.header-inner{gap:15px;padding:18px 0}.civic-context h2{font-size:2.3rem}}

.header-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;padding:23px 0 15px}.header-inner>.brand{grid-column:1/-1;justify-self:center}.header-inner>.brand img{width:280px;height:auto}.header-inner nav{grid-column:2;margin:0;gap:30px;padding-top:10px}.header-cta{grid-column:3;justify-self:end}@media(max-width:760px){.header-inner nav{grid-column:1/-1;justify-content:center;width:100%;gap:25px}.header-inner>.brand img{width:225px}.header-cta{display:none}}

/* Layout shared only for accessibility and responsive safety. */
.design-home{width:100%}.design-home h1{line-height:1.06}.design-home .eyebrow{margin-top:0}.design-home section{min-width:0}.design-home p{max-width:100%}.design-home a:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.design-home .calculator h2{font-family:system-ui,sans-serif;font-size:1.5rem;letter-spacing:-.02em;font-weight:750}.design-home .calculator .fields{gap:12px}.design-home .calculator .fields label span{font-size:.8rem}.design-home .calculator .fields input{min-height:44px}.design-home .calculator .result strong{font-size:1.85rem}.site-header .brand{flex-shrink:0}.site-footer .brand{flex-shrink:0}.skip-link{position:absolute;left:10px;top:-100px;background:#fff;color:#182838;padding:10px;z-index:1000}.skip-link:focus{top:10px}.content-wrap .page-content{min-width:0}@media(max-width:480px){.design-home .calculator .fields{grid-template-columns:1fr}.header-inner nav{width:100%;margin:0;gap:18px}.header-inner nav a{font-size:.85rem}.footer-main nav{grid-template-columns:repeat(2,minmax(0,1fr))}.design-home h1{overflow-wrap:normal}.content-wrap{padding-bottom:55px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}


.site-header .menu-toggle{display:none;border:1px solid currentColor;background:transparent;border-radius:8px;width:44px;height:44px;padding:11px 10px;cursor:pointer;color:inherit;align-items:center;justify-content:center;flex-direction:column;gap:5px}.menu-toggle span{display:block;width:22px;height:2px;background:currentColor;transition:transform .15s,opacity .15s}.menu-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:760px){
.site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:0 12px;align-items:center;min-height:0;width:calc(100% - 32px);margin:0 auto;padding:16px 0}
.site-header .header-inner>.brand{grid-column:1;grid-row:1;justify-self:start;min-width:0;order:0}
.site-header .header-inner>.brand img{width:min(205px,calc(100vw - 108px));height:auto;max-width:100%}
.site-header .header-inner>.menu-toggle{display:flex;grid-column:2;grid-row:1;justify-self:end;order:1}
.site-header .header-inner>.header-cta{display:none}
.site-header .header-inner>.primary-navigation{grid-column:1/-1;grid-row:2;order:2;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;gap:0;margin:16px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.site-header .primary-navigation a{display:block;padding:12px 8px;margin:0;font-size:.95rem;min-height:44px;text-align:left}
.site-header.navigation-ready .primary-navigation{display:none}
.site-header.navigation-ready.is-menu-open .primary-navigation{display:flex}
.site-header.is-menu-open .menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.site-header.is-menu-open .menu-toggle span:nth-child(2){opacity:0}
.site-header.is-menu-open .menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}
@media(prefers-reduced-motion:reduce){.menu-toggle span{transition:none}}


.home-reference{margin-top:75px;border-top:1px solid var(--line);padding-top:45px}.reference-intro{max-width:850px;margin-bottom:35px}.home-reference h2{font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.18;margin:12px 0 22px}.home-reference p{font-size:1rem;line-height:1.8;color:var(--muted)}.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.topic-note{border:1px solid var(--line);padding:28px;border-radius:14px;min-width:0}.topic-note h3{font-size:1.3rem;line-height:1.3;margin:12px 0}.topic-note>a{font-size:.88rem;font-weight:750;text-underline-offset:4px}.topic-number{font-size:.75rem;letter-spacing:.1em;color:var(--accent);font-weight:800}.worked-example{background:var(--soft);border-left:4px solid var(--accent);padding:30px;margin:40px 0;border-radius:0 14px 14px 0}.worked-example .eyebrow{font-size:.65rem}.reference-check{max-width:850px;padding:5px 0 25px}.home-faq{padding-top:25px;border-top:1px solid var(--line)}.home-faq details{border-bottom:1px solid var(--line);padding:8px 0}.home-faq summary{cursor:pointer;font-weight:750;padding:13px 8px;min-height:48px}.home-faq details p{max-width:850px;margin:0 8px 20px}.home-faq summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media(max-width:760px){.topic-grid{grid-template-columns:1fr;gap:18px}.topic-note,.worked-example{padding:22px}.home-reference{margin-top:45px;padding-top:30px}}

.home-reference{border-top:3px double #282c35}.topic-grid{display:block}.topic-note{display:grid;grid-template-columns:45px .8fr 1.2fr;gap:0 25px;border:0;border-bottom:1px solid #a6a6a1;border-radius:0;padding:25px 0}.topic-note h3{font-family:Georgia,serif;font-weight:400;font-size:1.5rem;margin:0}.topic-note p{margin:0}.topic-note>a{grid-column:3;margin-top:14px}.worked-example{border:1px solid #a6a6a1;background:#eeece5;border-radius:0}.home-faq summary{font-family:Georgia,serif;font-size:1.15rem;font-weight:400}@media(max-width:760px){.topic-note{grid-template-columns:30px 1fr;gap:10px 15px}.topic-note p,.topic-note>a{grid-column:2}}
/* v2.2.2: stable editorial rows after WordPress paragraph formatting. */
.home-reference .topic-grid .topic-note{grid-template-columns:45px minmax(0,.8fr) minmax(0,1.2fr);gap:12px 25px;align-items:start;min-width:0}
.home-reference .topic-note>p:empty{display:none}
.home-reference .topic-note>*{min-width:0;overflow-wrap:anywhere}
.home-reference .topic-note>.topic-number{grid-column:1;grid-row:1}
.home-reference .topic-note>h3{grid-column:2;grid-row:1;margin:0}
.home-reference .topic-note>p{grid-column:3;grid-row:1;margin:0}
.home-reference .topic-note>p:last-child:not(:empty),.home-reference .topic-note>a{grid-column:3;grid-row:2;margin:0}
.home-reference .topic-note>p:last-child>a,.home-reference .topic-note>a{font-size:.88rem;font-weight:750;text-underline-offset:4px}
.home-reference .home-default-checks{margin:40px 0}
.home-reference .home-default-checks>.topic-grid>.topic-note{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px 25px}
.home-reference .home-default-checks .topic-note>h3{grid-column:1;grid-row:1}
.home-reference .home-default-checks .topic-note>p{grid-column:2;grid-row:1}
.home-reference .home-default-checks .topic-note>p:last-child:not(:empty),.home-reference .home-default-checks .topic-note>a{grid-column:2;grid-row:2}
@media(max-width:760px){
 .home-reference .topic-grid .topic-note{grid-template-columns:30px minmax(0,1fr);gap:12px 15px}
 .home-reference .topic-note>h3{grid-column:2;grid-row:1}
 .home-reference .topic-note>p{grid-column:2;grid-row:2}
 .home-reference .topic-note>p:last-child:not(:empty),.home-reference .topic-note>a{grid-column:2;grid-row:3}
 .home-reference .home-default-checks>.topic-grid>.topic-note{grid-template-columns:minmax(0,1fr);gap:12px}
 .home-reference .home-default-checks .topic-note>h3{grid-column:1;grid-row:1}
 .home-reference .home-default-checks .topic-note>p{grid-column:1;grid-row:2}
 .home-reference .home-default-checks .topic-note>p:last-child:not(:empty),.home-reference .home-default-checks .topic-note>a{grid-column:1;grid-row:3}
}
