/*
Theme Name: Salvador Broker
Theme URI: https://blog.salvadorbroker.com.br
Author: Márcio Ribeiro
Author URI: https://salvadorbroker.com.br
Description: Tema personalizado para o blog da Salvador Broker — gestão de imóveis em Salvador. Identidade visual marrom e dourado, rápido, sem dependências de page builders.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietário
Text Domain: salvador-broker
*/

/* ============================================================
   VARIÁVEIS
   ============================================================ */
:root {
  --brown-dark:    #2a1203;
  --brown:         #5a2a09;
  --brown-mid:     #7c3d12;
  --brown-light:   #a35520;
  --gold-dark:     #9a7216;
  --gold:          #c4912a;
  --gold-light:    #ddb44e;
  --gold-pale:     #f5e4b0;
  --cream:         #fdf9f3;
  --cream-dark:    #f2e8d5;
  --text:          #1c0c02;
  --text-sec:      #5a3820;
  --text-muted:    #8a6545;
  --border:        #ddc8a8;
  --white:         #ffffff;

  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:     'Lato', 'Helvetica Neue', Arial, sans-serif;

  --max-w:         1200px;
  --content-w:     740px;
  --sidebar-w:     320px;
  --gap:           48px;
  --radius:        8px;
  --shadow:        0 2px 12px rgba(42,18,3,0.10);
  --shadow-lg:     0 8px 32px rgba(42,18,3,0.16);
  --transition:    0.22s 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-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brown); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   TOPBAR
   ============================================================ */
.site-topbar { background: var(--brown-dark); padding: 8px 0; }
.site-topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { color: var(--gold-light); font-size: 0.85rem; transition: color var(--transition); }
.topbar-social a:hover { color: var(--white); }
.topbar-tagline { color: var(--text-muted); font-size: 0.75rem; display: none; }
@media (min-width: 640px) { .topbar-tagline { display: block; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--brown);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(42,18,3,0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { height: 44px; width: auto; border-radius: 4px; }
.site-logo-text { display: flex; flex-direction: column; }
.site-logo-name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.site-logo-tagline { font-size: 0.65rem; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 8px 14px; color: var(--cream); font-size: 0.9rem; font-weight: 500; border-radius: var(--radius); transition: background var(--transition), color var(--transition); }
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a { background: rgba(196,145,42,0.2); color: var(--gold-light); }
.nav-menu .sub-menu { position: absolute; top: calc(100% + 4px); left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition); z-index: 200; list-style: none; }
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu li a { display: block; padding: 10px 16px; color: var(--text-sec); font-size: 0.875rem; border-bottom: 1px solid var(--cream-dark); transition: background var(--transition), color var(--transition); }
.nav-menu .sub-menu li:last-child a { border-bottom: none; }
.nav-menu .sub-menu li a:hover { background: var(--cream); color: var(--brown); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: all var(--transition); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--brown-dark); padding: 16px 24px; box-shadow: var(--shadow-lg); display: none; }
  .site-nav.open { display: block; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { padding: 12px 8px; width: 100%; }
  .nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(255,255,255,0.07); border-radius: 0; margin-left: 16px; min-width: auto; display: none; }
  .nav-menu li.open-sub > .sub-menu { display: block; }
  .nav-menu .sub-menu li a { color: var(--cream-dark); border-bottom-color: rgba(255,255,255,0.1); }
}

/* ============================================================
   HERO
   ============================================================ */
.site-hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.site-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c4912a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }
.site-hero .container { position: relative; }
.hero-label { display: inline-block; background: rgba(196,145,42,0.2); border: 1px solid rgba(196,145,42,0.4); color: var(--gold-light); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 16px; border-radius: 100px; margin-bottom: 16px; }
.hero-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 12px; }
.hero-subtitle { font-size: 1rem; color: rgba(253,249,243,0.75); max-width: 540px; margin: 0 auto; }
.archive-hero { padding: 40px 0 32px; }
.archive-hero .hero-title { font-size: clamp(1.4rem, 3vw, 2rem); }

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.site-main { padding: 48px 0 64px; }
.content-area { display: grid; grid-template-columns: 1fr var(--sidebar-w); gap: var(--gap); align-items: start; }
@media (max-width: 900px) { .content-area { grid-template-columns: 1fr; } }

/* ============================================================
   POST CARDS
   ============================================================ */
