/* ==========================================================================
   Gov.br Theme Core Design System (Padrão Digital SEMED) - Menu Verticalmente Centralizado
   ========================================================================== */

:root {
  /* Color Palette */
  --gov-blue-dark: #002147;
  --gov-blue-main: #1351b4;
  --gov-blue-light: #2670e8;
  --gov-green-main: #067647;
  --gov-green-hover: #045634;
  --gov-yellow-main: #ffcd07;
  --gov-gray-900: #1b1b1b;
  --gov-gray-800: #333333;
  --gov-gray-700: #555555;
  --gov-gray-500: #888888;
  --gov-gray-300: #cccccc;
  --gov-gray-100: #f4f6f9;
  --gov-gray-50: #f8fafc;
  --gov-white: #ffffff;
  --gov-shadow: 0 4px 16px rgba(0, 33, 71, 0.08);
  --gov-shadow-hover: 0 12px 28px rgba(0, 33, 71, 0.15);
  
  /* Fonts & Sizing */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* High Contrast Accessibility Mode Support (Modo Escuro e Alto Contraste Acessível - Estilo Branco & Clean) */
body.high-contrast {
  --gov-blue-dark: #f8fafc !important;
  --gov-blue-main: #38bdf8 !important;
  --gov-blue-light: #7dd3fc !important;
  --gov-green-main: #22c55e !important;
  --gov-green-hover: #16a34a !important;
  --gov-yellow-main: #ffffff !important;
  --gov-gray-900: #ffffff !important;
  --gov-gray-800: #f1f5f9 !important;
  --gov-gray-700: #e2e8f0 !important;
  --gov-gray-500: #94a3b8 !important;
  --gov-gray-300: #475569 !important;
  --gov-gray-100: #0f172a !important;
  --gov-gray-50: #020617 !important;
  --gov-white: #1e293b !important;
  --gov-btn-color: #22c55e !important;
  color: #ffffff !important;
  background-color: #000000 !important;
}

/* 1. Header, Top Bar & Navigation */
body.high-contrast .sticky-header-wrapper,
body.high-contrast .gov-top-bar,
body.high-contrast header.gov-header {
  background-color: #0f172a !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

body.high-contrast .gov-top-bar {
  border-bottom: 1px solid #334155 !important;
}

body.high-contrast .top-nav-link,
body.high-contrast .top-nav-dropdown .dropdown-toggle {
  color: #ffffff !important;
}

body.high-contrast .top-nav-link:hover,
body.high-contrast .top-nav-dropdown:hover .dropdown-toggle {
  color: #ffffff !important;
  background-color: #1e293b !important;
}

body.high-contrast .top-dropdown-menu {
  background-color: #1e293b !important;
  border: 1px solid #475569 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8) !important;
}

body.high-contrast .top-dropdown-menu a {
  color: #ffffff !important;
}

body.high-contrast .top-dropdown-menu a:hover {
  background-color: #334155 !important;
  color: #ffffff !important;
}

body.high-contrast .gov-brand-title {
  color: #ffffff !important;
}

body.high-contrast .gov-brand-sub {
  color: #cbd5e1 !important;
}

body.high-contrast .gov-brand-icon-box {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid #475569 !important;
}

body.high-contrast .gov-header-login-btn {
  background-color: #22c55e !important;
  color: #ffffff !important;
  border: 1px solid #16a34a !important;
}

body.high-contrast #btn-cookies,
body.high-contrast #btn-contrast {
  color: #ffffff !important;
  background-color: #1e293b !important;
  border: 1px solid #ffffff !important;
}

/* Mobile Off-Canvas Drawer em Alto Contraste */
body.high-contrast .gov-mobile-drawer {
  background-color: #0f172a !important;
  border-left: 2px solid #ffffff !important;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.9) !important;
}

body.high-contrast .gov-mobile-drawer-header {
  background-color: #1e293b !important;
  border-bottom: 1px solid #475569 !important;
  color: #ffffff !important;
}

body.high-contrast .gov-mobile-drawer-title,
body.high-contrast .gov-mobile-drawer-title i {
  color: #ffffff !important;
}

body.high-contrast .gov-mobile-close-btn {
  color: #ffffff !important;
  opacity: 1 !important;
}

body.high-contrast .gov-mobile-drawer-body {
  background-color: #0f172a !important;
}

body.high-contrast .mobile-single-link,
body.high-contrast .mobile-accordion-btn {
  background-color: transparent !important;
  color: #ffffff !important;
  border-bottom: 1px solid #334155 !important;
}

body.high-contrast .mobile-single-link i,
body.high-contrast .mobile-accordion-btn i,
body.high-contrast .mobile-caret {
  color: #38bdf8 !important;
}

body.high-contrast .mobile-single-link:hover,
body.high-contrast .mobile-accordion-btn:hover,
body.high-contrast .mobile-accordion-group.active .mobile-accordion-btn {
  background-color: #1e293b !important;
  color: #38bdf8 !important;
}

body.high-contrast .mobile-accordion-content {
  background-color: #020617 !important;
}

body.high-contrast .mobile-accordion-content a {
  color: #cbd5e1 !important;
  border-bottom: 1px solid #1e293b !important;
}

body.high-contrast .mobile-accordion-content a:hover {
  background-color: #1e293b !important;
  color: #ffffff !important;
}

/* 2. Hero Section */
body.high-contrast .gov-hero,
body.high-contrast .page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%) !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

