/*
Theme Name: MiauManias
Theme URI: https://miaumanias.com
Author: MiauManias
Description: Tema personalizado para o MiauManias — blog de pets com dicas, curiosidades e cuidados. Design moderno, responsivo e acolhedor.
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: miaumanias
Tags: blog, pets, two-columns, custom-menu, featured-images, responsive-layout
*/

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --green-dark:    #1F6B45;
  --green-main:    #2D8A5E;
  --green-mid:     #4CAF7D;
  --green-light:   #E8F5EE;
  --green-pale:    #F2FAF5;
  --cream:         #FFF8F2;
  --orange:        #F4813A;
  --orange-light:  #FEF0E6;
  --text-dark:     #1A1A2E;
  --text-mid:      #3D4451;
  --text-muted:    #7A8394;
  --border:        #E2EAE6;
  --white:         #FFFFFF;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Nunito', 'Helvetica Neue', sans-serif;
  --transition:    0.22s ease;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-main); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }

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

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1.2rem; color: var(--text-mid); }

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

.site-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 48px 0;
}

@media (max-width: 900px) {
  .site-content { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
}

/* ============================================================
   HEADER
============================================================ */
#masthead {
  background: var(--white);
  border-bottom: 2px solid var(--green-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

/* Header dividido em duas linhas:
   Linha 1 → logo + descrição + busca
   Linha 2 → menu de navegação */
.header-inner {
  display: flex;
  flex-direction: column;
  padding: 12px 0 0;
}

/* Linha 1: branding + busca */
.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  min-width: 0;
}

/* Linha 2: navegação */
.header-bottom-row {
  border-top: 1px solid var(--green-light);
}

/* Logo */
.site-branding {
  flex-shrink: 1;
  min-width: 0;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--green-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}

/* Tagline dentro do nosso template */
.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: normal;
  word-break: break-word;
  max-width: 340px;
  line-height: 1.4;
  margin: 0;
}

/* Descrição gerada pelo WordPress (site-title + site-description) */
.site-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.site-title a {
  color: var(--green-dark);
  text-decoration: none;
}

.site-description {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: normal;
  word-break: break-word;
  max-width: 400px;
  line-height: 1.5;
  margin: 2px 0 0;
}

/* Navigation — ocupa a linha inteira abaixo */
#site-navigation {
  width: 100%;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 4px 0;
}

.main-menu li a {
  display: block;
  padding: 7px 13px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition);
}

.main-menu li a:hover,
.main-menu li.current-menu-item a {
  background: var(--green-light);
  color: var(--green-dark);
}

/* Header Search */
.header-search { flex-shrink: 0; }

.header-search form {
  display: flex;
  align-items: center;
  background: var(--green-pale);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.header-search form:focus-within {
  border-color: var(--green-main);
}

.header-search input[type="search"] {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 0.85rem;
  width: 180px;
  font-family: var(--font-body);
  color: var(--text-dark);
  outline: none;
}

.header-search button {
  background: var(--green-main);
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--white);
  display: flex;
  align-items: center;
  transition: background var(--transition);
}

.header-search button:hover { background: var(--green-dark); }

.header-search button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .header-bottom-row { display: none; }
  .header-bottom-row.open { display: block; padding-bottom: 8px; }
  .main-menu { flex-direction: column; align-items: flex-start; gap: 2px; }
  .header-search input[type="search"] { width: 130px; }
}

/* ============================================================
   HERO / FEATURED POST
============================================================ */
.hero-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-image:hover img { transform: scale(1.03); }

.hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 50px;
}

.hero-content { padding: 8px 0; }

.hero-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-main);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 16px;
  line-height: 1.25;
}

.hero-title a { color: var(--text-dark); }
.hero-title a:hover { color: var(--green-main); }

.hero-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-meta span { display: flex; align-items: center; gap: 5px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-main);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ============================================================
   CATEGORY STRIP
============================================================ */
.category-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.category-strip-inner {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.category-strip-inner::-webkit-scrollbar { display: none; }

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}

.cat-pill .cat-emoji { font-size: 1rem; }

/* ============================================================
   SECTION TITLES
============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green-light);
}

.section-title-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-text::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--green-main);
  border-radius: 4px;
}

.view-all-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-main);
}

/* ============================================================
   POST CARDS
============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.post-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--green-pale);
}

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

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

.post-card-category {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--green-main);
  color: var(--white);
}

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

.post-card-title {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-card-title a { color: var(--text-dark); }
.post-card-title a:hover { color: var(--green-main); }

.post-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.read-time {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   SINGLE POST
============================================================ */
.single-post-header {
  background: var(--white);
  padding: 48px 0 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.single-post-header .container { max-width: 820px; }

.single-post-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.category-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--green-light);
  color: var(--green-dark);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.category-badge:hover {
  background: var(--green-main);
  color: var(--white);
}

.single-post-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 20px;
  line-height: 1.25;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-bottom: 32px;
  flex-wrap: wrap;
}

