/*
Theme Name: eitiraz
Theme URI: https://eitiraz.com
Author: eitiraz.com
Author URI: https://eitiraz.com
Description: Türkiye'deki tüketiciler için itiraz dilekçesi PDF üretici ve tüketici hakları platformu teması. Profesyonel, mobil uyumlu, KVKK/GDPR uyumlu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eitiraz
Tags: custom-menu, featured-images, threaded-comments, translation-ready, blog, e-commerce
*/

/* ──────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
────────────────────────────────────────────── */
:root {
  --red:          #C0392B;
  --red-dark:     #96281B;
  --red-light:    #E74C3C;
  --red-pale:     #FEF2F2;
  --red-border:   #FCA5A5;
  --cream:        #FAF8F5;
  --white:        #FFFFFF;
  --gray-50:      #F9FAFB;
  --gray-100:     #F3F4F6;
  --gray-200:     #E5E7EB;
  --gray-300:     #D1D5DB;
  --gray-400:     #9CA3AF;
  --gray-500:     #6B7280;
  --gray-600:     #4B5563;
  --gray-700:     #374151;
  --gray-800:     #1F2937;
  --gray-900:     #111827;
  --font-main:    'DM Sans', sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius:       14px;
  --radius-sm:    8px;
  --radius-pill:  100px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:    0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:    0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --container:    1080px;
  --transition:   .2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ──────────────────────────────────────────────
   LAYOUT UTILITIES
────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ──────────────────────────────────────────────
   TOPBAR
────────────────────────────────────────────── */
.site-topbar {
  background: #8B1A1A;
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: center;
  padding: 7px 20px;
}

/* ──────────────────────────────────────────────
   SITE HEADER
────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
}

.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -.02em;
}

.site-logo .logo-text span {
  color: var(--gray-900);
}

.header-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.header-search input {
  width: 100%;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  padding: 9px 16px 9px 38px;
  font-size: .85rem;
  color: var(--gray-700);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.header-search input:focus {
  background: var(--white);
  border-color: var(--red);
}

.header-search .search-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: .9rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192,57,43,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ──────────────────────────────────────────────
   CATEGORY NAV BAR
────────────────────────────────────────────── */
.cat-navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.cat-navbar-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 50px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.cat-navbar-inner::-webkit-scrollbar { display: none; }

.cat-nav-tab {
  white-space: nowrap;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  flex-shrink: 0;
  border: 1.5px solid transparent;
}

.cat-nav-tab:hover {
  color: var(--red);
  background: var(--red-pale);
}

.cat-nav-tab.active,
.cat-nav-tab.current-menu-item {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ──────────────────────────────────────────────
   HERO SECTION
────────────────────────────────────────────── */
.site-hero {
  background: var(--red);
  position: relative;
  overflow: hidden;
  padding: 56px 20px 48px;
}

.site-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: rgba(255,255,255,.055);
  border-radius: 50%;
  pointer-events: none;
}

.site-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: 60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.92);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.hero-badge .badge-flag {
  background: rgba(255,255,255,.25);
  padding: 1px 7px;
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -.025em;
}

.hero-subtitle {
  color: rgba(255,255,255,.78);
  font-size: .97rem;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Hero Search */
.hero-search {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 580px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  margin-bottom: 32px;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 20px;
  font-size: .92rem;
  color: var(--gray-700);
  background: transparent;
  min-width: 0;
}

.hero-search input::placeholder { color: var(--gray-400); }

.hero-search button {
  background: var(--gray-900);
  color: var(--white);
  border: none;
  padding: 15px 26px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: background var(--transition);
  letter-spacing: .03em;
  white-space: nowrap;
}

.hero-search button:hover { background: var(--red-dark); }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px 0 0;
  margin: 0 24px 0 0;
  border-right: 1px solid rgba(255,255,255,.2);
}

.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.hero-stat-num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: .7rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: .01em;
}

/* ──────────────────────────────────────────────
   MAIN CONTENT AREA
────────────────────────────────────────────── */
.site-main {
  padding: 36px 20px 64px;
  max-width: var(--container);
  margin: 0 auto;
}

/* Section Heading */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.015em;
}

.section-title-accent {
  color: var(--red);
}

.section-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.section-link:hover { opacity: .7; }