body.high-contrast .gov-hero-badge,
body.high-contrast .page-hero-badge {
  background-color: #1e293b !important;
  color: #fde047 !important;
  border: 1px solid #475569 !important;
}

body.high-contrast .gov-hero h1,
body.high-contrast .gov-hero-center-box h1,
body.high-contrast .page-hero-title {
  color: #ffffff !important;
  text-shadow: none !important;
}

body.high-contrast .gov-hero p,
body.high-contrast .gov-hero-center-box p,
body.high-contrast .page-hero-subtitle {
  color: #e2e8f0 !important;
}

body.high-contrast .gov-search-box {
  background-color: #1e293b !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1) !important;
}

body.high-contrast .gov-search-box input,
body.high-contrast #search-input,
body.high-contrast div.gov-search-box input#search-input {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  outline-style: none !important;
  box-shadow: none !important;
}

body.high-contrast .gov-search-box input:focus,
body.high-contrast #search-input:focus,
body.high-contrast div.gov-search-box input#search-input:focus {
  border: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  outline-style: none !important;
  box-shadow: none !important;
}

body.high-contrast .gov-search-box input::placeholder {
  color: #94a3b8 !important;
}

body.high-contrast .gov-search-box .search-icon {
  color: #ffffff !important;
}

body.high-contrast .gov-search-box button {
  background-color: #22c55e !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
}

body.high-contrast .hero-quick-tags span {
  color: #e2e8f0 !important;
}

body.high-contrast .hero-quick-tag {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid #475569 !important;
}

body.high-contrast .hero-quick-tag:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

/* 3. Cards & Filter Pills */
body.high-contrast .gov-filter-pill {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid #475569 !important;
}

body.high-contrast .gov-filter-pill:hover,
body.high-contrast .gov-filter-pill.active {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  font-weight: 700 !important;
}

body.high-contrast .admin-page-title,
body.high-contrast .admin-tab-header h2 {
  color: #ffffff !important;
}

body.high-contrast .admin-page-subtitle,
body.high-contrast .admin-tab-header p {
  color: #cbd5e1 !important;
}

body.high-contrast .redirect-card {
  background: #1e293b !important;
  border: 1px solid #475569 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

body.high-contrast .redirect-card:hover {
  border-color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2) !important;
}

body.high-contrast .redirect-card .redirect-title {
  color: #ffffff !important;
}

body.high-contrast .redirect-card .redirect-description {
  color: #cbd5e1 !important;
}

body.high-contrast .redirect-card .redirect-icon-box {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #475569 !important;
}

body.high-contrast .post-card,
body.high-contrast .post-card-inner {
  background: #1e293b !important;
  border: 1px solid #475569 !important;
  color: #ffffff !important;
}

body.high-contrast .post-card:hover {
  border-color: #ffffff !important;
}

body.high-contrast .post-card-title {
  color: #ffffff !important;
}

body.high-contrast .post-card-excerpt {
  color: #cbd5e1 !important;
}

body.high-contrast .post-category-tag,
body.high-contrast .post-category-badge,
body.high-contrast .post-card-tag,
body.high-contrast .related-post-category,
body.high-contrast .post-badge {
  background-color: #ffffff !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: 1px solid #ffffff !important;
}

body.high-contrast .post-category-tag *,
body.high-contrast .post-category-badge *,
body.high-contrast .post-card-tag * {
  color: #000000 !important;
}

body.high-contrast .post-card-date {
  color: #94a3b8 !important;
}

/* 4. Section Headers, Titles, Icons & Text */
body.high-contrast .gov-section-title {
  color: #ffffff !important;
}

body.high-contrast .gov-section-subtitle {
  color: #cbd5e1 !important;
}

body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6 {
  color: #ffffff !important;
}

body.high-contrast p,
body.high-contrast span,
body.high-contrast li,
body.high-contrast label,
body.high-contrast td,
body.high-contrast th {
  color: #f8fafc !important;
}

