/*
Theme Name: For the Pug Whimsical Grumble
Theme URI: https://forthepug.com/
Author: For the Pug
Description: Whimsical editorial theme for ForthePug.com.
Version: 2.0.1
Text Domain: forthepug-whimsical
*/
:root{
  --ink:#17322e; --ink2:#102622; --cream:#fffaf2; --paper:#f7f0e5;
  --rust:#b6582f; --orange:#d97735; --mint:#dcebd7; --teal:#72b6ad;
  --gold:#d6aa57; --line:rgba(23,50,46,.16); --muted:#665e55;
  --max:1240px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:#17211f;font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{text-decoration:none;color:inherit} img{display:block;max-width:100%}
.wrap{width:min(var(--max),calc(100% - 30px));margin:auto}
.topbar{background:var(--ink2);color:#fff;text-align:center;padding:9px 16px;font-size:12px;font-weight:800;letter-spacing:.08em}
.site-head{background:rgba(255,250,242,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;backdrop-filter:blur(12px)}
.headrow{min-height:92px;display:grid;grid-template-columns:270px 1fr auto;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:10px;font-weight:950;font-size:25px;letter-spacing:-.04em}.brand img{width:70px;height:70px;object-fit:contain}
.nav{display:flex;justify-content:center;gap:23px;font-size:14px;font-weight:800}.nav a:hover{color:var(--rust)}
.joinbtn{background:var(--rust);color:#fff;border-radius:14px;padding:14px 20px;font-weight:900;box-shadow:0 5px 0 #7a321a}
.hero{position:relative;overflow:hidden;background:#f6e7cf}
.hero-grid{display:grid;grid-template-columns:.92fr 1.08fr;min-height:590px}
.hero-copy{padding:72px 40px 56px 15px;position:relative}
.scribble{font-family:"Comic Sans MS","Segoe Print",cursive;font-size:19px;font-weight:700;transform:rotate(-2deg);display:inline-block;color:var(--ink)}
.hero h1{font-family:Georgia,serif;font-size:clamp(62px,7vw,112px);line-height:.86;letter-spacing:-.06em;margin:22px 0;color:var(--ink2)}
.hero h1 span{color:var(--rust)}
.hero p{font-size:19px;max-width:540px;color:#51483f}
.actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-top:30px}
.primary{background:var(--rust);color:#fff;padding:16px 20px;border-radius:14px;font-weight:900;box-shadow:0 5px 0 #7a321a}
.secondary{font-weight:900;border-bottom:2px solid var(--ink)}
.hero-photo{position:relative;min-height:590px}.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,231,207,.2),transparent 35%)}
.rule-card{position:absolute;right:24px;top:38px;background:#d8a55f;border:3px solid #7b522a;padding:18px 20px;width:210px;transform:rotate(2deg);box-shadow:6px 7px 0 rgba(23,50,46,.28);font-family:"Comic Sans MS","Segoe Print",cursive;font-size:20px;z-index:2}
.rule-card strong{display:block;font-size:26px;margin-bottom:8px}
.note{position:absolute;right:25px;bottom:26px;background:#fff5d8;border:2px solid var(--ink);padding:10px 14px;font-family:"Comic Sans MS","Segoe Print",cursive;font-weight:800;transform:rotate(-3deg);z-index:2}
.paws{letter-spacing:7px;color:var(--rust);font-size:23px;margin-top:20px}
.category-strip{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.categories{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;padding:24px 0}
.category{text-align:center;font-weight:800;font-size:12px}.icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;font-size:29px;background:#e6efe2;border:1px solid var(--line)}
.category:nth-child(2) .icon{background:#f7ded4}.category:nth-child(3) .icon{background:#f5ead0}.category:nth-child(4) .icon{background:#efe5d9}.category:nth-child(5) .icon{background:#dceeed}.category:nth-child(6) .icon{background:#dcebd7}.category:nth-child(7) .icon{background:#e3edf1}.category:nth-child(8) .icon{background:#eae0d1}
.main{padding:52px 0}
.content-grid{display:grid;grid-template-columns:repeat(3,1fr) 290px;gap:18px;align-items:stretch}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 5px 18px rgba(20,35,30,.05)}
.card img{width:100%;height:210px;object-fit:cover}.card-body{padding:18px}.tag{display:inline-block;background:var(--teal);color:#fff;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900;margin-top:-31px;position:relative;border:2px solid #fff}
.tag.orange{background:var(--orange)}.tag.green{background:#4f9d75}
.card h3{font-family:Georgia,serif;font-size:27px;line-height:1.03;margin:13px 0 9px}.card p{font-size:14px;color:var(--muted)}.read{display:inline-block;margin-top:8px;border:2px solid var(--rust);padding:10px 14px;border-radius:10px;color:var(--rust);font-weight:900}
.signup{background:var(--mint);border-radius:18px;padding:28px 22px;position:relative;overflow:hidden}.signup h3{font-family:"Comic Sans MS","Segoe Print",cursive;font-size:34px;line-height:1;margin:0 0 14px}.signup p{font-size:14px}.signup input{width:100%;padding:14px;border:0;border-radius:10px;margin:12px 0}.signup button{width:100%;border:0;border-radius:10px;background:var(--rust);color:#fff;padding:14px;font-weight:900}.signup small{display:block;margin-top:10px}.signup:after{content:"🐾";position:absolute;font-size:88px;right:-16px;bottom:-24px;opacity:.12;transform:rotate(-20deg)}
.picks{margin-top:34px;background:#fff8ea;border:1px solid var(--line);border-radius:18px;padding:24px}
.picks-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.picks-head h2{font-family:"Comic Sans MS","Segoe Print",cursive;font-size:42px;margin:0}.picks-head p{margin:0;color:var(--muted)}
.product-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.product{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px;text-align:center;font-weight:800}.product .prodicon{font-size:42px;margin-bottom:8px}
.story{padding:70px 0;background:#f3e5cc}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}.collage{display:grid;grid-template-columns:1fr 1fr;gap:10px}.collage img{width:100%;height:240px;object-fit:cover;border-radius:18px}.story h2{font-family:Georgia,serif;font-size:60px;line-height:.95;margin:0 0 18px}.story h2 span{font-family:"Comic Sans MS","Segoe Print",cursive;color:var(--rust);font-size:.75em}.story p{font-size:18px;color:#4d463e}
.logo-panel{text-align:center;padding:62px 0}.logo-panel img{width:min(520px,90vw);margin:auto}
.footer{background:var(--ink);color:#fff;padding:46px 0 28px}.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}.footer h3{font-family:"Comic Sans MS","Segoe Print",cursive;font-size:36px;margin:0 0 8px}.links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.legal{margin-top:28px;border-top:1px solid rgba(255,255,255,.2);padding-top:18px;font-size:12px;color:#cdd6d2;display:flex;justify-content:space-between;gap:16px}
.article-shell{width:min(860px,calc(100% - 30px));margin:60px auto}.article-shell h1{font-family:Georgia,serif;font-size:clamp(48px,7vw,82px);line-height:.94}.article-shell h2{font-family:Georgia,serif;font-size:38px;margin-top:44px}.article-shell p,.article-shell li{font-size:18px}.article-shell blockquote,.ftp-note{background:#fff3cf;border-left:5px solid var(--rust);padding:18px 22px;margin:28px 0}.ftp-shop{background:#e6f0e2;border:1px solid var(--line);padding:18px 20px;border-radius:12px;margin:28px 0}
.ad-slot{max-width:970px;margin:35px auto;padding:12px;border:1px dashed #aaa;text-align:center;color:#877f76;font-size:11px;letter-spacing:.1em}
@media(max-width:1000px){.headrow{grid-template-columns:1fr auto}.nav{display:none}.hero-grid,.story-grid{grid-template-columns:1fr}.hero-copy{padding:50px 20px}.hero-photo{min-height:500px}.categories{grid-template-columns:repeat(4,1fr)}.content-grid{grid-template-columns:1fr 1fr}.signup{grid-column:1/3}.product-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.brand span{display:none}.brand img{width:60px}.headrow{min-height:76px}.joinbtn{padding:11px 13px}.hero h1{font-size:59px}.hero-photo{min-height:420px}.rule-card{width:180px;font-size:16px;top:22px;right:12px}.rule-card strong{font-size:22px}.categories{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.signup{grid-column:auto}.card img{height:240px}.product-grid{grid-template-columns:1fr 1fr}.story h2{font-size:46px}.footer-grid{grid-template-columns:1fr}.legal{flex-direction:column}}
