body {
    font-family: 'Malgun Gothic', dotum, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
}

/* 🌟 사진처럼 4열 바둑판 배열을 만드는 정밀 정렬 엔진 */
.card-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* 화면이 작아지면 자동으로 3열, 2열, 1열로 줄어드는 반응형 배선 */
@media (max-width: 1024px) {
    .card-container { grid-template-columns: repeat(3, 1fr) !important; };
}
@media (max-width: 768px) {
    .card-container { grid-template-columns: repeat(2, 1fr) !important; };
}
@media (max-width: 480px) {
    .card-container { grid-template-columns: repeat(1, 1fr) !important; };
}

/* 🌟 사진 속의 테두리가 둥글고 그림자 진 예쁜 네모 상자 스타일 */
.card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: center !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.card h3 {
    margin: 0 0 10px 0 !important;
    font-size: 1.25rem !important;
    color: #1e293b !important;
    font-weight: bold !important;
}

.card p {
    margin: 0 0 20px 0 !important;
    font-size: 0.95rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    flex-grow: 1 !important;
}

/* 🌟 파란색 [자세히 보기] 버튼과 [저장] 버튼 스타일 */
.card .btn-group {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
}

.card .detailBtn {
    background-color: #0076c0 !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #0b74de;
    outline-offset: 3px;
}