body.high-contrast i.fas,
body.high-contrast i.far,
body.high-contrast i.fab,
body.high-contrast i.fa-solid,
body.high-contrast i.fa-regular,
body.high-contrast i.fa-brands {
  color: #ffffff !important;
}

/* Exceção explícita para botões que contêm ícone junto com texto */
body.high-contrast button i,
body.high-contrast .btn i,
body.high-contrast .gov-header-login-btn i,
body.high-contrast .gov-search-box button i {
  color: inherit !important;
}

/* 5. Subpages, Articles & Admin Panel */
body.high-contrast .page-section,
body.high-contrast .post-title-container,
body.high-contrast .post-content-body,
body.high-contrast .subpage-card,
body.high-contrast .kpi-card,
body.high-contrast .admin-card,
body.high-contrast .admin-card-box,
body.high-contrast .admin-tab-content,
body.high-contrast .config-card,
body.high-contrast .color-swatch-card,
body.high-contrast .media-card,
body.high-contrast .leg-item,
body.high-contrast .edital-card,
body.high-contrast .stage-card,
body.high-contrast .stage-header,
body.high-contrast .stage-body,
body.high-contrast .dept-card,
body.high-contrast .custom-page-container,
body.high-contrast .faq-accordion-item,
body.high-contrast .faq-question-btn,
body.high-contrast .faq-answer-content,
body.high-contrast .type-selector-card,
body.high-contrast .cal-stat-card,
body.high-contrast .event-list-item,
body.high-contrast .tracker-box,
body.high-contrast .dept-info-box,
body.high-contrast .agenda-meta-box,
body.high-contrast .edital-file-item,
body.high-contrast .edital-downloads,
body.high-contrast .contact-form-container,
body.high-contrast .ouvidoria-type-grid {
  background: #1e293b !important;
  background-color: #1e293b !important;
  border-color: #475569 !important;
  color: #ffffff !important;
}

body.high-contrast main div[style*="background"],
body.high-contrast main div[style*="background-color"],
body.high-contrast .admin-tab-content div[style*="background"],
body.high-contrast section div[style*="background"] {
  background: #1e293b !important;
  background-color: #1e293b !important;
  border-color: #475569 !important;
  color: #ffffff !important;
}

body.high-contrast .leg-item:hover,
body.high-contrast .edital-card:hover,
body.high-contrast .stage-header:hover,
body.high-contrast .dept-card:hover,
body.high-contrast .faq-question-btn:hover,
body.high-contrast .type-selector-card:hover {
  background: #334155 !important;
  background-color: #334155 !important;
  border-color: #ffffff !important;
}

body.high-contrast .type-selector-card.active {
  background: #0f172a !important;
  background-color: #0f172a !important;
  border: 2px solid #38bdf8 !important;
}

body.high-contrast .leg-number,
body.high-contrast .edital-code,
body.high-contrast .dept-name,
body.high-contrast .leg-title,
body.high-contrast .stage-doc-item span,
body.high-contrast .faq-question-btn span,
body.high-contrast .stage-header h3 {
  color: #ffffff !important;
}

body.high-contrast .leg-summary,
body.high-contrast .leg-footer,
body.high-contrast .stage-doc-item,
body.high-contrast .faq-answer-content p {
  color: #cbd5e1 !important;
  border-color: #475569 !important;
}

body.high-contrast .leg-badge,
body.high-contrast .edital-status {
  color: #ffffff !important;
  background-color: #0f172a !important;
  border: 1px solid #475569 !important;
}

body.high-contrast .leg-badge.vigente,
body.high-contrast .edital-status.success {
  background-color: #14532d !important;
  color: #4ade80 !important;
  border: 1px solid #22c55e !important;
}

body.high-contrast .edital-status.warning {
  background-color: #78350f !important;
  color: #fde047 !important;
  border: 1px solid #eab308 !important;
}

body.high-contrast .edital-status.info {
  background-color: #0c4a6e !important;
  color: #38bdf8 !important;
  border: 1px solid #0284c7 !important;
}

body.high-contrast .page-search-bar {
  background-color: transparent !important;
}

body.high-contrast .page-search-input {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}

body.high-contrast .page-search-input::placeholder {
  color: #94a3b8 !important;
}

body.high-contrast .btn-download-doc,
body.high-contrast .page-search-btn {
  background-color: #22c55e !important;
  color: #ffffff !important;
  border: 1px solid #16a34a !important;
}

body.high-contrast .btn-download-doc:hover,
body.high-contrast .page-search-btn:hover {
  background-color: #16a34a !important;
  color: #ffffff !important;
}

