/*
Theme Name: Rupty Pet Snacks Blog
Theme URI: https://rupty.com.br
Author: Rupty Pet Snacks
Author URI: https://rupty.com.br
Description: Tema WordPress personalizado para o blog da Rupty Pet Snacks - Petiscos Naturais para Cães e Gatos. Otimizado para SEO e GEO (Generative Engine Optimization). 100% Natural, 0% Sem Graça.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rupty-blog
Tags: blog, pet, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ========================================
   CSS VARIABLES / DESIGN TOKENS - RUPTY
   ======================================== */
:root {
  /* Brand Colors - Rupty */
  --color-primary: #FE4E51;
  --color-primary-dark: #E03A3D;
  --color-primary-light: #FF7A7C;
  --color-secondary: #000000;
  --color-secondary-light: #000000;
  --color-accent: #FE4E51;

  /* Neutrals */
  --color-bg: #FAFAFA;
  --color-bg-warm: #F5F0EB;
  --color-bg-card: #FFFFFF;
  --color-bg-dark: #000000;
  --color-text: #000000;
  --color-text-light: #555555;
  --color-text-muted: #888888;
  --color-border: #E0E0E0;
  --color-border-light: #EEEEEE;

  /* Typography - Inter (Tondu is custom/not on Google Fonts, using Inter Bold for headings) */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 780px;
  --sidebar-width: 320px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text);
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: var(--space-md); }

/* ========================================
   CHECKERBOARD PATTERN (Brand Element)
   ======================================== */
.checkerboard {
  background-image:
    linear-gradient(45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-primary) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-primary) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  height: 8px;
}

.checkerboard-dark {
  background-image:
    linear-gradient(45deg, #000000 25%, transparent 25%),
    linear-gradient(-45deg, #000000 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #000000 75%),
    linear-gradient(-45deg, transparent 75%, #000000 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  height: 8px;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.content-area {
  max-width: var(--content-width);
  margin: 0 auto;
}

.site-main {
  padding: var(--space-3xl) 0;
  min-height: 60vh;
}

/* ========================================
   TOP BAR - Checkerboard strip
   ======================================== */
.top-bar-checker {
  background-image:
    linear-gradient(45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-primary) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-primary) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  height: 6px;
}

.top-bar {
  background: var(--color-bg-dark);
  color: #fff;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.top-bar a {
  color: var(--color-primary);
  font-weight: 800;
}

.top-bar a:hover {
  color: var(--color-primary-light);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  background: var(--color-bg-card);
  border-bottom: 3px solid var(--color-bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-branding img {
  height: 52px;
  width: auto;
}

.site-branding .site-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-branding .site-title a {
  color: inherit;
}

.site-branding .site-title a:hover {
  color: var(--color-primary);
}

/* Navigation */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.main-navigation a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.main-navigation a:hover {
  color: var(--color-primary);
}

.main-navigation a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: var(--space-sm) var(--space-xl) !important;
  border-radius: 50px;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   BLOG HERO
   ======================================== */
.blog-hero {
  background: var(--color-bg-dark);
  color: #fff;
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-image:
    linear-gradient(45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-primary) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-primary) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}

.blog-hero h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.blog-hero h1 span {
  color: var(--color-primary);
}

.blog-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin: 0 auto;
  font-weight: 500;
}

/* ========================================
   POSTS GRID
   ======================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0;
}

/* Post Card */
.post-card {
  background: var(--color-bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--color-border-light);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.post-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-warm);
  position: relative;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.post-card:hover .post-card__image img {
  transform: scale(1.05);
}

.post-card__content {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--color-primary);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
  align-self: flex-start;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  text-transform: none;
  letter-spacing: -0.01em;
}

.post-card__title a {
  color: var(--color-text);
}

.post-card__title a:hover {
  color: var(--color-primary);
}

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-border-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.post-card__read-time::before {
  content: '⏱ ';
}

/* Featured post (first post larger) */
.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 3px solid var(--color-bg-dark);
}

.post-card--featured:hover {
  border-color: var(--color-primary);
}

.post-card--featured .post-card__image {
  aspect-ratio: auto;
  min-height: 320px;
}

.post-card--featured .post-card__content {
  padding: var(--space-2xl);
  justify-content: center;
}

.post-card--featured .post-card__title {
  font-size: 1.75rem;
}

/* ========================================
   SINGLE POST
   ======================================== */
.single-post-header {
  background: var(--color-bg-dark);
  color: #fff;
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  position: relative;
}

.single-post-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-image:
    linear-gradient(45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-primary) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-primary) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}

.single-post-header .post-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--color-primary);
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: var(--space-lg);
}

