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

  :root {
    --terra: #C4622D;
    --terra-light: #E8855A;
    --terra-pale: #FDF0EA;
    --terra-dark: #8B3E18;
    --sand: #F5EDE3;
    --warm-white: #FEFAF6;
    --ink: #1A1208;
    --ink-mid: #3D2F1F;
    --ink-soft: #7A6652;
    --ink-ghost: #B8A89A;
    --border: #E8DDD4;
    --bg: #FEFAF6;
    --surface: #FFFFFF;
    --card-bg: #FFFFFF;
    --header-bg: rgba(254,250,246,0.92);
    --shadow: 0 2px 20px rgba(26,18,8,0.06);
    --shadow-md: 0 8px 40px rgba(26,18,8,0.10);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ===== PROGRESS BAR ===== */
  #progress-bar {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--terra), var(--terra-light));
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
  }

  /* ===== HEADER ===== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
  }

  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    gap: 24px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  .logo img,
  .logo .custom-logo {
    height: var(--logo-height, 44px);
    max-height: var(--logo-height, 44px);
    width: auto;
    display: block;
    transition: height 0.2s;
  }
  .logo-mark {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--terra), var(--terra-light));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: white;
    font-style: italic;
    font-weight: 900;
    flex-shrink: 0;
  }
  .logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.5px;
  }

  nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
  }
  nav a:hover, nav a.active {
    color: var(--terra);
    background: var(--terra-pale);
  }

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

  .search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--sand);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 7px 14px;
    transition: var(--transition);
  }
  .search-box:focus-within {
    border-color: var(--terra);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(196,98,45,0.12);
  }
  .search-box svg { color: var(--ink-ghost); flex-shrink: 0; }
  .search-box input {
    border: none;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--ink);
    outline: none;
    width: 140px;
  }
  .search-box input::placeholder { color: var(--ink-ghost); }

  /* Dark mode toggle */
  .dark-toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--sand);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    color: var(--ink-soft);
    flex-shrink: 0;
  }
  .dark-toggle:hover {
    border-color: var(--terra);
    color: var(--terra);
    background: var(--terra-pale);
  }

  .btn-subscribe {
    background: var(--terra);
    color: white;
    border: none;
    padding: 9px 20px;
    border-radius: 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.2px;
  }
  .btn-subscribe:hover {
    background: var(--terra-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(196,98,45,0.35);
  }

  /* ===== TICKER ===== */
  .ticker-bar {
    background: var(--terra);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
  }
  .ticker-inner {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .ticker-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
    margin-right: 16px;
    flex-shrink: 0;
  }
  .ticker-scroll {
    overflow: hidden;
    flex: 1;
  }
  .ticker-items {
    display: flex;
    gap: 48px;
    animation: ticker 28s linear infinite;
    white-space: nowrap;
  }
  .ticker-items span { font-size: 13px; font-weight: 400; }
  .ticker-items span::before { content: "·"; margin-right: 16px; opacity: 0.5; }
  @keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
/* Ticker links */
.ticker-items a {
  color: white;
  text-decoration: none;
}
.ticker-items a:hover {
  text-decoration: underline;
}


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

  /* ===== SITE MAIN — espaço após header sticky ===== */
  .site-main {
    padding-top: 0;
  }
  /* Padding só em posts e páginas comuns, não na home */
  .single-post,
  .page-template,
  .archive-template,
  .search-template {
    padding-top: 50px;
  }

  /* ===== HERO MAGAZINE ===== */
  .hero-section {
    padding: 48px 0 32px;
  }

  .section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
  }
  .section-eyebrow span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--terra);
  }
  .eyebrow-line {
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  .magazine-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 12px;
    align-items: stretch;
  }
  /* Coluna direita: flex coluna, altura igual ao destaque */
  .magazine-secondary-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  /* Cada card secundário cresce igualmente para preencher a altura */
  .magazine-secondary-col .post-secondary {
    flex: 1;
    min-height: 0;
  }

  /* Featured post */
  .post-featured {
    grid-row: auto;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
  }
  .post-featured .thumb {
    width: 100%;
    height: 100%;
    min-height: 400px;
    aspect-ratio: unset;
    background: linear-gradient(160deg, #E8C4A0 0%, #D4856A 40%, #8B3E18 100%);
    position: relative;
    overflow: hidden;
  }
  .post-featured .thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,18,8,0.85) 0%, rgba(26,18,8,0.2) 50%, transparent 100%);
  }
  .thumb-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(circle at 20% 80%, white 1px, transparent 1px),
                      radial-gradient(circle at 80% 20%, white 1px, transparent 1px);
    background-size: 40px 40px;
  }
  .thumb-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    opacity: 0.15;
  }
  .post-featured .content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px;
    z-index: 1;
  }
  .post-featured .content .cat {
    display: inline-block;
    background: var(--terra);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
  }
  .post-featured .content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: white;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
  }
  .post-featured .content .meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
  }
  .post-featured .content .meta span { display: flex; align-items: center; gap: 4px; }
  .post-featured:hover .thumb { transform: scale(1.02); transition: transform 0.5s ease; }

  /* Secondary posts */
  /* Card secundário: imagem quadrada fixa, card acompanha */
  .post-secondary {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: 100px;
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
  }
  .post-secondary:hover {
    border-color: var(--terra-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
  .post-secondary .thumb {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 0;
  }
  .post-secondary .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .post-secondary .thumb.thumb-placeholder-sm {
    background: linear-gradient(135deg, var(--terra-pale), var(--terra-light));
    width: 100%;
    height: 100%;
  }
  .post-secondary .info {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    overflow: hidden;
    min-width: 0;
  }
  .post-secondary .info .cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 2px;
    display: block;
  }
  .post-secondary .info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
    margin: 0 0 3px;
    letter-spacing: -0.1px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .post-secondary .info .meta {
    font-size: 11px;
    color: var(--ink-ghost);
    display: flex;
    gap: 8px;
    align-items: center;
  }


  /* ===== MAIN CONTENT + SIDEBAR ===== */
  .content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 100px;
    padding: 0 0 64px;
    align-items: start;
  }

  /* Post grid */
  .posts-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--terra);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .posts-section h2 .count {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--ink-ghost);
    margin-left: auto;
  }

  .posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .post-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
  }
  .post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
  }
  .post-card .thumb {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
  }
  .card-thumb-1 { background: linear-gradient(135deg, #F5DCC8, #D4855A); }
  .card-thumb-2 { background: linear-gradient(135deg, #C8D8E0, #6A9BAD); }
  .card-thumb-3 { background: linear-gradient(135deg, #D8C8F0, #9A7AC4); }
  .card-thumb-4 { background: linear-gradient(135deg, #C8E8D0, #5A9A6A); }
  .card-thumb-5 { background: linear-gradient(135deg, #F0E0C8, #C48A4A); }
  .card-thumb-6 { background: linear-gradient(135deg, #E8C8C8, #C46A6A); }

  .thumb-emoji {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
    opacity: 0.25;
  }
  .card-reading-time {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .post-card .info {
    padding: 18px;
  }
  .post-card .cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 8px;
    display: block;
  }
  .post-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
    color: var(--ink);
  }
  .post-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terra), var(--terra-light));
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .card-footer .author-info {
    flex: 1;
    min-width: 0;
  }
  .card-footer .author { font-size: 12px; font-weight: 600; color: var(--ink-mid); }
  .card-footer .date { font-size: 11px; color: var(--ink-ghost); }
  .card-footer .likes {
    font-size: 12px;
    color: var(--ink-ghost);
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* Pagination */
  .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
  }
  .page-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--ink-mid);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
  }
  .page-btn:hover, .page-btn.active {
    background: var(--terra);
    border-color: var(--terra);
    color: white;
  }
  .page-btn.prev, .page-btn.next {
    width: auto;
    padding: 0 14px;
    gap: 6px;
    font-size: 12px;
  }

  /* ===== SIDEBAR ===== */
  .sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .widget {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .widget-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .widget-header h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.2px;
  }
  .widget-header .icon { font-size: 16px; }
  .widget-body { padding: 16px 20px; }

  /* Newsletter widget */
  .newsletter-widget {
    background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%);
    border: none;
  }
  .newsletter-widget .widget-body {
    color: white;
  }
  .newsletter-widget h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
  }
  .newsletter-widget p {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  .nl-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    margin-bottom: 10px;
    outline: none;
    backdrop-filter: blur(4px);
  }
  .nl-input::placeholder { color: rgba(255,255,255,0.6); }
  .nl-btn {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    border: none;
    background: white;
    color: var(--terra);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
  }
  .nl-btn:hover { background: var(--sand); transform: translateY(-1px); }
  .nl-note { font-size: 11px; opacity: 0.65; margin-top: 8px; text-align: center; }

  /* Popular posts widget */
  .popular-post {
    display: flex;
    gap: 12px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
  }
  .popular-post:last-child { border-bottom: none; padding-bottom: 0; }
  .popular-post:first-child { padding-top: 0; }
  .popular-post:hover .pp-title { color: var(--terra); }
  .pp-num {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
  }
  .pp-info .pp-cat { font-size: 10px; color: var(--terra); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
  .pp-title { font-size: 13px; font-weight: 600; font-family: 'Poppins', sans-serif; color: var(--ink-mid); line-height: 1.35; transition: color 0.2s; }
  .pp-meta { font-size: 11px; color: var(--ink-ghost); margin-top: 3px; }

  /* Tags widget */
  .tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .tag {
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--ink-soft);
    cursor: pointer;
    transition: var(--transition);
    background: var(--sand);
  }
  .tag:hover {
    border-color: var(--terra);
    color: var(--terra);
    background: var(--terra-pale);
  }

  /* Author widget */
  .author-widget .widget-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .author-avatar-lg {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terra), var(--terra-light));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    border: 3px solid var(--border);
  }
  .author-widget h5 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); }
  .author-widget .bio { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
  .author-socials { display: flex; gap: 8px; }
  .social-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--sand);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
  }
  .social-btn:hover { border-color: var(--terra); background: var(--terra-pale); transform: translateY(-2px); }

  /* ===== FEATURE BANNER ===== */
  .feature-banner {
    background: linear-gradient(120deg, var(--terra-pale) 0%, var(--sand) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    margin: 0 0 48px;
  }
  .feature-banner h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .feature-banner p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
  .feature-banner .badge-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
  }
  .badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-mid);
    background: var(--surface);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
  }
  .feature-banner .cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  .price-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--terra);
    line-height: 1;
  }
  .price-tag small { font-size: 15px; font-weight: 400; color: var(--ink-soft); font-family: 'DM Sans', sans-serif; }
  .btn-buy {
    background: var(--terra);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
  }
  .btn-buy:hover {
    background: var(--terra-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196,98,45,0.4);
  }
  .feature-banner .demo-note { font-size: 11px; color: var(--ink-ghost); }

  /* ===== FOOTER ===== */
  footer {
    background: var(--ink);
    color: rgba(255,255,255,0.75);
    padding: 56px 0 0;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-brand .logo-text { color: white; font-size: 18px; }
  .footer-brand .logo img,
  .footer-brand .custom-logo {
    height: calc(var(--logo-height, 44px) * 0.85);
    max-height: calc(var(--logo-height, 44px) * 0.85);
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
  }
  .footer-brand p { font-size: 13px; line-height: 1.6; margin: 14px 0 20px; opacity: 0.65; }
  .footer-socials { display: flex; gap: 10px; }
  .footer-social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    color: white;
  }
  .footer-social-btn:hover { background: var(--terra); border-color: var(--terra); }
  .footer-col h5 {
    font-family: 'Poppins', sans-serif;
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-col ul li a:hover { color: var(--terra-light); }
  .footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.45;
  }

  /* ===== FLOATING SHARE ===== */
  .float-share {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 50;
  }
  .share-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    box-shadow: var(--shadow);
    color: var(--ink-soft);
  }
  .share-btn:hover {
    background: var(--terra);
    border-color: var(--terra);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(196,98,45,0.35);
  }
  .share-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-ghost);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 4px auto;
  }

  /* ===== RESPONSIVE — TABLET (max 1024px) ===== */
  @media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .post-single { padding: 0; }
    .post-content, .entry-content { padding: 0; }
    .header-top { padding: 0 20px; gap: 16px; }
    .footer-grid { padding: 0 20px 40px; gap: 28px; }
    .footer-bottom { padding: 18px 20px; }
    .magazine-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .post-secondary { grid-template-columns: 90px 1fr; grid-template-rows: 90px; }
    .post-secondary .thumb { width: 90px; height: 90px; }
    .post-featured { grid-column: 1 / -1; grid-row: auto; }
    .post-featured .thumb { height: auto; aspect-ratio: 16/9; min-height: unset; }
    .magazine-secondary-col { flex-direction: row; flex-wrap: wrap; gap: 10px; }
    .magazine-secondary-col .post-secondary { flex: 1 1 calc(50% - 5px); min-width: 0; }
    .post-featured .content h2 { font-size: 22px; }
    .content-area { grid-template-columns: 1fr 280px; gap: 40px; }
    .posts-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .search-box input { width: 100px; }
    nav a { padding: 6px 10px; font-size: 13px; }
    .feature-banner { padding: 28px; gap: 20px; }
    .feature-banner h3 { font-size: 20px; }
  }

  /* ===== RESPONSIVE — MOBILE LARGE (max 768px) ===== */
  @media (max-width: 768px) {
    .container { padding: 0 16px; }
    .header-top { padding: 0 16px; height: 60px; }
    .ticker-inner { padding: 0 16px; }

    nav { display: none; }
    .search-box { display: none; }
    .btn-subscribe { padding: 8px 14px; font-size: 12px; }

    .hero-section { padding: 28px 0 20px; }
    .magazine-grid { grid-template-columns: 1fr; gap: 10px; }
    .post-featured { grid-column: auto; grid-row: auto; }
    .magazine-secondary-col { gap: 10px; }
    .post-featured .thumb { height: auto; aspect-ratio: 16/9; min-height: unset; }
    .post-featured .thumb { aspect-ratio: 16/9; }
    .post-featured .content { padding: 18px; }
    .post-featured .content h2 { font-size: 19px; }
    .post-featured .content .meta { flex-wrap: wrap; gap: 6px; font-size: 11px; }

    /* Cards secundários: coluna única no mobile */
    .magazine-secondary-col {
      flex-direction: column;
      gap: 12px;
    }
    .magazine-secondary-col .post-secondary {
      flex: none;
      width: 100%;
    }
    .post-secondary {
      grid-template-columns: 110px 1fr;
      grid-template-rows: 110px;
    }
    .post-secondary .thumb { width: 110px; height: 110px; }
    .post-secondary .info { padding: 14px 16px; }
    .post-secondary .info h3 { font-size: 13px; line-height: 1.35; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
    .post-secondary .info .meta { display: none; }
    .post-secondary .info { padding: 12px 14px; gap: 5px; justify-content: center; }
    .post-secondary .info .cat { font-size: 10px; margin-bottom: 4px; }
    .post-secondary .info .meta { font-size: 12px; }

    .content-area { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
    .sidebar { position: static; }
    .posts-grid { grid-template-columns: 1fr; gap: 14px; }
    .posts-section h2 { font-size: 18px; }

    /* Post card: layout horizontal em mobile */
    .post-card { display: grid; grid-template-columns: 110px 1fr; }
    .post-card .thumb { aspect-ratio: auto; height: 100%; min-height: 110px; border-radius: var(--radius) 0 0 var(--radius); }
    .post-card .info { padding: 12px; }
    .post-card h3 { font-size: 13px; }
    .post-card p { display: none; }
    .card-reading-time { top: 6px; right: 6px; font-size: 10px; }

    .feature-banner { grid-template-columns: 1fr; padding: 24px; text-align: center; gap: 20px; }
    .feature-banner h3 { font-size: 19px; }
    .feature-banner .badge-list { justify-content: center; }
    .feature-banner .cta { flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }

    .pagination { gap: 6px; flex-wrap: wrap; }
    .page-btn { width: 32px; height: 32px; font-size: 12px; }
    .page-btn.prev, .page-btn.next { padding: 0 10px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 16px 32px; }
    .footer-brand { grid-column: span 2; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding: 16px; }

    .float-share { display: none; }
    
    .customizer { bottom: 56px; left: 12px; }
    .cust-panel { width: 280px; }
  }

  /* ===== RESPONSIVE — MOBILE SMALL (max 480px) ===== */
  @media (max-width: 480px) {
    .container { padding: 0 12px; }
    .header-top { padding: 0 12px; height: 56px; }
    .ticker-inner { padding: 0 12px; }
    .ticker-label { display: none; }

    .logo-text { font-size: 18px; }
    .logo-mark { width: 30px; height: 30px; font-size: 15px; }
    .btn-subscribe { display: none; }

    .post-featured .content h2 { font-size: 16px; }
    .post-featured .content { padding: 14px; }

    .post-card { display: block; }
    .post-card .thumb { aspect-ratio: 16/9; height: auto; border-radius: var(--radius) var(--radius) 0 0; }
    .post-card p { display: block; }

    .post-secondary { grid-template-columns: 96px 1fr; grid-template-rows: 96px; }
    .post-secondary .thumb { width: 96px; height: 96px; }
    .post-secondary .info { padding: 12px 14px; }
    .post-secondary .info h3 { font-size: 13px; }

    .section-eyebrow span:last-child { display: none; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }

    .cust-panel { width: calc(100vw - 24px); }
  }

  /* Animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .post-card, .post-secondary, .widget {
    animation: fadeUp 0.5s 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; }

  
/* ===== WORDPRESS SPECIFICS ===== */

/* Menu gerado pelo WP */
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu li { position: relative; }
.nav-menu a { text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 20px; transition: var(--transition); white-space: nowrap; display: block; }
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a { color: var(--terra); background: var(--terra-pale); }

/* Submenu dropdown */
.nav-menu .sub-menu { position: absolute; top: 100%; left: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); min-width: 200px; padding: 8px; box-shadow: var(--shadow-md); display: none; z-index: 200; }
.nav-menu li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu a { border-radius: 6px; padding: 8px 12px; }

/* Menu mobile */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger-bar { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }
.menu-toggle.is-active .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .hamburger-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ── Mobile Menu ── */
.mobile-menu-drawer {
    display: none;
    background: var(--surface);
    border-bottom: 2px solid var(--terra-light);
    padding: 8px 16px 16px;
}
.mobile-menu-drawer.menu-open {
    display: block;
}
.mobile-nav-menu { list-style: none; }
.mobile-nav-menu a { display: block; padding: 12px 16px; color: var(--ink-mid); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 8px; transition: var(--transition); }
.mobile-nav-menu a:hover { background: var(--terra-pale); color: var(--terra); }
.mobile-nav-menu .sub-menu { padding-left: 16px; list-style: none; }

/* Search form gerado pelo WP */
.search-box .search-form { display: flex; }
.search-box .search-field { border: none; background: transparent; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--ink); outline: none; width: 140px; }
.search-box .search-field::placeholder { color: var(--ink-ghost); }
.search-box .search-submit { display: none; }