body.high-contrast .admin-nav-tabs {
  border-bottom-color: #475569 !important;
  position: relative !important;
  z-index: 1050 !important;
}

body.high-contrast .admin-tab-btn,
body.high-contrast .admin-dropdown-btn {
  color: #ffffff !important;
}

body.high-contrast .admin-tab-btn:hover,
body.high-contrast .admin-dropdown-btn:hover,
body.high-contrast .admin-tab-btn.active,
body.high-contrast .admin-dropdown-btn.active {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border-bottom: 3px solid #ffffff !important;
}

body.high-contrast .admin-dropdown-menu {
  background-color: #1e293b !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9) !important;
  z-index: 99999 !important;
}

body.high-contrast .admin-dropdown-item {
  color: #ffffff !important;
}

body.high-contrast .admin-dropdown-item:hover,
body.high-contrast .admin-dropdown-item.active {
  background-color: #334155 !important;
  color: #38bdf8 !important;
}

body.high-contrast .config-icon-badge {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

/* ==========================================================================
   COMPREHENSIVE HIGH CONTRAST OVERRIDES (TODAS AS PÁGINAS DO SISTEMA)
   ========================================================================== */

/* 1. Textos Globais, Cards, Banners & Descrições */
body.high-contrast .section-desc,
body.high-contrast .info-banner,
body.high-contrast .admin-page-subtitle,
body.high-contrast .kpi-info-lbl,
body.high-contrast .dash-card-title,
body.high-contrast .table-doc-sub,
body.high-contrast .dept-info-item,
body.high-contrast p {
  color: #e2e8f0 !important;
}

body.high-contrast strong,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6,
body.high-contrast .admin-page-title,
body.high-contrast .kpi-info-val,
body.high-contrast .card-title,
body.high-contrast .redirect-title,
body.high-contrast .post-title,
body.high-contrast .table-doc-title,
body.high-contrast .table-post-title {
  color: #ffffff !important;
}

/* 2. Controles de Formulário, Entradas, Textareas, Selects e Placeholders */
body.high-contrast input[type="text"],
body.high-contrast input[type="email"],
body.high-contrast input[type="password"],
body.high-contrast input[type="search"],
body.high-contrast input[type="number"],
body.high-contrast input[type="url"],
body.high-contrast textarea,
body.high-contrast select,
body.high-contrast .form-control {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #64748b !important;
}

body.high-contrast input::placeholder,
body.high-contrast textarea::placeholder,
body.high-contrast .form-control::placeholder {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

body.high-contrast input:focus,
body.high-contrast textarea:focus,
body.high-contrast select:focus,
body.high-contrast .form-control:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4) !important;
}

/* 3. Dashboard Admin e Cards de Métricas */
body.high-contrast .kpi-card {
  background-color: #1e293b !important;
  border: 1px solid #475569 !important;
}

body.high-contrast .kpi-icon {
  background-color: #0f172a !important;
  border: 1px solid #64748b !important;
}

body.high-contrast .kpi-icon i {
  color: #38bdf8 !important;
}

body.high-contrast .dash-card,
body.high-contrast .admin-card-box {
  background-color: #1e293b !important;
  border: 1px solid #475569 !important;
  color: #ffffff !important;
}

body.high-contrast .dash-card-header {
  border-bottom: 1px solid #475569 !important;
}

/* 4. Tabelas, Linhas, Cabeçalhos e Células */
body.high-contrast table,
body.high-contrast table th,
body.high-contrast table td {
  border-color: #475569 !important;
  color: #ffffff !important;
}

