/*
Theme Name: Dogdorable
Theme URI: https://dogdorable.com
Author: Dogdorable
Author URI: https://dogdorable.com
Description: A breed-specific dog newsletter and content theme optimized for Raptive/AdThrive ad network acceptance. Features breed-based newsletter signups, high pageview architecture, and full ad slot support.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dogdorable
Tags: blog, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --color-primary:    #E07A5F;
  --color-primary-lt: #FFF0EB;
  --color-primary-md: #FFF6F4;
  --color-border:     #F0E6D3;
  --color-bg:         #FFFBF5;
  --color-white:      #ffffff;
  --color-text:       #444444;
  --color-text-dark:  #2D2D2D;
  --color-text-muted: #888888;
  --color-text-light: #aaaaaa;
  --font-display:     'Righteous', cursive;
  --font-body:        'Poppins', sans-serif;
  --radius-sm:        10px;
  --radius-md:        14px;
  --radius-lg:        20px;
  --radius-xl:        24px;
  --radius-pill:      50px;
  --shadow-sm:        0 2px 8px rgba(224,122,95,0.08);
  --shadow-md:        0 4px 20px rgba(224,122,95,0.12);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(24px, 4vw, 36px); }
h2 { font-size: clamp(20px, 3vw, 28px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); }
h4 { font-size: 16px; font-family: var(--font-body); font-weight: 700; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background: var(--color-primary);
  z-index: 9999;
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  background: var(--color-white);
  border-bottom: 2px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 24px;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; }

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-navigation ul li a {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.main-navigation ul li a:hover { color: var(--color-primary); }

.main-navigation ul li.menu-cta a {
  background: var(--color-primary);
  color: white;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.main-navigation ul li.menu-cta a:hover {
  background: #c9674e;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--color-text-dark);
  font-size: 24px;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  padding: 28px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 24px;
  font-size: 12px;
  color: var(--color-text-light);
}
.breadcrumb a { color: var(--color-primary); font-weight: 600; }
.breadcrumb span { margin: 0 6px; }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.homepage-hero {
  text-align: center;
  padding: 60px 24px 36px;
}

.homepage-hero .eyebrow {
  display: inline-block;
  background: var(--color-primary-lt);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.homepage-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--color-text-dark);
  margin-bottom: 12px;
  line-height: 1.1;
}

.homepage-hero h1 em {
  color: var(--color-primary);
  font-style: normal;
}

.homepage-hero p {
  color: var(--color-text-muted);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ============================================================
   HOMEPAGE — BREED CARDS
   ============================================================ */
.breed-picker-label {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-text-dark);
  text-align: center;
  margin-bottom: 20px;
}

.breed-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.breed-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  width: 160px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.breed-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.breed-card.active {
  border-color: var(--color-primary);
  background: var(--color-primary-md);
}

.breed-card .check-badge {
  display: none;
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--color-primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.breed-card.active .check-badge { display: flex; }

.breed-card .breed-emoji {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.breed-card .breed-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.breed-card .breed-icon-wrap img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.breed-card .breed-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  line-height: 1.2;
}

.breed-card .breed-count {
  font-size: 11px;
  color: var(--color-text-light);
}

.breed-card-more {
  border-style: dashed;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 130px;
}

.breed-card-more:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--color-border);
}

.breed-card-more .more-plus { font-size: 28px; color: #DDD; }
.breed-card-more .more-text { font-size: 12px; color: #BBB; font-weight: 500; line-height: 1.4; }

/* ============================================================
   HOMEPAGE — SIGNUP BOX
   ============================================================ */
.signup-section { padding: 0 24px; }

.signup-box {
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  max-width: 560px;
  margin: 0 auto 40px;
  transition: background 0.4s ease;
}

.signup-box h3 {
  font-family: var(--font-display);
  color: white;
  font-size: 24px;
  margin-bottom: 6px;
}

.signup-box .signup-sub {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 1.5;
}

.signup-box .flodesk-embed { width: 100%; }

.signup-box input[type="text"],
.signup-box input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 15px;
  font-family: var(--font-body);
  margin-bottom: 10px;
  background: rgba(255,255,255,0.22);
  color: white;
  outline: none;
}

.signup-box input::placeholder { color: rgba(255,255,255,0.6); }

.signup-box .signup-btn {
  width: 100%;
  background: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-display);
  font-size: 18px;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0.3px;
}
.signup-box .signup-btn:hover { opacity: 0.9; }

/* ============================================================
   HOMEPAGE — ARTICLES PREVIEW
   ============================================================ */
.breed-articles-section {
  padding: 0 24px 60px;
  max-width: 860px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 22px;
  color: var(--color-text-dark);
}

.see-all-link {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
}

.articles-list { display: flex; flex-direction: column; gap: 12px; }

.article-row {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
  text-decoration: none;
}

.article-row:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.article-row-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.article-row-info { flex: 1; min-width: 0; }

.article-row-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.article-row-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tag-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-lt);
  color: var(--color-primary);
  text-transform: capitalize;
}

.article-row-meta span {
  font-size: 12px;
  color: var(--color-text-light);
}