/* Imagens do tema */
.post-featured .thumb img,
.post-secondary .thumb img,
.post-card .thumb img,
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-featured .thumb { position: relative; overflow: hidden; }
.post-featured .thumb img { position: absolute; inset: 0; }

/* Placeholder quando não tem thumbnail */
.thumb-placeholder { background: linear-gradient(135deg, var(--terra-pale), var(--terra-light)); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.thumb-placeholder-sm { background: linear-gradient(135deg, var(--terra-pale), var(--terra-light)); width: 100%; height: 100%; border-radius: 8px; }

/* Single post */
.single-post .content-area { grid-template-columns: 1fr 320px; gap: 48px; }
.page-template .content-area { grid-template-columns: 1fr 320px; gap: 48px; }
.post-single { max-width: 720px; }
.post-header { margin-bottom: 32px; }
.post-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post-title { font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 20px; }
.post-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.author-info-inline { display: flex; align-items: center; gap: 10px; }
.author-avatar-sm { width: 36px; height: 36px; border-radius: 50%; }
.author-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.post-date { display: block; font-size: 12px; color: var(--ink-ghost); }
.post-meta-right { display: flex; gap: 12px; font-size: 13px; color: var(--ink-soft); }
.post-thumbnail { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
/* ── Conteúdo do post/página: tipografia completa ── */
.post-content,
.entry-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-mid);
  max-width: 100%;
}