body.high-contrast table th {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

body.high-contrast table tr:hover {
  background-color: #334155 !important;
}

body.high-contrast td a,
body.high-contrast .table-doc-title,
body.high-contrast .table-post-title {
  color: #38bdf8 !important;
}

/* 5. Badges de Status, Badges de Sistema e Pílulas */
body.high-contrast .badge-status,
body.high-contrast .system-info-badge,
body.high-contrast .category-badge,
body.high-contrast .post-category-tag,
body.high-contrast .redirect-badge {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #64748b !important;
}

body.high-contrast .badge-status-concluido,
body.high-contrast .badge-status.success,
body.high-contrast .badge-success {
  background-color: #14532d !important;
  color: #4ade80 !important;
  border: 1px solid #22c55e !important;
}

body.high-contrast .badge-status-pendente,
body.high-contrast .badge-status.warning,
body.high-contrast .badge-warning {
  background-color: #78350f !important;
  color: #fde047 !important;
  border: 1px solid #eab308 !important;
}

/* 6. Botões e Modais */
body.high-contrast .modal-overlay,
body.high-contrast .admin-modal-overlay {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

body.high-contrast .modal-box,
body.high-contrast .admin-modal-box {
  background-color: #1e293b !important;
  border: 1px solid #64748b !important;
  color: #ffffff !important;
}

body.high-contrast .modal-header {
  border-bottom: 1px solid #475569 !important;
}

body.high-contrast .modal-footer {
  border-top: 1px solid #475569 !important;
}

body.high-contrast .btn-primary {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
}

body.high-contrast .btn-primary:hover {
  background-color: #0369a1 !important;
}

body.high-contrast .btn-secondary {
  background-color: #334155 !important;
  color: #ffffff !important;
  border: 1px solid #64748b !important;
}

body.high-contrast .btn-secondary:hover {
  background-color: #475569 !important;
}

body.high-contrast .btn-action-edit {
  background-color: #0369a1 !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
}

body.high-contrast .btn-action-delete {
  background-color: #991b1b !important;
  color: #ffffff !important;
  border: 1px solid #ef4444 !important;
}

body.high-contrast .btn-action-view {
  background-color: #064e3b !important;
  color: #a7f3d0 !important;
  border: 1px solid #10b981 !important;
}

body.high-contrast .hex-badge {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-color: #475569 !important;
}

body.high-contrast .editor-toolbar {
  background-color: #0f172a !important;
  border-color: #475569 !important;
}

body.high-contrast .editor-toolbar button {
  color: #ffffff !important;
}

body.high-contrast .editor-toolbar button:hover,
body.high-contrast .editor-toolbar button.active {
  background-color: #334155 !important;
  color: #ffffff !important;
}

body.high-contrast .editor-content {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border-color: #475569 !important;
}

body.high-contrast .post-cover-preview-wrapper {
  background-color: #0f172a !important;
  border-color: #475569 !important;
}

body.high-contrast .post-main-title {
  color: #ffffff !important;
}

body.high-contrast .gov-breadcrumb,
body.high-contrast .post-breadcrumbs {
  color: #cbd5e1 !important;
}

body.high-contrast .gov-breadcrumb a,
body.high-contrast .post-breadcrumbs a {
  color: #38bdf8 !important;
}

body.high-contrast a {
  color: #38bdf8 !important;
}

body.high-contrast a:hover {
  color: #ffffff !important;
}

/* 6. Modais, Inputs & Tabelas */
body.high-contrast .gov-modal-overlay {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

body.high-contrast .gov-modal,
body.high-contrast .gov-modal-content,
body.high-contrast .admin-modal-content {
  background-color: #0f172a !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9) !important;
  color: #ffffff !important;
}

body.high-contrast .gov-modal-header {
  background-color: #1e293b !important;
  border-bottom: 1px solid #475569 !important;
  color: #ffffff !important;
}

body.high-contrast .gov-modal-title,
body.high-contrast .gov-modal-header h1,
body.high-contrast .gov-modal-header h2,
body.high-contrast .gov-modal-header h3,
body.high-contrast .gov-modal-header span {
  color: #ffffff !important;
}

body.high-contrast .gov-modal-header i {
  color: #ffffff !important;
}

body.high-contrast .gov-modal-close {
  color: #ffffff !important;
}

body.high-contrast .gov-modal-close:hover {
  color: #cbd5e1 !important;
}

body.high-contrast .gov-modal-body {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

body.high-contrast .gov-modal-body p {
  color: #e2e8f0 !important;
}

body.high-contrast .gov-modal-body label {
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.high-contrast .gov-modal-footer {
  background-color: #1e293b !important;
  border-top: 1px solid #475569 !important;
}

body.high-contrast .btn-secondary,
body.high-contrast #login-modal-cancel {
  background-color: #334155 !important;
  color: #ffffff !important;
  border: 1px solid #64748b !important;
  font-weight: 700 !important;
}

body.high-contrast .btn-secondary:hover,
body.high-contrast #login-modal-cancel:hover {
  background-color: #475569 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

body.high-contrast input[type="text"]:not(#search-input),
body.high-contrast input[type="password"],
body.high-contrast input[type="email"],
body.high-contrast textarea,
body.high-contrast select,
body.high-contrast .form-control:not(#search-input) {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid #475569 !important;
}

body.high-contrast input:not(#search-input):focus,
body.high-contrast textarea:focus,
body.high-contrast select:focus {
  border-color: #ffffff !important;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
}

body.high-contrast table {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border-color: #475569 !important;
}

body.high-contrast th {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-bottom: 2px solid #475569 !important;
}

body.high-contrast td {
  border-bottom: 1px solid #334155 !important;
}

/* 7. Footer */
body.high-contrast .gov-footer {
  background-color: #000000 !important;
  border-top: 2px solid #ffffff !important;
  color: #cbd5e1 !important;
}

body.high-contrast .gov-footer-text {
  color: #e2e8f0 !important;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--gov-gray-100);
  color: var(--gov-gray-900);
  line-height: 1.35;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
}

p {
  line-height: 1.35;
}

/* Container Congelado do Cabeçalho no Topo */
.sticky-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: var(--gov-white);
  box-shadow: 0 4px 16px rgba(0, 33, 71, 0.08);
}

/* Top Accessibility Bar - Alinhado à Direita somente com ícones com Fundo Claro */
.gov-top-bar {
  background-color: var(--gov-white);
  color: var(--gov-gray-800);
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.gov-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

.gov-top-bar .gov-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gov-top-nav-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav-link {
  color: var(--gov-blue-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  line-height: 1.2;
  border-radius: 6px;
  transition: var(--transition);
}

.top-nav-link.nav-link-blink {
  animation: navBlinkPulse 1.2s ease-in-out 3 forwards;
}

@keyframes navBlinkPulse {
  0%, 100% {
    opacity: 1;
    color: var(--gov-blue-dark);
    background-color: transparent;
  }
  50% {
    opacity: 0.3;
    color: var(--gov-blue-main);
    background-color: rgba(2, 132, 199, 0.12);
  }
}

.top-nav-link:hover {
  color: var(--gov-blue-main);
  background-color: rgba(19, 81, 180, 0.08);
}

.top-nav-dropdown {
  position: relative;
}

.top-nav-link.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-arrow {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.top-nav-dropdown:hover .nav-arrow,
.top-nav-dropdown.open .nav-arrow {
  transform: rotate(180deg);
}

.top-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--gov-white);
  color: var(--gov-gray-900);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 33, 71, 0.18);
  min-width: 250px;
  padding: 6px 0;
  z-index: 2000;
  border: 1px solid #e2e8f0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  margin-top: 2px;
}

/* Ponte invisível para manter a área de hover ativa */
.top-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.top-nav-dropdown:hover .top-dropdown-menu,
.top-nav-dropdown.open .top-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.top-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--gov-gray-800);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.top-dropdown-menu a:hover {
  background-color: var(--gov-gray-100);
  color: var(--gov-blue-main);
}

.gov-top-links {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin-left: auto;
}

.gov-top-links button, .gov-top-links a {
  color: var(--gov-blue-dark);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gov-top-links button:hover, .gov-top-links a:hover {
  color: var(--gov-blue-main);
  background-color: rgba(19, 81, 180, 0.08);
}

/* Main Header Polido */
.gov-header {
  background-color: var(--gov-white);
  border-bottom: 1px solid #e2e8f0;
}

.gov-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* Brand Area */
.gov-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.gov-brand-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 33, 71, 0.08), rgba(19, 81, 180, 0.12));
  color: var(--gov-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(19, 81, 180, 0.15);
}

.gov-brand-tagline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}

.gov-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gov-blue-dark);
  line-height: 1;
  letter-spacing: -0.3px;
  margin: 0;
}

