/*
Theme Name: PetDigest
Theme URI: https://petdigesthub.com/
Author: PetDigest
Description: Clean, responsive pet-care magazine theme for PetDigest.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: petdigest
*/

:root{
  --rust:#964E18;
  --ink:#0D1019;
  --paper:#F6F6F7;
  --white:#fff;
  --muted:#6B6E76;
  --line:#E7E5E2;
  --cream:#F3E9DC;
  --radius:20px;
  --shadow:0 10px 30px rgba(13,16,25,.07);
  --container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"DM Sans",Arial,sans-serif;line-height:1.7}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input{font:inherit}
.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
.site-header{background:rgba(246,246,247,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1000;backdrop-filter:blur(12px)}
.header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:flex;align-items:center;gap:12px;font-family:"Fraunces",Georgia,serif;font-size:28px;font-weight:700}
.brand-mark{width:44px;height:44px;border:2px solid var(--rust);border-radius:50%;display:grid;place-items:center;color:var(--rust);font-size:20px}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-tagline{font-family:"DM Sans",Arial,sans-serif;font-size:9px;letter-spacing:.16em;font-weight:700;margin-top:5px;color:var(--rust)}
.main-nav ul{list-style:none;display:flex;gap:24px;margin:0;padding:0;align-items:center}
.main-nav a{font-size:14px;font-weight:600}
.main-nav a:hover{color:var(--rust)}
.nav-toggle{display:none;border:0;background:none;font-size:28px}
.hero{padding:72px 0 48px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:center}
.eyebrow{color:var(--rust);font-weight:800;text-transform:uppercase;letter-spacing:.13em;font-size:12px}
.hero h1{font-family:"Fraunces",Georgia,serif;font-size:clamp(42px,5vw,68px);line-height:1.05;margin:12px 0 20px}
.hero p{font-size:18px;color:var(--muted);max-width:600px}
.hero-image{border-radius:28px;overflow:hidden;box-shadow:var(--shadow);background:var(--cream);aspect-ratio:4/3}
.hero-image img{width:100%;height:100%;object-fit:cover}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 21px;border-radius:999px;font-weight:800;border:1px solid var(--ink);margin-top:14px}
.btn-primary{background:var(--ink);color:var(--white);border-color:var(--ink)}
.section{padding:42px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.section-title{font-family:"Fraunces",Georgia,serif;font-size:34px;margin:0}
.section-link{color:var(--rust);font-weight:800;font-size:14px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 5px 18px rgba(13,16,25,.035)}
.card-image{aspect-ratio:16/10;background:var(--cream);overflow:hidden}
.card-image img{width:100%;height:100%;object-fit:cover}
.card-body{padding:20px}
.card-label{font-size:11px;color:var(--rust);font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.card h3{font-family:"Fraunces",Georgia,serif;font-size:23px;line-height:1.2;margin:8px 0}
.card p{color:var(--muted);font-size:14px;margin:0}
.meta{font-size:12px;color:var(--muted);margin-top:12px}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.category-card{min-height:190px;background:var(--white);border:1px solid var(--line);border-radius:22px;padding:26px;display:flex;flex-direction:column;justify-content:end;box-shadow:0 5px 18px rgba(13,16,25,.035)}
.category-card .icon{width:48px;height:48px;border-radius:14px;background:var(--cream);display:grid;place-items:center;color:var(--rust);font-size:22px;margin-bottom:auto}
.category-card h3{font-family:"Fraunces",Georgia,serif;font-size:25px;margin:25px 0 4px}
.category-card p{margin:0;color:var(--muted);font-size:14px}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:42px}
.post{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:34px}
.post-header h1{font-family:"Fraunces",Georgia,serif;font-size:clamp(36px,5vw,58px);line-height:1.08;margin:10px 0 18px}
.post-excerpt{font-size:18px;color:var(--muted)}
.post-content{font-size:17px}
.post-content h2,.post-content h3{font-family:"Fraunces",Georgia,serif;line-height:1.2;margin-top:38px}
.post-content img{border-radius:18px;margin:24px 0}
.sidebar{display:flex;flex-direction:column;gap:20px}
.widget{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:24px}
.widget h2,.widget h3{font-family:"Fraunces",Georgia,serif;margin:0 0 12px}
.widget ul{list-style:none;padding:0;margin:0}
.widget li{padding:8px 0;border-bottom:1px solid var(--line)}
.newsletter{background:var(--ink);color:var(--white)}
.newsletter p{color:#D8D9DE}
.newsletter input{width:100%;padding:12px 14px;border-radius:10px;border:1px solid #3B3E49;background:#fff;margin:5px 0 10px}
.newsletter button{width:100%;padding:12px;border-radius:10px;border:0;background:var(--rust);color:#fff;font-weight:800}
.pagination{display:flex;gap:8px;margin-top:30px}
.pagination a,.pagination span{padding:9px 13px;border:1px solid var(--line);border-radius:10px;background:#fff}
.site-footer{margin-top:70px;background:var(--ink);color:#fff;padding:55px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px}
.footer-brand{font-family:"Fraunces",Georgia,serif;font-size:30px}
.footer-copy{color:#B9BBC2;max-width:440px}
.footer-links{display:grid;gap:8px;color:#D5D6DB}
.footer-bottom{border-top:1px solid #2A2D35;margin-top:40px;padding-top:20px;color:#9FA2AA;font-size:13px}
.archive-title{font-family:"Fraunces",Georgia,serif;font-size:48px;margin:0 0 10px}
.empty{padding:60px 0;text-align:center;color:var(--muted)}
@media(max-width:900px){
  .hero-grid,.content-layout{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .main-nav{display:none}
  .nav-toggle{display:block}
}
@media(max-width:620px){
  .container{width:min(var(--container),calc(100% - 24px))}
  .header-inner{min-height:76px}
  .cards,.category-grid{grid-template-columns:1fr}
  .hero{padding:45px 0 25px}
  .post{padding:22px}
  .footer-grid{grid-template-columns:1fr}
}