/* Parágrafos */
.post-content p,
.entry-content p {
  margin-bottom: 24px;
  orphans: 3;
  widows: 3;
}

/* Headings */
.post-content h1, .entry-content h1 { font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1.2; margin: 40px 0 16px; letter-spacing: -0.5px; }
.post-content h2, .entry-content h2 { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.25; margin: 36px 0 14px; letter-spacing: -0.3px; }
.post-content h3, .entry-content h3 { font-family: 'Poppins', sans-serif; font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.3; margin: 32px 0 12px; }
.post-content h4, .entry-content h4 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.35; margin: 28px 0 10px; }
.post-content h5, .entry-content h5 { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.post-content h6, .entry-content h6 { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; margin: 20px 0 8px; }

/* Primeiro heading logo após o thumbnail não precisa de margin-top grande */
.post-content > h2:first-child,
.post-content > h3:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child { margin-top: 0; }

/* Links */
.post-content a, .entry-content a { color: var(--terra); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
.post-content a:hover, .entry-content a:hover { color: var(--terra-dark); }

/* Listas */
.post-content ul,
.post-content ol,
.entry-content ul,
.entry-content ol {
  margin: 0 0 24px 0;
  padding-left: 28px;
  line-height: 1.85;
}
.post-content ul, .entry-content ul { list-style-type: disc; }
.post-content ol, .entry-content ol { list-style-type: decimal; }
.post-content li, .entry-content li { margin-bottom: 8px; padding-left: 4px; }
.post-content li > ul,
.post-content li > ol,
.entry-content li > ul,
.entry-content li > ol { margin-top: 8px; margin-bottom: 0; }

/* Blockquote */
.post-content blockquote,
.entry-content blockquote {
  border-left: 4px solid var(--terra);
  padding: 18px 24px;
  background: var(--terra-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.post-content blockquote p:last-child,
.entry-content blockquote p:last-child { margin-bottom: 0; }
.post-content blockquote cite,
.entry-content blockquote cite { display: block; margin-top: 10px; font-size: 13px; font-style: normal; color: var(--ink-soft); }

/* Imagens */
.post-content img, .entry-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); display: block; margin: 8px 0; }
.post-content figure, .entry-content figure { margin: 28px 0; }
.post-content figcaption, .entry-content figcaption { font-size: 13px; color: var(--ink-ghost); text-align: center; margin-top: 8px; font-style: italic; }

/* Código */
.post-content code, .entry-content code { font-family: 'Courier New', monospace; font-size: 14px; background: var(--sand); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px; color: var(--terra-dark); }
.post-content pre, .entry-content pre { background: var(--ink); color: #f8f8f2; padding: 20px 24px; border-radius: var(--radius-sm); overflow-x: auto; margin: 28px 0; font-size: 14px; line-height: 1.6; }
.post-content pre code, .entry-content pre code { background: none; border: none; padding: 0; color: inherit; }

/* Tabelas */
.post-content table, .entry-content table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.post-content th, .entry-content th { background: var(--sand); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; text-align: left; padding: 10px 14px; border: 1px solid var(--border); color: var(--ink); }
.post-content td, .entry-content td { padding: 10px 14px; border: 1px solid var(--border); color: var(--ink-mid); vertical-align: top; }
.post-content tr:nth-child(even) td, .entry-content tr:nth-child(even) td { background: var(--terra-pale); }

/* Separador */
.post-content hr, .entry-content hr { border: none; border-top: 2px solid var(--border); margin: 40px 0; }

/* Texto destacado / strong / em */
.post-content strong, .entry-content strong { font-weight: 700; color: var(--ink); }
.post-content em, .entry-content em { font-style: italic; }

/* Alinhamentos WordPress */
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 24px; text-align: center; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }

/* Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 32px 0; }
.post-tags > span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* Caixa do autor */
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: var(--sand); border-radius: var(--radius); padding: 24px; margin: 40px 0; border: 1px solid var(--border); }
.author-avatar-lg { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--border); flex-shrink: 0; }
.author-box-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-ghost); display: block; margin-bottom: 4px; }
.author-box-info h4 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.author-box-info p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 12px; }
.author-socials { display: flex; gap: 8px; }