.gov-brand-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gov-gray-700);
  margin-top: 1px;
  line-height: 1;
  display: block;
}

/* Header Login Button */
.gov-header-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  box-sizing: border-box;
  background-color: var(--gov-btn-color, var(--gov-green-main));
  color: var(--gov-white) !important;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(19, 81, 180, 0.2);
  border: 1px solid transparent;
}

.gov-header-login-btn:hover {
  background-color: var(--gov-blue-dark);
  color: var(--gov-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 33, 71, 0.25);
}

/* Hero Banner */
.gov-hero {
  background: linear-gradient(135deg, var(--gov-blue-dark) 0%, #0c326f 60%, var(--gov-blue-main) 100%);
  color: var(--gov-white);
  padding: 3.5rem 0 4rem 0;
  position: relative;
  overflow: visible;
}

.gov-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 50% 30%, rgba(6, 118, 71, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.gov-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Wrapper do Ícone de Menu Hambúrguer (Na Barra Superior Alinhado à Esquerda) */
.hero-menu-wrapper {
  position: relative;
  z-index: 100;
}

.hero-menu-trigger {
  background: var(--gov-gray-100);
  border: 1px solid var(--gov-gray-300);
  color: var(--gov-blue-dark);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.hero-menu-trigger:hover, .hero-menu-trigger.active {
  background: var(--gov-blue-dark);
  color: var(--gov-white);
  border-color: var(--gov-blue-dark);
}

.hero-dropdown-menu {
  position: absolute;
  top: 115%;
  left: 0;
  background-color: var(--gov-white);
  color: var(--gov-gray-900);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 33, 71, 0.25);
  min-width: 250px;
  padding: 8px 0;
  z-index: 200;
  display: none;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.hero-dropdown-menu.active {
  display: block;
}

.hero-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: var(--gov-gray-800);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.hero-dropdown-menu a:hover {
  background-color: var(--gov-gray-100);
  color: var(--gov-blue-main);
}

.dropdown-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 6px 0;
}

.dropdown-admin-link {
  color: var(--gov-green-main) !important;
  font-weight: 700 !important;
}

/* Conteúdo do Banner Hero PERFEITAMENTE CENTRALIZADO AO MEIO */
.gov-hero-center-box {
  text-align: center !important;
  max-width: 820px;
  margin: 0 auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gov-hero-center-box .gov-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--gov-yellow-main);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 6px;
  margin: 0 auto 1.25rem auto !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gov-hero-center-box h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
  text-align: center !important;
  width: 100%;
}

.gov-hero-center-box p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: center !important;
  width: 100%;
}

