/*
 * Independent Theme — Estilo: tintaepapel
 * Gerado automaticamente na refatoração v5.2
 * NÃO editar manualmente sem atualizar style.css
 */

/* ── Regras de desktop ── */

body.style-tintaepapel aside {
  background-color: #e8e2d5;
  border-left: 1px solid #c8c0b0;
}

body.style-tintaepapel main {
  border-right: 1px solid #c8c0b0;
}

body.style-tintaepapel main {
  background-color: #f2f4f6;
  border-right: 1px solid #c8c0b0;
}

body.style-tintaepapel aside {
  background-color: #dde3e8;
  border-left: none;
}

body.style-tintaepapel .widget {
  background-color: #f2f4f6;
  border: 1px solid #c8c0b0;
}

body.style-tintaepapel {
  background-color: #e8ecf0;
}

body.style-tintaepapel .site-header {
  background: linear-gradient(
    180deg,
    #2C3E50 0%,
    #1a2530 100%
  ) !important;
  border-bottom: 3px solid #111a22 !important;
  box-shadow: 0 3px 16px rgba(0,0,0,0.30) !important;
}

body.style-tintaepapel .site-header::after {
  content: '';
  display: block;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #8B5E1A, #e0b060, #8B5E1A);
  animation: tintaLine 1.2s ease forwards;
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  body.style-tintaepapel .site-header::after {
    animation: none !important;
    width: 100% !important;
  }
}

body.style-tintaepapel .primary-nav .menu a {
  position: relative !important;
  overflow: hidden !important;
  color: #e8c478 !important; /* dourado claro — contraste AA (6.6) sobre o cabeçalho #2C3E50; não depender da herança */
  transition: color 0.30s ease !important;
}

body.style-tintaepapel .primary-nav .menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: rgba(139,94,26,0.14);
  transition: height 0.30s ease;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

body.style-tintaepapel .primary-nav .menu a:hover::before {
  height: 100%;
}

body.style-tintaepapel .primary-nav .menu a:hover {
  color: #c49a3c !important;
}

@media (prefers-reduced-motion: reduce) {
  body.style-tintaepapel .primary-nav .menu a::before {
    display: none !important;
  }
}

body.style-tintaepapel .entry-title,
body.style-tintaepapel .post-content h2,
body.style-tintaepapel .page-content h2 {
  animation: tintaEscreve 0.9s ease both !important;
}

body.style-tintaepapel .post-content h3,
body.style-tintaepapel .page-content h3 {
  animation: tintaEscreve 0.9s ease 0.15s both !important;
}

@media (prefers-reduced-motion: reduce) {
  body.style-tintaepapel .entry-title,
  body.style-tintaepapel .post-content h2,
  body.style-tintaepapel .post-content h3,
  body.style-tintaepapel .page-content h2,
  body.style-tintaepapel .page-content h3 {
    animation: none !important;
  }
}

body.style-tintaepapel .post-content blockquote,
body.style-tintaepapel .page-content blockquote {
  border-left: 5px solid #8B5E1A !important;
  background: #e8e0d0 !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 1.4rem 1.8rem !important;
  font-style: italic !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1.05rem !important;
  line-height: 1.80 !important;
  color: #2C1810 !important;
  position: relative !important;
  box-shadow: inset 0 0 0 1px rgba(139,94,26,0.12),
              0 2px 12px rgba(0,0,0,0.08) !important;
}

body.style-tintaepapel .post-content blockquote::before,
body.style-tintaepapel .page-content blockquote::before {
  content: '"';
  position: absolute;
  top: -12px;
  left: 14px;
  font-size: 5rem;
  color: rgba(139,68,19,0.50);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

body.style-tintaepapel main {
  background-image: repeating-linear-gradient(
    transparent,
    transparent 27px,
    rgba(139,94,26,0.05) 28px
  ) !important;
  background-size: 100% 28px !important;
}

body.style-tintaepapel .widget,
body.style-tintaepapel .widget_block {
  position: relative;
  overflow: visible /* era hidden — cortava o formulário de busca */;
  border: 1px solid rgba(139,94,26,0.18) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
}

body.style-tintaepapel .widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #8B5E1A, #c49a3c, transparent);
  pointer-events: none;
}

