/*
Theme Name: Grow & Learn Printables
Theme URI: https://www.growandlearnprintables.com/
Author: Grow & Learn Printables
Description: A playful theme for printable worksheets and early-learning activities. Activating it creates the Home, Free Printables, Shop, Pinterest, About and Contact pages (if missing), sets Home as the front page and builds the menu. Links and contact email are under Appearance → Customize → Grow & Learn settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: growandlearn
*/

/* ---- Design (from the original Canva design) ---- */
:root{--cream:#fffaf0;--ink:#29334a;--muted:#657087;--yellow:#ffd86e;--coral:#ff8f80;--blue:#a9dcf5;--mint:#bde7cb;--purple:#d8c8f2}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"DM Sans",sans-serif}button,input,select,textarea{font-family:"DM Sans",sans-serif}h1,h2,h3,.brand{font-family:"Fredoka",sans-serif}h1,h2,h3,p{margin-top:0}a{color:inherit}:focus-visible{outline:3px solid #5478ba;outline-offset:4px}.container{width:min(1180px,calc(100% - 48px));margin:auto}
.site-header{position:relative;z-index:10;background:var(--cream);border-bottom:1px solid #f2e9d8}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:22px;font-weight:600;line-height:1.1}.brand-mark{flex:none;width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:var(--yellow);transform:rotate(-8deg);font-size:25px}.brand-name{overflow-wrap:anywhere}.nav-links{display:flex;align-items:center;gap:24px}.nav-links a,.footer-nav a{text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap}.nav-links a:hover,.nav-links a[aria-current=page],.footer-nav a:hover{color:#ce6b58}.button,.header-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 23px;border:0;border-radius:100px;text-decoration:none;font-weight:700;font-size:14px;cursor:pointer;transition:transform .2s,box-shadow .2s}.button:hover,.header-cta:hover{transform:translateY(-3px);box-shadow:0 8px 0 rgba(41,51,74,.08)}.header-cta{background:var(--coral);white-space:nowrap}.button-dark{background:var(--ink);color:#fff}.button-light{background:white;color:var(--ink)}.button-coral{background:var(--coral)}.menu-button{display:none;background:none;border:0;color:var(--ink);padding:10px;cursor:pointer}.menu-button svg,.button svg,.header-cta svg{width:18px;height:18px}
.page[hidden]{display:none!important}.hero{overflow:hidden;padding:65px 0 95px}.hero-grid{display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:60px}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#ce6b58;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.hero h1,.page-hero h1{font-size:clamp(52px,6vw,84px);line-height:1;letter-spacing:-.035em;font-weight:600;margin:22px 0}.highlight{color:#e87668}.hero-copy,.page-hero p{max-width:510px;color:var(--muted);line-height:1.75;font-size:17px;margin-bottom:28px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}.hero-note{margin-top:28px;color:var(--muted);font-size:13px;font-weight:700}.hero-visual{position:relative;min-height:500px;display:flex;align-items:center;justify-content:center}.hero-blob{position:absolute;inset:18px 0 0 22px;background:var(--yellow);border-radius:42% 58% 48% 52%/51% 39% 61% 49%;transform:rotate(-5deg)}.hero-photo{position:relative;width:88%;height:440px;object-fit:cover;border-radius:43% 57% 47% 53%/48% 43% 57% 52%;transform:rotate(3deg);border:10px solid white;box-shadow:0 20px 50px rgba(71,68,47,.12)}.sparkle{position:absolute;z-index:2;font-size:55px;color:#ee8e7c}.sparkle.one{top:0;left:4%}.sparkle.two{right:1%;bottom:20px;color:#91cda5;font-size:70px}.mini-label{position:absolute;z-index:3;left:-2%;bottom:54px;background:white;border-radius:18px;padding:15px 19px;box-shadow:0 13px 35px rgba(41,51,74,.11);font:19px "Fredoka",sans-serif;transform:rotate(-7deg)}
.wave{display:block;width:100%;height:70px;margin-bottom:-1px}.section{padding:85px 0}.mint-section{background:#e8f5f2}.section-intro{text-align:center;max-width:700px;margin:0 auto 46px}.section-intro h2,.feature-text h2,.contact h2{font-size:clamp(39px,4.2vw,60px);line-height:1.08;letter-spacing:-.025em;font-weight:600;margin:16px 0}.section-intro p,.feature-text p,.contact p{color:var(--muted);line-height:1.75;font-size:16px}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.card{overflow:hidden;background:white;border-radius:28px;box-shadow:0 12px 35px rgba(41,51,74,.055)}.card img{display:block;width:100%;height:225px;object-fit:cover}.card-body{padding:25px}.tag{display:inline-block;border-radius:100px;padding:7px 12px;background:#fff0c5;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.card:nth-child(2) .tag{background:#e0f1fc}.card:nth-child(3) .tag{background:#f1e9ff}.card h3{font-size:26px;font-weight:600;margin:15px 0 8px}.card p{color:var(--muted);line-height:1.65;font-size:14px}.card .button{margin-top:9px}.value-card{padding:32px;min-height:220px}.value-icon{width:59px;height:59px;display:grid;place-items:center;border-radius:18px;background:#fff0c5;font-size:29px}.value-card:nth-child(2) .value-icon{background:#ffe0da}.value-card:nth-child(3) .value-icon{background:#e5ddf8}
.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center}.feature-photo-wrap{position:relative;padding:25px 35px 20px 15px}.feature-photo-wrap:before{content:"";position:absolute;inset:0 20px 0 0;background:var(--purple);border-radius:35px 100px 35px 100px;transform:rotate(-5deg)}.feature-photo-wrap img{position:relative;display:block;width:100%;height:390px;object-fit:cover;border-radius:28px 85px 28px 85px}.feature-points{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}.feature-points span{background:#fff1cf;border-radius:100px;padding:10px 16px;font-size:13px;font-weight:700}.feature-points span:nth-child(2){background:#dff2e4}.feature-points span:nth-child(3){background:#e4effa}.contact{position:relative;overflow:hidden;background:var(--yellow);text-align:center;padding:88px 20px}.contact:before,.contact:after{content:"✳";position:absolute;font-size:100px;color:rgba(255,255,255,.6)}.contact:before{left:8%;top:15%}.contact:after{right:8%;bottom:8%;font-size:75px}.contact-inner{position:relative;z-index:1;max-width:650px;margin:auto}.contact p{color:#55546a;margin-bottom:27px}
.page-hero{padding:75px 0 60px;background:#e8f5f2}.page-hero .container{max-width:920px}.page-hero p{margin-bottom:0}.subnote{font-size:13px!important;margin-top:18px;color:var(--muted)}.worksheet-thumb{height:225px;display:grid;place-items:center;padding:23px;background:#fff2ce}.card:nth-child(2) .worksheet-thumb{background:#e5f4fa}.card:nth-child(3) .worksheet-thumb{background:#f0e9fa}.paper-mini{width:158px;height:185px;background:#fff;border-radius:7px;box-shadow:0 8px 20px #29334a20;padding:18px;text-align:center;transform:rotate(-4deg)}.paper-mini strong{display:block;font:21px "Fredoka",sans-serif;margin-bottom:13px}.paper-mini span{display:block;color:#93a3ab;font:34px "Fredoka",sans-serif;letter-spacing:5px;line-height:1.4}.paper-mini .mini-shapes{letter-spacing:1px;color:#e87668}.pinterest-grid .card img{height:260px}.site-footer{background:var(--ink);color:white;padding:37px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-brand{font:21px "Fredoka",sans-serif;text-decoration:none}.footer-nav{display:flex;flex-wrap:wrap;gap:19px}.footer-copy{color:#c6ccda;font-size:12px}
.print-overlay[hidden]{display:none}.print-overlay{position:fixed;z-index:30;inset:0;overflow:auto;background:#e9edf0;padding:20px}.print-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;max-width:800px;margin:0 auto 20px}.print-toolbar .button{min-height:42px}.worksheet-sheet{background:white;width:min(100%,800px);min-height:990px;margin:auto;padding:55px 65px;box-shadow:0 12px 35px #29334a25}.sheet-top{display:flex;justify-content:space-between;gap:20px;border-bottom:4px solid var(--yellow);padding-bottom:18px;font:18px "Fredoka",sans-serif}.worksheet-sheet h2{text-align:center;font-size:46px;margin:38px 0 8px}.sheet-instruction{text-align:center;font-size:17px;margin-bottom:38px}.name-line{margin-top:40px;font-size:16px}.practice-row{display:flex;justify-content:space-around;align-items:center;gap:12px;min-height:115px;border-bottom:2px dashed #d6dbe0;font:64px "Fredoka",sans-serif;color:#aab3bc}.practice-row:first-of-type{color:var(--ink)}.practice-row.shapes{font-size:58px;color:#e87668}.sheet-footer{margin-top:50px;text-align:center;color:var(--muted);font-size:13px}
@media(max-width:1050px){.header-cta{display:none}.nav-links{gap:15px}.brand{font-size:19px}}
@media(max-width:760px){.container{width:min(100% - 36px,520px)}.header-inner{min-height:72px}.brand{font-size:17px}.brand-mark{width:39px;height:39px}.menu-button{display:inline-flex}.nav-links{display:none;position:absolute;top:72px;left:0;right:0;background:var(--cream);padding:16px 24px 25px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 14px 22px #29334a14}.nav-links.open{display:flex}.nav-links a{padding:12px 5px}.hero{padding:40px 0 65px}.hero-grid,.feature-grid{grid-template-columns:1fr;gap:25px}.hero-visual{min-height:380px}.hero-photo{height:330px}.mini-label{bottom:12px;left:0}.card-grid{grid-template-columns:1fr}.section{padding:65px 0}.page-hero{padding:60px 0 55px}.feature-text{order:-1}.feature-photo-wrap img{height:310px}.footer-inner{flex-direction:column;text-align:center}.footer-nav{justify-content:center}.worksheet-sheet{padding:30px 22px;min-height:850px}.worksheet-sheet h2{font-size:34px}.practice-row{font-size:42px}.practice-row.shapes{font-size:40px}.print-toolbar{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,.header-cta{transition:none}}
@media print{@page{size:letter;margin:0}.site-header,main,.site-footer,.print-toolbar{display:none!important}.print-overlay{position:static;padding:0;overflow:visible;background:white}.worksheet-sheet{width:100%;min-height:0;height:10.8in;padding:.45in .65in;box-shadow:none}.practice-row{min-height:1.05in}body{background:white}}

/* ---- WordPress additions ---- */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;word-wrap:normal!important}
.skip-link:focus{clip:auto;width:auto;height:auto;z-index:100;top:12px;left:12px;background:#fff;color:var(--ink);padding:12px 18px;border-radius:12px;box-shadow:0 8px 24px rgba(41,51,74,.15)}
.brand-name,.footer-brand{text-transform:lowercase}
.nav-links ul,.footer-nav ul{display:flex;align-items:center;list-style:none;margin:0;padding:0}
.nav-links ul{gap:24px}.footer-nav ul{flex-wrap:wrap;gap:19px}
.nav-links .current-menu-item>a,.nav-links .current_page_item>a{color:#ce6b58}
.icon{display:inline-block;flex:none;width:18px;height:18px;vertical-align:middle}
.menu-button .icon{width:24px;height:24px}
.page-extra{padding-top:0}
.entry-content{max-width:760px;margin:0 auto;color:var(--ink);font-size:17px;line-height:1.8}
.entry-content>*+*{margin-top:1.2em}.entry-content h2,.entry-content h3{line-height:1.2;margin-top:1.6em}
.entry-content a{color:#ce6b58}.entry-content img{max-width:100%;height:auto;border-radius:20px}
.entry-content blockquote{margin:1.5em 0;padding:18px 24px;background:#fff;border-left:5px solid var(--yellow);border-radius:14px}
.post-meta{color:var(--muted);font-size:14px;font-weight:700;margin-top:-6px}
.post-grid .card img{height:225px}.post-grid .card h3 a{text-decoration:none}
.pagination{display:flex;justify-content:center;gap:10px;margin-top:40px}.pagination .page-numbers{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 14px;border-radius:100px;background:#fff;text-decoration:none;font-weight:700}.pagination .current{background:var(--ink);color:#fff}
.search-form{display:flex;gap:10px;max-width:520px;margin:24px auto 0}.search-form input[type=search]{flex:1;min-height:48px;padding:0 20px;border:2px solid #f2e9d8;border-radius:100px;font-size:15px;background:#fff}
@media(max-width:1050px){.nav-links ul{gap:15px}}
@media(max-width:760px){.nav-links ul{flex-direction:column;align-items:stretch;gap:0}}
@media print{#wpadminbar,.skip-link{display:none!important}html{margin-top:0!important}}
.comments-area{margin-top:60px;padding-top:30px;border-top:2px dashed #f2e9d8}.comment-list{list-style:none;padding:0}.comment-list .comment{background:#fff;border-radius:20px;padding:20px 24px;margin-bottom:14px}.comment-list .avatar{border-radius:50%;vertical-align:middle;margin-right:10px}
.comment-form label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;padding:12px 16px;border:2px solid #f2e9d8;border-radius:16px;font-size:15px;background:#fff}
