/*
 * Independent Theme — Estilo: rock
 * Gerado automaticamente na refatoração v5.2
 * NÃO editar manualmente sem atualizar style.css
 */

/* ── Regras de desktop ── */

body.style-rock {
  --primary-color:       #0a0a0a;
  --accent-color:        #cc0000;
  --on-accent:           #ffffff;
  --bg-light:            #111111;
  --card-bg:             #1a1a1a;
  --link-color:          #cc0000;
  --text-color:          #e8e4de;
  --muted-text:          #b8b4ae;
  --border-color:        #2a2a2a;
  --header-bg:           #0a0a0a;
  --header-fg:           #e8e4de;
  --header-muted:        rgba(232,228,222,0.65);
  --header-border:       rgba(204,0,0,0.30);
  --header-title-color:  #ffffff;
  --header-input-bg:     rgba(255,255,255,0.06);
  --header-input-border: rgba(204,0,0,0.40);
  --font-title:          'Oswald', 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  background-color: #111111;
  color: #e8e4de;
}

body.style-rock .site-header {
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%) !important;
  border-bottom: 3px solid #cc0000 !important;
  box-shadow: 0 4px 24px rgba(204,0,0,0.25) !important;
}

body.style-rock .site-title .site-name a {
  color: #ffffff;
  font-family: 'Oswald', 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(204,0,0,0.50);
  text-decoration: none !important;
}

body.style-rock .site-title .site-description,
body.style-rock .site-header .site-description {
  color: rgba(232,228,222,0.60);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.style-rock .site-header::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #cc0000, #ff3333, #cc0000);
  animation: rockLine 0.3s ease forwards;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  body.style-rock .site-header::after {
    animation: none !important;
    width: 100% !important;
  }
}

body.style-rock .primary-nav {
  background: #0f0f0f;
  border-top: 1px solid rgba(204,0,0,0.20);
  padding-bottom: 8px !important;
}

body.style-rock .primary-nav .menu a {
  color: #e8e4de;
  font-family: 'Oswald', 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

body.style-rock .primary-nav .menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: rgba(204,0,0,0.25);
  transition: height 0.22s ease;
  z-index: -1;
}

body.style-rock .primary-nav .menu a:hover::before,
body.style-rock .primary-nav .menu .current-menu-item > a::before {
  height: 100%;
}

body.style-rock .primary-nav .menu a:hover,
body.style-rock .primary-nav .menu .current-menu-item > a {
  color: #ffffff;
}

body.style-rock .primary-nav .menu .current-menu-item > a {
  border-bottom: 2px solid #cc0000;
}

body.style-rock .header-search .search-form .search-field {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(204,0,0,0.40) !important;
  color: #e8e4de !important;
}

body.style-rock .header-search .search-form .search-field::placeholder {
  color: rgba(232,228,222,0.40) !important;
}