/* Support search page */
.benefit-search-page { color: #334155; background: #f8fafc; line-height: 1.7; }
.benefit-search-header { padding: 52px 20px; color: #fff; text-align: center; background: linear-gradient(135deg, #0879bd, #0797c9); }
.benefit-search-header h1 { margin: 0; font-size: 2.25rem; }
.benefit-search-header p { max-width: 780px; margin: 12px auto 0; }
.benefit-search-nav { max-width: 1100px; margin: auto; padding: 18px 20px; text-align: center; }
.benefit-search-nav a, .benefit-search-footer a { display: inline-block; margin: 5px 10px; color: #0076c0; font-weight: 700; text-decoration: none; }
.benefit-search-breadcrumb, .benefit-search-main { max-width: 1100px; margin: auto; padding: 0 20px; }
.benefit-search-breadcrumb { overflow-x: auto; white-space: nowrap; }
.benefit-search-breadcrumb ol { display: flex; gap: 8px; margin: 0; padding: 0 0 18px; list-style: none; }
.benefit-search-breadcrumb li + li::before { margin-right: 8px; color: #94a3b8; content: ">"; }
.benefit-search-main { padding-bottom: 55px; }
.benefit-search-panel, .benefit-search-card, .benefit-search-empty, .benefit-search-notice { padding: 26px; background: #fff; border: 1px solid #dbe5ee; border-radius: 15px; box-shadow: 0 4px 14px rgba(15,23,42,.05); }
.benefit-search-panel h2 { margin-top: 0; color: #1e3a5f; }
.benefit-search-query label, .benefit-search-filters label { display: block; margin-bottom: 6px; color: #1e3a5f; font-weight: 700; }
.benefit-search-query input, .benefit-search-filters select { width: 100%; min-height: 46px; padding: 10px 12px; color: #24364b; background: #fff; border: 1px solid #b8c8d6; border-radius: 9px; font: inherit; }
.benefit-search-filters { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.benefit-search-reset, .benefit-search-link { display: inline-block; margin-top: 18px; padding: 11px 18px; color: #fff; background: #0879bd; border: 0; border-radius: 9px; font-weight: 700; text-decoration: none; cursor: pointer; }
.benefit-search-count { margin: 30px 0 16px; color: #1e3a5f; font-size: 1.2rem; }
.benefit-search-results { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.benefit-search-card { display: flex; flex-direction: column; }
.benefit-search-card h2 { margin: 13px 0 8px; color: #153b5b; font-size: 1.3rem; }
.benefit-search-card p { margin: 6px 0; }
.benefit-search-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.benefit-search-badges span { padding: 4px 9px; color: #075985; background: #e0f2fe; border-radius: 999px; font-size: .84rem; font-weight: 700; }
.benefit-search-target, .benefit-search-status { color: #475569; }
.benefit-search-source { color: #64748b; font-size: .9rem; }
.benefit-search-link { align-self: flex-start; margin-top: auto; }
.benefit-search-unavailable { margin-top: auto; color: #64748b; font-weight: 700; }
.benefit-search-empty { text-align: center; }
.benefit-search-footer { padding: 28px 20px; text-align: center; background: #fff; border-top: 1px solid #dbe5ee; }
.benefit-search-footer p { margin: 8px 0; }
.benefit-search-query input:focus-visible, .benefit-search-filters select:focus-visible, .benefit-search-reset:focus-visible, .benefit-search-link:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
/* =========================================================
   인천 군·구 바로가기
========================================================= */

.district-section {
    position: relative;
    overflow: hidden;
}

.district-section::before {
    position: absolute;
    top: -80px;
    right: -70px;
    width: 210px;
    height: 210px;
    content: "";
    background: rgba(7, 151, 201, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

:where(.district-section) .section-heading-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
}

:where(.district-section) .section-heading-row h2 {
    margin-bottom: 10px;
}

:where(.district-section) .section-heading-row p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
}

:where(.district-section) .district-count {
    flex-shrink: 0;
    padding: 7px 12px;
    color: #075985;
    font-size: 0.82rem;
    font-weight: 800;
    background: #e0f2fe;
    border-radius: 999px;
}

:where(.district-section) .district-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

:where(.district-section) .district-card {
    position: relative;
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    color: #334155;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #dce7ee;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

:where(.district-section) .district-card:hover {
    transform: translateY(-3px);
    color: #334155;
    background: #f8fdff;
    border-color: #7bc8e5;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

:where(.district-section) .district-card:focus-visible {
    outline: 3px solid rgba(7, 151, 201, 0.25);
    outline-offset: 3px;
}

:where(.district-section) .district-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #eef9fd, #e0f2fe);
    border: 1px solid #cce7f2;
    border-radius: 13px;
}

:where(.district-section) .district-content {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

:where(.district-section) .district-content strong {
    color: #1e3a5f;
    font-size: 1.08rem;
    line-height: 1.35;
}

:where(.district-section) .district-content small {
    margin-top: 4px;
    color: #718096;
    font-size: 0.82rem;
    line-height: 1.4;
}

:where(.district-section) .district-arrow {
    flex-shrink: 0;
    color: #0797c9;
    font-size: 1.25rem;
    font-weight: 900;
    transition: transform 0.2s ease;
}

:where(.district-section) .district-card:hover .district-arrow {
    transform: translateX(4px);
}

:where(.district-section) .featured-district {
    border-color: #7dd3fc;
    background: linear-gradient(145deg, #f0faff, #ffffff);
}

:where(.district-section) .district-notice {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    padding: 19px;
    color: #31546b;
    background: #eef8fc;
    border-left: 5px solid #0797c9;
    border-radius: 0 11px 11px 0;
}

:where(.district-section) .district-notice strong {
    color: #126e91;
}

:where(.district-section) .district-notice p {
    margin: 7px 0 0;
    font-size: 0.92rem;
}
@media (max-width: 760px) {

    .benefit-search-header {
        padding: 40px 16px;
    }

    .benefit-search-header h1 {
        font-size: 1.85rem;
    }

    .benefit-search-filters,
    .benefit-search-results {
        grid-template-columns: 1fr;
    }

    .benefit-search-reset,
    .benefit-search-link {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    :where(.district-section) .section-heading-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* 서울 자치구 카드가 기존에 공유하던 기본 계산값 */
.content-section:not(.district-section) > .district-grid {
    position: relative;
    z-index: 1;
}

.content-section:not(.district-section) > .district-grid > .district-card {
    position: relative;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.content-section:not(.district-section) > .district-grid > .district-card:hover {
    color: #334155;
    background: #f8fdff;
}

.content-section:not(.district-section) > .district-grid > .district-card:focus-visible {
    outline: 3px solid rgba(7, 151, 201, 0.25);
    outline-offset: 3px;
}

/* Personalized benefit finder */
.finder-page {
  color: #334155;
  background: #f8fafc;
  line-height: 1.7;
}
.finder-header {
  padding: 52px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg,#0879bd,#0797c9);
}
.finder-header h1 {
  margin: 0;
  font-size: 2.15rem;
}
.finder-header p {
  max-width: 820px;
  margin: 12px auto 0;
}
.finder-nav {
  max-width: 1100px;
  margin: auto;
  padding: 18px 20px;
  text-align: center;
}
.finder-nav a,.finder-footer a {
  display: inline-block;
  margin: 5px 10px;
  color: #0076c0;
  font-weight: 700;
  text-decoration: none;
}
.finder-breadcrumb,.finder-main {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}
.finder-breadcrumb {
  overflow-x: auto;
  white-space: nowrap;
}
.finder-breadcrumb ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 18px;
  list-style: none;
}
.finder-breadcrumb li+li::before {
  margin-right: 8px;
  color: #94a3b8;
  content: ">";
}
.finder-main {
  padding-bottom: 55px;
}
.finder-privacy,.finder-panel,.finder-caution,.finder-faq,.finder-result-card,.finder-empty {
  margin-bottom: 22px;
  padding: 25px;
  background: #fff;
  border: 1px solid #dbe5ee;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(15,23,42,.05);
}
.finder-privacy {
  background: #eff8ff;
  border-color: #7dd3fc;
}
.finder-privacy p {
  margin: 8px 0;
}
.finder-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 24px;
  font-weight: 800;
}
.finder-progress-track {
  flex: 1;
  height: 12px;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 999px;
}
.finder-progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  background: #0879bd;
  transition: width .2s;
}
.finder-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.finder-step legend {
  margin-bottom: 18px;
  color: #173d5c;
  font-size: 1.35rem;
  font-weight: 800;
}
.finder-choice-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.finder-choice {
  position: relative;
  display: block;
}
.finder-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.finder-choice span {
  display: block;
  min-height: 48px;
  padding: 12px;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
}
.finder-choice input:checked+span {
  color: #075985;
  background: #e0f2fe;
  border-color: #0284c7;
  font-weight: 800;
}
.finder-choice input:focus-visible+span {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
.finder-district {
  margin-top: 18px;
}
.finder-district label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}
.finder-district select {
  width: 100%;
  min-height: 46px;
  padding: 9px;
  border: 1px solid #94a3b8;
  border-radius: 9px;
  font: inherit;
}
.finder-error {
  min-height: 1.5em;
  color: #b42318;
  font-weight: 700;
}
.finder-actions,.finder-result-actions,.finder-empty {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.finder-actions button,.finder-result-actions button,.finder-result-actions a,.finder-empty button,.finder-empty a,.finder-detail-link {
  display: inline-block;
  padding: 11px 18px;
  color: #fff;
  background: #0879bd;
  border: 0;
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.finder-actions button:first-child,.finder-result-actions button[data-finder-restart] {
  color: #075985;
  background: #e0f2fe;
}
.finder-results-section>h2 {
  color: #173d5c;
}
.finder-result-count {
  font-size: 1.15rem;
  font-weight: 800;
}
.finder-summary {
  padding: 12px;
  background: #f1f5f9;
  border-radius: 9px;
}
.finder-result-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.finder-result-card {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.finder-result-card h3 {
  margin: 12px 0 6px;
  color: #173d5c;
}
.finder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.finder-badges span {
  padding: 4px 9px;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}
.finder-reasons ul {
  margin: 6px 0;
  padding-left: 20px;
}
.finder-official {
  color: #64748b;
  font-size: .9rem;
}
.finder-detail-link {
  align-self: flex-start;
  margin-top: auto;
}
.finder-result-actions {
  margin: 20px 0;
}
.finder-empty {
  flex-direction: column;
  text-align: center;
}
.finder-faq article {
  padding: 12px 0;
  border-top: 1px solid #e2e8f0;
}
.finder-faq h3 {
  margin-bottom: 6px;
}
.finder-footer {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #dbe5ee;
}
.finder-footer p {
  margin: 7px;
}
.finder-actions button:focus-visible,.finder-result-actions button:focus-visible,.finder-result-actions a:focus-visible,.finder-empty button:focus-visible,.finder-empty a:focus-visible,.finder-detail-link:focus-visible,.finder-district select:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .finder-header {
    padding: 40px 16px;
  }
  .finder-header h1 {
    font-size: 1.75rem;
  }
  .finder-choice-grid,.finder-result-grid {
    grid-template-columns: 1fr;
  }
  .finder-actions button,.finder-result-actions button,.finder-result-actions a,.finder-empty button,.finder-empty a,.finder-detail-link {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .finder-progress {
    align-items: flex-start;
    flex-direction: column;
  }
  .finder-progress-track {
    width: 100%;
    flex: none;
  }
}

/* Benefit application calendar */
.calendar-page {
  color: #334155;
  background: #f8fafc;
  line-height: 1.7;
}
.calendar-header {
  padding: 52px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg,#0879bd,#0797c9);
}
.calendar-header h1 {
  margin: 0;
  font-size: 2.15rem;
}
.calendar-header p {
  margin: 12px auto 0;
}
.calendar-nav {
  max-width: 1100px;
  margin: auto;
  padding: 18px 20px;
  text-align: center;
}
.calendar-nav a,.calendar-footer a {
  display: inline-block;
  margin: 5px 10px;
  color: #0076c0;
  font-weight: 700;
  text-decoration: none;
}
.calendar-breadcrumb,.calendar-main {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}
.calendar-breadcrumb {
  overflow-x: auto;
  white-space: nowrap;
}
.calendar-breadcrumb ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 18px;
  list-style: none;
}
.calendar-breadcrumb li+li::before {
  margin-right: 8px;
  color: #94a3b8;
  content: ">";
}
.calendar-main {
  padding-bottom: 55px;
}
.calendar-notice,.calendar-filter-panel,.calendar-panel,.calendar-empty,.calendar-faq,.calendar-item {
  padding: 22px;
  background: #fff;
  border: 1px solid #dbe5ee;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15,23,42,.05);
}
.calendar-notice {
  background: #eff8ff;
  border-color: #7dd3fc;
}
.calendar-summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin: 20px 0;
}
.calendar-summary article {
  padding: 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #dbe5ee;
  border-radius: 13px;
}
.calendar-summary span {
  display: block;
  color: #475569;
}
.calendar-summary strong {
  display: block;
  color: #0879bd;
  font-size: 2rem;
}
.calendar-filter-panel {
  margin-bottom: 20px;
}
.calendar-search label,.calendar-filters label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}
.calendar-search input,.calendar-filters select {
  width: 100%;
  min-height: 45px;
  padding: 9px 11px;
  border: 1px solid #94a3b8;
  border-radius: 9px;
  font: inherit;
  box-sizing: border-box;
}
.calendar-filters {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}
.calendar-filters fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.calendar-filters legend {
  font-weight: 800;
}
.calendar-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.calendar-controls h2 {
  text-align: center;
}
.calendar-controls button {
  padding: 9px 14px;
  color: #fff;
  background: #0879bd;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.calendar-scroll {
  overflow-x: auto;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7,minmax(92px,1fr));
  min-width: 700px;
  gap: 5px;
}
.calendar-weekday {
  padding: 8px;
  text-align: center;
  font-weight: 800;
}
.calendar-day,.calendar-blank {
  min-height: 92px;
  padding: 8px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}
.calendar-day {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  color: #334155;
  cursor: pointer;
}
.calendar-day:hover {
  border-color: #0284c7;
}
.calendar-day.is-today {
  border: 3px solid #f59e0b;
}
.calendar-day.is-selected {
  background: #e0f2fe;
}
.calendar-day-number {
  font-size: 1.05rem;
  font-weight: 800;
}
.calendar-dots {
  color: #0284c7;
  letter-spacing: 2px;
}
.calendar-selected, .calendar-main>section {
  margin-top: 24px;
}
.calendar-card-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.calendar-item {
  display: flex;
  flex-direction: column;
}
.calendar-item h3 {
  margin: 11px 0 5px;
  color: #173d5c;
}
.calendar-item p {
  margin: 5px 0;
}
.calendar-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.calendar-item-badges span {
  padding: 4px 8px;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}
.calendar-deadline.today {
  color: #fff;
  background: #c2410c;
}
.calendar-deadline.soon {
  color: #7c2d12;
  background: #ffedd5;
}
.calendar-official {
  color: #64748b;
  font-size: .9rem;
}
.calendar-item a {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 15px;
  color: #fff;
  background: #0879bd;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.calendar-empty {
  text-align: center;
}
.calendar-faq article {
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
}
.calendar-footer {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #dbe5ee;
}
.calendar-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.calendar-controls button:focus-visible,.calendar-day:focus-visible,.calendar-item a:focus-visible,.calendar-search input:focus-visible,.calendar-filters select:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .calendar-header {
    padding: 40px 16px;
  }
  .calendar-header h1 {
    font-size: 1.75rem;
  }
  .calendar-summary,.calendar-filters,.calendar-card-grid {
    grid-template-columns: 1fr;
  }
  .calendar-controls {
    grid-template-columns: 1fr 1fr;
  }
  .calendar-controls h2 {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .calendar-controls button {
    width: 100%;
  }
}

/* Recommended benefit TOP10 */
.top-page {
  color: #334155;
  background: #f8fafc;
  line-height: 1.7;
}
.top-header {
  padding: 52px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg,#0879bd,#0797c9);
}
.top-header h1 {
  margin: 0;
  font-size: 2.15rem;
}
.top-header p {
  max-width: 820px;
  margin: 12px auto 0;
}
.top-nav-links {
  max-width: 1100px;
  margin: auto;
  padding: 18px 20px;
  text-align: center;
}
.top-nav-links a,.top-footer a {
  display: inline-block;
  margin: 5px 10px;
  color: #0076c0;
  font-weight: 700;
  text-decoration: none;
}
.top-breadcrumb,.top-main {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}
.top-breadcrumb {
  overflow-x: auto;
  white-space: nowrap;
}
.top-breadcrumb ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 18px;
  list-style: none;
}
.top-breadcrumb li+li::before {
  margin-right: 8px;
  color: #94a3b8;
  content: ">";
}
.top-main {
  padding-bottom: 55px;
}
.top-disclaimer,.top-filter-panel,.top-card,.top-empty,.top-faq {
  padding: 23px;
  background: #fff;
  border: 1px solid #dbe5ee;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15,23,42,.05);
}
.top-disclaimer {
  background: #fff7ed;
  border-color: #fdba74;
}
.top-filter-panel {
  margin: 20px 0;
}
.top-search label,.top-filters label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}
.top-search input,.top-filters select {
  width: 100%;
  min-height: 45px;
  padding: 9px 11px;
  border: 1px solid #94a3b8;
  border-radius: 9px;
  font: inherit;
  box-sizing: border-box;
}
.top-filters {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}
.top-filters fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.top-filters legend {
  font-weight: 800;
}
.top-count {
  font-weight: 800;
}
.top-hero {
  margin: 16px 0;
}
.top-hero-label {
  padding: 10px 16px;
  color: #7c2d12;
  background: #ffedd5;
  border-radius: 12px 12px 0 0;
  font-size: 1.15rem;
  font-weight: 900;
}
.top-hero .top-card {
  border: 2px solid #f59e0b;
  border-radius: 0 0 14px 14px;
}
.top-grid,.top-mini-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.top-mini-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.top-card {
  display: flex;
  flex-direction: column;
}
.top-card h3 {
  margin: 11px 0 5px;
  color: #173d5c;
}
.top-rank {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-rank strong {
  color: #b45309;
  font-size: 1.35rem;
}
.top-rank span {
  padding: 3px 8px;
  color: #fff;
  background: #0879bd;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
}
.top-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.top-badges span {
  padding: 4px 8px;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
}
.top-reasons ul {
  margin: 6px 0;
  padding-left: 20px;
}
.top-card>a {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 15px;
  color: #fff;
  background: #0879bd;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.top-category-section {
  margin-top: 30px;
}
.top-category-block {
  margin: 24px 0;
}
.top-card.compact {
  padding: 18px;
}
.top-card.compact .top-badges span:nth-child(n+3) {
  display: none;
}
.top-empty,.top-no-data {
  text-align: center;
}
.top-faq {
  margin-top: 28px;
}
.top-faq article {
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
}
.top-footer {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #dbe5ee;
}
.top-search input:focus-visible,.top-filters select:focus-visible,.top-card>a:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .top-header {
    padding: 40px 16px;
  }
  .top-header h1 {
    font-size: 1.75rem;
  }
  .top-filters,.top-grid,.top-mini-grid {
    grid-template-columns: 1fr;
  }
  .top-card>a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* Regional benefit recommendations */
.region-page {
  color: #334155;
  background: #f8fafc;
  line-height: 1.7;
}
.region-header {
  padding: 52px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg,#0879bd,#0797c9);
}
.region-header h1 {
  margin: 0;
  font-size: 2.15rem;
}
.region-header p {
  max-width: 820px;
  margin: 12px auto 0;
}
.region-nav {
  max-width: 1100px;
  margin: auto;
  padding: 18px 20px;
  text-align: center;
}
.region-nav a,.region-footer a {
  display: inline-block;
  margin: 5px 10px;
  color: #0076c0;
  font-weight: 700;
  text-decoration: none;
}
.region-breadcrumb,.region-main {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}
.region-breadcrumb {
  overflow-x: auto;
  white-space: nowrap;
}
.region-breadcrumb ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 18px;
  list-style: none;
}
.region-breadcrumb li+li::before {
  margin-right: 8px;
  color: #94a3b8;
  content: ">";
}
.region-main {
  padding-bottom: 55px;
}
.region-disclaimer,.region-filter-panel,.region-support-card,.region-empty,.region-faq {
  padding: 22px;
  background: #fff;
  border: 1px solid #dbe5ee;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15,23,42,.05);
}
.region-disclaimer {
  background: #eff8ff;
  border-color: #7dd3fc;
}
.region-filter-panel {
  margin: 20px 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}
.region-filter-panel h2 {
  grid-column: 1/-1;
  margin: 0;
}
.region-filter-panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.region-filter-panel legend,.region-search label,.region-filter-panel label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}
.region-search input,.region-filter-panel select {
  width: 100%;
  min-height: 45px;
  padding: 9px 11px;
  border: 1px solid #94a3b8;
  border-radius: 9px;
  font: inherit;
  box-sizing: border-box;
}
.region-grid-list {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px;
}
.region-card-item button {
  width: 100%;
  height: 100%;
  padding: 18px;
  text-align: left;
  background: #fff;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  cursor: pointer;
}
.region-card-item button strong,.region-card-item button span {
  display: block;
}
.region-card-item button strong {
  color: #173d5c;
  font-size: 1.25rem;
}
.region-card-item button span {
  margin-top: 5px;
}
.region-card-item button em {
  display: inline-block;
  margin-top: 10px;
  color: #0879bd;
  font-style: normal;
  font-weight: 800;
}
.region-card-item.is-selected button {
  background: #e0f2fe;
  border-color: #0284c7;
}
.region-detail,.region-main>section {
  margin-top: 28px;
}
.region-support-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.region-support-card {
  display: flex;
  flex-direction: column;
}
.region-support-card h3 {
  margin: 10px 0 5px;
  color: #173d5c;
}
.region-support-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.region-support-badges span {
  padding: 4px 8px;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
}
.region-reasons ul {
  margin: 6px 0;
  padding-left: 20px;
}
.region-support-card>a {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 15px;
  color: #fff;
  background: #0879bd;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.district-link-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.district-link-grid a {
  padding: 14px;
  color: #334155;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  text-decoration: none;
}
.district-link-grid strong,.district-link-grid span {
  display: block;
}
.district-link-grid strong {
  color: #075985;
}
.district-link-grid span {
  font-size: .85rem;
}
.region-empty,.region-faq {
  text-align: center;
}
.region-faq article {
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
}
.region-footer {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #dbe5ee;
}
.region-live {
  font-weight: 800;
}
.region-card-item button:focus-visible,.region-support-card>a:focus-visible,.district-link-grid a:focus-visible,.region-search input:focus-visible,.region-filter-panel select:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .region-grid-list,.district-link-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 760px) {
  .region-header {
    padding: 40px 16px;
  }
  .region-header h1 {
    font-size: 1.75rem;
  }
  .region-filter-panel,.region-support-grid {
    grid-template-columns: 1fr;
  }
  .region-filter-panel h2 {
    grid-column: auto;
  }
  .region-support-card>a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}
@media (max-width: 420px) {
  .region-grid-list,.district-link-grid {
    grid-template-columns: 1fr;
  }
}

/* Benefit comparison */
.compare-page {
  color: #334155;
  background: #f8fafc;
  line-height: 1.7;
}
.compare-header {
  padding: 52px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg,#0879bd,#0797c9);
}
.compare-header h1 {
  margin: 0;
  font-size: 2.15rem;
}
.compare-header p {
  max-width: 820px;
  margin: 12px auto 0;
}
.compare-nav {
  max-width: 1100px;
  margin: auto;
  padding: 18px 20px;
  text-align: center;
}
.compare-nav a,.compare-footer a {
  display: inline-block;
  margin: 5px 10px;
  color: #0076c0;
  font-weight: 700;
  text-decoration: none;
}
.compare-breadcrumb,.compare-main {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}
.compare-breadcrumb {
  overflow-x: auto;
  white-space: nowrap;
}
.compare-breadcrumb ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 18px;
  list-style: none;
}
.compare-breadcrumb li+li::before {
  margin-right: 8px;
  color: #94a3b8;
  content: ">";
}
.compare-main {
  padding-bottom: 55px;
}
.compare-picker,.compare-summary-grid article,.compare-table-section,.compare-situations,.compare-empty,.compare-faq,.compare-similar-grid article,.compare-pairs {
  padding: 22px;
  background: #fff;
  border: 1px solid #dbe5ee;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15,23,42,.05);
}
.compare-picker-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}
.compare-picker fieldset {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
}
.compare-picker legend,.compare-picker label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}
.compare-picker input {
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid #94a3b8;
  border-radius: 9px;
  font: inherit;
  box-sizing: border-box;
}
.compare-picker-grid>button {
  padding: 11px 15px;
  color: #fff;
  background: #0879bd;
  border: 0;
  border-radius: 9px;
  font-weight: 900;
  cursor: pointer;
}
.compare-suggestions {
  position: absolute;
  z-index: 5;
  right: 0;
  left: 0;
  max-height: 310px;
  margin: 3px 0 0;
  padding: 0;
  overflow: auto;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(15,23,42,.18);
  list-style: none;
}
.compare-suggestions:empty {
  display: none;
}
.compare-suggestions button {
  width: 100%;
  padding: 10px;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  cursor: pointer;
}
.compare-suggestions strong,.compare-suggestions span {
  display: block;
}
.compare-suggestions span {
  color: #64748b;
  font-size: .85rem;
}
.compare-live {
  font-weight: 800;
}
.compare-summary-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin: 22px 0;
}
.compare-summary-grid article {
  margin: 0;
}
.compare-summary-grid h2 {
  margin-top: 0;
}
.compare-table-wrap {
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th,.compare-table td {
  padding: 13px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #cbd5e1;
}
.compare-table thead th {
  color: #fff;
  background: #0879bd;
}
.compare-table tbody th {
  width: 18%;
  background: #f1f5f9;
}
.compare-same {
  background: #f1f5f9;
}
.compare-different {
  background: #dbeafe;
  border-color: #60a5fa!important;
}
.compare-missing {
  color: #64748b;
  background: #f8fafc;
}
.compare-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.compare-legend span {
  padding: 4px 9px;
  border-radius: 999px;
}
.compare-legend span:nth-child(1) {
  background: #f1f5f9;
}
.compare-legend span:nth-child(2) {
  background: #dbeafe;
}
.compare-legend span:nth-child(3) {
  color: #64748b;
  background: #f8fafc;
}
.compare-situations,.compare-main>section {
  margin-top: 24px;
}
.compare-similar-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.compare-similar-grid article {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.compare-similar-grid h3 {
  margin: 7px 0;
}
.compare-similar-grid article>a {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 13px;
  color: #fff;
  background: #0879bd;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.compare-pairs #popularPairs {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.compare-pairs button {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 13px;
  color: #334155;
  background: #fff;
  border: 1px solid #94a3b8;
  border-radius: 9px;
  cursor: pointer;
}
.compare-pairs button span {
  color: #0879bd;
  font-weight: 900;
}
.compare-faq article {
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
}
.compare-footer {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #dbe5ee;
}
.compare-picker input:focus-visible,.compare-picker-grid>button:focus-visible,.compare-suggestions button:focus-visible,.compare-similar-grid article>a:focus-visible,.compare-pairs button:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .compare-header {
    padding: 40px 16px;
  }
  .compare-header h1 {
    font-size: 1.75rem;
  }
  .compare-picker-grid,.compare-summary-grid,.compare-similar-grid,.compare-pairs #popularPairs {
    grid-template-columns: 1fr;
  }
  .compare-picker-grid>button {
    width: 100%;
  }
  .compare-table,.compare-table tbody,.compare-table tr,.compare-table th,.compare-table td {
    display: block;
    width: auto;
  }
  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
  }
  .compare-table tr {
    margin-bottom: 14px;
    border: 1px solid #cbd5e1;
  }
  .compare-table tbody th {
    font-weight: 900;
  }
  .compare-table td::before {
    display: block;
    margin-bottom: 3px;
    color: #475569;
    content: attr(data-label);
    font-size: .82rem;
    font-weight: 800;
  }
  .compare-similar-grid article>a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* Benefit bookmarks */
.bookmark-card-host {
  position: relative;
}
.bookmark-toggle {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 11px;
  color: #334155;
  background: #fff;
  border: 1px solid #94a3b8;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s,background-color .2s;
}
.bookmark-card-button {
  align-self: flex-end;
  margin: 0 0 8px auto;
}
.bookmark-detail-action {
  display: flex;
  justify-content: flex-end;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
}
.bookmark-toggle[aria-pressed="true"] {
  color: #854d0e;
  background: #fef9c3;
  border-color: #eab308;
}
.bookmark-toggle.is-animating {
  animation: bookmark-pop .2s ease-out;
}
@keyframes bookmark-pop {
  50% {
    transform: scale(1.16);
  }
}
.bookmark-sr-live {
  position: absolute!important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.bookmarks-page {
  color: #334155;
  background: #f8fafc;
  line-height: 1.7;
}
.bookmarks-header {
  padding: 52px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg,#0879bd,#0797c9);
}
.bookmarks-header h1 {
  margin: 0;
  font-size: 2.15rem;
}
.bookmarks-nav {
  max-width: 1100px;
  margin: auto;
  padding: 18px 20px;
  text-align: center;
}
.bookmarks-nav a,.bookmarks-footer a {
  display: inline-block;
  margin: 5px 10px;
  color: #0076c0;
  font-weight: 700;
  text-decoration: none;
}
.bookmarks-breadcrumb,.bookmarks-main {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}
.bookmarks-breadcrumb ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 18px;
  list-style: none;
}
.bookmarks-breadcrumb li+li::before {
  margin-right: 8px;
  color: #94a3b8;
  content: ">";
}
.bookmarks-main {
  padding-bottom: 55px;
}
.bookmark-privacy,.bookmark-controls,.bookmark-result-card,.bookmark-empty,.bookmarks-faq {
  padding: 22px;
  background: #fff;
  border: 1px solid #dbe5ee;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15,23,42,.05);
}
.bookmark-privacy {
  background: #eff8ff;
  border-color: #7dd3fc;
}
.bookmark-controls {
  display: grid;
  grid-template-columns: 2fr repeat(3,1fr);
  gap: 14px;
  margin: 20px 0;
}
.bookmark-controls h2 {
  grid-column: 1/-1;
  margin: 0;
}
.bookmark-controls fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.bookmark-controls label,.bookmark-controls legend {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}
.bookmark-controls input,.bookmark-controls select {
  width: 100%;
  min-height: 45px;
  padding: 9px 11px;
  border: 1px solid #94a3b8;
  border-radius: 9px;
  font: inherit;
  box-sizing: border-box;
}
.bookmark-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.bookmark-list-heading button,.bookmark-remove {
  padding: 9px 14px;
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fda4af;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.bookmark-list-heading button:disabled {
  color: #94a3b8;
  background: #f1f5f9;
  border-color: #cbd5e1;
  cursor: not-allowed;
}
.bookmark-results {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.bookmark-result-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.bookmark-remove {
  align-self: flex-end;
}
.bookmark-result-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.bookmark-result-badges span {
  padding: 4px 8px;
  color: #075985;
  background: #e0f2fe;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
}
.bookmark-result-card h2 {
  margin: 10px 0 5px;
  color: #173d5c;
}
.bookmark-result-card>a,.bookmark-empty>a {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 15px;
  color: #fff;
  background: #0879bd;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.bookmark-empty {
  margin-top: 18px;
  text-align: center;
}
.bookmark-empty>a {
  display: inline-block;
}
.bookmarks-faq {
  margin-top: 28px;
}
.bookmarks-faq article {
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
}
.bookmarks-footer {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #dbe5ee;
}
.bookmark-toggle:focus-visible,.bookmark-controls input:focus-visible,.bookmark-controls select:focus-visible,.bookmark-list-heading button:focus-visible,.bookmark-remove:focus-visible,.bookmark-result-card>a:focus-visible,.bookmark-empty>a:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .bookmarks-header {
    padding: 40px 16px;
  }
  .bookmarks-header h1 {
    font-size: 1.75rem;
  }
  .bookmark-controls,.bookmark-results {
    grid-template-columns: 1fr;
  }
  .bookmark-controls h2 {
    grid-column: auto;
  }
  .bookmark-list-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .bookmark-list-heading button,.bookmark-result-card>a,.bookmark-empty>a,.bookmark-toggle {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .bookmark-card-button {
    margin-bottom: 8px;
  }
  .bookmark-detail-action {
    display: block;
  }
}

.download-center-page {
  --background: #f5f7fb;
  --text: #182033;
  --muted: #697386;
  --line: #e4e8f0;
  --primary: #1769e0;
  --primary-dark: #0c4fb5;
  --primary-soft: #eaf2ff;
  --success: #16835c;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 24px 70px rgba(19, 38, 76, .16);
  --radius: 22px;
  --shell: 1180px;
}

.download-center-page,
.download-center-page * {
  box-sizing: border-box;
}

html:has(.download-center-page) {
  scroll-behavior: smooth;
}

body.download-center-page {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--background);
  font-family: Pretendard, "Apple SD Gothic Neo", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.download-center-page button,
.download-center-page input {
  font: inherit;
}

.download-center-page button,
.download-center-page a {
  -webkit-tap-highlight-color: transparent;
}

.download-center-page a {
  color: inherit;
  text-decoration: none;
}

.download-center-page button {
  color: inherit;
}

.download-center-page .shell {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
}

.download-center-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.download-center-page .skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--primary-dark);
  transform: translateY(-150%);
}

.download-center-page .skip-link:focus {
  transform: translateY(0);
}

.download-center-page :focus-visible {
  outline: 3px solid rgba(23, 105, 224, .38);
  outline-offset: 3px;
}

.download-center-page .site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(228, 232, 240, .78);
  background: rgba(245, 247, 251, .82);
  backdrop-filter: blur(18px);
}

.download-center-page .header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-center-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -.02em;
}

.download-center-page .brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #4a9aff, #1254ce);
  box-shadow: 0 8px 20px rgba(23, 105, 224, .22);
}

.download-center-page nav {
  display: flex;
  gap: 6px;
}

.download-center-page nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
}

.download-center-page nav a:hover,
.download-center-page nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-soft);
}

.download-center-page .hero {
  position: relative;
  overflow: clip;
  padding: 92px 0 72px;
  text-align: center;
  background: radial-gradient(circle at 50% -10%, #dbeaff 0, transparent 45%);
}

.download-center-page .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.download-center-page .eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.download-center-page h1,
.download-center-page h2,
.download-center-page h3,
.download-center-page p {
  overflow-wrap: break-word;
}

.download-center-page h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.download-center-page .hero-copy {
  margin: 18px auto 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.download-center-page .search {
  width: min(100%, 720px);
  min-height: 68px;
  margin: auto;
  padding: 8px 14px 8px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(213, 220, 232, .95);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 50px rgba(39, 73, 125, .12);
  transform: translateZ(0);
  transition: border-color .2s, box-shadow .2s;
}

.download-center-page .search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 20px 55px rgba(23, 105, 224, .17), 0 0 0 4px rgba(23, 105, 224, .1);
}

.download-center-page .search svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.download-center-page .search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 1.02rem;
}

.download-center-page .search input::placeholder {
  color: #9aa3b2;
}

.download-center-page kbd {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 7px;
  color: var(--muted);
  background: #f8f9fb;
  font-size: .78rem;
}

.download-center-page .search-hint {
  margin: 14px 0 0;
  color: #858fa0;
  font-size: .88rem;
}

.download-center-page .page-layout {
  padding: 30px 0 88px;
}

.download-center-page .featured,
.download-center-page .library,
.download-center-page .recent {
  margin-top: 54px;
}

.download-center-page .section-heading {
  margin-bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.download-center-page .section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -.035em;
}

.download-center-page .section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.download-center-page .featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.download-center-page .featured-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}

.download-center-page .featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.download-center-page .featured-card:nth-child(1) {
  background: linear-gradient(145deg, #1769e0, #0f4ba7);
}

.download-center-page .featured-card:nth-child(2) {
  background: linear-gradient(145deg, #553fd6, #35268e);
}

.download-center-page .featured-card:nth-child(3) {
  background: linear-gradient(145deg, #16835c, #096041);
}

.download-center-page .featured-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.download-center-page .feature-badge {
  align-self: flex-start;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 99px;
  background: rgba(255,255,255,.14);
  font-size: .72rem;
  font-weight: 760;
}

.download-center-page .featured-card h3 {
  margin: auto 0 4px;
  font-size: 1.2rem;
  letter-spacing: -.025em;
}

.download-center-page .featured-card p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
}

.download-center-page .tabs-wrap {
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.download-center-page .tabs-wrap::-webkit-scrollbar {
  display: none;
}

.download-center-page .tabs {
  min-width: max-content;
  padding: 5px;
  display: inline-flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}

.download-center-page .tabs button {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  transition: .18s ease;
}

.download-center-page .tabs button:hover {
  color: var(--text);
  background: #f0f3f8;
}

.download-center-page .tabs button[aria-selected="true"] {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 2px 10px rgba(31, 50, 81, .09);
}

.download-center-page .resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.download-center-page .resource-card {
  min-width: 0;
  min-height: 330px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(222, 227, 236, .9);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.86));
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease;
  animation: card-enter .45s both;
  content-visibility: auto;
  contain-intrinsic-size: 390px;
}

.download-center-page .resource-card a {
  align-self: flex-start;
  margin-top: auto;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.download-center-page .resource-card:hover {
  transform: translateY(-5px);
  border-color: #ccd7e8;
  box-shadow: 0 18px 44px rgba(27, 46, 82, .11);
}

.download-center-page .resource-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(23,105,224,.08);
  border-radius: 17px;
  color: var(--primary);
  background: linear-gradient(145deg, #f1f6ff, #e2edff);
  box-shadow: inset 0 1px rgba(255,255,255,.85);
  font-size: 1.8rem;
}

.download-center-page .status-badge {
  padding: 5px 9px;
  border-radius: 99px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: .7rem;
  font-weight: 800;
}

.download-center-page .status-badge.new {
  color: #086846;
  background: #e4f7ef;
}

.download-center-page .resource-card h3 {
  margin: 20px 0 7px;
  font-size: 1.16rem;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.download-center-page .resource-description {
  min-height: 50px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.download-center-page .empty-state {
  padding: 70px 24px;
  border: 1px dashed #cad2df;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255,255,255,.5);
}

.download-center-page .empty-state span {
  color: #9aa5b5;
  font-size: 3rem;
}

.download-center-page .empty-state h3 {
  margin: 8px 0 3px;
}

.download-center-page .empty-state p {
  margin: 0 0 20px;
  color: var(--muted);
}

.download-center-page .recent {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.66);
}

.download-center-page .section-heading.compact {
  margin-bottom: 12px;
}

.download-center-page .recent ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-center-page .recent li {
  padding: 13px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.download-center-page .recent li:first-child {
  border-top: 0;
}

.download-center-page .recent .mini-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: var(--primary-soft);
}

.download-center-page .recent strong {
  display: block;
  font-size: .9rem;
}

.download-center-page .recent time {
  color: var(--muted);
  font-size: .77rem;
}

.download-center-page .site-footer {
  padding: 35px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.download-center-page .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  color: var(--muted);
  font-size: .82rem;
}

.download-center-page .footer-inner strong {
  color: var(--text);
  font-size: .9rem;
}

.download-center-page .footer-inner p {
  margin: 5px 0 0;
}

.download-center-page .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.download-center-page .footer-links span {
  color: var(--muted);
  font-size: .82rem;
  white-space: nowrap;
}

.download-center-page .preview-dialog {
  width: min(calc(100% - 28px), 650px);
  max-height: min(86vh, 800px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.download-center-page .preview-dialog::backdrop {
  background: rgba(21, 29, 45, .56);
  backdrop-filter: blur(4px);
}

.download-center-page .dialog-header {
  padding: 26px 28px 20px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.download-center-page .dialog-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 1.8rem;
}

.download-center-page .dialog-header h2 {
  margin: 0;
  letter-spacing: -.035em;
}

.download-center-page .icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f6;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
}

.download-center-page .icon-button:hover {
  background: #e5e9f0;
}

.download-center-page .dialog-body {
  padding: 24px 28px;
  overflow-y: auto;
}

.download-center-page .dialog-body > p {
  margin-top: 0;
  color: var(--muted);
}

.download-center-page .dialog-body section {
  margin-top: 24px;
}

.download-center-page .dialog-body h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.download-center-page .check-list,
.download-center-page .step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-center-page .check-list li,
.download-center-page .step-list li {
  margin-top: 9px;
  padding: 11px 13px;
  border-radius: 11px;
  background: #f6f8fb;
  font-size: .9rem;
}

.download-center-page .check-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--success);
  font-weight: 900;
}

.download-center-page .step-list {
  counter-reset: step;
}

.download-center-page .step-list li {
  counter-increment: step;
}

.download-center-page .step-list li::before {
  content: counter(step);
  width: 23px;
  height: 23px;
  margin-right: 9px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: .72rem;
  font-weight: 800;
}

.download-center-page .dialog-actions {
  padding: 18px 28px 26px;
  display: flex;
  gap: 10px;
}

.download-center-page .primary-button,
.download-center-page .secondary-button {
  min-height: 44px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 750;
}

.download-center-page .primary-button {
  border: 1px solid var(--primary);
  color: #fff;
  background: var(--primary);
}

.download-center-page .secondary-button {
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}

.download-center-page .noscript {
  margin: 0;
  padding: 12px;
  color: #fff;
  background: #8b2e2e;
  text-align: center;
}

@media (max-width: 920px) {
  .download-center-page .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-center-page .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-center-page .featured-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .download-center-page .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .download-center-page .header-inner {
    min-height: 62px;
  }

  .download-center-page .brand {
    font-size: .9rem;
  }

  .download-center-page nav a {
    padding: 7px;
    font-size: .8rem;
  }

  .download-center-page nav a:nth-child(2) {
    display: none;
  }

  .download-center-page .hero {
    padding: 64px 0 46px;
  }

  .download-center-page .hero-copy {
    margin-bottom: 27px;
  }

  .download-center-page .search {
    min-height: 60px;
    padding-left: 16px;
    border-radius: 17px;
  }

  .download-center-page kbd {
    display: none;
  }

  .download-center-page .page-layout {
    padding-bottom: 60px;
  }

  .download-center-page .featured,
  .download-center-page .library,
  .download-center-page .recent {
    margin-top: 42px;
  }

  .download-center-page .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .download-center-page .featured-grid,
  .download-center-page .resource-grid {
    grid-template-columns: 1fr;
  }

  .download-center-page .featured-card:last-child {
    grid-column: auto;
  }

  .download-center-page .resource-card {
    padding: 20px;
    border-radius: 19px;
  }

  .download-center-page .library-heading {
    margin-bottom: 14px;
  }

  .download-center-page .tabs-wrap {
    position: sticky;
    z-index: 10;
    top: 62px;
    margin-inline: -12px;
    padding: 8px 12px;
    background: linear-gradient(var(--background) 76%, transparent);
  }

  .download-center-page .resource-description {
    min-height: 0;
  }

  .download-center-page .recent {
    padding: 21px;
  }

  .download-center-page .footer-inner {
    flex-direction: column;
    gap: 18px;
  }

  .download-center-page .dialog-header,
  .download-center-page .dialog-body {
    padding-inline: 21px;
  }

  .download-center-page .dialog-actions {
    padding: 16px 21px 22px;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .download-center-page .resource-card {
    min-height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.download-center-page) {
    scroll-behavior: auto;
  }

  .download-center-page,
  .download-center-page *,
  .download-center-page *::before,
  .download-center-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .download-center-page .resource-card {
    animation: none;
  }

  .download-center-page .resource-card,
  .download-center-page .featured-card,
  .download-center-page .search {
    transition: none;
  }
}

/* Premium interaction layer */
.download-center-page .brand-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-center-page .hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.download-center-page .hero .eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: 0 0 0 5px rgba(47, 128, 237, .1);
}

.download-center-page .search input::-webkit-search-cancel-button {
  cursor: pointer;
}

.download-center-page .featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(125deg, rgba(255,255,255,.15), transparent 48%);
  opacity: .68;
  transition: opacity .25s ease;
}

.download-center-page .featured-card:hover::before {
  opacity: 1;
}

.download-center-page .featured-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 13px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.download-center-page .featured-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-center-page .resource-card:nth-child(2) {
  animation-delay: 35ms;
}

.download-center-page .resource-card:nth-child(3) {
  animation-delay: 70ms;
}

.download-center-page .resource-card:nth-child(4) {
  animation-delay: 105ms;
}

.download-center-page .resource-card:nth-child(5) {
  animation-delay: 140ms;
}

.download-center-page .resource-card:nth-child(6) {
  animation-delay: 175ms;
}

.download-center-page .resource-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-center-page .recent-label {
  color: var(--muted);
  font-size: .77rem;
  white-space: nowrap;
}

.download-center-page .recent .mini-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-center-page .dialog-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (background: color-mix(in srgb, white 50%, black)) {
  .download-center-page .resource-card:hover {
    border-color: color-mix(in srgb, var(--primary) 24%, var(--line));
  }
}

@media (hover: none) {
  .download-center-page .resource-card:hover,
  .download-center-page .featured-card:hover {
    transform: none;
  }
}

/* ===========================
   Trust Guide
=========================== */

:where(.download-center-page) .trust-guide {
  margin: 32px 0 8px;
}

:where(.download-center-page) .trust-guide-card {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
}

:where(.download-center-page) .trust-guide-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

:where(.download-center-page) .trust-guide-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #22c55e;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
}

:where(.download-center-page) .trust-guide-copy {
  margin-bottom: 20px;
  color: #4b5563;
  line-height: 1.8;
}

:where(.download-center-page) .trust-guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(.download-center-page) .trust-guide-list li {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 14px;
  font-weight: 600;
}

:where(.download-center-page) .trust-guide-list li::before {
  margin-right: 8px;
  color: #16a34a;
  content: "✔";
}

@media (max-width: 768px) {
  :where(.download-center-page) .trust-guide-card {
    padding: 22px;
  }

  :where(.download-center-page) .trust-guide-heading {
    flex-direction: column;
    text-align: center;
  }
}

/* 검색 자동완성 */
.search-suggestions[hidden] {
  display: none;
}

.search-suggestion[aria-selected="true"] {
  background: #eaf4ff;
  outline: 2px solid #1687d9;
  outline-offset: -2px;
}

.search-suggestion[aria-selected="true"] strong {
  color: #0868ad;
}

.download-center-page .search-suggestion:hover,
.download-center-page .search-suggestion:focus-visible,
.download-center-page .search-suggestion.is-active {
  background: #f3f8ff;
  outline: none;
}

.download-center-page .suggestion-icon img,
.download-center-page .suggestion-icon svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
}

/* 자동완성 목록 */
.download-center-page .search-suggestions {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 8px);
  left: 50%;
  width: min(calc(100% - 32px), 720px);
  margin: 10px auto 0;
  display: block;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(31, 50, 81, 0.14);
  transform: translateX(-50%);
}

.download-center-page .search-suggestion {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 14px;
  color: #1f2937;
  text-align: left;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  cursor: pointer;
}

.download-center-page .search-suggestion:last-child {
  border-bottom: 0;
}

.download-center-page .suggestion-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 20px;
  line-height: 1;
}

.download-center-page .suggestion-icon svg {
  display: block;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  max-width: 20px;
  min-height: 20px;
  max-height: 20px;
  fill: none;
  stroke: currentColor;
}

.download-center-page .suggestion-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.download-center-page .suggestion-content strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.download-center-page .suggestion-content small {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.3;
}

/* =========================================================
   프리미엄 PDF 다운로드 카드 V2
========================================================= */

.pdf-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pdf-product-card:hover {
  transform: translateY(-6px);
  border-color: #bfdbfe;
  box-shadow:
    0 20px 45px rgba(37, 99, 235, 0.15);
}

.pdf-product-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdf-product-top .resource-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.12);
}