.article-row-arrow {
  color: #DDD;
  font-size: 20px;
  flex-shrink: 0;
}

/* ============================================================
   SINGLE POST — HERO BANNER
   ============================================================ */
.post-hero {
  padding: 32px 36px 24px;
}

.post-hero .post-tag {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.post-hero h1 {
  color: white;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.25;
  margin-bottom: 12px;
}

.post-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  align-items: center;
  flex-wrap: wrap;
}

.post-meta .breed-badge {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

/* ============================================================
   SINGLE POST — CONTENT
   ============================================================ */
.post-article {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  overflow: hidden;
}

.post-content {
  padding: 28px 36px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
}

.post-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
  line-height: 1.3;
}

.post-content h3 {
  font-size: 17px;
  color: var(--color-text-dark);
  margin: 22px 0 10px;
}

.post-content p { margin-bottom: 1.1rem; }

.post-content ul, .post-content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.1rem;
}

.post-content li { margin-bottom: 0.5rem; }

.post-content blockquote {
  border-left: 3px solid var(--color-primary);
  background: var(--color-primary-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  color: #555;
}

.post-content blockquote strong { color: var(--color-primary); }

.post-content a { color: var(--color-primary); font-weight: 500; }

.post-content img {
  border-radius: var(--radius-md);
  margin: 20px 0;
  width: 100%;
}

/* ============================================================
   RELATED CONTENT BLOCKS (in-article)
   ============================================================ */
.related-block {
  margin: 28px 36px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.related-block-header {
  background: var(--color-primary-md);
  padding: 10px 18px;
  border-bottom: 1.5px solid var(--color-border);
}

.related-block-header span {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-primary);
}

.related-block-items { display: flex; flex-direction: column; }

.related-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--color-primary-lt);
  text-decoration: none;
  transition: background 0.15s;
}

.related-item:last-child { border-bottom: none; }
.related-item:hover { background: #FFF9F7; text-decoration: none; }

.related-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--color-primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.related-item-info { flex: 1; min-width: 0; }

.related-item-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}

.related-item-info span {
  font-size: 11px;
  color: var(--color-text-light);
}

.related-item-tag {
  font-size: 10px;
  font-weight: 700;
  background: var(--color-primary-lt);
  color: var(--color-primary);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.related-item-arrow {
  color: #DDD;
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================================
   YOU MIGHT ALSO LIKE (bottom of post)
   ============================================================ */
.you-might-like {
  padding: 0 36px 24px;
}

.you-might-like h3 {
  font-size: 18px;
  color: var(--color-text-dark);
  margin-bottom: 14px;
}

.might-like-grid { display: flex; flex-direction: column; gap: 10px; }

.might-like-card {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  background: var(--color-white);
  transition: all 0.2s;
}

.might-like-card:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.might-like-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.might-like-info { flex: 1; min-width: 0; }

.might-like-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}

.might-like-info span { font-size: 12px; color: var(--color-text-light); }
.might-like-arrow { color: #DDD; font-size: 18px; margin-left: auto; flex-shrink: 0; }

/* ============================================================
   POST BOTTOM NEWSLETTER
   ============================================================ */
.post-newsletter {
  padding: 32px 36px;
  text-align: center;
}

.post-newsletter h3 {
  font-family: var(--font-display);
  color: white;
  font-size: 22px;
  margin-bottom: 6px;
}

.post-newsletter p {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.post-newsletter input[type="text"],
.post-newsletter input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-family: var(--font-body);
  margin-bottom: 10px;
  background: rgba(255,255,255,0.22);
  color: white;
  outline: none;
}

.post-newsletter input::placeholder { color: rgba(255,255,255,0.6); }

.post-newsletter .newsletter-btn {
  width: 100%;
  background: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px;
  font-family: var(--font-display);
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.post-newsletter .newsletter-btn:hover { opacity: 0.9; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 18px;
  padding: 20px;
}

.sidebar-widget h3 {
  font-size: 16px;
  color: var(--color-text-dark);
  margin-bottom: 14px;
}

.sidebar-newsletter {
  border-radius: 18px;
  padding: 20px;
  text-align: center;
}

.sidebar-newsletter h3 {
  font-family: var(--font-display);
  color: white;
  font-size: 16px;
  margin-bottom: 5px;
}

.sidebar-newsletter p {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.sidebar-newsletter input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 9px;
  border: none;
  font-size: 13px;
  font-family: var(--font-body);
  margin-bottom: 8px;
  background: rgba(255,255,255,0.22);
  color: white;
  outline: none;
}

.sidebar-newsletter input::placeholder { color: rgba(255,255,255,0.6); }

.sidebar-newsletter .sb-btn {
  width: 100%;
  background: white;
  border: none;
  border-radius: 9px;
  padding: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.sidebar-newsletter .sb-btn:hover { opacity: 0.9; }

/* Sidebar articles list */
.sb-articles { display: flex; flex-direction: column; gap: 2px; }

.sb-article-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}

.sb-article-row:hover { background: var(--color-primary-md); text-decoration: none; }

.sb-article-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--color-primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sb-article-title { font-size: 13px; font-weight: 600; color: var(--color-text-dark); line-height: 1.3; }
.sb-article-meta { font-size: 11px; color: var(--color-text-light); margin-top: 2px; }

/* Sidebar breed list */
.sb-breeds { display: flex; flex-direction: column; gap: 8px; }

.sb-breed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  text-decoration: none;
  transition: all 0.15s;
}

.sb-breed-row:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-md);
  text-decoration: none;
}