/* Navegação entre posts */
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.post-navigation .nav-previous, .post-navigation .nav-next { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; transition: var(--transition); }
.post-navigation a { text-decoration: none; color: inherit; display: block; }
.post-navigation .nav-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--terra); display: block; margin-bottom: 4px; }
.post-navigation .nav-title { font-size: 14px; font-weight: 600; color: var(--ink-mid); line-height: 1.35; }
.post-navigation .nav-previous:hover, .post-navigation .nav-next:hover { border-color: var(--terra); box-shadow: var(--shadow); }

/* Posts relacionados */
.related-posts { margin: 40px 0; }
.related-posts h3 { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--terra); }

/* Paginação WordPress */
.pagination-wrap .nav-links { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 32px 0; flex-wrap: wrap; }
.pagination-wrap .page-numbers { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: var(--card-bg); color: var(--ink-mid); font-size: 13px; font-weight: 500; text-decoration: none; transition: var(--transition); }
.pagination-wrap .page-numbers:hover, .pagination-wrap .page-numbers.current { background: var(--terra); border-color: var(--terra); color: white; }
.pagination-wrap .prev, .pagination-wrap .next { width: auto; padding: 0 14px; font-size: 12px; }

/* Sem resultados */
.no-results { text-align: center; padding: 80px 20px; }
.no-results h2 { font-family: 'Poppins', sans-serif; font-size: 24px; margin-bottom: 12px; }
.no-results p { color: var(--ink-soft); margin-bottom: 24px; }

