/* Duchesne City 2.2.2: transparent logo, forest green header, gold highlights. */
.duchesne-city-theme .dc-site-header {
  background: linear-gradient(112deg,#102e29 0%,#173c32 47%,#246b52 100%) !important;
  border-top: 0 !important;
  border-bottom: 3px solid #d6b66b;
  box-shadow: 0 5px 18px rgba(7,35,31,.17);
  position: relative;
  z-index: 10000;
}
.duchesne-city-theme .dc-header-top {
  min-height: 106px;
  padding-block: 12px !important;
  gap: 18px;
}
.duchesne-city-theme .dc-new-brand { margin: 0 !important; min-width: 0; }
.duchesne-city-theme .dc-new-brand .wp-block-shortcode { margin: 0 !important; }
.duchesne-city-theme .dc-new-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #f6f8f2;
  border: 1px solid #d5cba8;
  border-radius: 14px;
  box-shadow: 0 3px 11px rgba(0,0,0,.17);
  text-decoration: none !important;
  max-width: 100%;
}
.duchesne-city-theme .dc-new-brand-link:focus-visible { outline: 3px solid #f2cc82; outline-offset: 3px; }
.duchesne-city-theme .dc-new-brand-image { display: block; width: clamp(225px, 29vw, 360px); height: auto; max-height: 100px; object-fit: contain; }
.duchesne-city-theme .dc-header-actions .dc-report-button .wp-block-button__link { background: #e0bf73 !important; color: #173c32 !important; border-color: #e0bf73 !important; font-weight: 750; }
.duchesne-city-theme .dc-header-actions .dc-report-button .wp-block-button__link:hover { background: #f2d796 !important; }
.duchesne-city-theme .dc-header-actions .dc-city-app-button .wp-block-button__link { border-color: #e9f3eb !important; color: #fff !important; }
.duchesne-city-theme .dc-header-actions .dc-city-app-button .wp-block-button__link:hover { background: rgba(255,255,255,.14) !important; }
.duchesne-city-theme .dc-header-search .wp-block-search__inside-wrapper { background: #fff; }
.duchesne-city-theme .dc-nav-bar { background: #12382f !important; border-top: 1px solid rgba(255,255,255,.15); border-bottom: none; }
.duchesne-city-theme .dc-nav-bar .dc-menu > li > a { color: #fff !important; }
.duchesne-city-theme .dc-nav-bar .dc-menu > li > a:hover,
.duchesne-city-theme .dc-nav-bar .dc-menu > li.current-menu-item > a,
.duchesne-city-theme .dc-nav-bar .dc-menu > li.current-menu-ancestor > a { color: #f2cc82 !important; border-bottom-color: #f2cc82 !important; }
/* Preserve submenu contrast; dropdown menus themselves remain light. */
.duchesne-city-theme .dc-menu .sub-menu a { color: #173c32 !important; }
.duchesne-city-theme .dc-menu .sub-menu a:hover,
.duchesne-city-theme .dc-menu .sub-menu .current-menu-item > a { color: #086963 !important; }
/* Community content page. This also corrects contrasts in the site's pasted
   Custom HTML page, including the old white !important paragraph rule. */
.duchesne-city-theme .dc-page-content .dc-community .dc-section:not(.dc-soft) > .dc-container > .dc-center > h2 { color: #fff !important; }
.duchesne-city-theme .dc-page-content .dc-community .dc-section:not(.dc-soft) > .dc-container > .dc-center > .dc-intro { color: #f0f5f2 !important; }
.duchesne-city-theme .dc-page-content .dc-community .dc-section.dc-soft h2 { color: #173c32 !important; text-shadow: none !important; }
.duchesne-city-theme .dc-page-content .dc-community .dc-section.dc-soft .dc-feature > div > p,
.duchesne-city-theme .dc-page-content .dc-community .dc-section.dc-soft .dc-feature-box p,
.duchesne-city-theme .dc-page-content .dc-community .dc-section.dc-soft .dc-feature-box li,
.duchesne-city-theme .dc-page-content .dc-community .dc-section.dc-soft .dc-intro { color: #263b32 !important; opacity: 1 !important; }
.duchesne-city-theme .dc-page-content .dc-community .dc-card h3,
.duchesne-city-theme .dc-page-content .dc-community .dc-card p,
.duchesne-city-theme .dc-page-content .dc-community .dc-contact p { color: #263b32 !important; }
.duchesne-city-theme .dc-page-content .dc-community .dc-banner h2,
.duchesne-city-theme .dc-page-content .dc-community .dc-banner p { color: #fff !important; }
@media(max-width:900px) {
  .duchesne-city-theme .dc-header-top { padding: 10px 18px !important; }
  .duchesne-city-theme .dc-new-brand-image { width: clamp(190px, 42vw, 320px); max-height: 92px; }
}
@media(max-width:580px) {
  .duchesne-city-theme .dc-header-top { gap: 8px; min-height: 88px; }
  .duchesne-city-theme .dc-new-brand-link { padding: 5px 8px; border-radius: 9px; }
  .duchesne-city-theme .dc-new-brand-image { width: min(58vw,250px); }
  .duchesne-city-theme .dc-header-actions .dc-city-app-button .wp-block-button__link { padding: 9px 11px !important; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .duchesne-city-theme .dc-new-brand-link { transition: none !important; }
}
