/* v2.6.3 compact accessible civic header */
.duchesne-city-theme .dc-header-top{
  width:min(1180px,calc(100% - 40px))!important;max-width:1180px!important;
  padding:10px 0!important;gap:20px!important;align-items:center!important;
  flex-wrap:nowrap!important;justify-content:space-between!important;
}
.duchesne-city-theme .dc-header-top .dc-brand{
  flex:0 1 405px!important;max-width:405px!important;min-width:220px!important;
}
.duchesne-city-theme .dc-header-actions{
  flex:0 1 650px!important;display:grid!important;
  grid-template-columns:minmax(230px,310px) minmax(260px,1fr)!important;
  grid-template-rows:auto auto auto!important;align-items:center!important;
  gap:7px 12px!important;justify-items:stretch!important;width:auto!important;
}
.duchesne-city-theme .dc-header-actions .dc-header-weather,
.duchesne-city-theme .dc-header-actions .dc-header-weather--stack{
  grid-column:1!important;grid-row:1 / span 3!important;
  width:100%!important;max-width:310px!important;
  margin:0!important;padding:6px 8px!important;
}
.duchesne-city-theme .dc-header-actions .dc-header-search{
  grid-column:2!important;grid-row:1!important;width:100%!important;
  margin:0!important;min-width:0!important;
}
.duchesne-city-theme .dc-header-actions .wp-block-buttons{
  grid-column:2!important;grid-row:2!important;
  margin:0!important;display:flex!important;flex-wrap:wrap!important;
  align-items:center!important;gap:7px!important;justify-content:flex-start!important;
}
.duchesne-city-theme .dc-header-actions .dc-city-app-button{display:block!important;margin:0!important}
/* Make the app action visually obvious on every selectable palette. */
.duchesne-city-theme .dc-header-actions .dc-city-app-button .wp-block-button__link{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#f3d27f!important;color:#14283d!important;
  border:2px solid #6e5222!important;box-shadow:0 2px 0 rgba(0,0,0,.12)!important;
  border-radius:999px!important;padding:8px 16px!important;
  font-size:13px!important;font-weight:800!important;line-height:1.35!important;
  text-decoration:none!important;min-height:40px!important;
}
.duchesne-city-theme .dc-header-actions .dc-city-app-button .wp-block-button__link:hover{
  background:#ffe4a1!important;color:#14283d!important;transform:translateY(-1px)!important;
}
.duchesne-city-theme .dc-header-actions .dc-report-button .wp-block-button__link{
  min-height:40px!important;padding:9px 13px!important;font-weight:700!important;font-size:12px!important;
}
.duchesne-city-theme .dc-road-conditions-button{
  grid-column:2!important;grid-row:3!important;justify-self:start!important;
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  border:1px solid #244c6c!important;border-radius:999px!important;
  background:#fff!important;color:#15334b!important;text-decoration:none!important;
  font-size:12px!important;font-weight:750!important;line-height:1.35!important;
  padding:7px 12px!important;min-height:36px!important;
}
.duchesne-city-theme .dc-road-conditions-button:hover{background:#e8f2fa!important;color:#10283e!important}
.duchesne-city-theme .dc-road-conditions-button:focus-visible,
.duchesne-city-theme .dc-header-actions .dc-city-app-button .wp-block-button__link:focus-visible{
  outline:3px solid #146cbd!important;outline-offset:3px!important;
}
@media(max-width:1120px){
 .duchesne-city-theme .dc-header-top{gap:12px!important}
 .duchesne-city-theme .dc-header-top .dc-brand{flex-basis:340px!important;max-width:340px!important}
 .duchesne-city-theme .dc-header-actions{flex:1 1 610px!important;grid-template-columns:minmax(215px,290px) minmax(235px,1fr)!important}
}
@media(max-width:900px){
 .duchesne-city-theme .dc-header-top{flex-wrap:wrap!important;padding:10px 0!important;gap:12px!important}
 .duchesne-city-theme .dc-header-top .dc-brand{flex:0 1 340px!important;max-width:min(340px,100%)!important}
 .duchesne-city-theme .dc-header-actions{flex:1 1 100%!important;width:100%!important;grid-template-columns:minmax(220px,310px) minmax(230px,1fr)!important;justify-content:stretch!important}
}
@media(max-width:620px){
 .duchesne-city-theme .dc-header-top{width:calc(100% - 24px)!important;padding:8px 0!important;gap:9px!important}
 .duchesne-city-theme .dc-header-top .dc-brand{flex:0 1 min(300px,100%)!important;max-width:min(300px,100%)!important;min-width:0!important}
 .duchesne-city-theme .dc-header-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;flex:1 1 100%!important}
 .duchesne-city-theme .dc-header-actions .dc-header-weather,.duchesne-city-theme .dc-header-actions .dc-header-weather--stack{width:100%!important;max-width:100%!important;order:1!important}
 .duchesne-city-theme .dc-header-actions .dc-header-search{width:100%!important;order:2!important}
 .duchesne-city-theme .dc-header-actions .wp-block-buttons{order:3!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 .duchesne-city-theme .dc-header-actions .dc-city-app-button{display:block!important}
 .duchesne-city-theme .dc-road-conditions-button{order:4!important;align-self:stretch!important;justify-content:center!important;min-height:42px!important}
}
@media(prefers-reduced-motion:reduce){.duchesne-city-theme .dc-header-actions .dc-city-app-button .wp-block-button__link:hover{transform:none!important}}