/* Posts section header */
.posts-section-header { margin-bottom: 24px; }
.posts-section-header h2 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; color: var(--ink); padding-bottom: 16px; border-bottom: 2px solid var(--terra); display: flex; align-items: center; gap: 10px; }
.posts-section-header h2 .count { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; color: var(--ink-ghost); margin-left: auto; }

/* Sidebar author widget */
.author-widget-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.author-widget-body .author-avatar-lg { width: 64px; height: 64px; }
.author-widget-body h5 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); }
.author-widget-body .bio { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.author-widget-body .author-socials { justify-content: center; }

/* Newsletter sem configuração */
.nl-config-notice { font-size: 12px; color: rgba(255,255,255,0.7); font-style: italic; }

/* Responsive para menu mobile */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
}

/* Leitura */
.reading-time { font-size: 12px; color: var(--ink-ghost); background: var(--sand); padding: 3px 10px; border-radius: 20px; border: 1px solid var(--border); }

/* Single post responsive */
@media (max-width: 768px) {
  .single-post .content-area { grid-template-columns: 1fr; }
  .post-title { font-size: 26px; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-socials { justify-content: center; }
}

/* ===== COMMENTS ===== */
.comments-area {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}
.comments-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
}
.comments-title span { color: var(--terra); }

.comment-list { list-style: none; padding: 0; }
.comment-item { margin-bottom: 24px; }
.comment-body {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.comment-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}
.comment-meta { flex: 1; }
.comment-author-name { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.comment-author-name a { color: inherit; text-decoration: none; }
.comment-time { font-size: 12px; color: var(--ink-ghost); }
.comment-actions { margin-left: auto; }
.comment-actions a {
  font-size: 12px;
  color: var(--terra);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--terra);
  transition: var(--transition);
}
.comment-actions a:hover { background: var(--terra); color: white; }
.comment-content { font-size: 15px; color: var(--ink-mid); line-height: 1.7; }
.comment-content p { margin-bottom: 8px; }
.comment-awaiting { font-size: 12px; color: var(--ink-ghost); font-style: italic; margin-bottom: 10px; }