body.style-tintaepapel .widget h3,
body.style-tintaepapel .widget h2 {
  border-bottom: 2px solid #8B5E1A !important;
  padding-bottom: 8px !important;
  font-family: Georgia, serif !important;
  color: #2C3E50 !important;
  -webkit-text-fill-color: #2C3E50 !important;
}

body.style-tintaepapel .post-content a,
body.style-tintaepapel .page-content a {
  color: #7a3e10 !important;
  text-decoration: none !important;
  background-image: linear-gradient(#8B5E1A, #8B5E1A) !important;
  background-size: 0% 1px !important;
  background-repeat: no-repeat !important;
  background-position: left bottom !important;
  transition: background-size 0.4s ease, color 0.2s ease !important;
  padding-bottom: 1px !important;
}

body.style-tintaepapel .post-content a:hover,
body.style-tintaepapel .page-content a:hover {
  color: #5a2e08 !important;
  background-size: 100% 1px !important;
}

@media (prefers-reduced-motion: reduce) {
  body.style-tintaepapel .post-content a,
  body.style-tintaepapel .page-content a {
    text-decoration: underline !important;
    background-image: none !important;
  }
}

body.style-tintaepapel .header-search .search-form .search-submit:hover {
  background: #6b3a0f !important;
  box-shadow: 0 3px 12px rgba(139,94,26,0.30) !important;
  transform: translateY(-1px) !important;
}

body.style-tintaepapel .read-more:hover {
  background: #6b3a0f !important;
  box-shadow: 0 3px 12px rgba(139,94,26,0.30) !important;
  transform: translateY(-2px) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.style-tintaepapel .header-search .search-form .search-submit:hover { transform: none !important; }
}

body.style-tintaepapel  { --accent-color: #8B5E1A; --on-accent: #FFF8F0; }
/* ── Componentes adicionados na auditoria v5.3 ── */


body.style-tintaepapel .post-meta {
  color: #666666 !important;
  font-size: 0.85rem !important;
  background: transparent !important;
  border-left: 3px solid #8B5E1A !important;
  padding-left: 10px !important;
}
body.style-tintaepapel .post-meta a {
  color: #8B5E1A !important;
  text-decoration: none !important;
}
body.style-tintaepapel .post-meta a:hover {
  color: #8B5E1A !important;
}

body.style-tintaepapel .excerpt,
body.style-tintaepapel .excerpt p {
  color: #333333 !important;
  line-height: 1.7 !important;
}

body.style-tintaepapel article {
  background-color: #ffffff;
  border: 1px solid #d1c5b0 !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
body.style-tintaepapel article:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10) !important;
  transform: translateY(-2px);
}

body.style-tintaepapel .comment-list .comment-body {
  background: #ffffff !important;
  border: 1px solid #d1c5b0 !important;
  border-radius: 8px !important;
  padding: 1.25rem 1.5rem !important;
}
body.style-tintaepapel .comment-metadata a {
  color: #666666 !important;
  font-size: 0.82rem !important;
  text-decoration: none !important;
}
body.style-tintaepapel .comment-metadata a:hover {
  color: #8B5E1A !important;
}
body.style-tintaepapel .comment-content p {
  color: #333333 !important;
  line-height: 1.75 !important;
}
body.style-tintaepapel .comment-author .fn,
body.style-tintaepapel .comment-author-name {
  color: #333333 !important;
}

body.style-tintaepapel .comment-form input[type="text"],
body.style-tintaepapel .comment-form input[type="email"],
body.style-tintaepapel .comment-form input[type="url"],
body.style-tintaepapel .comment-form textarea {
  background: #ffffff !important;
  border: 1.5px solid #d1c5b0 !important;
  color: #333333 !important;
  border-radius: 6px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
body.style-tintaepapel .comment-form input:focus,
body.style-tintaepapel .comment-form textarea:focus {
  border-color: #8B5E1A !important;
  box-shadow: 0 0 0 3px #8B5E1A22 !important;
  outline: none !important;
}
body.style-tintaepapel .comment-form .submit {
  background: #8B5E1A !important;
  color: #FFF8F0 !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.04em !important;
}
body.style-tintaepapel .comment-form .submit:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px);
}