.pdf-product-top .resource-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pdf-product-top .status-badge {
  padding: 7px 11px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(239, 246, 255, 0.96);
  font-size: 11px;
  font-weight: 800;
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.08);
}

.pdf-product-top .status-badge.new {
  color: #047857;
  background: rgba(236, 253, 245, 0.96);
}

/* PDF 표지 영역 */

.pdf-preview {
  min-height: 270px;
  display: grid;
  place-items: center;
  padding: 68px 30px 30px;
  background:
    radial-gradient(
      circle at top right,
      rgba(96, 165, 250, 0.3),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #eff6ff,
      #f8fafc
    );
}

.pdf-preview-paper {
  position: relative;
  width: 165px;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow:
    0 20px 35px rgba(15, 23, 42, 0.18);
  transform: rotate(-2deg);
  transition:
    transform 0.25s ease;
}

.pdf-product-card:hover .pdf-preview-paper {
  transform: rotate(0deg) scale(1.03);
}

.pdf-preview-paper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background:
    linear-gradient(
      225deg,
      #dbeafe 50%,
      transparent 50%
    );
  border-top-right-radius: 8px;
}

.pdf-preview-label {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 6px;
  color: #ffffff;
  background: #ef4444;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pdf-preview-icon {
  margin-top: 20px;
  font-size: 36px;
}