.sb-breed-emoji { font-size: 20px; }
.sb-breed-name { font-size: 13px; font-weight: 600; color: var(--color-text-dark); flex: 1; }
.sb-breed-count { font-size: 11px; color: var(--color-text-light); }
.sb-breed-arrow { color: #DDD; font-size: 14px; }

/* ============================================================
   CATEGORY / ARCHIVE PAGE
   ============================================================ */
.archive-header {
  padding: 40px 24px 28px;
  text-align: center;
}

.archive-breed-hero {
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.archive-breed-hero .archive-breed-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  padding: 12px;
}

.archive-breed-hero .archive-breed-icon img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.archive-breed-hero h1 {
  color: white;
  font-size: 32px;
  margin-bottom: 8px;
}

.archive-breed-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 20px;
}

.archive-breed-hero .archive-signup-inline {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

.archive-signup-inline input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.25);
  color: white;
  outline: none;
}

.archive-signup-inline input::placeholder { color: rgba(255,255,255,0.65); }

.archive-signup-inline button {
  background: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.archive-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 24px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.archive-post-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.archive-post-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.archive-card-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.archive-card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.archive-card-body h3 { font-size: 15px; color: var(--color-text-dark); margin-bottom: 8px; line-height: 1.35; flex: 1; }

.archive-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.archive-card-meta span { font-size: 12px; color: var(--color-text-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #2D2D2D;
  color: rgba(255,255,255,0.75);
  padding: 48px 24px 24px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 22px;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--color-primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); margin: 0; }

.footer-bottom a { color: rgba(255,255,255,0.5); font-size: 12px; text-decoration: none; }
.footer-bottom a:hover { color: var(--color-primary); }

/* ============================================================
   PAGES (About, Privacy, etc.)
   ============================================================ */
.page-hero {
  background: var(--color-primary);
  padding: 48px 24px;
  text-align: center;
}

.page-hero h1 { color: white; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 500px; margin: 0 auto; }

.page-content-wrap {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 24px 60px;
}

.page-content-wrap .prose {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  padding: 40px;
}

.page-content-wrap .prose h2 { font-size: 20px; margin: 28px 0 12px; color: var(--color-text-dark); }
.page-content-wrap .prose h3 { font-size: 17px; margin: 20px 0 8px; color: var(--color-text-dark); }
.page-content-wrap .prose p { font-size: 15px; line-height: 1.8; color: var(--color-text); }
.page-content-wrap .prose ul { font-size: 15px; color: var(--color-text); }
.page-content-wrap .prose a { color: var(--color-primary); }

/* ============================================================
   COMMENTS (required for Raptive)
   ============================================================ */
.comments-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  padding: 32px 36px;
  margin-top: 24px;
}

.comments-section h2 { font-size: 20px; margin-bottom: 24px; color: var(--color-text-dark); }

.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }

.comment { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.comment:last-child { border-bottom: none; }

.comment-author-name { font-weight: 700; font-size: 14px; color: var(--color-text-dark); }
.comment-date { font-size: 12px; color: var(--color-text-light); margin-left: 8px; }
.comment-text { font-size: 14px; margin-top: 6px; color: var(--color-text); }

.comment-form h3 { font-size: 18px; margin-bottom: 16px; color: var(--color-text-dark); }

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  margin-bottom: 12px;
  color: var(--color-text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--color-primary); }

.comment-form textarea { min-height: 120px; resize: vertical; }

.comment-form button {
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.comment-form button:hover { background: #c9674e; }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-results-wrap { padding: 32px 24px; max-width: 800px; margin: 0 auto; }
.search-results-wrap h1 { font-size: 24px; margin-bottom: 24px; color: var(--color-text-dark); }
.no-results { text-align: center; padding: 60px 24px; color: var(--color-text-muted); }
.no-results h2 { font-size: 22px; margin-bottom: 12px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 32px 24px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-dark);
  transition: all 0.15s;
  background: var(--color-white);
}

.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .breed-card { width: 140px; }
  .signup-box { padding: 24px; }
  .post-content { padding: 20px 20px; }
  .related-block { margin: 20px; }
  .you-might-like { padding: 0 20px 20px; }
  .post-newsletter { padding: 24px 20px; }
  .nav-toggle { display: block; }
  .main-navigation { display: none; }
  .main-navigation.open { display: block; position: absolute; top: 60px; left: 0; right: 0; background: white; border-bottom: 2px solid var(--color-border); padding: 16px 24px; }
  .main-navigation.open ul { flex-direction: column; gap: 12px; }
  .post-hero { padding: 24px 20px 18px; }
  .archive-signup-inline { flex-direction: column; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .breed-cards { gap: 10px; }
  .breed-card { width: 130px; padding: 16px 12px; }
  .homepage-hero { padding: 40px 16px 24px; }
}