.single-post-header h1 {
  font-size: 2.5rem;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  line-height: 1.15;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.02em;
}

.single-post-header .post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
}

.single-post-header .post-meta .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.single-post-header .post-meta .author-info {
  text-align: left;
}

.single-post-header .post-meta .author-name {
  font-weight: 800;
  color: #fff;
}

/* Featured Image */
.single-post-thumbnail {
  max-width: 900px;
  margin: -2rem auto var(--space-3xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-bg-dark);
}

.single-post-thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Article Content */
.entry-content {
  max-width: var(--content-width);
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.entry-content h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-primary);
  text-transform: none;
  font-size: 1.6rem;
}

.entry-content h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  text-transform: none;
  font-size: 1.3rem;
}

.entry-content p {
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.entry-content ul, .entry-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.entry-content li {
  margin-bottom: var(--space-sm);
}

.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-2xl) 0;
  background: var(--color-bg-warm);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  font-style: italic;
  color: var(--color-text-light);
  font-weight: 500;
}

.entry-content img {
  border-radius: var(--border-radius-sm);
  margin: var(--space-2xl) 0;
  box-shadow: var(--shadow-sm);
}

.entry-content a {
  color: var(--color-primary);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}

.entry-content a:hover {
  border-bottom-color: var(--color-primary);
}

/* Product CTA Box */
.product-cta {
  background: var(--color-bg-dark);
  color: #fff;
  border: 3px solid var(--color-primary);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  margin: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-image:
    linear-gradient(45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-primary) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-primary) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}

.product-cta h3 {
  color: #fff;
  margin-bottom: var(--space-sm);
  text-transform: none;
}

.product-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.product-cta .btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-md) var(--space-2xl);
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition);
}

.product-cta .btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  color: #fff;
}

/* Table of Contents */
.toc {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-xl) var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.toc h4 {
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.toc ul {
  list-style: none;
  padding: 0;
}

.toc li {
  margin-bottom: var(--space-sm);
}

.toc a {
  color: var(--color-text-light);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition);
}

.toc a:hover {
  color: var(--color-primary);
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs .separator {
  margin: 0 var(--space-sm);
  color: var(--color-border);
}

/* ========================================
   RELATED POSTS
   ======================================== */
.related-posts {
  border-top: 3px solid var(--color-bg-dark);
  padding-top: var(--space-3xl);
  margin-top: var(--space-3xl);
}

.related-posts h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
  text-transform: uppercase;
}

.related-posts .posts-grid {
  padding-top: 0;
}

/* ========================================
   AUTHOR BOX
   ======================================== */
.author-box {
  display: flex;
  gap: var(--space-xl);
  background: var(--color-bg-dark);
  color: #fff;
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  margin-top: var(--space-3xl);
  border: 2px solid var(--color-primary);
}

.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--color-primary);
}

.author-box h4 {
  color: #fff;
  margin-bottom: var(--space-xs);
  text-transform: none;
}

.author-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  margin-top: var(--space-4xl);
}

.footer-checker-top {
  background-image:
    linear-gradient(45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-primary) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-primary) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  height: 8px;
}

.footer-content {
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: var(--space-md);
}

.footer-brand img {
  height: 44px;
  filter: brightness(10);
}

.site-footer h4 {
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-lg);
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: var(--space-sm);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-2xl) 0;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.pagination a {
  background: var(--color-bg-card);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

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

.pagination .current {
  background: var(--color-bg-dark);
  color: #fff;
  border: 2px solid var(--color-bg-dark);
}

/* ========================================
   SEARCH FORM
   ======================================== */
.search-form {
  display: flex;
  gap: var(--space-sm);
}

.search-form input[type="search"] {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--color-border);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--color-bg);
  transition: border-color var(--transition);
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--color-primary);
}

.search-form button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: background var(--transition);
}

.search-form button:hover {
  background: var(--color-primary-dark);
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar {
  padding-top: var(--space-3xl);
}

.sidebar .widget {
  background: var(--color-bg-card);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--color-border-light);
}

.sidebar .widget-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .post-card--featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 2.5rem;
    --space-4xl: 3.5rem;
  }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .header-inner {
    padding: var(--space-md);
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-card);
    border-bottom: 3px solid var(--color-bg-dark);
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
  }

  .main-navigation.active {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation li {
    border-bottom: 1px solid var(--color-border-light);
  }

  .main-navigation a {
    display: block;
    padding: var(--space-md) 0;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .single-post-header h1 {
    font-size: 1.75rem;
  }

  .entry-content {
    font-size: 1rem;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .blog-hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .blog-hero h1 {
    font-size: 1.5rem;
  }
}