.posts-grid { display: flex; flex-direction: column; gap: 32px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow var(--transition), transform var(--transition); display: grid; grid-template-columns: 280px 1fr; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.post-card.no-thumb { grid-template-columns: 1fr; }
.post-card-thumb { aspect-ratio: 4/3; overflow: hidden; }
.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.04); }
.post-card-body { padding: 28px 28px 24px; display: flex; flex-direction: column; }
.post-card-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cat-badge { display: inline-block; background: var(--cream-dark); color: var(--brown-mid); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; transition: background var(--transition), color var(--transition); }
.cat-badge:hover { background: var(--gold); color: var(--white); }
.post-card-title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--brown-mid); }
.post-card-excerpt { color: var(--text-sec); font-size: 0.9rem; line-height: 1.6; flex: 1; margin-bottom: 16px; 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; flex-wrap: wrap; gap: 8px; }
.post-card-meta-info { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--text-muted); }
.post-read-more { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--white); font-size: 0.8rem; font-weight: 600; padding: 7px 16px; border-radius: 100px; transition: background var(--transition); white-space: nowrap; }
.post-read-more:hover { background: var(--brown-mid); color: var(--white); }

@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card-thumb { aspect-ratio: 16/7; }
  .post-card-body { padding: 20px 20px 18px; }
  .post-card-title { font-size: 1.05rem; }
}

/* ============================================================
   PAGINAÇÃO
   ============================================================ */
.posts-pagination { margin-top: 40px; display: flex; justify-content: center; }
.posts-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.posts-pagination .page-numbers { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; background: var(--white); color: var(--text-sec); box-shadow: var(--shadow); transition: all var(--transition); }
.posts-pagination .page-numbers:hover { background: var(--cream-dark); }
.posts-pagination .page-numbers.current { background: var(--brown); color: var(--white); }
.posts-pagination .page-numbers.dots { background: none; box-shadow: none; cursor: default; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.widget { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.widget-title { font-family: var(--font-serif); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); background: var(--brown); padding: 12px 20px; border-bottom: 3px solid var(--gold); }
.widget-body { padding: 20px; }
.widget-search .search-form { display: flex; gap: 8px; }
.widget-search .search-input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; outline: none; transition: border-color var(--transition); }
.widget-search .search-input:focus { border-color: var(--gold); }
.widget-search .search-btn { background: var(--gold); color: var(--white); border: none; padding: 10px 14px; border-radius: var(--radius); cursor: pointer; transition: background var(--transition); }
.widget-search .search-btn:hover { background: var(--brown-mid); }
.widget-categories ul { list-style: none; }
.widget-categories li { border-bottom: 1px solid var(--cream-dark); }
.widget-categories li:last-child { border-bottom: none; }
.widget-categories li a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; color: var(--text-sec); font-size: 0.875rem; font-weight: 500; transition: color var(--transition); }
.widget-categories li a:hover { color: var(--brown-mid); }
.widget-categories .cat-count { background: var(--cream-dark); color: var(--text-muted); font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 100px; }
.widget-recent-posts ul { list-style: none; }
.widget-recent-posts li { padding: 10px 0; border-bottom: 1px solid var(--cream-dark); }
.widget-recent-posts li:last-child { border-bottom: none; }
.widget-recent-posts .rp-link { display: flex; gap: 12px; align-items: flex-start; }
.widget-recent-posts .rp-thumb { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.widget-recent-posts .rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-posts .rp-title { font-size: 0.825rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-recent-posts .rp-link:hover .rp-title { color: var(--brown-mid); }
.widget-recent-posts .rp-date { font-size: 0.72rem; color: var(--text-muted); }
.widget-tags .tags-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.widget-tags .tag-item a { display: inline-block; background: var(--cream-dark); color: var(--text-sec); font-size: 0.75rem; padding: 4px 10px; border-radius: 100px; transition: background var(--transition), color var(--transition); }
.widget-tags .tag-item a:hover { background: var(--gold); color: var(--white); }
.widget-cta { background: var(--brown); }
.widget-cta .widget-title { background: var(--brown-dark); }
.widget-cta .widget-body { text-align: center; }
.widget-cta .cta-text { color: rgba(253,249,243,0.85); font-size: 0.875rem; line-height: 1.6; margin-bottom: 16px; }
.widget-cta .cta-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--white); font-weight: 700; font-size: 0.875rem; padding: 11px 20px; border-radius: 100px; transition: background var(--transition); width: 100%; justify-content: center; }
.widget-cta .cta-btn:hover { background: var(--gold-dark); color: var(--white); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-hero { background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%); padding: 48px 0 40px; }
.post-hero-inner { max-width: 820px; }
.post-hero-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.post-hero-cats .cat-badge { background: rgba(196,145,42,0.2); border: 1px solid rgba(196,145,42,0.4); color: var(--gold-light); }
.post-hero-cats .cat-badge:hover { background: var(--gold); color: var(--white); }
.post-hero-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 20px; }
.post-hero-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.post-hero-author { display: flex; align-items: center; gap: 10px; }
.post-hero-author img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(196,145,42,0.5); object-fit: cover; }
.post-hero-author-name { font-size: 0.875rem; font-weight: 600; color: var(--cream); }
.post-hero-date { font-size: 0.82rem; color: rgba(253,249,243,0.65); }
.post-hero-readtime { font-size: 0.82rem; color: var(--gold-light); }
.post-featured-img { width: 100%; max-height: 480px; object-fit: cover; }

