/*
 * 2008년 대한민국 공공기관 포털의 인상을 바탕으로 한 공개 화면 주제.
 * 기존 기능별 선택자는 유지하고 배치와 외형만 덮어쓴다.
 */

:root {
  --navy: #17688f;
  --navy-2: #0b6f9f;
  --navy-3: #3386ab;
  --teal: #2d7d9e;
  --teal-dark: #195f83;
  --gold: #e9a03c;
  --ink: #444;
  --ink-2: #555;
  --muted: #777;
  --line: #d7d7d7;
  --line-dark: #b9c9d2;
  --surface: #fff;
  --surface-soft: #f7f7f7;
  --surface-blue: #edf4f8;
  --shadow-sm: none;
  --shadow: none;
  --radius: 2px;
  --radius-sm: 2px;
  --max: 920px;
  --shell: 960px;
  --font: "돋움", Dotum, "굴림", Gulim, Arial, sans-serif;
}

html {
  scroll-padding-top: 12px;
}

body {
  min-width: 320px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 1px, transparent 1px 4px),
    #e9e9e9;
  color: #555;
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.5;
  -webkit-font-smoothing: auto;
  text-rendering: auto;
}

body.menu-open {
  overflow: hidden;
}

.fiction-banner,
.utility-bar,
.site-header,
main,
.site-footer {
  width: min(var(--shell), 100%);
  margin-right: auto;
  margin-left: auto;
  border-right: 1px solid #d4d4d4;
  border-left: 1px solid #d4d4d4;
}

main {
  background: #fff;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 2px solid #f2a33a;
  outline-offset: 1px;
}

.skip-link {
  left: 50%;
  padding: 5px 10px;
  border-radius: 0;
  background: #333;
  font-size: 11px;
  transform: translateX(-460px);
}

.fiction-banner {
  min-height: 24px;
  justify-content: flex-start;
  gap: 6px;
  padding: 3px 20px;
  border-top: 1px solid #d8cf9a;
  border-bottom: 1px solid #d8cf9a;
  background: #fffce6;
  color: #6f6234;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
}

.fiction-dot {
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: #e7902c;
  box-shadow: none;
  transform: rotate(45deg);
}

.utility-bar {
  border-bottom: 0;
  background: #fff;
  color: #777;
}

.utility-inner {
  width: min(var(--max), calc(100% - 20px));
  min-height: 27px;
  gap: 10px;
  font-size: 11px;
}

.utility-links a,
.utility-actions a,
.utility-actions span {
  padding: 0 9px;
  color: #777;
}

.utility-links a:first-child,
.utility-actions span:first-child {
  padding-left: 0;
}

.utility-links a + a::before,
.utility-actions a::before {
  width: 1px;
  height: 9px;
  background: #ccc;
}

.utility-links a:hover,
.utility-actions a:hover {
  color: #276d96;
}

