/* Classificados Araquari v33 - camada segura de melhorias visuais e responsivas */
:root {
  --ca-v33-ink: #172033;
  --ca-v33-muted: #667085;
  --ca-v33-line: #d8dee8;
  --ca-v33-soft: #f5f8fc;
  --ca-v33-card: #ffffff;
  --ca-v33-blue: #0f559f;
  --ca-v33-blue-dark: #082f63;
  --ca-v33-green: #177a5b;
  --ca-v33-orange: #f28a22;
  --ca-v33-shadow: 0 14px 38px rgba(15, 42, 75, .11);
}

body.page-noticias,
body.page-eventos,
body.page-classificados { background: var(--ca-v33-soft); }

body.page-noticias .page-hero,
body.page-eventos .page-hero,
body.page-classificados .page-hero {
  position: relative;
  padding: 118px 0 54px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(8,47,99,.96), rgba(15,85,159,.90));
}

body.page-noticias .page-hero::after,
body.page-eventos .page-hero::after,
body.page-classificados .page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% 46%;
  height: 340px;
  background: radial-gradient(circle, rgba(242,138,34,.28), transparent 64%);
  pointer-events: none;
}

body.page-noticias .page-hero > .container,
body.page-eventos .page-hero > .container,
body.page-classificados .page-hero > .container { position: relative; z-index: 1; }

body.page-noticias .page-hero h1,
body.page-eventos .page-hero h1,
body.page-classificados .page-hero h1 {
  max-width: 880px;
  margin-bottom: 22px;
  letter-spacing: 0;
}

body.page-noticias .search-box,
body.page-eventos .search-box,
body.page-classificados .search-box {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--ca-v33-shadow);
}

body.page-noticias .form-control,
body.page-noticias .form-select,
body.page-eventos .form-control,
body.page-eventos .form-select,
body.page-classificados .form-control,
body.page-classificados .form-select { border-radius: 8px; }

.listing-card {
  height: 100%;
  border: 1px solid var(--ca-v33-line);
  border-radius: 8px;
  background: var(--ca-v33-card);
  box-shadow: 0 10px 26px rgba(15,42,75,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.listing-card:hover,
.listing-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(15,85,159,.35);
  box-shadow: var(--ca-v33-shadow);
}

.listing-card .listing-body { display: flex; flex-direction: column; min-height: 240px; }
.listing-card .listing-body .btn { margin-top: auto; border-radius: 8px; }
.listing-card h3 { line-height: 1.22; letter-spacing: 0; }
.listing-meta { color: var(--ca-v33-muted); }

body.page-noticias .news-listing .listing-body { min-height: 260px; }
body.page-noticias .news-listing h3 { font-size: 1.08rem; }
body.page-noticias .news-listing .tag { background: #eef6ff; color: var(--ca-v33-blue); }

body.page-eventos .listing-card.destaque,
body.page-classificados .listing-card.destaque {
  border-color: rgba(242,138,34,.55);
  box-shadow: 0 14px 34px rgba(242,138,34,.16);
}

.category-icon-card {
  min-height: 132px;
  border: 1px solid var(--ca-v33-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15,42,75,.07);
}

.category-icon-card:hover,
.category-icon-card:focus-visible { border-color: var(--ca-v33-orange); }

.section-head {
  gap: 16px;
  align-items: center;
}
.ca-results-counter {
  border: 1px solid var(--ca-v33-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ca-v33-blue-dark);
}
.ca-load-more-wrap .btn { border-radius: 8px; }

@media (max-width: 991.98px) {
  body.page-noticias .page-hero,
  body.page-eventos .page-hero,
  body.page-classificados .page-hero { padding: 94px 0 34px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .listing-card .listing-body { min-height: auto; }
}

@media (max-width: 575.98px) {
  body.page-noticias .search-box,
  body.page-eventos .search-box,
  body.page-classificados .search-box { padding: 14px; }
  .category-carousel .row { --bs-gutter-y: .75rem; }
}

.admin-v33 .admin-sidebar { width: 286px; }
.admin-v33 .admin-content { min-width: 0; }
.admin-v33 .admin-menu-v33 { padding-bottom: 22px; }
.admin-v33 .admin-menu-dashboard-link { margin-bottom: 8px; }
.admin-v33 .admin-menu-section-v33 {
  margin: 8px 0;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  overflow: hidden;
}
.admin-v33 .admin-menu-section-v33[hidden] { display: none; }
.admin-v33 .admin-menu-section-v33 summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  padding: 10px 12px;
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  list-style: none;
}
.admin-v33 .admin-menu-section-v33 summary::-webkit-details-marker { display: none; }
.admin-v33 .admin-menu-section-v33 summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
}
.admin-v33 .admin-menu-section-v33[open] summary::after { content: "-"; }
.admin-v33 .admin-menu-section-v33 summary small {
  margin-left: auto;
  color: rgba(255,255,255,.70);
  font-size: .72rem;
}
.admin-v33 .admin-menu-section-links { padding: 0 8px 8px; }
.admin-v33 .admin-menu-section-links a { margin: 3px 0; }
.admin-v33 .admin-menu-section-links a.is-hidden,
.admin-v33 [data-admin-menu-item].is-hidden { display: none !important; }
.admin-v33 .ca-finance-card-v33 strong { color: var(--ca-v33-green); }
.admin-v33 .admin-table-wrap { overflow-x: auto; }
.admin-v33 .admin-table th { white-space: nowrap; }
.admin-v33 .admin-table td { vertical-align: middle; }
.admin-v33 .admin-toolbar { align-items: flex-start; }
.admin-v33 .admin-filter-box { max-width: 760px; }

@media (max-width: 991.98px) {
  .admin-v33 .admin-sidebar { width: min(88vw, 320px); }
  .admin-v33 .admin-topbar-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
}