/* Entry content */
.entry-content { font-size: 1rem; line-height: 1.8; color: var(--text); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; color: var(--brown); margin-top: 2em; margin-bottom: 0.5em; }
.entry-content h1 { font-size: 1.9rem; }
.entry-content h2 { font-size: 1.45rem; border-bottom: 2px solid var(--cream-dark); padding-bottom: 8px; }
.entry-content h3 { font-size: 1.15rem; }
.entry-content h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.entry-content p { margin-bottom: 1em; }
.entry-content a { color: var(--brown-mid); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(92,45,9,0.3); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--gold-dark); }
.entry-content strong, .entry-content b { font-weight: 700; color: var(--brown); }
.entry-content em, .entry-content i { font-style: italic; }
.entry-content ul, .entry-content ol { margin: 1em 0; padding-left: 1.5em; }
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li { padding: 4px 0 4px 1.5em; position: relative; }
.entry-content ul li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); font-size: 0.85em; top: 6px; }
.entry-content ol { list-style: decimal; }
.entry-content ol li { padding: 4px 0; }
.entry-content blockquote { border-left: 4px solid var(--gold); background: var(--cream-dark); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5em 0; }
.entry-content blockquote p { font-style: italic; color: var(--text-sec); margin: 0; }
.entry-content blockquote cite { display: block; margin-top: 10px; font-size: 0.85rem; font-style: normal; font-weight: 600; color: var(--brown-mid); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.entry-content table thead { background: var(--brown); }
.entry-content table thead th { color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 0.85rem; }
.entry-content table tbody tr { border-bottom: 1px solid var(--border); }
.entry-content table tbody tr:nth-child(even) { background: var(--cream); }
.entry-content table tbody td { padding: 10px 16px; color: var(--text-sec); }
.entry-content table tbody tr:last-child td { font-weight: 700; color: var(--brown); }
.entry-content img { border-radius: var(--radius); margin: 1.5em auto; box-shadow: var(--shadow); }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { text-align: center; font-size: 0.82rem; color: var(--text-muted); margin-top: 8px; font-style: italic; }
.entry-content hr { border: none; border-top: 2px solid var(--border); margin: 2em 0; }
.entry-content .wp-block-quote { border-left: 4px solid var(--gold); background: var(--cream-dark); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5em 0; }
.entry-content .wp-block-quote p { font-style: italic; }

/* Compartilhar */
.post-share { background: var(--cream-dark); border-radius: var(--radius); padding: 20px 24px; margin-top: 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-share-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; color: var(--white); transition: opacity var(--transition); }
.share-btn:hover { opacity: 0.85; color: var(--white); }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter  { background: #000; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }

/* Author bio */
.author-bio { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-top: 40px; display: flex; gap: 20px; align-items: flex-start; }
.author-bio-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--gold); }
.author-bio-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--brown); margin-bottom: 4px; }
.author-bio-role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.author-bio-desc { font-size: 0.875rem; color: var(--text-sec); line-height: 1.65; }
@media (max-width: 520px) { .author-bio { flex-direction: column; align-items: center; text-align: center; } }