/* Search Box Component CENTRALIZADO AO MEIO */
.gov-search-box {
  display: flex;
  background-color: var(--gov-white);
  border-radius: 8px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 720px;
  margin: 0 auto 1.5rem auto !important;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
}

.gov-search-box i.search-icon {
  color: var(--gov-gray-500);
  font-size: 1.2rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.gov-search-box input {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 10px 0;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--gov-gray-900);
  background: transparent !important;
}

.gov-search-box input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.gov-search-box button {
  background-color: var(--gov-btn-color, var(--gov-green-main));
  color: var(--gov-white);
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(6, 118, 71, 0.3);
  flex-shrink: 0;
}

.gov-search-box button:hover {
  background-color: var(--gov-green-hover);
  transform: translateY(-1px);
}

/* Quick Search Tags CENTRALIZADAS AO MEIO */
.hero-quick-tags {
  display: flex;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  width: 100%;
}

.hero-quick-tags span {
  opacity: 0.8;
  font-weight: 600;
}

.hero-quick-tag {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--gov-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.hero-quick-tag:hover {
  background-color: var(--gov-white);
  color: var(--gov-blue-dark);
}

/* Main Container Layout */
.gov-main {
  flex: 1;
  padding: 3rem 0;
}

.gov-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.85rem;
  position: relative;
}

.gov-section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gov-green-main), #10b981);
  border-radius: 3px;
}

.gov-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gov-blue-dark);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px 0;
}

.gov-section-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

/* Callout Box styling */
.gov-callout {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gov-blue-main);
  background-color: rgba(19, 81, 180, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}

.gov-callout-info {
  border-left-color: var(--gov-blue-main);
  background-color: #eff6ff;
}

/* Footer Styling (Ultra Clean & Compact Text) */
.gov-footer {
  background-color: var(--gov-blue-dark);
  color: var(--gov-white);
  padding: 0.85rem 0;
  border-top: 4px solid var(--gov-green-main);
  text-align: center;
}

.gov-footer-text {
  font-size: 0.85rem;
  line-height: 1.35;
  margin: 0;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .gov-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .gov-hero h1 {
    font-size: 1.75rem;
  }
  .gov-footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-menu-wrapper {
    position: static;
    transform: none;
    margin-bottom: 1rem;
  }
}

/* ==========================================================================
   ESTILOS MOBILE - ISOLADOS EM MEDIA QUERY (max-width: 991px)
   ========================================================================== */

.gov-mobile-hamburger,
.gov-mobile-drawer,
.gov-mobile-overlay,
.gov-mobile-navbar-actions {
  display: none;
}