/* ──────────────────────────────────────────────
   CATEGORY CARDS GRID
────────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.cat-card::after {
  content: '→';
  position: absolute;
  top: 18px; right: 18px;
  font-size: .95rem;
  color: var(--gray-300);
  transition: all var(--transition);
}

.cat-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cat-card:hover::after {
  color: var(--red);
  right: 14px;
}

.cat-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.cat-card-name {
  font-size: .92rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.01em;
  line-height: 1.3;
  padding-right: 24px;
}

.cat-card-desc {
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.cat-card-tag {
  display: inline-flex;
  align-items: center;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: .65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 2px;
  width: fit-content;
}

/* Icon background colors */
.bg-yellow   { background: #FEF9C3; }
.bg-blue     { background: #DBEAFE; }
.bg-green    { background: #DCFCE7; }
.bg-purple   { background: #EDE9FE; }
.bg-orange   { background: #FED7AA; }
.bg-teal     { background: #CCFBF1; }
.bg-pink     { background: #FCE7F3; }
.bg-red      { background: #FEE2E2; }
.bg-indigo   { background: #E0E7FF; }
.bg-gray     { background: var(--gray-100); }
.bg-sky      { background: #E0F2FE; }
.bg-lime     { background: #ECFCCB; }
.bg-amber    { background: #FEF3C7; }
.bg-rose     { background: #FFE4E6; }

/* ──────────────────────────────────────────────
   TOOLS SECTION
────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.tool-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.tool-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--red-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

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

.tool-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.01em;
}

.tool-desc {
  font-size: .76rem;
  color: var(--gray-500);
  margin-top: 3px;
  line-height: 1.4;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.badge-red { background: var(--red); color: var(--white); }
.badge-green { background: #16A34A; color: var(--white); }
.badge-blue { background: #2563EB; color: var(--white); }
.badge-orange { background: #EA580C; color: var(--white); }

/* ──────────────────────────────────────────────
   INSTITUTIONS BANNER
────────────────────────────────────────────── */
.inst-banner {
  background: var(--white);
  border: 1.5px solid var(--red-border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 40px;
}

.inst-banner-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.inst-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: .83rem;
  color: var(--gray-700);
  line-height: 2;
}

.inst-links strong { color: var(--gray-900); font-weight: 700; }
.inst-sep { margin: 0 10px; color: var(--gray-300); }

/* ──────────────────────────────────────────────
   SUCCESS / STATS BANNER
────────────────────────────────────────────── */
.stats-banner {
  background: var(--red);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.stats-banner-item { text-align: center; }

.stats-banner-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stats-banner-label {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  margin-top: 6px;
  font-weight: 500;
}

/* ──────────────────────────────────────────────
   DISCLAIMER ALERT
────────────────────────────────────────────── */
.disclaimer-alert {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .8rem;
  color: #92400E;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────
   CATEGORY PAGE HERO
────────────────────────────────────────────── */
.cat-page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 36px 20px;
}

.cat-page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.breadcrumb a { color: var(--red); font-weight: 500; }
.breadcrumb .sep { color: var(--gray-300); }

.cat-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -.025em;
}

.cat-page-desc {
  color: var(--gray-500);
  font-size: .93rem;
  max-width: 600px;
  line-height: 1.65;
}

.cat-page-legal {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: .75rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ──────────────────────────────────────────────
   FORM STYLES
────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.form-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: .01em;
}

.form-label .req { color: var(--red); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .88rem;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(192,57,43,.08);
}

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

.form-hint {
  font-size: .72rem;
  color: var(--gray-400);
}

.form-submit {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* ──────────────────────────────────────────────
   PDF & SEND BUTTONS
────────────────────────────────────────────── */
.btn-pdf {
  background: var(--red);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pdf:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(192,57,43,.35);
}

.btn-send {
  background: var(--gray-900);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-send:hover {
  background: var(--gray-700);
  transform: translateY(-1px);
}

/* ──────────────────────────────────────────────
   TABS
────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 9px 18px;
  border-radius: calc(var(--radius) - 4px);
  font-size: .83rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: none;
  background: transparent;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.tab-btn.active { color: var(--red); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ──────────────────────────────────────────────
   CALCULATOR WIDGET
────────────────────────────────────────────── */
.calc-widget {
  background: var(--red-pale);
  border: 1.5px solid var(--red-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.calc-widget-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-result {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
  border: 1.5px solid var(--gray-200);
}

.calc-result-label {
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.calc-result-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
}

/* ──────────────────────────────────────────────
   BLOG / POST CARDS
────────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

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

.post-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card-thumb {
  aspect-ratio: 16/9;
  background: var(--gray-100);
  overflow: hidden;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.post-card:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-cat-tag {
  display: inline-block;
  background: var(--red-pale);
  color: var(--red);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.post-card-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  letter-spacing: -.01em;
}

.post-card-excerpt {
  font-size: .8rem;
  color: var(--gray-500);
  line-height: 1.55;
  flex: 1;
}

.post-card-meta {
  font-size: .72rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* ──────────────────────────────────────────────
   SIDEBAR
────────────────────────────────────────────── */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

.widget-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.widget {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
}

.widget-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
  letter-spacing: -.01em;
}

.widget-link-list { display: flex; flex-direction: column; gap: 6px; }

.widget-link-list a {
  font-size: .82rem;
  color: var(--gray-700);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.widget-link-list a:hover {
  background: var(--red-pale);
  color: var(--red);
}

/* ──────────────────────────────────────────────
   SITE FOOTER
────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.6);
  padding: 48px 20px 28px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: .82rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
  max-width: 260px;
}

.footer-col-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}

.footer-col-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

.footer-disclaimer {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  max-width: 480px;
  text-align: right;
  line-height: 1.5;
}

.disclaimer-bar {
  background: #111;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  padding: 10px 20px;
  font-size: .7rem;
  color: rgba(255,255,255,.28);
}

/* ──────────────────────────────────────────────
   MOBILE MENU
────────────────────────────────────────────── */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--gray-700);
  padding: 4px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 300;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}

.mobile-nav-links a:hover {
  background: var(--red-pale);
  color: var(--red);
}

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tools-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 12px; }
  .hero-stat { padding-right: 16px; margin-right: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .mobile-menu-toggle { display: flex; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-disclaimer { text-align: left; }
  .stats-banner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────
   ANIMATIONS
────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp .45s ease both;
}

.delay-1 { animation-delay: .05s; }
.delay-2 { animation-delay: .10s; }
.delay-3 { animation-delay: .15s; }
.delay-4 { animation-delay: .20s; }
.delay-5 { animation-delay: .25s; }
.delay-6 { animation-delay: .30s; }

/* ──────────────────────────────────────────────
   WORDPRESS CORE CLASSES
────────────────────────────────────────────── */
.aligncenter { margin: 0 auto; display: block; }
.alignleft   { float: left; margin: 0 20px 10px 0; }
.alignright  { float: right; margin: 0 0 10px 20px; }
.wp-caption  { max-width: 100%; }

.comments-area { margin-top: 40px; }
.comment-list  { margin-top: 20px; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition);
}

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