/* Notícias Automóveis v3 - Minimal custom styles */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid #e10600; outline-offset: 2px; }

#searchOverlay.active { display: flex !important; }
.menu-mobile.open { max-height: 80vh; overflow-y: auto; }

.pagination .current {
  background-color: #e10600 !important;
  color: #fff !important;
  border-color: #e10600 !important;
}

.tagcloud a {
  display: inline-block; padding: 3px 10px; margin: 2px;
  background: #f3f4f6; border-radius: 999px; font-size: 0.8rem !important;
  color: #374151; transition: all 0.15s;
}
.tagcloud a:hover { background: #e10600; color: #fff; }

.wp-calendar-table { width: 100%; font-size: 0.875rem; }
.wp-calendar-table caption { font-weight: 700; padding: 8px 0; text-align: center; }
.wp-calendar-table th, .wp-calendar-table td { padding: 4px; text-align: center; }

.sidebar .search-form { display: flex; gap: 4px; }
.sidebar .search-field {
  flex: 1; padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 8px;
  font-size: 0.875rem; outline: none; transition: border-color 0.15s;
}
.sidebar .search-field:focus { border-color: #e10600; }
.sidebar .search-submit {
  padding: 8px 16px; background: #e10600; color: #fff; border: none;
  border-radius: 8px; font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: background 0.15s;
}
.sidebar .search-submit:hover { background: #b80500; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}

/* Smooth pagination link styles */
.page-numbers { display: inline-block; }
