/* Duchesne 2.1 — an open landscape, a welcoming community, useful services. */
:root {
  --dc-ink: #092d3c;
  --dc-evergreen: #086963;
  --dc-sand: #f5f3ee;
  --dc-gold: #f2cc82;
}
body.duchesne-city-theme { background: #fbfcfc; color: #203947; }
.duchesne-city-theme a:focus-visible,
.duchesne-city-theme button:focus-visible,
.duchesne-city-theme input:focus-visible {
  outline: 3px solid #dca241;
  outline-offset: 4px;
}
.dc-site-header { border-top: 4px solid var(--dc-evergreen); box-shadow: none; }
.dc-header-top { min-height: 100px; }
.dc-brand .wp-block-site-title { letter-spacing: -.025em !important; }
.dc-header-search .wp-block-search__inside-wrapper { background: #f6f8f8; border-radius: 100px; }
.dc-header-search .wp-block-search__input { background: transparent; min-width: 0; }
.dc-header-actions .wp-block-button__link { border-radius: 100px; font-size: .85rem; }
.dc-header-actions .dc-report-button .wp-block-button__link { background: #086963 !important; color: #fff !important; }
.dc-nav-bar { background: var(--dc-ink) !important; border-bottom: 1px solid #43606b; }
.dc-menu > li > a { min-height: 54px; letter-spacing: .01em; }
.dc-menu > li > a:hover, .dc-menu > li.current-menu-item > a { color: #f2cc82 !important; border-bottom-color: #f2cc82; }
.dc-home { margin-block-start: 0 !important; }
.dc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 680px !important;
  padding: 0 0 70px;
  background-image: linear-gradient(105deg, #092d3cf2 10%, #123f4bd9 50%, #25756d80 100%), url('../images/basin-lines.svg');
  background-color: #123f4b;
  background-position: center;
  background-size: cover;
}
.dc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5,25,34,.48), transparent 85%);
  pointer-events: none;
}
.dc-hero::after {
  content: '';
  position: absolute;
  right: -140px;
  top: -90px;
  width: 600px;
  height: 600px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  box-shadow: 0 0 0 65px #ffffff06, 0 0 0 130px #ffffff06, 0 0 0 195px #ffffff04;
  pointer-events: none;
}
.dc-hero .wp-block-cover__inner-container { z-index: 3; }
.dc-hero .wp-block-cover__background { opacity: .34 !important; }
.duchesne-city-theme .dc-hero .wp-block-cover__inner-container > .wp-block-group {
  width: min(1240px, calc(100% - 96px)) !important;
  padding-top: 76px !important;
  padding-bottom: 52px !important;
}
.dc-hero h1 {
  max-width: 820px;
  font-size: clamp(3.7rem, 6.8vw, 6.7rem) !important;
  letter-spacing: -.055em;
  font-weight: 400 !important;
  line-height: 1.02 !important;
  text-wrap: balance;
  text-shadow: 0 3px 24px #061e2b55;
}
.dc-hero .has-city-gold-color { color: #f2cc82 !important; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.dc-hero .has-city-gold-color::before { content: ''; width: 32px; height: 2px; background: currentColor; flex: 0 0 auto; }
.dc-hero p.has-white-color { max-width: 520px; line-height: 1.65; font-size: 1.1rem !important; margin-top: 24px; color: #f5f7f7 !important; }
.dc-hero .wp-block-buttons { gap: 12px; margin-top: 28px !important; }
.dc-hero .wp-block-button__link { min-height: 50px; border-radius: 8px; padding: 13px 24px; font-size: .95rem; }
.dc-hero .has-city-blue-background-color { background: #f2cc82 !important; color: #092d3c !important; }
.dc-hero .has-city-blue-background-color:hover { background: #ffe0a6 !important; }
.dc-hero .is-style-outline .wp-block-button__link { background: #072a3745; }
.dc-hero-explore { margin-top: 28px !important; font-size: .8rem; }
.dc-hero-explore a { display: inline-flex; align-items: center; gap: 18px; color: #fff; text-decoration: none; min-height: 44px; }
.dc-hero-explore span { font-size: 1.3rem; }
.duchesne-city-theme .dc-service-grid-wrap {
  width: min(1280px, calc(100% - 64px)) !important;
  max-width: 1280px !important;
  margin-top: -64px !important;
  padding: 26px !important;
  background: #fff;
  border: 1px solid #e2e8e6;
  border-radius: 16px;
  box-shadow: 0 20px 60px #092d3c12;
  scroll-margin-top: 24px;
}
.dc-services-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.dc-services-heading h2 { color: var(--dc-ink); font-size: 1.55rem; font-weight: 400; letter-spacing: -.03em; margin: 0; }
.dc-services-heading p { font-size: .85rem; color: #566974; margin: 0; }
.dc-service-grid { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px !important; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.dc-service-grid > .wp-block-column { margin: 0; }
.dc-service-card {
  position: relative;
  height: 100%;
  min-height: 180px;
  padding: 22px 10px !important;
  border: 1px solid #e3ebe8;
  border-radius: 10px;
  background: #f7faf9;
  box-shadow: none;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.dc-service-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #e8f2ef; margin-inline: auto !important; }
.dc-service-icon img { width: 32px !important; height: 32px !important; }
.dc-service-card h3 { font-size: .95rem !important; line-height: 1.3; margin-top: 14px !important; }
.dc-card-link { font-size: .78rem !important; line-height: 1.5; margin-top: 8px !important; }
.dc-card-link a { color: #086963; }
.dc-card-link a::after { content: ''; position: absolute; inset: 0; border-radius: 10px; }
.dc-service-card:hover, .dc-service-card:focus-within { background: #fff; border-color: #086963; box-shadow: 0 8px 20px #092d3c10; transform: translateY(-4px); }
.dc-card-link a:focus-visible { outline: none; }
.dc-card-link a:focus-visible::after { outline: 3px solid #dca241; outline-offset: 3px; }
.duchesne-city-theme .dc-info-wrap { padding: 72px 0 64px !important; width: min(1240px, calc(100% - 64px)) !important; }
.dc-section-heading { margin-bottom: 30px; }
.dc-eyebrow { color: #086963; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px; }
.dc-section-heading h2, .dc-news > .wp-block-group h2 { font-size: clamp(2rem, 3.1vw, 2.8rem) !important; color: var(--dc-ink); font-weight: 400; letter-spacing: -.035em; margin: 0; }
.dc-home-panels { gap: 22px !important; }
.dc-panel { border-radius: 14px; box-shadow: none; }
.dc-alert-panel { background: var(--dc-ink) !important; border-color: var(--dc-ink); }
.dc-alert-panel h2 { display: flex; align-items: center; gap: 12px; }
.dc-alert-panel h2::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #f2cc82; flex: 0 0 auto; }
.dc-calendar-panel { border-top: 4px solid #086963; }
.dc-calendar-panel .npc-coming-up__header h3 { color: var(--dc-ink); font-weight: 400; }
.dc-cityhall-panel { background: linear-gradient(150deg, #086963, #094750) !important; border: 0; }
.dc-cityhall-panel::after { width: 230px; height: 230px; border: 1px solid #ffffff20; box-shadow: 0 0 0 30px #ffffff07, 0 0 0 60px #ffffff05; }
.dc-cityhall-panel .dc-cityhall-icon img { filter: brightness(0) invert(1); opacity: .85; }
.dc-cityhall-panel .wp-block-button__link { font-size: .82rem; padding: 12px 16px; }
.dc-community {
  background: #092d3c url('../images/basin-lines.svg') center/cover !important;
  padding: 78px 24px !important;
  border: 0;
  color: #e2edf0;
}
.dc-community::before { inset: 0; height: auto; background: #092d3cd9; }
.dc-community .dc-eyebrow { color: #f2cc82; }
.dc-community > h2 { font-size: clamp(2.8rem, 4.8vw, 4.6rem) !important; color: #fff; font-weight: 400; letter-spacing: -.045em; line-height: 1.07; }
.dc-community > p.has-city-slate-color { color: #e2edf0 !important; max-width: 590px; line-height: 1.65; }
.dc-community .dc-values { gap: 16px !important; margin-top: 44px !important; margin-bottom: 40px; width: min(1100px, calc(100% - 24px)); }
.dc-values .wp-block-column { border: 1px solid #ffffff26; background: #ffffff06; border-radius: 12px; padding: 30px 22px; }
.dc-values .wp-block-column::after { display: none; }
.dc-value-icon img { width: 42px; height: 42px; filter: brightness(0) invert(1); opacity: .85; }
.dc-values h3 { color: #fff; font-size: 1.16rem !important; font-weight: 400; }
.dc-values p { color: #dce9ec; font-size: .87rem !important; }
.dc-community .wp-block-button__link { border: 1px solid #ffffff80; color: #fff; border-radius: 8px; font-size: .85rem; padding: 13px 24px; }
.dc-community .wp-block-button__link:hover { background: #ffffff12; }
.duchesne-city-theme .dc-news { padding: 72px 0 66px !important; width: min(1240px, calc(100% - 64px)) !important; }
.dc-news > .wp-block-group { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.dc-news-card { border-radius: 12px; box-shadow: none; }
.dc-news-card .wp-block-post-title { font-size: 1.15rem !important; }
.dc-news-card .wp-block-post-featured-image img { transition: transform .4s; }
.dc-news-card .wp-block-post-featured-image { overflow: hidden; }
.dc-news-card:hover .wp-block-post-featured-image img { transform: scale(1.035); }
.duchesne-city-theme .dc-app-feature { position: relative; overflow: hidden; width: min(1240px, calc(100% - 64px)) !important; max-width: 1240px !important; padding: 48px 56px; border-radius: 16px; background: #eef3ef; border: 1px solid #dbe5de; margin: 0 auto 72px !important; }
.dc-app-feature::after { content: ''; position: absolute; inset: -80px -90px auto auto; width: 380px; height: 380px; border: 1px solid #08696318; border-radius: 50%; box-shadow: 0 0 0 40px #08696304; pointer-events: none; }
.dc-app-feature .wp-block-columns { position: relative; z-index: 1; display: flex; align-items: center; gap: 36px; margin: 0; }
.dc-app-feature h2 { font-size: clamp(2rem, 3.3vw, 3rem); color: var(--dc-ink); letter-spacing: -.035em; font-weight: 400; margin: 0; }
.dc-app-feature p { line-height: 1.65; }
.dc-app-feature .wp-block-button__link { background: #086963; color: white; border-radius: 8px; font-size: .9rem; }
.dc-app-feature .wp-block-button__link:hover { background: #094750; }
.dc-app-note { font-size: .78rem; color: #52655b; }
.dc-site-footer { background: var(--dc-ink) !important; border-top: 4px solid #086963; }
.duchesne-city-theme .dc-site-footer > .wp-block-columns,
.duchesne-city-theme .dc-site-footer > .wp-block-group,
.duchesne-city-theme .dc-site-footer > hr { width: min(1240px, calc(100% - 64px)) !important; max-width: 1240px !important; margin-inline: auto !important; }
.dc-site-footer > .wp-block-columns { gap: 40px; }
.dc-site-footer h4 { color: #f2cc82 !important; font-size: .78rem !important; letter-spacing: .08em; text-transform: uppercase; }
.dc-site-footer .wp-block-site-title a { color: #fff; }
.dc-site-footer .wp-block-button__link { background: #086963 !important; color: #fff !important; }
.dc-civic-credit { margin: 0 0 0 auto !important; flex: 0 0 auto; max-width: 100%; }
.dc-civic-credit a { display: block; width: 220px; max-width: 100%; padding: 10px 14px; border-radius: 8px; background: #fff; border: 1px solid #e9e7de; }
.dc-civic-credit img { display: block; width: 100%; height: auto; }
.dc-civic-credit a:hover { background: #faf6ec; }
.dc-home-notice { width: min(1240px, calc(100% - 64px)) !important; max-width: 1240px !important; margin: 28px auto 0 !important; border-radius: 8px; }
.dc-arrived { animation: dc-arrive .55s ease-out both; }
@keyframes dc-arrive { from { opacity: .5; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .dc-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  .dc-header-top { min-height: 80px; }
  .dc-menu-toggle { min-height: 44px; }
  .dc-hero { min-height: 620px !important; }
  .dc-hero h1 { font-size: clamp(3.4rem, 8vw, 5.4rem) !important; }
  .dc-services-heading { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .duchesne-city-theme .dc-hero .wp-block-cover__inner-container > .wp-block-group { width: calc(100% - 40px) !important; padding-top: 54px !important; padding-bottom: 34px !important; }
  .dc-hero { min-height: 580px !important; padding-bottom: 54px; }
  .dc-hero h1 { font-size: clamp(2.75rem, 10.6vw, 4.4rem) !important; line-height: 1.06 !important; }
  .dc-hero::after { width: 340px; height: 340px; right: -230px; }
  .dc-hero p.has-white-color { font-size: .97rem !important; }
  .dc-hero .has-city-gold-color { font-size: .7rem !important; }
  .dc-hero .wp-block-button__link { padding: 13px 17px; font-size: .88rem; }
  .dc-hero-explore { margin-top: 14px !important; }
  .duchesne-city-theme .dc-service-grid-wrap { width: calc(100% - 28px) !important; padding: 20px 14px !important; margin-top: -40px !important; }
  .dc-services-heading h2 { font-size: 1.45rem; }
  .dc-services-heading p { font-size: .8rem; }
  .dc-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .dc-service-card { min-height: 160px; padding: 18px 10px !important; }
  .dc-service-card h3 { font-size: .9rem !important; }
  .duchesne-city-theme .dc-info-wrap, .duchesne-city-theme .dc-news { width: calc(100% - 36px) !important; padding: 48px 0 !important; }
  .dc-community { padding: 56px 16px !important; }
  .dc-community .dc-values { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 12px !important; }
  .dc-values .wp-block-column { padding: 22px 12px; }
  .dc-values h3 { font-size: 1.05rem !important; }
  .dc-values p { font-size: .82rem !important; }
  .dc-news > .wp-block-group { flex-wrap: wrap; gap: 8px; }
  .duchesne-city-theme .dc-app-feature { width: calc(100% - 36px) !important; padding: 30px 24px; margin-bottom: 48px !important; }
  .dc-app-feature .wp-block-columns { flex-direction: column; align-items: flex-start; gap: 18px; }
  .dc-app-feature .wp-block-column { flex-basis: auto !important; }
  .duchesne-city-theme .dc-site-footer > .wp-block-columns, .duchesne-city-theme .dc-site-footer > .wp-block-group, .duchesne-city-theme .dc-site-footer > hr { width: calc(100% - 40px) !important; }
}
@media (max-width: 700px) {
  .dc-home-notice { width: calc(100% - 36px) !important; margin: 24px auto 0 !important; }
  .dc-civic-credit { width: 100%; display: flex; justify-content: flex-end; }
  .dc-civic-credit a { width: 190px; }
}
@media (max-width: 360px) {
  .dc-brand .wp-block-site-title { font-size: 1.1rem !important; }
  .dc-hero .wp-block-buttons { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-arrived { animation: none; }
  .dc-service-card, .dc-news-card .wp-block-post-featured-image img { transition: none; }
  .dc-service-card:hover, .dc-service-card:focus-within, .dc-news-card:hover .wp-block-post-featured-image img { transform: none; }
}