.pdf-preview-title {
  margin-top: 14px;
  color: #172033;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}

.pdf-preview-subtitle {
  margin-top: 7px;
  color: #64748b;
  font-size: 11px;
  text-align: center;
}

.pdf-preview-lines {
  width: 100%;
  display: grid;
  gap: 7px;
  margin-top: 20px;
}

.pdf-preview-lines span {
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
}

.pdf-preview-lines span:nth-child(2) {
  width: 82%;
}

.pdf-preview-lines span:nth-child(3) {
  width: 65%;
}

/* 내용 영역 */

.pdf-product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.pdf-category {
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}

.pdf-product-content h3 {
  margin: 7px 0 8px;
  color: #172033;
  font-size: 21px;
  line-height: 1.35;
}

.pdf-product-content .resource-description {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.pdf-feature-list {
  display: grid;
  gap: 9px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.pdf-feature-list li {
  position: relative;
  padding-left: 25px;
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
}

.pdf-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #22c55e;
  font-size: 11px;
  font-weight: 900;
}

.pdf-file-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 16px;
}

.pdf-file-info span {
  padding: 7px 10px;
  border-radius: 9px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
}

/* 메인 다운로드 버튼 */

.pdf-main-download {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 15px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #174ea6
    );
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    0 10px 22px rgba(37, 99, 235, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.pdf-main-download:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(37, 99, 235, 0.32);
}

.pdf-main-download:active {
  transform: translateY(0);
}

.pdf-main-download:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 3px;
}

