/*
Theme Name: Paws
Theme URI: https://example.com/paws
Author: Your Name
Author URI: https://example.com
Description: A cheerful, friendly pet theme with a signature 'Pick of the Week' spotlight, bouncy category tiles and playful segmented sections. A chunky rounded display face (Baloo 2) with a clean Inter body, per-category colour accents, light and dark modes, self-hosted fonts and one-click demo content with original artwork.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
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: paws
Tags: blog, news, magazine, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, full-width-template
*/

:root {
  --bg: #fff8ef;
  --surface: #ffffff;
  --surface-2: #fdeedd;
  --text: #2e2a26;
  --text-2: #5b534a;
  --muted: #978c7e;
  --line: #f0e4d4;
  --accent: #ff8a3d;
  --accent-ink: #ffffff;
  --accent-hover: #2e2a26;
  --accent-hover-ink: #ffffff;

  --font-display: "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w-display: 700;
  --lh-display: 1.12;
  --track-display: 0;

  --radius: 18px;
  --radius-ui: 12px;
  --footer-bg: #2e2a26;
  --footer-text: #fdeedd;
  --footer-muted: #b0a492;
  --footer-line: rgba(255,255,255,.12);
  --overlay: linear-gradient(180deg, rgba(30,22,14,0) 32%, rgba(30,22,14,.88) 100%);
}
:root[data-theme="dark"] {
  --bg: #1c1915;
  --surface: #24201a;
  --surface-2: #2d2820;
  --text: #f6efe5;
  --text-2: #d2c7b8;
  --muted: #9c9080;
  --line: #36302a;
  --accent: #ff9d57;
  --accent-ink: #1c1915;
  --accent-hover: #f6efe5;
  --accent-hover-ink: #1c1915;
  --footer-bg: #120f0c;
}

body { font-size: 17px; }
.meta, .cat, .primary-menu a, .mobile-menu a, .section-link, .widget-title, .btn, .header-cta { font-family: var(--font-ui); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.01em; }
h1, h2, h3, h4, .card__title, .mini__title, .entry-title, .section-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.005em; }
.entry-content { font-family: var(--font-body); }

.site-header { border-bottom: 1px solid var(--line); }
.primary-menu > li > a { font-weight: 600; font-size: .92rem; }
.header-cta { background: var(--accent); color: #fff; border-radius: 100px; font-weight: 700; }
.cat { color: hsl(var(--cat-hue,25) 70% 44%); font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .72rem; }
[data-theme="dark"] .cat { color: hsl(var(--cat-hue,25) 80% 70%); }
.card-overlay .cat { color: #fff; }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* ---------- Spotlight ---------- */
.pw-spot { display: grid; gap: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.07); }
@media (min-width: 800px) { .pw-spot { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.pw-spot__media { position: relative; }
.pw-spot__media .media { border-radius: 0; aspect-ratio: 16/10; }
.pw-spot__ribbon { position: absolute; top: 16px; left: 16px; z-index: 3; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; padding: .3rem 1rem; border-radius: 100px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.pw-spot__body { padding: clamp(22px, 3vw, 40px); }
.pw-spot__title { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; margin: .4rem 0 .6rem; }
.pw-spot__excerpt { color: var(--text-2); margin-bottom: 1.1rem; }

/* ---------- Tiles ---------- */
.pw-tiles { padding-block: clamp(18px, 3vw, 36px); }
.pw-tiles__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
@media (min-width: 900px) { .pw-tiles__row { grid-template-columns: repeat(6, 1fr); } }
.pw-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: 1.15rem .8rem; border-radius: var(--radius); background: hsl(var(--cat-hue,25) 88% 92%); color: hsl(var(--cat-hue,25) 55% 36%); text-align: center; transition: transform .15s ease; }
[data-theme="dark"] .pw-tile { background: hsl(var(--cat-hue,25) 28% 20%); color: hsl(var(--cat-hue,25) 72% 74%); }
.pw-tile:hover { transform: translateY(-3px) rotate(-1.5deg); }
.pw-tile__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.pw-tile__count { font-family: var(--font-ui); font-size: .72rem; opacity: .75; }

/* ---------- Sections ---------- */
.pw-section .card .media, .pw-latest .card .media { border-radius: var(--radius); }
.pw-band { background: var(--surface-2); padding-block: clamp(32px, 4vw, 52px); }

/* ---------- Signup ---------- */
.pw-signup .signup--band { background: var(--accent); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.pw-signup .signup--band .signup__title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.pw-signup .signup--band .signup__desc { color: rgba(255,255,255,.92); }
.pw-signup .signup--band .signup__form { min-width: 320px; }
.pw-signup .signup--band .signup__button { background: #2e2a26; color: #fff; }
.pw-signup .signup--band .signup__note { color: rgba(255,255,255,.84); }
@media (max-width: 760px) { .pw-signup .signup--band { grid-template-columns: 1fr; } .pw-signup .signup--band .signup__form { min-width: 0; } }

.entry-content { font-size: 1.08rem; line-height: 1.72; }
.entry-content blockquote { border-left: 3px solid var(--accent); font-family: var(--font-display); font-weight: 600; font-style: normal; font-size: 1.25rem; }