.site-header {
  position: relative;
  top: auto;
  z-index: 200;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.header-main {
  width: min(var(--max), calc(100% - 20px));
  min-height: 65px;
  gap: 18px;
}

.brand-logo {
  width: 220px;
  max-height: 50px;
}

.global-search {
  width: 285px;
  margin-left: auto;
}

.global-search > svg {
  display: none;
}

.global-search input {
  height: 24px;
  border: 1px solid #bcbcbc;
  border-radius: 0;
  background: #fafafa;
  padding: 0 50px 0 7px;
  color: #444;
  font-size: 11px;
  transition: none;
}

.global-search input:focus {
  border-color: #4182a4;
  background: #fff;
  box-shadow: none;
}

.global-search button {
  top: 0;
  right: 0;
  height: 24px;
  border: 1px solid #07567f;
  border-radius: 0;
  padding: 0 10px;
  background: linear-gradient(#1684b7, #076892);
  font-size: 11px;
  font-weight: 700;
}

.primary-nav {
  border-top: 1px solid #0c608c;
  border-bottom: 1px solid #075478;
  background: linear-gradient(#1381b2 0%, #0873a4 52%, #086792 53%, #075f88 100%);
}

.nav-inner {
  width: min(var(--max), calc(100% - 20px));
  height: 36px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) 90px;
}

.nav-inner > a,
.site-map-toggle {
  min-width: 0;
  min-height: 35px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .17);
  border-left: 1px solid rgba(0, 48, 78, .2);
  padding: 0 6px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px rgba(0, 42, 68, .45);
}

.nav-inner > a:first-child {
  border-left: 0;
}

.nav-inner > a::after {
  display: none;
}

.nav-inner > a:hover,
.nav-inner > a:focus-visible,
.site-map-toggle:hover,
.site-map-toggle[aria-expanded="true"] {
  background: linear-gradient(#08638f, #064f76);
  color: #fff;
  text-decoration: none;
}

.site-map-toggle {
  gap: 4px;
  margin-left: 0;
  border-right: 0;
  font-size: 11px;
}

.site-map-toggle svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

.menu-toggle {
  width: 34px;
  height: 30px;
  border: 1px solid #8aabbc;
  border-radius: 0;
  background: #f3f7f9;
  padding: 6px 7px;
}

.menu-toggle > span:not(.sr-only) {
  height: 1px;
  margin: 4px 0;
  border-radius: 0;
  background: #17688f;
}

.site-map {
  position: fixed;
  right: auto;
  left: 50%;
  width: min(var(--max), calc(100% - 20px));
  border: 1px solid #6f9bb2;
  background: #fff;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, .18);
  backdrop-filter: none;
  transform: translateX(-50%);
}

.site-map-inner {
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  padding: 13px 8px 15px;
}

.site-map-inner > div {
  min-height: 105px;
  padding: 0 15px;
  border-right: 1px solid #ddd;
}

.site-map-inner > div:first-child {
  padding-left: 15px;
}

.site-map-inner strong {
  margin-bottom: 7px;
  padding-bottom: 4px;
  border-bottom: 2px solid #7faac0;
  color: #276e94;
  font-size: 12px;
}

.site-map-inner a {
  margin: 4px 0;
  color: #666;
  font-size: 11px;
}

.global-results {
  padding: 55px 10px 30px;
  background: rgba(0, 0, 0, .42);
  backdrop-filter: none;
}

.global-results-inner {
  width: min(650px, 100%);
  border: 2px solid #397c9f;
  border-radius: 0;
  box-shadow: 3px 4px 12px rgba(0, 0, 0, .28);
}

.global-results-head {
  padding: 10px 13px;
  border-bottom: 1px solid #8caebe;
  background: linear-gradient(#f9fbfc, #e8f0f4);
}

.global-results-head span {
  color: #4180a0;
  font-size: 9px;
  letter-spacing: 0;
}

.global-results-head strong {
  margin-top: 1px;
  font-size: 15px;
  letter-spacing: 0;
}

.global-results-head button {
  width: 24px;
  height: 24px;
  border-radius: 0;
  font-size: 17px;
}

.global-results-list {
  padding: 5px 14px 14px;
}

.global-result {
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 9px 0;
}

.global-result-type {
  min-height: 20px;
  border-radius: 0;
  font-size: 10px;
}

.global-result strong {
  font-size: 12px;
}

.global-result-copy span {
  margin-top: 1px;
  font-size: 11px;
}

.hero {
  overflow: visible;
  padding: 12px 0 6px;
  background: #fff;
}

.hero::after {
  display: none;
}

.hero-inner {
  width: min(var(--max), calc(100% - 20px));
  min-height: 205px;
  display: grid;
  grid-template-columns: 177px minmax(0, 1fr) 177px;
  gap: 8px;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1;
  min-height: 205px;
  border: 1px solid #aebfc9;
  background: #556876;
}

.hero-visual > img {
  object-position: center 48%;
  filter: saturate(.82) contrast(.96);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 24, 37, .64), rgba(7, 26, 41, .08) 72%),
    linear-gradient(0deg, rgba(7, 23, 34, .3), transparent 65%);
}

.hero-copy {
  top: auto;
  right: 12px;
  bottom: 14px;
  left: 12px;
  max-width: 390px;
  padding: 9px 11px 8px;
  border-left: 3px solid #f0a13a;
  background: rgba(4, 36, 55, .76);
  transform: none;
}

.hero-kicker {
  gap: 0;
  color: #fff0c9;
  font-size: 10px;
  letter-spacing: 0;
}

.hero-kicker::before {
  display: none;
}

.hero-copy h1 {
  margin-top: 2px;
  font-family: "바탕", Batang, "궁서", serif;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.05em;
  text-shadow: 0 1px 2px #000;
}

.hero-copy p {
  margin-top: 3px;
  color: #f2f2f2;
  font-size: 11px;
  line-height: 1.5;
}

.hero-caption {
  right: 4px;
  bottom: 3px;
  padding: 1px 4px;
  border-radius: 0;
  background: rgba(0, 0, 0, .48);
  font-size: 9px;
  backdrop-filter: none;
}

.quick-services {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: block;
  min-height: 205px;
  overflow: hidden;
  border: 1px solid #d6d1c4;
  background: #f8f6ef;
  padding: 31px 8px 5px;
}

.quick-services::before {
  content: "주요 민원업무";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 27px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  border-bottom: 1px solid #d5cdbd;
  background: linear-gradient(#faf9f5, #ece9df);
  color: #6c624e;
  font-weight: 700;
}

.quick-services > a,
.quick-services > a:nth-child(even),
.quick-services > a:nth-child(n+7) {
  min-height: 20px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 2px;
  align-items: center;
  justify-content: initial;
  padding: 2px 1px;
  border: 0;
  border-bottom: 1px dotted #d9d4c9;
  text-align: left;
  transition: none;
}

.quick-services > a:last-child {
  border-bottom: 0;
}

.quick-services > a:hover {
  background: #fff;
  box-shadow: none;
  transform: none;
  text-decoration: none;
}

.service-icon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb35c;
  color: transparent;
  box-shadow: inset 0 0 0 2px #ffd8aa;
}

.service-icon svg {
  display: none;
}

.quick-services strong {
  color: #5d5d5d;
  font-size: 11px;
  font-weight: 400;
}

.quick-services > a:hover strong {
  color: #276f97;
  text-decoration: underline;
}

.quick-services small {
  display: none;
}

.hero-status {
  grid-column: 3;
  grid-row: 1;
  min-height: 205px;
  padding: 0;
  border: 1px solid #b8c7cf;
  background: #f5f7f8;
  color: #555;
}

.hero-status-top {
  min-height: 29px;
  padding: 0 8px;
  border-bottom: 1px solid #0d5b83;
  background: linear-gradient(#2186b0, #0c6c98);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
}

.live-chip {
  gap: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #e8f5fa;
  font-size: 9px;
}

.live-chip i {
  width: 5px;
  height: 5px;
  background: #ffd571;
  box-shadow: none;
}

.hero-week {
  margin: 10px 10px 0;
  font-family: "바탕", Batang, serif;
  color: #276e94;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.next-hearing {
  margin: 8px 9px 0;
  padding: 7px 1px;
  border-top: 1px solid #d7dfe3;
  border-bottom: 1px solid #d7dfe3;
}

.next-hearing span {
  color: #777;
  font-size: 9px;
}

.next-hearing strong {
  margin-top: 3px;
  color: #444;
  font-size: 11px;
  line-height: 1.4;
}

.next-hearing p {
  margin-top: 2px;
  color: #777;
  font-size: 9px;
  line-height: 1.4;
}

.hero-status-link {
  justify-content: flex-end;
  gap: 2px;
  margin-top: auto;
  padding: 7px 9px;
  color: #2e7598;
  font-size: 10px;
  font-weight: 400;
}

.hero-status-link svg {
  width: 11px;
  height: 11px;
}

.section,
.service-guide {
  padding: 16px 0;
  background: #fff;
}

.section-soft {
  border-top: 0;
  border-bottom: 0;
  background: #fff;
}

.section-inner {
  width: min(var(--max), calc(100% - 20px));
}

.section-heading,
.section-heading.heading-inline {
  min-height: 39px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
  padding: 0 4px 5px;
  border-bottom: 2px solid #5790ad;
}

.eyebrow {
  margin-bottom: 1px;
  color: #4e87a5;
  font-size: 9px;
  letter-spacing: 0;
}

.section-heading h2,
.panel-heading h2 {
  color: #3f3f3f;
  font-family: "돋움", Dotum, sans-serif;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.section-heading p {
  max-width: 650px;
  margin: 3px 0 0;
  color: #777;
  font-size: 10px;
  line-height: 1.4;
}

.section-number {
  position: static;
  color: #99aeb9;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.case-layout {
  grid-template-columns: minmax(0, 2fr) minmax(255px, .8fr);
  gap: 10px;
}

.case-search-card,
.case-guide,
.content-panel,
.schedule-card,
.people-card {
  border: 1px solid #cfd6da;
  border-radius: 0;
  box-shadow: none;
}

.case-search-card {
  padding: 11px;
}

.case-search-card form {
  grid-template-columns: minmax(220px, 1.45fr) minmax(145px, .65fr) 72px;
  gap: 7px;
}

.field-row label {
  margin: 0 0 3px;
  color: #555;
  font-size: 10px;
}

.search-field svg {
  display: none;
}

.search-field input,
.field-row select {
  height: 27px;
  border: 1px solid #bfbfbf;
  border-radius: 0;
  font-size: 11px;
  transition: none;
}

.search-field input {
  padding: 0 7px;
}

.field-row select {
  padding: 0 22px 0 6px;
  background-position:
    calc(100% - 11px) 11px,
    calc(100% - 7px) 11px;
  background-size: 4px 4px, 4px 4px;
}

.search-field input:focus,
.field-row select:focus {
  border-color: #4d8caa;
  box-shadow: none;
}

.primary-button {
  height: 27px;
  gap: 3px;
  border: 1px solid #075b84;
  border-radius: 0;
  padding: 0 9px;
  background: linear-gradient(#2187b2, #0a6b98);
  font-size: 11px;
  transition: none;
}

.primary-button:hover {
  background: linear-gradient(#1478a3, #075d88);
  transform: none;
  text-decoration: none;
}

.primary-button svg {
  width: 11px;
  height: 11px;
}

.case-result {
  min-height: 98px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #ddd;
}

.case-empty {
  min-height: 82px;
}

.case-empty > span {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  border-radius: 0;
  background: #edf2f5;
}

.case-empty svg {
  width: 16px;
  height: 16px;
}

.case-empty strong {
  font-size: 11px;
}

.case-empty p {
  margin-top: 1px;
  font-size: 10px;
}

.case-result-list {
  gap: 0;
}

.case-result-item {
  grid-template-columns: 105px minmax(0, 1fr) 90px;
  gap: 8px;
  padding: 7px 5px;
  border: 0;
  border-bottom: 1px solid #e2e2e2;
  border-radius: 0;
  background: #fff;
}

.case-result-item:nth-child(odd) {
  background: #f8f8f8;
}

.case-badge {
  min-height: 20px;
  border-radius: 0;
  padding: 0 6px;
  background: #e7f0f4;
  font-size: 10px;
}

.case-result-copy strong {
  font-size: 11px;
}

.case-result-copy span,
.case-date {
  margin-top: 1px;
  font-size: 9px;
}

.case-guide {
  background: #f7f7f4;
  color: #555;
}

.guide-head {
  padding: 7px 9px 6px;
  border-bottom: 1px solid #0f628b;
  background: linear-gradient(#2588b0, #0d6d98);
}

.guide-head span {
  color: #dcecf3;
  font-size: 9px;
  letter-spacing: 0;
}

.guide-head strong {
  margin-top: 1px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.case-guide ol {
  padding: 4px 9px 7px;
}

.case-guide li {
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 5px;
  padding: 6px 0;
  border-top: 1px dotted #ccc;
}

.case-guide li:first-child {
  border-top: 0;
}

.case-guide li > span {
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 50%;
  background: #f2a44c;
  color: #fff;
  font-size: 9px;
}

.case-guide li p {
  color: #666;
  font-size: 10px;
  line-height: 1.4;
}

.case-guide li strong {
  margin-bottom: 1px;
  color: #3f6f88;
  font-size: 10px;
}

.schedule-legend {
  gap: 3px;
}

.legend-item {
  min-height: 20px;
  gap: 4px;
  border-radius: 0;
  padding: 0 5px;
  font-size: 9px;
}

.legend-dot {
  width: 5px;
  height: 5px;
}

.schedule-toolbar {
  min-height: 43px;
  padding: 6px 9px;
  background: linear-gradient(#fbfcfd, #edf2f5);
}

.schedule-toolbar > div {
  gap: 7px;
}

.calendar-mark {
  width: 27px;
  height: 27px;
  border-radius: 0;
  background: #dcebf2;
}

.calendar-mark svg {
  width: 15px;
  height: 15px;
}

.schedule-toolbar > div > div span {
  font-size: 9px;
}

.schedule-toolbar > div > div strong {
  margin-top: 0;
  font-family: "돋움", Dotum, sans-serif;
  font-size: 12px;
}

.schedule-count,
.panel-count {
  min-width: 38px;
  padding: 3px 5px;
  border: 1px solid #d1d8dc;
  border-radius: 0;
  background: #fff;
  font-size: 9px;
}

.schedule-grid {
  min-width: 880px;
  grid-template-columns: 70px repeat(7, minmax(100px, 1fr));
}

.schedule-cell {
  min-height: 69px;
  padding: 5px;
  border-color: #dedede;
}

.schedule-cell.header {
  min-height: 29px;
  background: #eaf1f5;
  color: #356b87;
  font-size: 10px;
}

.schedule-cell.period {
  background: #f5f5f5;
  font-size: 10px;
}

.schedule-cell.empty {
  background: #fff;
}

.schedule-cell.has-events {
  grid-auto-rows: minmax(55px, auto);
  gap: 5px;
}

.schedule-event {
  min-height: 55px;
  border-left-width: 3px;
  border-radius: 0;
  padding: 5px 6px;
}

.schedule-event time {
  font-size: 9px;
}

.schedule-event strong {
  margin-top: 1px;
  font-size: 10px;
}

.schedule-event span {
  margin-top: 1px;
  font-size: 9px;
}

.two-column {
  gap: 10px;
}

.panel-heading {
  min-height: 44px;
  padding: 6px 9px;
  border-top: 2px solid #4d89a8;
  border-bottom: 1px solid #c9d4da;
  background: linear-gradient(#fff, #f0f4f6);
}

.panel-heading .eyebrow {
  margin-bottom: 0;
}

.panel-heading h2 {
  font-size: 14px;
}

.precedent-list,
.form-list {
  padding: 0 9px 5px;
}

.precedent-item {
  grid-template-columns: 25px minmax(0, 1fr) 58px;
  gap: 6px;
  padding: 7px 0;
}

.precedent-index {
  width: 20px;
  height: 20px;
  border-radius: 0;
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.precedent-copy strong {
  font-size: 11px;
}

.precedent-copy span,
.precedent-meta time {
  margin-top: 1px;
  font-size: 9px;
}

.precedent-meta svg {
  display: none;
}

.form-item {
  grid-template-columns: 21px minmax(0, 1fr) 13px;
  gap: 5px;
  min-height: 34px;
}

.form-item > span:first-child {
  width: 18px;
  height: 18px;
  border-radius: 0;
}

.form-item svg {
  width: 11px;
  height: 11px;
}

.form-item strong {
  font-size: 10px;
}

.loading-row {
  height: 29px;
  margin: 4px 0;
  border-radius: 0;
}

.people-summary {
  min-width: 90px;
  padding: 5px 8px;
  border-left: 2px solid #4a89a8;
  background: #eef4f7;
}

.people-summary span {
  font-size: 9px;
}

.people-summary strong {
  margin-top: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.people-tabs {
  gap: 0;
  padding: 5px 5px 0;
  background: #f1f1ef;
}

.people-tabs button {
  min-width: 94px;
  height: 29px;
  border: 1px solid #ccc;
  border-bottom: 0;
  background: #e8e8e5;
  font-size: 10px;
}

.people-tabs button + button {
  border-left: 0;
}

.people-tabs button::after {
  display: none;
}

.people-tabs button.active {
  background: #fff;
  color: #236f96;
}

.people-table {
  min-width: 690px;
}

.people-table th,
.people-table td {
  padding: 6px 9px;
  border-right: 1px solid #e1e1e1;
  border-bottom: 1px solid #ddd;
}

.people-table th:last-child,
.people-table td:last-child {
  border-right: 0;
}

.people-table th {
  background: #eaf1f5;
  color: #356b87;
  font-size: 10px;
  letter-spacing: 0;
  text-align: center;
}

.people-table td {
  font-size: 10px;
}

.people-table tbody tr:nth-child(even) td,
.people-table tbody tr:hover td {
  background: #f8f8f8;
}

.vacant {
  min-height: 18px;
  border-radius: 0;
  padding: 0 5px;
  font-size: 9px;
}

.table-loading,
.table-empty {
  padding: 20px;
}

.service-guide {
  padding-top: 8px;
  padding-bottom: 17px;
}

.service-guide-grid {
  gap: 7px;
}

.service-guide-grid article {
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 7px;
  padding: 8px;
  border-radius: 0;
  background: #f8f8f7;
}

.guide-icon {
  width: 29px;
  height: 29px;
  border-radius: 0;
}

.guide-icon svg {
  width: 16px;
  height: 16px;
}

.service-guide-grid strong {
  font-size: 10px;
}

.service-guide-grid p {
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.45;
}

.disclaimer {
  padding: 7px 0 17px;
  background: #fff;
  color: #555;
}

.disclaimer::before {
  display: none;
}

.disclaimer-inner {
  width: min(var(--max), calc(100% - 20px));
  min-height: 91px;
  gap: 13px;
  padding: 10px 13px;
  border: 1px solid #d5c47e;
  background: #fffce7;
}

.disclaimer-inner img {
  width: 58px;
  height: 58px;
  padding: 4px;
  border: 1px solid #e3d69c;
  border-radius: 0;
  background: #fff;
}

.disclaimer-inner span {
  color: #8b7226;
  font-size: 9px;
  letter-spacing: 0;
}

.disclaimer-inner h2 {
  margin-top: 2px;
  color: #5d512c;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.disclaimer-inner p {
  margin-top: 4px;
  color: #756b4c;
  font-size: 10px;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid #aab7bd;
  border-bottom: 1px solid #ccc;
  background: #f1f1f1;
  color: #777;
}

.footer-inner {
  width: min(var(--max), calc(100% - 20px));
  min-height: 105px;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 0;
}

.footer-brand {
  gap: 8px;
}

.footer-brand img {
  width: 43px;
  height: 43px;
  padding: 3px;
  border: 1px solid #ccc;
  border-radius: 0;
}

.footer-brand strong {
  color: #666;
  font-size: 13px;
  letter-spacing: -.03em;
}

.footer-brand span {
  margin-top: 1px;
  font-size: 9px;
}

.footer-copy {
  padding-left: 16px;
  border-left: 1px solid #ccc;
}

.footer-copy nav {
  gap: 5px 17px;
}

.footer-copy nav a {
  color: #555;
  font-size: 10px;
}

.footer-copy p {
  margin: 10px 0 2px;
  font-size: 9px;
}

.footer-copy small {
  font-size: 9px;
}

.toast {
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border: 1px solid #245d79;
  border-radius: 0;
  background: rgba(37, 74, 92, .97);
  box-shadow: 2px 3px 8px rgba(0, 0, 0, .2);
  font-size: 10px;
}

@media (max-width: 980px) {
  .fiction-banner,
  .utility-bar,
  .site-header,
  main,
  .site-footer {
    width: 100%;
    border-right: 0;
    border-left: 0;
  }

  .hero-inner {
    grid-template-columns: 165px minmax(0, 1fr) 170px;
  }

  .hero-status {
    grid-column: 3;
    min-height: 205px;
    display: flex;
    grid-template-columns: none;
    gap: 0;
  }

  .hero-status-top {
    align-self: auto;
  }

  .hero-week {
    margin-top: 10px;
  }

  .next-hearing {
    margin-top: 8px;
    padding: 7px 1px;
    border: 0;
    border-top: 1px solid #d7dfe3;
    border-bottom: 1px solid #d7dfe3;
  }

  .hero-status-link {
    align-self: auto;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 7px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 80px;
  }

  body {
    background: #fff;
  }

  .fiction-banner {
    min-height: 24px;
    padding: 3px 10px;
    font-size: 10px;
  }

  .utility-bar {
    display: none;
  }

  .header-main,
  .section-inner,
  .disclaimer-inner,
  .footer-inner {
    width: min(100% - 20px, var(--max));
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-main {
    min-height: 56px;
  }

  .brand-logo {
    width: 205px;
    max-height: 44px;
  }

  .global-search {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .primary-nav {
    position: fixed;
    top: 56px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    background: #fff;
  }

  .primary-nav.open {
    display: block;
  }

  .nav-inner {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
  }

  .nav-inner > a,
  .site-map-toggle {
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    border: 0;
    border-bottom: 1px solid #d4e0e6;
    padding: 0 15px;
    background: linear-gradient(#1681ae, #086890);
    font-size: 12px;
  }

  .site-map-toggle {
    margin-left: 0;
  }

  .site-map {
    display: none !important;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-inner {
    width: calc(100% - 20px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 1;
    min-height: 245px;
  }

  .hero-copy {
    right: 8px;
    bottom: 10px;
    left: 8px;
  }

  .hero-copy h1 {
    font-size: 21px;
  }

  .quick-services {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 31px 7px 6px;
  }

  .quick-services > a,
  .quick-services > a:nth-child(even),
  .quick-services > a:nth-child(n+7) {
    min-height: 27px;
    border-right: 1px dotted #d9d4c9;
    border-bottom: 1px dotted #d9d4c9;
    padding: 3px 5px;
  }

  .quick-services > a:nth-child(even) {
    border-right: 0;
  }

  .quick-services > a:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .hero-status {
    grid-column: 1;
    grid-row: 3;
    min-height: 170px;
  }

  .case-layout,
  .two-column,
  .service-guide-grid {
    grid-template-columns: 1fr;
  }

  .case-search-card form {
    grid-template-columns: 1fr;
  }

  .primary-button {
    grid-column: auto;
  }

  .case-result-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .case-date {
    text-align: left;
  }

  .section-heading,
  .section-heading.heading-inline {
    display: block;
  }

  .section-number {
    display: none;
  }

  .schedule-legend {
    justify-content: flex-start;
    margin-top: 6px;
  }

  .people-summary {
    width: fit-content;
    margin-top: 6px;
  }

  .disclaimer-inner {
    align-items: flex-start;
  }

  .disclaimer-inner img {
    width: 45px;
    height: 45px;
  }

  .footer-inner {
    display: block;
  }

  .footer-copy {
    margin-top: 12px;
    padding-top: 10px;
    padding-left: 0;
    border-top: 1px solid #ccc;
    border-left: 0;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 185px;
  }

  .hero-visual {
    min-height: 215px;
  }

  .hero-copy p {
    display: none;
  }

  .quick-services {
    grid-template-columns: 1fr;
  }

  .quick-services > a,
  .quick-services > a:nth-child(even),
  .quick-services > a:nth-child(n+7) {
    border-right: 0;
    border-bottom: 1px dotted #d9d4c9;
  }

  .quick-services > a:last-child {
    border-bottom: 0;
  }

  .disclaimer-inner img {
    display: none;
  }
}

/* Keep typography aligned with the compact portal reference. */
* {
  letter-spacing: 0 !important;
}

@media (max-width: 920px) {
  .skip-link,
  .skip-link:focus {
    left: 8px;
    transform: none;
    transition: none;
  }
}