.single-post-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-post-thumbnail {
  margin-top: 8px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  max-height: 500px;
}

.single-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Post Content */
.entry-content {
  max-width: 760px;
}

.entry-content p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.4rem; }
.entry-content h2 { font-size: 1.6rem; margin: 2.4rem 0 1rem; padding-bottom: 8px; border-bottom: 2px solid var(--green-light); }
.entry-content h3 { font-size: 1.25rem; margin: 2rem 0 0.8rem; }
.entry-content ul, .entry-content ol { margin: 1rem 0 1.4rem 1.5rem; }
.entry-content ul { list-style: none; margin-left: 0; }
.entry-content ul li { padding: 6px 0 6px 28px; position: relative; color: var(--text-mid); }
.entry-content ul li::before { content: '🐾'; position: absolute; left: 0; font-size: 0.85rem; }
.entry-content ol { list-style: decimal; }
.entry-content ol li { padding: 4px 0; color: var(--text-mid); }
.entry-content blockquote {
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.8rem 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
}
.entry-content img { border-radius: var(--radius-md); margin: 1.5rem 0; box-shadow: var(--shadow-md); }
.entry-content a { color: var(--green-main); font-weight: 600; border-bottom: 1px solid var(--green-light); }
.entry-content a:hover { color: var(--green-dark); border-bottom-color: var(--green-main); }
.entry-content strong { color: var(--text-dark); }

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

.widget {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 16px 20px;
  background: var(--green-pale);
  border-bottom: 1px solid var(--border);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 16px;
  background: var(--green-main);
  border-radius: 3px;
}

.widget-content { padding: 16px 20px; }

/* Popular Posts Widget */
.popular-posts-list { display: flex; flex-direction: column; gap: 14px; }

.popular-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.popular-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.popular-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.popular-post-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-post-title:hover { color: var(--green-main); }
.popular-post-date { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* Categories Widget */
.categories-list { display: flex; flex-direction: column; }

.categories-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
}

.categories-list li:last-child a { border-bottom: none; }
.categories-list li a:hover { color: var(--green-main); padding-left: 6px; }

.cat-count {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

/* Search Widget */
.widget-search-form {
  display: flex;
  gap: 8px;
}

.widget-search-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
}

.widget-search-form input:focus { border-color: var(--green-main); }

.widget-search-form button {
  background: var(--green-main);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  transition: background var(--transition);
}

.widget-search-form button:hover { background: var(--green-dark); }

/* About Widget */
.about-widget-content { text-align: center; }

.about-widget-icon {
  width: 64px;
  height: 64px;
  background: var(--green-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.8rem;
}

.about-widget-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PAGINATION
============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 48px 0 24px;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
}

/* Cobre tanto <a> quanto <span> gerados pelo paginate_links() */
.pagination .page-numbers,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  background: var(--white);
  line-height: 1;
}

.pagination .page-numbers:hover,
.page-numbers:hover,
.pagination .page-numbers.current,
.page-numbers.current {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}

/* Remove estilo de <li> dentro da lista de paginação */
.pagination li {
  list-style: none;
  display: inline-flex;
}

/* ============================================================
   FOOTER
============================================================ */
#colophon {
  background: var(--text-dark);
  color: var(--white);
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

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

.footer-about p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.82rem;
  transition: background var(--transition);
  text-decoration: none;
}

.social-link:hover { background: var(--green-main); color: var(--white); }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

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

.footer-links a:hover { color: var(--green-mid); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   BREADCRUMBS
============================================================ */
.breadcrumbs {
  padding: 14px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumbs a { color: var(--green-main); }
.breadcrumbs span { margin: 0 6px; opacity: 0.5; }

/* ============================================================
   COMMENTS
============================================================ */
.comments-area {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--green-light);
}

.comments-title {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.comment-list { list-style: none; }

.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.comment-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-author-info img { border-radius: 50%; }
.comment-author-name { font-weight: 700; font-size: 0.9rem; }
.comment-date { font-size: 0.78rem; color: var(--text-muted); }
.comment-body p { font-size: 0.92rem; color: var(--text-mid); margin: 0; }

.comment-respond {
  margin-top: 36px;
}

.comment-respond .comment-reply-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

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

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

.comment-form .submit {
  background: var(--green-main);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comment-form .submit:hover { background: var(--green-dark); }

/* ============================================================
   NO THUMBNAIL FALLBACK
============================================================ */
.no-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-pale), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ============================================================
   UTILITIES
============================================================ */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.post-card { animation: fadeInUp 0.4s ease both; }
.post-card:nth-child(1) { animation-delay: 0.05s; }
.post-card:nth-child(2) { animation-delay: 0.10s; }
.post-card:nth-child(3) { animation-delay: 0.15s; }
.post-card:nth-child(4) { animation-delay: 0.20s; }
.post-card:nth-child(5) { animation-delay: 0.25s; }
.post-card:nth-child(6) { animation-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .post-card { animation: none; }
}