@media (max-width: 991px) {
  /* Esconder ações do cabeçalho desktop na linha 1 e menu horizontal */
  .gov-desktop-actions,
  .gov-top-nav-list {
    display: none !important;
  }

  /* Exibir ações móveis (Cookie, Contraste, Entrar e Hambúrguer) na mesma navbar */
  .gov-mobile-navbar-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .gov-mobile-navbar-actions .gov-header-login-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  /* Afastamento e Alinhamento Perfeito do Logo no Mobile (Nunca Colado à Esquerda) */
  .gov-header-inner {
    padding: 0.75rem 1.25rem !important;
  }

  .gov-top-bar .gov-container {
    padding: 0.35rem 1.25rem !important;
  }

  .gov-brand {
    gap: 10px;
  }

  .gov-brand-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .gov-brand-title {
    font-size: 1.02rem;
  }

  .gov-brand-sub {
    font-size: 0.78rem;
  }

  /* Ajuste Fino da Caixa de Busca (Search Box) no Mobile */
  .gov-search-box {
    padding: 4px 4px 4px 12px;
    margin-bottom: 1.25rem !important;
  }

  .gov-search-box i.search-icon {
    font-size: 1rem;
    margin-right: 6px;
  }

  .gov-search-box input {
    font-size: 0.9rem;
    padding: 8px 0;
  }

  .gov-search-box button {
    padding: 10px 16px;
    font-size: 0.88rem;
  }
  
  .gov-mobile-hamburger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--gov-blue-dark);
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
  }
  
  .gov-mobile-hamburger:hover {
    background: rgba(2, 132, 199, 0.1);
  }

  /* Gaveta Deslizante (Leque Direita para Esquerda) */
  .gov-mobile-drawer {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 3000;
    box-shadow: -8px 0 28px rgba(0, 33, 71, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: column;
  }

  .gov-mobile-drawer.active {
    transform: translateX(0);
  }

  /* Backdrop Overlay Escuro */
  .gov-mobile-overlay {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .gov-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Header da Gaveta */
  .gov-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--gov-blue-dark);
    color: #ffffff;
  }

  .gov-mobile-drawer-title {
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .gov-mobile-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
  }

  .gov-mobile-close-btn:hover {
    opacity: 1;
  }

  /* Corpo da Gaveta */
  .gov-mobile-drawer-body {
    padding: 1rem 0;
    overflow-y: auto;
    flex: 1;
  }

  .mobile-single-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.5rem;
    color: var(--gov-blue-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
  }

  .mobile-single-link:hover {
    background: #f8fafc;
    color: var(--gov-blue-main);
  }

  /* Acordeão Exclusivo Mobile */
  .mobile-accordion-group {
    border-bottom: 1px solid #f1f5f9;
  }

  .mobile-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    background: none;
    border: none;
    color: var(--gov-blue-dark);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
  }

  .mobile-accordion-btn span {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-accordion-btn .mobile-caret {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
  }

  .mobile-accordion-group.active .mobile-accordion-btn {
    background: #f8fafc;
    color: var(--gov-blue-main);
  }

  .mobile-accordion-group.active .mobile-caret {
    transform: rotate(180deg);
  }

  .mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #f8fafc;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-accordion-group.active .mobile-accordion-content {
    max-height: 400px;
  }

  .mobile-accordion-content a {
    display: block;
    padding: 0.65rem 1.5rem 0.65rem 3rem;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .mobile-accordion-content a:hover {
    color: var(--gov-blue-main);
  }

  /* Mobile Off-Canvas Drawer em Alto Contraste (Força Sobrescrita) */
  body.high-contrast .gov-mobile-drawer {
    background: #0f172a !important;
    border-left: 2px solid #ffffff !important;
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.9) !important;
  }

  body.high-contrast .gov-mobile-drawer-header {
    background: #1e293b !important;
    border-bottom: 1px solid #475569 !important;
    color: #ffffff !important;
  }

  body.high-contrast .gov-mobile-drawer-title,
  body.high-contrast .gov-mobile-drawer-title i,
  body.high-contrast .gov-mobile-drawer-title span {
    color: #ffffff !important;
  }

  body.high-contrast .gov-mobile-close-btn {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  body.high-contrast .gov-mobile-drawer-body {
    background: #0f172a !important;
  }

  body.high-contrast .mobile-single-link,
  body.high-contrast .mobile-accordion-btn {
    background: transparent !important;
    color: #ffffff !important;
    border-bottom: 1px solid #334155 !important;
  }

  body.high-contrast .mobile-single-link span,
  body.high-contrast .mobile-accordion-btn span {
    color: #ffffff !important;
  }

  body.high-contrast .mobile-single-link i,
  body.high-contrast .mobile-accordion-btn i,
  body.high-contrast .mobile-caret {
    color: #38bdf8 !important;
  }

  body.high-contrast .mobile-single-link:hover,
  body.high-contrast .mobile-accordion-btn:hover,
  body.high-contrast .mobile-accordion-group.active .mobile-accordion-btn {
    background: #1e293b !important;
    color: #38bdf8 !important;
  }

  body.high-contrast .mobile-accordion-group.active .mobile-accordion-btn span {
    color: #38bdf8 !important;
  }

  body.high-contrast .mobile-accordion-content {
    background: #020617 !important;
  }

  body.high-contrast .mobile-accordion-content a {
    color: #e2e8f0 !important;
    border-bottom: 1px solid #1e293b !important;
  }

  body.high-contrast .mobile-accordion-content a:hover {
    background: #1e293b !important;
    color: #ffffff !important;
  }
}
