/* VetUberaba — Dicionário de Veterinês. Mobile primeiro; no PC fica centralizado e mais largo. */
.dc-main { padding-bottom: 110px; }
.dc-hero, .dc-find, .dc-chips, .dc-bar, .dc-az, .dc-list, .dc-empty, .dc-note { max-width: 760px; margin-left: auto; margin-right: auto; }
.dc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dc-hero { background: var(--primary-blue); color: #fff; border-radius: 20px; padding: 20px 20px 22px; margin-bottom: 18px; }
.dc-hero h2 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.dc-hero p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #dbe6f4; }
.dc-hero strong { color: #fff; }

.dc-find { position: sticky; top: 0; z-index: 30; background: var(--bg-color, #f4f6f8); padding: 8px 0 10px; margin-bottom: 6px; }
.dc-search { position: relative; display: flex; align-items: center; }
.dc-input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 84px 12px 16px; font: inherit; font-size: 16px; color: #1f2937; background: #fff; border: 2px solid #d9e0e8; border-radius: 14px; outline: none; -webkit-appearance: none; appearance: none; }
.dc-input:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(27, 59, 100, .1); }
.dc-input::placeholder { color: #8a97a5; }
.dc-input::-webkit-search-cancel-button { display: none; }
.dc-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: #e8eff8; color: var(--primary-blue); font: inherit; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.dc-clear[hidden] { display: none; }

.dc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dc-chips::-webkit-scrollbar { display: none; }
.dc-chips .vu-chip { white-space: nowrap; }

.dc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dc-count { margin: 0; font-size: 13.5px; font-weight: 600; color: #4b5563; }
.dc-view { display: inline-flex; background: #e8eff8; border-radius: 12px; padding: 3px; }
.dc-view button { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--primary-blue); padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.dc-view button.is-on { background: #fff; box-shadow: 0 1px 4px rgba(27, 59, 100, .18); }

.dc-az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.dc-az[hidden] { display: none; }
.dc-az a { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1px solid #e5e9ef; color: var(--primary-blue); font-weight: 800; font-size: 14px; text-decoration: none; }

.dc-sec { margin: 0 0 8px; }
.dc-sec + .dc-sec { margin-top: 30px; }
.dc-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-green); scroll-margin-top: 90px; }
.dc-sec-h h2 { margin: 0; font-size: 17px; line-height: 1.3; color: var(--primary-blue); }
.dc-sec-h span { flex-shrink: 0; font-size: 12.5px; font-weight: 700; color: #6b7280; }
.dc-dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dc-item { background: #fff; border: 1px solid #e5e9ef; border-radius: 14px; padding: 14px 16px 15px; box-shadow: 0 2px 8px rgba(27, 59, 100, .04); }
.dc-item dt { margin: 0 0 5px; font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--primary-blue); overflow-wrap: anywhere; }
.dc-item dd { margin: 0; font-size: 14.5px; line-height: 1.6; color: #374151; overflow-wrap: anywhere; }
.dc-item mark { background: #fde8c8; color: inherit; border-radius: 3px; padding: 0 1px; }
.dc-tag { display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 700; color: var(--primary-blue); background: #e8eff8; border-radius: 20px; padding: 3px 10px; }

.dc-empty { text-align: center; background: #fff; border: 1px dashed #cdd6e0; border-radius: 16px; padding: 26px 18px; }
.dc-empty[hidden] { display: none; }
.dc-empty p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: #4b5563; overflow-wrap: anywhere; }

.dc-note { margin-top: 26px; margin-bottom: 0; font-size: 13px; line-height: 1.6; color: #6b7280; }
.dc-note + .dc-note { margin-top: 10px; }
.dc-note strong { color: var(--primary-blue); }
.dc-note a { color: var(--primary-blue); font-weight: 700; }

.dc-top { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; border: 0; background: var(--primary-blue); color: #fff; font: inherit; font-size: 13.5px; font-weight: 700; padding: 11px 16px; border-radius: 22px; box-shadow: 0 6px 18px rgba(27, 59, 100, .35); cursor: pointer; }
.dc-top[hidden] { display: none; }

@media (min-width: 720px) {
  .dc-chips { flex-wrap: wrap; overflow: visible; }
  .dc-hero { padding: 26px 28px; }
  .dc-hero h2 { font-size: 23px; }
  .dc-item { padding: 16px 20px 17px; }
  .dc-item dt { font-size: 17px; }
  .dc-item dd { font-size: 15px; }
}
@media (min-width: 1000px) {
  .dc-hero, .dc-find, .dc-chips, .dc-bar, .dc-az, .dc-list, .dc-empty, .dc-note { max-width: 860px; }
}

/* permite que a barra de busca fique fixa ao rolar (o container do app corta o excesso lateral com "hidden", o que impede o sticky) */
body[data-page="dicionario-veterines"] .app-container { overflow-x: clip; }
