/*
Theme Name: Easy Rapid Calcs Light
Theme URI: https://easyrapidcalcs.com/
Author: Easy Rapid Calcs
Description: Lightweight calculator directory theme with configurable featured tools, accessible navigation, native WordPress search and four advertising widget areas. No framework or external fonts.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: easyrapidcalcs-light
Tags: custom-logo, custom-menu, featured-images, wide-blocks, translation-ready
*/
:root{--accent:#146348;--ink:#173c30;--muted:#5d6d66;--paper:#fff;--wash:#f3f6f0;--line:#dce5dc;--radius:18px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:var(--accent);text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a,input{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b26719;outline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.3rem,4.8vw,4.3rem);max-width:950px;margin:.4em 0}h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:.35em 0 .6em}h3{font-size:1.2rem}p{margin:.6em 0 1em}.erc-wrap{max-width:1200px;margin:auto;padding-inline:28px}.erc-header{border-bottom:1px solid var(--line);background:white}.erc-header-inner{min-height:92px;display:flex;align-items:center;gap:28px}.erc-brand{margin-right:auto;font-weight:800;line-height:1.1}.erc-brand a{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:1.15rem}.erc-brand-mark{display:grid;place-items:center;width:37px;height:40px;border-radius:10px;background:var(--accent);color:#fff;font-size:30px}.custom-logo{max-height:60px;width:auto}.erc-header nav ul{display:flex;gap:18px;list-style:none;padding:0}.erc-header nav a{font-size:.9rem;text-decoration:none;color:var(--ink)}.erc-header nav li{position:relative}.erc-header nav .sub-menu{display:none;position:absolute;z-index:5;background:#fff;border:1px solid var(--line);padding:16px;min-width:200px}.erc-header nav li:hover>.sub-menu,.erc-header nav li:focus-within>.sub-menu{display:block}.erc-button,.erc-search button{background:var(--accent);color:#fff;padding:13px 20px;border:0;border-radius:8px;text-decoration:none;display:inline-flex;gap:16px;align-items:center;justify-content:center;font-weight:650;cursor:pointer}.erc-button:hover,.erc-search button:hover{filter:brightness(.9)}.erc-header-cta{font-size:.8rem}.erc-menu-toggle{display:none}.erc-hero{background:var(--wash);border-bottom:1px solid var(--line);padding:72px 0}.erc-hero-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:64px;align-items:center}.erc-eyebrow{font-size:.72rem;letter-spacing:.14em;font-weight:750;color:var(--accent)}.erc-lead{font-size:1.12rem;color:var(--muted);max-width:600px}.erc-search{display:flex;max-width:680px;border:1px solid #bccdc0;padding:6px;border-radius:10px;background:#fff;margin:25px 0 12px;gap:6px}.erc-search input{min-width:0;width:100%;border:0;background:transparent;padding:10px;color:var(--ink)}.erc-hint,.erc-small{font-size:.82rem;color:var(--muted)}.erc-hero-art{background:#dcebc3;border-radius:24px;padding:28px;transform:rotate(2deg);box-shadow:12px 16px 0 #c8d9b64d}.erc-mini-top,.erc-mini-bottom{display:flex;justify-content:space-between;align-items:center;font-size:.65rem;letter-spacing:.08em}.erc-mini-top span:last-child{font-size:32px}.erc-art-title{font-size:2.2rem;font-weight:750;line-height:1.15;letter-spacing:-.04em;margin:24px 0}.erc-bars{display:flex;align-items:end;gap:13px;height:140px;border-bottom:1px solid #9aac8b;margin:24px 0}.erc-bars i{flex:1;background:#15553d;border-radius:8px 8px 0 0;height:25%}.erc-bars i:nth-child(2){height:36%}.erc-bars i:nth-child(3){height:48%}.erc-bars i:nth-child(4){height:63%}.erc-bars i:nth-child(5){height:78%}.erc-bars i:nth-child(6){height:100%;background:#7e9f51}.erc-mini-bottom b{font-size:32px}.erc-section{padding-block:55px}.erc-section-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.erc-section-head>a{font-size:.9rem;font-weight:650}.erc-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.erc-category,.erc-card{border:1px solid var(--line);border-radius:var(--radius);padding:24px;background:white}.erc-category{color:var(--ink);text-decoration:none;transition:transform .15s,border-color .15s}.erc-category:hover{transform:translateY(-3px);border-color:var(--accent)}.erc-icon{display:inline-grid;place-items:center;background:var(--wash);color:var(--accent);width:42px;height:42px;font-size:23px;border-radius:12px}.erc-category p,.erc-card p{font-size:.9rem;color:var(--muted)}.erc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.erc-card{display:flex;align-items:start;flex-direction:column}.erc-card h3 a{color:var(--ink);text-decoration:none}.erc-card h3 a:hover{text-decoration:underline}.erc-text-link{margin-top:auto;font-size:.86rem;font-weight:700}.erc-callout{display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--wash);border:1px solid var(--line);padding:38px;border-radius:20px;margin:20px 0}.erc-callout p{margin-bottom:0;color:var(--muted)}.erc-callout .erc-button{flex-shrink:0}.erc-how{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}.erc-how p{font-size:.88rem;color:var(--muted)}.erc-how b{font-size:.95rem}.erc-footer{background:#133d2e;color:#fff;padding:44px 0 22px}.erc-footer a{color:#e2ecd7}.erc-footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px}.erc-footer strong{font-size:1.3rem}.erc-footer p,.erc-footer .erc-small{color:#c6d4ca}.erc-footer ul{list-style:none;padding:0}.erc-footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #426050;padding-top:20px;margin-top:25px;font-size:.8rem}.erc-ad{border:1px solid var(--line);background:#fafbf9;text-align:center;margin:28px auto;min-height:120px;padding:12px;max-width:100%;overflow:hidden}.erc-ad-label{display:block;text-transform:uppercase;letter-spacing:.16em;font-size:10px;color:#627065;margin-bottom:10px}.erc-ad-sidebar{min-height:280px}.erc-reading-layout.has-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px}.erc-article{min-width:0}.erc-article h1{font-size:clamp(2rem,4vw,3.3rem)}.erc-content{overflow-wrap:break-word}.erc-content>p,.erc-content>ul,.erc-content>ol{max-width:78ch}.erc-content iframe{max-width:100%}.erc-content table{max-width:100%}.erc-content pre{overflow:auto}.erc-breadcrumb{font-size:.83rem;margin-bottom:25px}.erc-article-actions{display:flex;gap:24px;align-items:center;border-block:1px solid var(--line);margin:36px 0;padding:20px 0}.erc-print{background:var(--wash);border:1px solid var(--line);border-radius:6px;padding:10px 18px;cursor:pointer}.erc-comments input:not([type=checkbox]),.erc-comments textarea{max-width:100%;border:1px solid var(--line);padding:10px}.screen-reader-text,.erc-skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.erc-skip:focus{clip:auto;width:auto;height:auto;background:white;padding:15px;z-index:100}.alignwide{max-width:1200px}.aligncenter{margin-inline:auto}.wp-caption-text,.gallery-caption{font-size:.85rem}.bypostauthor{border-left:2px solid var(--accent)}.sticky{border-color:var(--accent)}.navigation.pagination{margin:30px 0}.page-numbers{padding:8px 12px}.page-numbers.current{background:var(--wash)}
@media(max-width:1050px){.erc-header-cta{display:none}.erc-hero-grid{gap:32px}.erc-category-grid{grid-template-columns:repeat(2,1fr)}.erc-reading-layout.has-sidebar{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:760px){.erc-wrap{padding-inline:20px}.erc-header-inner{flex-wrap:wrap;gap:12px;padding-block:15px;min-height:76px}.erc-menu-toggle{display:block;background:white;border:1px solid var(--line);border-radius:7px;padding:8px 12px;color:var(--ink)}.erc-header nav{display:none;width:100%}.erc-header nav.is-open{display:block}.erc-header nav ul{flex-direction:column;gap:12px}.erc-header nav .sub-menu{display:block;position:static;border:0;padding:8px 16px}.erc-hero{padding:42px 0}.erc-hero-grid{grid-template-columns:1fr}.erc-hero-art{display:none}.erc-grid{grid-template-columns:repeat(2,1fr)}.erc-section{padding-block:35px}.erc-section-head,.erc-callout{align-items:start;flex-direction:column}.erc-how{grid-template-columns:1fr 1fr}.erc-reading-layout.has-sidebar{display:block}.erc-footer-grid{grid-template-columns:1fr 1fr}.erc-callout{padding:25px}.erc-ad{min-height:120px}}
@media(max-width:480px){.erc-grid{grid-template-columns:1fr}.erc-category-grid{gap:10px}.erc-category{padding:17px}.erc-category h3{font-size:1.05rem}.erc-category p{font-size:.8rem}.erc-search button{padding:10px 13px}.erc-how,.erc-footer-grid{grid-template-columns:1fr}.erc-article-actions{align-items:start;flex-direction:column}.erc-brand a{font-size:1rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.erc-header,.erc-footer,.erc-ad,.erc-article-actions,.erc-comments,.erc-side{display:none!important}.erc-wrap{max-width:none;padding:0}.erc-section{padding:0}body{color:#000;background:#fff}.erc-reading-layout.has-sidebar{display:block}}