body.style-rock .header-search .search-form .search-submit {
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body.style-rock .header-search .search-form .search-submit:hover {
  background: #aa0000 !important;
  box-shadow: 0 0 12px rgba(204,0,0,0.50) !important;
}

body.style-rock main {
  background-color: #1a1a1a !important;
  border-right: 1px solid #2a2a2a;
}

body.style-rock .site-content {
  background-color: #111111 !important;
}

body.style-rock h1,
body.style-rock h2,
body.style-rock h3,
body.style-rock .entry-title {
  color: #e8e4de; /* era #ffffff — branco acinzentado suaviza o brilho em telas escuras */
  font-family: 'Oswald', 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em; /* era 0.06em — espaçamento sutil melhora legibilidade */
  animation: rockImpact 0.25s ease both;
}

body.style-rock .entry-title a {
  color: #e8e4de; /* consistente com os títulos */
  text-decoration: none;
}

body.style-rock .entry-title a:focus-visible {
  outline: 3px solid #cc0000 !important;
  outline-offset: 2px !important;
  border-radius: 3px;
}

body.style-rock .entry-title a:focus:not(:focus-visible) {
  outline: none !important;
}

body.style-rock .entry-title a:hover {
  color: #cc0000;
}

body.style-rock .post-content h2,
body.style-rock .page-content h2 {
  color: #cc0000;
  border-bottom: 1px solid rgba(204,0,0,0.30);
  padding-bottom: 0.4em;
}

body.style-rock .post-content h3,
body.style-rock .page-content h3 {
  color: #e8e4de;
}

body.style-rock a {
  color: #cc0000;
}

body.style-rock a:hover {
  color: #ff3333;
}

body.style-rock .post-content blockquote,
body.style-rock .page-content blockquote {
  border-left: 4px solid #cc0000 !important;
  background: rgba(204,0,0,0.06) !important;
  color: #c8c4be !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 1.4rem 1.8rem !important;
  font-style: italic !important;
  position: relative !important;
}

body.style-rock .post-content blockquote::before,
body.style-rock .page-content blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 4rem;
  color: rgba(204,0,0,0.75);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

body.style-rock .read-more {
  background: #cc0000 !important;
  color: #ffffff !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-radius: 4px !important;
}

body.style-rock .read-more:hover {
  background: #aa0000 !important;
  box-shadow: 0 4px 16px rgba(204,0,0,0.40) !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
}

body.style-rock .back-link a {
  display: inline-block;
  background: transparent;
  color: #cc0000 !important;
  -webkit-text-fill-color: #cc0000 !important;
  border: 2px solid #cc0000;
  border-radius: 4px;
  padding: 8px 18px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

body.style-rock .back-link a:hover {
  background: #cc0000 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.style-rock aside {
  background-color: #161616 !important;
  border-left: 1px solid #2a2a2a !important;
}

body.style-rock .widget,
body.style-rock .widget_block {
  background-color: #1e1e1e !important;
  border: 1px solid #2a2a2a !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.40) !important;
  position: relative;
  overflow: visible; /* não usar hidden: corta formulários e focus rings */
}

body.style-rock .widget {
  border-top: 3px solid #cc0000 !important;
}

body.style-rock .widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #cc0000, #660000);
}

body.style-rock .widget h2,
body.style-rock .widget h3,
body.style-rock .widget h4 {
  color: #cc0000 !important;
  font-family: 'Oswald', 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 0.85rem !important;
  border-bottom: 1px solid rgba(204,0,0,0.25) !important;
  padding-bottom: 8px !important;
}

body.style-rock .widget a {
  color: #cc0000;
  hyphens: none;
  word-break: normal;
}

body.style-rock .widget a:hover {
  color: #ff3333;
}

body.style-rock .widget p,
body.style-rock .widget li,
body.style-rock .widget span {
  color: #c8c4be !important;
}

body.style-rock .widget .excerpt,
body.style-rock .widget .excerpt p,
body.style-rock .widget div:not([class*="h"]):not(.widget-title) {
  color: #c8c4be !important;
}

body.style-rock .comment-list .comment-body {
  background: #1e1e1e !important;
  border: 1px solid #2a2a2a !important;
}

body.style-rock .comment-author .fn {
  color: #cc0000 !important;
  -webkit-text-fill-color: #cc0000 !important;
}

body.style-rock .comment-author-name,
body.style-rock .comment-author-name a {
  color: #cc0000 !important;
  -webkit-text-fill-color: #cc0000 !important;
}

body.style-rock .comment-metadata a {
  color: #666660 !important;
}

body.style-rock .comment-content p {
  color: #c8c4be !important;
}

body.style-rock .comment-reply-link,
body.style-rock .reply a,
body.style-rock .comment-reply a {
  background: transparent !important;
  border: 2px solid #cc0000 !important;
  color: #cc0000 !important;
  -webkit-text-fill-color: #cc0000 !important;
  font-family: 'Oswald', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  border-radius: 3px !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

body.style-rock .comment-reply-link:hover,
body.style-rock .reply a:hover,
body.style-rock .comment-reply a:hover {
  background: #cc0000 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.style-rock .comment-form input,
body.style-rock .comment-form textarea {
  background: #111111 !important;
  border: 1px solid #2a2a2a !important;
  color: #e8e4de !important;
  border-radius: 4px !important;
}

body.style-rock .comment-form input:focus,
body.style-rock .comment-form textarea:focus {
  border-color: #cc0000 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(204,0,0,0.25) !important;
}

body.style-rock .comment-form label {
  color: #a8a49e !important;
}

body.style-rock #submit,
body.style-rock .comment-form .submit {
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-radius: 4px !important;
  padding: 0.65rem 1.6rem !important;
}

body.style-rock #submit:hover,
body.style-rock .comment-form .submit:hover {
  background: #aa0000 !important;
  box-shadow: 0 4px 16px rgba(204,0,0,0.40) !important;
}

body.style-rock .post-meta {
  background: #161616 !important;
  border-left: 4px solid #cc0000 !important;
  color: #888880 !important;
}

body.style-rock .post-meta a {
  color: #cc0000 !important;
}

body.style-rock .pagination .page-numbers {
  background: #1e1e1e !important;
  color: #e8e4de !important;
  border: 1px solid #2a2a2a !important;
}

body.style-rock .pagination .page-numbers.current {
  background: #cc0000 !important;
  color: #ffffff !important;
  border-color: #cc0000 !important;
}

body.style-rock .pagination .page-numbers:hover {
  background: rgba(204,0,0,0.20) !important;
  border-color: #cc0000 !important;
  color: #ffffff !important;
}

body.style-rock footer[role="contentinfo"] {
  background: #080808 !important;
  border-top: 2px solid rgba(204,0,0,0.40) !important;
}

body.style-rock .site-info,
body.style-rock .site-info p {
  color: rgba(232,228,222,0.50) !important;
  border-top-color: rgba(204,0,0,0.15) !important;
}

body.style-rock footer a {
  color: #cc0000 !important;
}

body.style-rock footer a:hover {
  color: #ff3333 !important;
}

body.style-rock .social-title {
  color: #cc0000 !important;
}

body.style-rock .social-links a {
  color: #888880 !important;
}

body.style-rock .social-links a:hover {
  color: #cc0000 !important;
}

body.style-rock footer[role="contentinfo"] p,
body.style-rock footer[role="contentinfo"] span,
body.style-rock footer[role="contentinfo"] li {
  color: #888880 !important;
}

body.style-rock footer .widget h2,
body.style-rock footer .widget h3,
body.style-rock footer .widget h4,
body.style-rock footer .footer-widget h2,
body.style-rock footer .footer-widget h3,
body.style-rock footer .footer-widget h4 {
  color: #cc0000 !important;
  border-bottom-color: rgba(204,0,0,0.30) !important;
}

body.style-rock footer .widget::before {
  background: linear-gradient(90deg, rgba(204,0,0,0.60), rgba(204,0,0,0.10), transparent) !important;
}

body.style-rock footer .footer-widget,
body.style-rock footer .widget {
  background-color: transparent !important;
  border-color: rgba(204,0,0,0.15) !important;
}

body.style-rock { --accent-color: #cc0000; --on-accent: #ffffff; }

@media (max-width: 768px) {
  body.style-rock .menu-toggle {
    color: #e8e4de !important;
    border-color: rgba(204,0,0,0.40) !important;
  }

  body.style-rock #main-menu {
    background: #0f0f0f !important;
    border-top: 1px solid rgba(204,0,0,0.20) !important;
  }

  body.style-rock #main-menu a {
    border-bottom-color: rgba(204,0,0,0.10) !important;
    color: #e8e4de !important;
  }

  body.style-rock .search-toggle {
    color: #e8e4de !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.style-rock h1,
  body.style-rock h2,
  body.style-rock h3,
  body.style-rock .entry-title {
    animation: none !important;
  }
  body.style-rock .primary-nav .menu a::before {
    display: none !important;
  }
}

/* ── Regras responsivas (mobile) ── */

@media (max-width: 600px) {
  body.style-rock .site-title .site-name,
  body.style-colorado .site-title .site-name {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  body.style-rock .site-title .site-description,
  body.style-colorado .site-title .site-description {
    font-size: clamp(0.7rem, 2.8vw, 0.82rem);
  }
}
/* ── Componentes adicionados na auditoria v5.3 ── */


body.style-rock .post-content a,
body.style-rock .page-content a {
  color: #cc0000 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.3s ease;
}
body.style-rock .post-content a:hover,
body.style-rock .page-content a:hover {
  color: #cc0000 !important;
}

body.style-rock article {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
body.style-rock article:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10) !important;
  transform: translateY(-2px);
}

body.style-rock .wp-block-search__inside-wrapper {
  display: flex !important;
  width: 100% !important;
}
body.style-rock .wp-block-search__input {
  background: #2a2a2a !important;
  border: 1.5px solid #444 !important;
  color: #e8e4de !important;
  border-radius: 6px 0 0 6px !important;
}
body.style-rock .wp-block-search__input:focus {
  border-color: #cc0000 !important;
  outline: none !important;
}
body.style-rock .wp-block-search__button {
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 6px 6px 0 !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
}
body.style-rock .wp-block-search__button:hover {
  opacity: 0.88 !important;
}

body.style-rock .error-404 .page-title,
body.style-rock .no-results .page-title {
  color: #cc0000 !important;
}
body.style-rock .error-404 .search-form .search-field,
body.style-rock .no-results .search-form .search-field {
  background: #2a2a2a !important;
  border: 1.5px solid #444 !important;
  color: #e8e4de !important;
  border-radius: 6px 0 0 6px !important;
}
body.style-rock .error-404 .search-form .search-submit,
body.style-rock .no-results .search-form .search-submit {
  background: #cc0000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 6px 6px 0 !important;
  font-weight: 700 !important;
}

body.style-rock .post-thumbnail-img {
  border-radius: 6px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.style-rock article:hover .post-thumbnail-img {
  transform: scale(1.02);
}