/* Respostas aninhadas */
.children { list-style: none; padding-left: 40px; margin-top: 16px; }

/* Formulário de comentários */
.comment-respond {
  margin-top: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.comment-reply-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.comment-reply-title small a {
  font-size: 13px;
  color: var(--terra);
  margin-left: 12px;
  font-weight: 400;
}
.comment-form p { margin-bottom: 16px; }
.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--sand);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(196,98,45,0.12);
  background: var(--surface);
}
.comment-form textarea { min-height: 120px; }
.comment-form .form-submit { margin-bottom: 0; }
.form-allowed-tags { display: none; }

/* No-comments notice */
.no-comments {
  text-align: center;
  padding: 24px;
  color: var(--ink-ghost);
  font-style: italic;
  background: var(--sand);
  border-radius: var(--radius);
}

/* Comment navigation */
.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin: 24px 0;
  font-size: 13px;
}
.comment-navigation a { color: var(--terra); text-decoration: none; font-weight: 600; }

/* Archive header */
.archive-header { padding: 40px 0 24px; border-bottom: 2px solid var(--terra); margin-bottom: 32px; }
.archive-title { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; color: var(--ink); }
.archive-desc { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }

/* Responsive adjustments for site-main padding */
@media (max-width: 768px) {
  .single-post, .page-template, .archive-template, .search-template { padding-top: 32px; }
  .children { padding-left: 16px; }
  .comment-respond { padding: 20px; }
}
@media (max-width: 480px) {
  .single-post, .page-template, .archive-template, .search-template { padding-top: 24px; }
}