/* 아래 보조 버튼 */

.pdf-secondary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.pdf-secondary-button {
  min-height: 40px;
  padding: 8px 7px;
  border: 1px solid #dbe3ef;
  border-radius: 11px;
  color: #475569;
  background: #ffffff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.pdf-secondary-button:hover {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.pdf-secondary-button.primary {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

/* 모바일 */

@media (max-width: 640px) {
  .pdf-preview {
    min-height: 245px;
    padding-top: 64px;
  }

  .pdf-preview-paper {
    width: 150px;
    min-height: 190px;
  }

  .pdf-product-content {
    padding: 20px;
  }

  .pdf-product-content h3 {
    font-size: 19px;
  }

  .pdf-secondary-actions {
    grid-template-columns: 1fr;
  }

  .pdf-secondary-button {
    min-height: 44px;
  }
}

.region-grid-section{
    margin:50px 0;
    padding:35px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.region-grid-section h2{
    margin-bottom:10px;
    font-size:32px;
}

.region-grid-section p{
    color:#666;
    margin-bottom:25px;
}

.region-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:15px;
}

.region-card{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:70px;
    background:#eef7ff;
    border-radius:14px;
    text-decoration:none;
    color:#0d6efd;
    font-weight:700;
    transition:.25s;
}

.region-card:hover{
    background:#0d6efd;
    color:#fff;
    transform:translateY(-4px);
}

.region-card.disabled{
    background:#f5f5f5;
    color:#999;
    cursor:not-allowed;
}

/* ========================================
   경기도 31개 시·군 바로가기
======================================== */

.region-grid-section {
    margin: 32px 0;
    padding: 26px;
    background: linear-gradient(145deg, #f4fbff, #ffffff);
    border: 1px solid #cfe8f3;
    border-radius: 16px;
}

.region-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.region-grid-section h2 {
    margin: 0 0 8px;
    padding: 0;
    color: #1e3a5f;
    font-size: 1.38rem;
    border: 0;
}

.region-grid-section p {
    margin: 0;
    color: #64748b;
    font-size: 0.94rem;
}

.region-progress {
    flex-shrink: 0;
    padding: 7px 12px;
    color: #075985;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
    background: #e0f2fe;
    border-radius: 999px;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.region-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 65px;
    padding: 14px 15px;
    text-decoration: none;
    border-radius: 12px;
}

.region-card span {
    font-weight: 800;
}

.region-card small {
    font-size: 0.74rem;
    font-weight: 700;
}

.region-card.completed {
    color: #075985;
    background: #ffffff;
    border: 1px solid #b9ddeb;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.region-card.completed small {
    color: #16855e;
}

.region-card.completed:hover {
    color: #ffffff;
    background: #0783bf;
    border-color: #0783bf;
    transform: translateY(-3px);
}

.region-card.completed:hover small {
    color: #ffffff;
}

.region-card.disabled {
    color: #94a3b8;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    cursor: default;
}

.quick-menu-heading {
    margin-top: 25px;
    color: #1e3a5f;
    font-size: 1rem;
}

@media (max-width: 760px) {
    .region-grid-section {
        padding: 20px 15px;
    }

    .region-section-heading {
        flex-direction: column;
        gap: 10px;
    }

    .region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .region-card {
        min-height: 60px;
        padding: 12px;
    }
}


/* ==================================================
   경기도 페이지 소개 및 31개 시·군 바로가기
================================================== */

.intro-box {
    width: min(1180px, calc(100% - 32px));
    margin: 40px auto;
}

.intro-content {
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 35%),
        linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid #dbe7f5;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.intro-content h2 {
    margin: 12px 0 16px;
    color: #172033;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.3;
}

.intro-content p {
    margin: 8px 0;
    color: #526077;
    font-size: 16px;
    line-height: 1.8;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    color: #8a4b08;
    background: #fff4d6;
    border: 1px solid #f9df9b;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.section-badge.blue {
    color: #1659b7;
    background: #eaf3ff;
    border-color: #cfe3ff;
}

.section-badge.green {
    color: #087443;
    background: #e7f8ef;
    border-color: #c7eed9;
}


/* 시·군 섹션 */

.region-grid-section {
    margin-top: 28px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.region-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.region-section-heading h2 {
    margin: 12px 0 10px;
    color: #172033;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.35;
}

.region-section-heading p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.region-progress {
    flex-shrink: 0;
    padding: 10px 15px;
    color: #ffffff;
    background: linear-gradient(135deg, #246ee9, #1556b8);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}


/* 카드 그리드 */

.region-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.region-card {
    min-height: 80px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-radius: 18px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.region-card span {
    font-size: 18px;
    font-weight: 900;
}

.region-card small {
    font-size: 13px;
    font-weight: 700;
}


/* 완료 카드 */

.region-card.completed {
    color: #174d9c;
    background:
        linear-gradient(145deg, #f8fbff 0%, #ebf4ff 100%);
    border: 1px solid #cfe2fc;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.region-card.completed small {
    color: #246ee9;
}

.region-card.completed:hover {
    transform: translateY(-4px);
    border-color: #85b6f6;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.16);
}


/* 준비 중 카드 */

.region-card.disabled {
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    cursor: default;
}

.region-card.disabled small {
    padding: 6px 12px;
    color: #475569;
    background: #eef2f7;
    border: 1px solid #d9e2ec;
    border-radius: 999px;
    font-weight: 700;
}


/* 모집 일정 */

.status-box {
    margin-top: 28px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #fffaf0, #fff4db);
    border: 1px solid #f2d99e;
    border-radius: 20px;
}

.status-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: #ffffff;
    border-radius: 14px;
    font-size: 23px;
    box-shadow: 0 5px 14px rgba(146, 93, 11, 0.1);
}

.status-box strong {
    display: block;
    margin-bottom: 8px;
    color: #7a480c;
    font-size: 18px;
}

.status-box p {
    margin: 0;
    color: #735c3c;
    line-height: 1.75;
}


/* 빠른 메뉴 */

.quick-menu-section {
    margin-top: 28px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.quick-menu-heading h2 {
    margin: 12px 0 20px;
    color: #172033;
    font-size: 25px;
}

.quick-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.quick-menu a {
    min-height: 58px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #24324a;
    background: #f6f9fd;
    border: 1px solid #dfe7f1;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.quick-menu a:hover {
    transform: translateY(-3px);
    color: #165bc1;
    background: #edf5ff;
    border-color: #a9caf5;
}


/* 태블릿 */

@media (max-width: 900px) {
    .region-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .quick-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* 모바일 */

@media (max-width: 640px) {
    .intro-box {
        width: min(100% - 20px, 1180px);
        margin: 20px auto;
    }

    .intro-content,
    .region-grid-section,
    .quick-menu-section {
        padding: 20px;
        border-radius: 19px;
    }

    .intro-content h2 {
        font-size: 24px;
    }

    .intro-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .region-section-heading {
        flex-direction: column;
        gap: 14px;
    }

    .region-progress {
        align-self: flex-start;
    }

    .region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .region-card {
        min-height: 88px;
        padding: 15px;
        border-radius: 15px;
    }

    .region-card span {
        font-size: 16px;
    }

    .region-card small {
        font-size: 12px;
    }

    .quick-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .quick-menu a {
        min-height: 54px;
        padding: 12px 8px;
        font-size: 14px;
    }

    .status-box {
        padding: 19px;
    }
}


/* 작은 휴대폰 */

@media (max-width: 370px) {
    .region-grid {
        grid-template-columns: 1fr;
    }

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

.region-links{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-top:20px;
}

.region-links a{
    display:block;
    padding:14px;
    text-align:center;
    text-decoration:none;
    font-weight:700;
    color:#126e91;
    background:#eef8fc;
    border:1px solid #cce7f2;
    border-radius:10px;
    transition:.2s;
}

.region-links a:hover{
    background:#dff2f9;
    transform:translateY(-2px);
}

@media (max-width:760px){
    .region-links{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

.editorial-note {
    max-width: 1100px;
    margin: 0 auto 24px;
    padding: 18px 20px;
    color: #334155;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 5px solid #0284c7;
    border-radius: 10px;
}

.editorial-note p {
    margin: 0;
}

.editorial-note p + p {
    margin-top: 8px;
}

.editorial-note a {
    color: #0369a1;
    font-weight: 700;
}