body.style-tintaepapel .wp-block-search__inside-wrapper {
  display: flex !important;
  width: 100% !important;
}
body.style-tintaepapel .wp-block-search__input {
  background: #ffffff !important;
  border: 1.5px solid #d1c5b0 !important;
  color: #333333 !important;
  border-radius: 6px 0 0 6px !important;
}
body.style-tintaepapel .wp-block-search__input:focus {
  border-color: #8B5E1A !important;
  outline: none !important;
}
body.style-tintaepapel .wp-block-search__button {
  background: #8B5E1A !important;
  color: #FFF8F0 !important;
  border: none !important;
  border-radius: 0 6px 6px 0 !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
}
body.style-tintaepapel .wp-block-search__button:hover {
  opacity: 0.88 !important;
}

body.style-tintaepapel footer a {
  transition: color 0.3s ease;
}
body.style-tintaepapel footer a:hover {
  color: #8B5E1A !important;
}

body.style-tintaepapel .social-links a {
  transition: color 0.3s ease, opacity 0.3s ease;
}
body.style-tintaepapel .social-links a:hover {
  color: #8B5E1A !important;
  opacity: 0.85;
}

body.style-tintaepapel .pagination .page-numbers {
  border-radius: 6px;
  border: 1.5px solid #8B5E1A;
  color: #8B5E1A;
  transition: all 0.3s ease;
}
body.style-tintaepapel .pagination .current,
body.style-tintaepapel .pagination .page-numbers:hover {
  background: #8B5E1A !important;
  border-color: #8B5E1A !important;
  color: #FFF8F0 !important;
}

body.style-tintaepapel .back-link a {
  color: #8B5E1A !important;
  border: 1.5px solid #8B5E1A !important;
  border-radius: 6px;
  padding: 7px 16px;
  text-decoration: none !important;
  font-weight: 500;
  transition: all 0.3s ease;
}
body.style-tintaepapel .back-link a:hover {
  background: #8B5E1A !important;
  color: #FFF8F0 !important;
}

body.style-tintaepapel .error-404 .page-title,
body.style-tintaepapel .no-results .page-title {
  color: #8B5E1A !important;
}
body.style-tintaepapel .error-404 .search-form .search-field,
body.style-tintaepapel .no-results .search-form .search-field {
  background: #ffffff !important;
  border: 1.5px solid #d1c5b0 !important;
  color: #333333 !important;
  border-radius: 6px 0 0 6px !important;
}
body.style-tintaepapel .error-404 .search-form .search-submit,
body.style-tintaepapel .no-results .search-form .search-submit {
  background: #8B5E1A !important;
  color: #FFF8F0 !important;
  border: none !important;
  border-radius: 0 6px 6px 0 !important;
  font-weight: 700 !important;
}

@media (max-width: 600px) {
  body.style-tintaepapel .site-title .site-name a {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }
  body.style-tintaepapel .site-title .site-description {
    font-size: clamp(0.75rem, 3vw, 0.88rem);
  }
  body.style-tintaepapel article {
    border-radius: 8px !important;
  }
}

body.style-tintaepapel .post-thumbnail-img {
  border-radius: 6px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.style-tintaepapel article:hover .post-thumbnail-img {
  transform: scale(1.02);
}
/* ── Conteúdo Extra: widgets seguem o visual do cartão de conteúdo ──
   Fundo branco e borda do article (em vez do cinza #f2f4f6 da sidebar) */
body.style-tintaepapel .content-extra .widget {
  border: 1px solid #d1c5b0 !important;
}
