/*
Theme Name: Playful Preschooling
Theme URI: https://example.com
Author: Playful Preschooling
Author URI: https://example.com
Description: A sweet, pastel WordPress theme for preschool and homeschool printables sites — soft pink/mint/lavender/peach/butter accents, hand-lettered script details, and gentle scalloped section dividers.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: little-sprout
*/

  :root{
    --paper:#FFFBF5;
    --paper-2:#FFF7EA;
    --ink:#453B52;
    --line: rgba(69,59,82,0.10);

    /* pastel palette — soft instead of bold-primary */
    --pink:#FF8FAA;      --pink-tint:#FFE7ED;
    --peach:#FFAE7A;     --peach-tint:#FFEBDD;
    --mint:#5FCBA0;      --mint-tint:#E3F7EF;
    --lav:#B29AE8;       --lav-tint:#F0EAFB;
    --butter:#FFC85C;    --butter-tint:#FFF3D6;

    --radius: 22px;
    --shadow: 0 12px 26px rgba(69,59,82,0.08);
    --shadow-lift: 0 20px 34px rgba(69,59,82,0.14);
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0; background:var(--paper); color:var(--ink);
    font-family:'Nunito', sans-serif; font-size:17px; line-height:1.6;
    -webkit-font-smoothing:antialiased;
    background-image:radial-gradient(var(--line) 1.4px, transparent 1.4px);
    background-size:22px 22px;
  }
  h1,h2,h3,h4{font-family:'Baloo 2', sans-serif; margin:0; line-height:1.15;}
  a{color:inherit; text-decoration:none;}
  ul{margin:0; padding:0; list-style:none;}
  img{max-width:100%; display:block;}
  button{font-family:inherit;}
  .wrap{max-width:1160px; margin:0 auto; padding:0 28px;}
  .script{font-family:'Caveat', cursive; font-weight:700;}
  .eyebrow{
    font-family:'Caveat', cursive; font-weight:700; font-size:22px;
    display:inline-block; transform:rotate(-2deg);
  }
  :focus-visible{outline:3px solid var(--pink); outline-offset:3px;}
  @media (prefers-reduced-motion: reduce){
    *{animation-duration:.001ms !important; transition-duration:.001ms !important;}
    html{scroll-behavior:auto;}
  }

  /* ---------- scalloped wave divider (replaces hard torn edge) ---------- */
  .wave{display:block; width:100%; height:44px; margin-top:-1px;}
  .wave svg{display:block; width:100%; height:100%;}

  /* ---------- header ---------- */
  header{position:sticky; top:0; z-index:50; background:rgba(255,251,245,0.92); backdrop-filter:blur(6px); border-bottom:2px dashed var(--line);}
  /* keep the sticky header below the WP admin toolbar instead of overlapping it */
  body.admin-bar header{top:32px;}
  @media screen and (max-width:782px){
    body.admin-bar header{top:46px;}
  }
  .nav-row{display:flex; align-items:center; justify-content:space-between; padding:16px 28px; gap:20px;}
  .logo{display:flex; align-items:center; gap:10px; font-family:'Baloo 2'; font-weight:800; font-size:23px;}
  .logo .mark{width:42px; height:42px; flex-shrink:0;}
  nav.primary{display:flex; gap:26px; align-items:center;}
  nav.primary a{font-weight:700; font-size:15px; padding:6px 2px; border-bottom:3px solid transparent;}
  nav.primary a:hover{border-color:var(--pink);}
  .cta-btn{
    display:inline-flex; align-items:center; gap:8px; font-weight:800; font-size:15px;
    padding:12px 24px; border-radius:100px; border:none; cursor:pointer;
    transition:transform .15s ease, box-shadow .15s ease; color:#fff;
  }
  .cta-btn:hover{transform:translateY(-2px) rotate(-1deg);}
  .cta-btn.pink{background:var(--pink); box-shadow:0 10px 20px -6px rgba(255,143,170,.6);}
  .cta-btn.peach{background:var(--peach); box-shadow:0 10px 20px -6px rgba(255,174,122,.6);}
  .cta-btn.mint{background:var(--mint); box-shadow:0 10px 20px -6px rgba(95,203,160,.55);}
  .cta-btn.lav{background:var(--lav); box-shadow:0 10px 20px -6px rgba(178,154,232,.55);}
  .cta-btn.butter{background:var(--butter); color:var(--ink); box-shadow:0 10px 20px -6px rgba(255,200,92,.6);}
  .cta-btn.ghost{background:transparent; color:var(--ink); border:2.5px dashed var(--pink); box-shadow:none;}
  .cta-btn.ghost:hover{background:var(--pink-tint);}
  .menu-toggle{display:none; background:none; border:none; cursor:pointer;}

  /* ---------- hero ---------- */
  .hero{padding:60px 0 30px; overflow:hidden;}
  .hero .wrap{display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center;}
  .hero h1{font-size:clamp(36px,5vw,56px); color:var(--ink);}
  .hero h1 .accent{color:var(--pink); font-family:'Caveat',cursive; font-weight:700;}
  .hero p.lead{font-size:19px; max-width:470px; margin:20px 0 28px; color:#5c5169;}
  .hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}
  .hero-stats{display:flex; gap:24px; margin-top:32px; flex-wrap:wrap;}
  .hero-stats strong{display:block; font-family:'Baloo 2'; font-size:24px; color:var(--ink);}
  .hero-stats span{font-size:12.5px; color:#7a6f8a;}

  .scene{position:relative; aspect-ratio:1/0.92; border-radius:32px; background:linear-gradient(180deg, var(--lav-tint), #fff 65%); overflow:hidden; box-shadow:var(--shadow);}
  .scene .blob{position:absolute; border-radius:50%; opacity:.5;}
  .scene .blob.b1{width:180px; height:180px; background:var(--pink-tint); top:-40px; right:-40px;}
  .scene .blob.b2{width:120px; height:120px; background:var(--butter-tint); bottom:10%; left:-30px;}
  .scene .rainbow{position:absolute; left:50%; top:18%; transform:translateX(-50%); width:70%;}
  .sticker{
    position:absolute; background:#fff; border-radius:50%; box-shadow:var(--shadow);
    display:flex; align-items:center; justify-content:center; font-family:'Baloo 2'; font-weight:800;
    border:3px dashed var(--line); animation:bob 5s ease-in-out infinite;
  }
  @keyframes bob{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-10px) rotate(4deg)}}
  .sticker.a{width:64px;height:64px; font-size:26px; color:var(--pink); bottom:16%; left:8%; animation-delay:.1s;}
  .sticker.b{width:56px;height:56px; font-size:24px; color:var(--mint); bottom:42%; right:10%; animation-delay:1s;}
  .sticker.c{width:60px;height:60px; font-size:26px; color:var(--lav); bottom:6%; right:30%; animation-delay:1.8s;}

  /* ---------- trust strip ---------- */
  .trust{padding:22px 0;}
  .trust .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:18px;}
  .stamp{display:flex; align-items:center; gap:12px; background:#fff; padding:10px 18px 10px 10px; border-radius:100px; box-shadow:var(--shadow);}
  .stamp .badge{width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Baloo 2'; font-weight:800; font-size:14px; color:#fff; flex-shrink:0;}
  .stamp strong{display:block; font-family:'Baloo 2'; font-size:15px;}
  .stamp span{font-size:12px; color:#7a6f8a;}

  /* ---------- section heading ---------- */
  section{padding:60px 0;}
  .section-head{max-width:640px; margin:0 auto 40px;}
  .section-head.center{text-align:center; margin-left:auto; margin-right:auto;}
  .section-head h2{font-size:clamp(28px,3.4vw,36px); margin-top:6px;}
  .section-head p{color:#5c5169; margin-top:10px; font-size:16.5px;}

  /* ---------- categories ---------- */
  .cat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
  .cat-card{
    background:#fff; border-radius:var(--radius); padding:26px 22px 22px; box-shadow:var(--shadow);
    position:relative; transition:transform .18s ease, box-shadow .18s ease;
    border:3px solid var(--cat-tint, var(--pink-tint));
  }
  .cat-card:hover{transform:translateY(-5px) rotate(-.6deg); box-shadow:var(--shadow-lift);}
  .cat-card .icon{width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--cat-tint, var(--pink-tint)); font-size:26px; margin-bottom:16px;}
  .cat-card h3{font-size:19px; margin-bottom:6px;}
  .cat-card p{font-size:14.5px; color:#5c5169; margin:0 0 14px;}
  .cat-card .count{font-family:'Caveat'; font-weight:700; font-size:17px; color:var(--cat-color, var(--pink)); display:block; margin-bottom:12px;}
  .cat-card .view{display:inline-flex; align-items:center; gap:6px; font-weight:800; font-size:13.5px; color:#fff; background:var(--cat-color, var(--pink)); padding:8px 16px; border-radius:100px; transition:transform .15s ease;}
  .cat-card .view:hover{transform:translateX(3px);}

  /* ---------- age bands ---------- */
  .age-strip{background:var(--lav-tint);}
  .age-grid{display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap;}
  .age-card{flex:1; min-width:200px; background:#fff; border-radius:var(--radius); padding:28px 22px; text-align:center; box-shadow:var(--shadow); transition:transform .18s ease;}
  .age-card:hover{transform:translateY(-4px);}
  .age-circle{width:80px; height:80px; border-radius:50%; margin:0 auto 16px; display:flex; align-items:center; justify-content:center; font-family:'Baloo 2'; font-weight:800; font-size:20px; color:#fff; border:4px dashed rgba(255,255,255,.6);}
  .age-card h4{font-size:17px; margin-bottom:6px;}
  .age-card p{font-size:13.5px; color:#5c5169; margin:0;}

  /* ---------- meet the maker ---------- */
  .maker{background:#fff;}
  .maker-box{display:flex; align-items:center; gap:44px; background:var(--peach-tint); border-radius:32px; padding:44px; flex-wrap:wrap;}
  .maker-photo{width:150px; height:150px; border-radius:50%; background:linear-gradient(160deg, var(--pink), var(--peach)); flex-shrink:0; box-shadow:var(--shadow-lift); border:5px solid #fff;}
  .maker-copy{flex:1; min-width:260px;}
  .maker-copy .script{font-size:30px; color:var(--pink); display:block; margin-bottom:6px;}
  .maker-copy h3{font-size:26px; margin-bottom:12px;}
  .maker-copy p{color:#5c5169; margin:0 0 16px; max-width:520px;}

  /* ---------- featured pack ---------- */
  .feature-card{display:grid; grid-template-columns:.9fr 1.1fr; background:#fff; border-radius:32px; overflow:hidden; box-shadow:var(--shadow-lift); border:3px dashed var(--mint-tint);}
  .feature-visual{background:var(--mint-tint); padding:40px; display:flex; align-items:center; justify-content:center;}
  .feature-visual .barn{width:200px;}
  .feature-copy{padding:44px;}
  .feature-copy .script{font-size:24px; color:var(--mint); display:block; margin-bottom:4px;}
  .feature-copy h3{font-size:29px; margin:6px 0 14px;}
  .feature-copy p{color:#5c5169; margin-bottom:18px;}
  .feature-list{display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; margin-bottom:26px;}
  .feature-list li{font-size:14.5px; display:flex; gap:8px; align-items:flex-start;}
  .feature-list li::before{content:"✂️"; font-size:13px;}

  /* ---------- seasonal ---------- */
  .seasonal{background:var(--butter-tint);}
  .season-row{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
  .season-card{border-radius:var(--radius); padding:26px 20px; color:#fff; min-height:150px; display:flex; flex-direction:column; justify-content:space-between; box-shadow:var(--shadow); transition:transform .18s ease;}
  .season-card:hover{transform:translateY(-4px) rotate(.6deg);}
  .season-card h4{font-size:19px;}
  .season-card span{font-family:'Caveat'; font-weight:700; font-size:16px; opacity:.95;}
  .season-card.fall{background:linear-gradient(150deg,#FFB07A,#FF8F5C);}
  .season-card.winter{background:linear-gradient(150deg,#8FC5E8,#6FA6D6);}
  .season-card.spring{background:linear-gradient(150deg,#8FDCB0,#5FCBA0);}
  .season-card.summer{background:linear-gradient(150deg,#FFCE6B,#FFAE5C);}

  /* ---------- newsletter ---------- */
  .newsletter{background:var(--pink-tint);}
  .news-box{display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; background:#fff; border-radius:28px; padding:40px 44px; box-shadow:var(--shadow);}
  .news-copy .script{font-size:24px; color:var(--pink); display:block;}
  .news-copy h2{font-size:25px; margin:4px 0 8px;}
  .news-copy p{color:#5c5169; margin:0; max-width:420px;}
  .news-form{display:flex; gap:10px; flex-wrap:wrap;}
  .news-form input{padding:14px 18px; border-radius:100px; border:2px solid var(--line); font-family:inherit; font-size:15px; min-width:230px;}
  .news-form input:focus{border-color:var(--pink); outline:none;}

  /* ---------- footer ---------- */
  footer{background:var(--ink); color:#f0ecf7; padding:56px 0 26px;}
  .footer-grid{display:grid; grid-template-columns:1.3fr repeat(4,1fr); gap:30px; margin-bottom:40px;}
  .footer-grid h5{font-family:'Caveat'; font-weight:700; font-size:19px; color:var(--butter); margin-bottom:14px;}
  .footer-grid li{margin-bottom:9px; font-size:14.5px;}
  .footer-grid li a:hover{color:var(--pink);}
  .footer-logo{font-family:'Baloo 2'; font-weight:800; font-size:22px; margin-bottom:12px;}
  .footer-grid p.tag{color:#c9c1da; font-size:14px; max-width:260px;}
  .footer-bottom{border-top:1px dashed rgba(255,255,255,0.15); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; color:#b3a9c6;}

  /* ---------- responsive ---------- */
  @media (max-width: 980px){
    nav.primary, .header-ctas{display:none;}
    .menu-toggle{display:block;}
    .hero .wrap{grid-template-columns:1fr;}
    .scene{max-width:440px; margin:0 auto;}
    .cat-grid{grid-template-columns:repeat(2,1fr);}
    .season-row{grid-template-columns:repeat(2,1fr);}
    .feature-card{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr 1fr;}
  }
  @media (max-width: 560px){
    .cat-grid{grid-template-columns:1fr;}
    .season-row{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr;}
    .news-box{flex-direction:column; align-items:flex-start;}
    .maker-box{flex-direction:column; text-align:center;}
  }

/* ---------- WordPress content templates (archive / single / page) ---------- */
.site-content{padding:48px 0 72px;}
.page-header{max-width:700px; margin:0 auto 40px;}
.page-header .eyebrow{color:var(--pink);}
.page-header h1{font-size:clamp(30px,4vw,44px); margin-top:8px;}
.page-header p{color:#5c5169; margin-top:10px;}

.post-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.post-card{
  background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  border:3px solid var(--card-tint, var(--pink-tint));
  transition:transform .18s ease, box-shadow .18s ease;
}
.post-card:hover{transform:translateY(-5px) rotate(-.5deg); box-shadow:var(--shadow-lift);}
.post-card .thumb{aspect-ratio:16/10; background:var(--card-tint, var(--pink-tint)); display:flex; align-items:center; justify-content:center; font-size:40px;}
.post-card .thumb img{width:100%; height:100%; object-fit:cover;}
.post-card .body{padding:20px 22px 24px;}
.post-card h3{font-size:19px; margin-bottom:8px;}
.post-card h3 a:hover{color:var(--card-color, var(--pink));}
.post-card p{font-size:14.5px; color:#5c5169; margin:0 0 14px;}
.post-card .read-more{font-weight:800; font-size:13.5px; color:#fff; background:var(--card-color, var(--pink)); padding:8px 16px; border-radius:100px; display:inline-block;}

.entry-single{max-width:760px; margin:0 auto;}
.entry-single .entry-thumb{border-radius:var(--radius); overflow:hidden; margin-bottom:28px; box-shadow:var(--shadow); border:4px dashed var(--pink-tint);}
.entry-single .entry-meta{font-family:'Caveat'; font-weight:700; font-size:16px; color:var(--pink); margin-bottom:10px;}
.entry-single h1{font-size:clamp(30px,4vw,42px); margin-bottom:18px;}
.entry-content{font-size:17.5px; color:#453B52;}
.entry-content p{margin:0 0 20px;}
.entry-content h2{font-size:26px; margin:36px 0 14px;}
.entry-content h3{font-size:21px; margin:28px 0 12px;}
.entry-content img{border-radius:16px; box-shadow:var(--shadow); margin:20px 0;}
.entry-content ul, .entry-content ol{margin:0 0 20px 22px; padding:0;}
.entry-content a{color:var(--pink); text-decoration:underline;}
.entry-content blockquote{border-left:5px solid var(--butter); padding:6px 22px; margin:24px 0; font-style:italic; color:#5c5169;}
.category-pill{
  display:inline-block; font-family:'Caveat'; font-weight:700; font-size:17px;
  background:var(--butter); color:var(--ink); padding:5px 16px; border-radius:100px; margin-bottom:16px;
}
.no-results{text-align:center; padding:60px 20px; color:#5c5169;}

.pagination{display:flex; gap:10px; justify-content:center; margin-top:48px; flex-wrap:wrap;}
.pagination a, .pagination span{
  padding:10px 18px; border-radius:100px; background:#fff; box-shadow:var(--shadow); font-weight:700; font-size:14px;
}
.pagination .current{background:var(--pink); color:#fff;}

@media (max-width: 980px){
  .post-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 640px){
  .post-grid{grid-template-columns:1fr;}
}