/* Related posts */
.related-posts { margin-top: 48px; }
.section-title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--brown); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--cream-dark); }
.related-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.related-post-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); }
.related-post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.related-post-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.related-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-post-card-body { padding: 14px 16px; }
.related-post-card-cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 5px; }
.related-post-card-title { font-family: var(--font-serif); font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.related-post-card:hover .related-post-card-title { color: var(--brown-mid); }

/* Post navigation */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.post-nav-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; transition: box-shadow var(--transition); }
.post-nav-item:hover { box-shadow: var(--shadow-lg); }
.post-nav-item.next { text-align: right; }
.post-nav-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 6px; }
.post-nav-title { font-size: 0.875rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.post-nav-item:hover .post-nav-title { color: var(--brown-mid); }
@media (max-width: 520px) { .post-nav { grid-template-columns: 1fr; } }

/* ============================================================
   COMENTÁRIOS
   ============================================================ */
.comments-section { margin-top: 48px; }
.comments-list { list-style: none; margin-bottom: 40px; }
.comment { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px; }
.comment .children { margin-top: 16px; margin-left: 24px; list-style: none; }
.comment-author-name { font-weight: 700; font-size: 0.9rem; color: var(--brown); }
.comment-date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; }
.comment-text { font-size: 0.9rem; color: var(--text-sec); line-height: 1.65; }
.comment-reply-link { font-size: 0.8rem; color: var(--gold); font-weight: 600; margin-top: 8px; display: inline-block; }
.comment-form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.comment-form-title { font-family: var(--font-serif); font-size: 1.2rem; color: var(--brown); margin-bottom: 20px; }
#commentform { display: grid; gap: 16px; }
#commentform .comment-form-author,
#commentform .comment-form-email,
#commentform .comment-form-url { display: grid; }
#commentform label { font-size: 0.8rem; font-weight: 600; color: var(--text-sec); margin-bottom: 6px; }
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; outline: none; transition: border-color var(--transition); background: var(--cream); }
#commentform input:focus,
#commentform textarea:focus { border-color: var(--gold); background: var(--white); }
#commentform textarea { min-height: 120px; resize: vertical; }
#commentform .form-submit input[type="submit"] { background: var(--brown); color: var(--white); border: none; padding: 12px 28px; border-radius: 100px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: background var(--transition); }
#commentform .form-submit input[type="submit"]:hover { background: var(--brown-mid); }

/* ============================================================
   PÁGINA ESTÁTICA
   ============================================================ */
.page-hero { background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%); padding: 40px 0 32px; }
.page-hero-title { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--white); }
.page-content { padding: 48px 0 64px; }

/* ============================================================
   404
   ============================================================ */
.page-404 { text-align: center; padding: 80px 24px; }
.page-404-code { font-family: var(--font-serif); font-size: 8rem; font-weight: 700; color: var(--cream-dark); line-height: 1; }
.page-404-title { font-family: var(--font-serif); font-size: 2rem; color: var(--brown); margin-bottom: 16px; }
.page-404-text { color: var(--text-sec); font-size: 1rem; margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--brown); color: var(--white); padding: 12px 28px; border-radius: 100px; font-weight: 700; font-size: 0.95rem; transition: background var(--transition); }
.btn-primary:hover { background: var(--brown-mid); color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--brown-dark); color: rgba(253,249,243,0.75); }
.footer-top { padding: 56px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.footer-col-title { font-family: var(--font-serif); font-size: 0.9rem; font-weight: 700; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(196,145,42,0.25); }
.footer-about-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-about-logo img { height: 38px; width: auto; border-radius: 4px; }
.footer-about-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--white); }
.footer-about-text { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--cream); font-size: 0.8rem; transition: background var(--transition); }
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-links ul { list-style: none; }
.footer-links li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-links li:last-child { border-bottom: none; }
.footer-links li a { font-size: 0.85rem; color: rgba(253,249,243,0.7); transition: color var(--transition); }
.footer-links li a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom-copy { font-size: 0.8rem; color: rgba(253,249,243,0.45); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(253,249,243,0.45); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ============================================================
   WP BUILT-IN CLASSES
   ============================================================ */
.aligncenter { display: block; margin: 1.5em auto; }
.alignleft { float: left; margin: 0.5em 1.5em 1em 0; }
.alignright { float: right; margin: 0.5em 0 1em 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--text-muted); text-align: center; font-style: italic; }

@media (max-width: 640px) {
  .site-main { padding: 32px 0 48px; }
  .entry-content h2 { font-size: 1.2rem; }
  .entry-content h3 { font-size: 1rem; }
  .post-share { flex-direction: column; }
}