/* ===== GARANTE QUE SÓ O SITE HEADER FICA FIXO ===== */
.post-header,
.archive-header,
.page-header,
.comment-respond {
  position: static !important;
}

  /* ===== TIPOGRAFIA MOBILE — single e páginas ===== */
  @media (max-width: 768px) {
    .post-title { font-size: 26px; letter-spacing: -0.3px; }

    .post-content,
    .entry-content { font-size: 15px; line-height: 1.8; }

    .post-content h1, .entry-content h1 { font-size: 24px; margin: 28px 0 12px; }
    .post-content h2, .entry-content h2 { font-size: 20px; margin: 24px 0 10px; }
    .post-content h3, .entry-content h3 { font-size: 17px; margin: 20px 0 8px; }
    .post-content h4, .entry-content h4 { font-size: 15px; margin: 16px 0 8px; }
    .post-content h5, .entry-content h5 { font-size: 14px; margin: 14px 0 6px; }
    .post-content h6, .entry-content h6 { font-size: 12px; margin: 12px 0 6px; }

    .post-content blockquote,
    .entry-content blockquote { font-size: 16px; padding: 14px 18px; }

    .post-content table,
    .entry-content table { font-size: 13px; }
    .post-content th,
    .entry-content th,
    .post-content td,
    .entry-content td { padding: 8px 10px; }
  }

  @media (max-width: 480px) {
    .post-title { font-size: 22px; }

    .post-content,
    .entry-content { font-size: 15px; line-height: 1.75; }

    .post-content h1, .entry-content h1 { font-size: 21px; }
    .post-content h2, .entry-content h2 { font-size: 18px; }
    .post-content h3, .entry-content h3 { font-size: 16px; }
    .post-content h4, .entry-content h4 { font-size: 15px; }

    .post-content ul,
    .post-content ol,
    .entry-content ul,
    .entry-content ol { padding-left: 20px; }

    .post-content pre,
    .entry-content pre { padding: 14px 16px; font-size: 13px; }
  }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.aura-breadcrumb {
  margin-bottom: 20px;
}
.aura-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-ghost);
  line-height: 1.4;
}
.aura-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.aura-breadcrumb a {
  color: var(--terra);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
.aura-breadcrumb a:hover {
  color: var(--terra-dark);
  text-decoration: underline;
}
.aura-breadcrumb [aria-current="page"] {
  color: var(--ink-soft);
  font-weight: 400;
  /* trunca títulos muito longos no mobile */
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
}
.aura-breadcrumb .bc-sep {
  color: var(--border);
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

@media (max-width: 480px) {
  .aura-breadcrumb ol { font-size: 12px; }
  .aura-breadcrumb [aria-current="page"] { max-width: 140px; }
}

/* ==========================================================================
   COOKIE CONSENT BAR
   ========================================================================== */
.aura-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.aura-cookie-bar.aura-cookie-show {
  transform: translateY(0);
}
.aura-cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.aura-cookie-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.aura-cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  margin: 0;
}
.aura-cookie-text a {
  color: var(--terra-light);
  text-decoration: underline;
  margin-left: 4px;
}
.aura-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.aura-cookie-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  font-family: inherit;
}
.aura-cookie-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.aura-cookie-btn--accept {
  background: var(--terra);
  color: #fff;
}
.aura-cookie-btn--decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
}
@media (max-width: 600px) {
  .aura-cookie-inner { flex-direction: column; align-items: flex-start; }
  .aura-cookie-actions { width: 100%; }
  .aura-cookie-btn { flex: 1; text-align: center; }
}
