:root {
  --blue: #002a69;
  --blue-dark: #001b4f;
  --blue-soft: #edf4fb;
  --pink: #f272ad;
  --pink-dark: #dc5596;
  --pink-soft: #fff0f7;
  --ink: #111318;
  --muted: #737b88;
  --line: #e4e8ef;
  --soft: #f6f8fb;
  --card: #fff;
  --danger: #d84a4a;
  --surface: #fafbfd;
  --shadow: rgba(15, 31, 55, .07);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.abps-board {
  width: min(100% - 48px, 1400px);
  margin: 20px auto 70px;
}

.abps-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 61px;
}

.abps-kicker {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.abps-heading h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.abps-search {
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-width: 48px;
  padding-top: 4px;
}

.abps-search input {
  width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  outline: 0;
  opacity: 0;
  transition: width .2s ease, opacity .2s ease, border-color .2s ease;
}

.abps-search.is-open input,
.abps-search:focus-within input {
  width: 260px;
  padding: 0 42px 0 4px;
  border-color: var(--blue);
  opacity: 1;
}

.abps-search-toggle {
  position: absolute;
  top: 4px;
  right: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.abps-search-toggle svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.7;
  stroke-linecap: round;
}

.abps-tabs {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 35px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.abps-tabs::-webkit-scrollbar {
  display: none;
}

.abps-tabs a {
  color: #49515d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.abps-tabs a.is-active {
  color: var(--blue);
  font-weight: 900;
}

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

.abps-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 14px 34px rgba(10, 25, 50, .035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.abps-card:hover {
  border-color: #cfd8e6;
  box-shadow: 0 18px 42px rgba(10, 25, 50, .075);
  transform: translateY(-2px);
}

.abps-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 154px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.abps-card-image img {
  width: 100%;
  height: auto;
  display: block;
  flex: 0 0 auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform .24s ease, filter .24s ease;
  transform-origin: center center;
}

.abps-card:hover .abps-card-image img {
  transform: none;
  filter: saturate(1.04) brightness(1.01);
}

.abps-card time {
  margin-bottom: 16px;
  color: #6c7482;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.abps-card h2 {
  height: auto;
  min-height: 0;
  margin: 0 0 6px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.abps-card p {
  height: auto;
  min-height: 0;
  max-height: calc(1.43em * 3 + 4px);
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #6f7784;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.abps-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}

.abps-doctor {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1d2430;
  font-size: 13px;
  font-weight: 900;
}

.abps-doctor svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: var(--blue);
}

.abps-view {
  width: 55px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease;
}

.abps-view:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.abps-empty {
  padding: 80px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.detail-page {
  min-height: 100vh;
  padding: 47px 0 80px;
  background: var(--soft);
}

.abps-detail-card {
  width: min(100% - 48px, 1000px);
  margin: 0 auto;
  padding: 60px 60px 68px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px var(--shadow);
}

.abps-back {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.abps-detail-head h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.abps-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #737b88;
  font-size: 14px;
  font-weight: 700;
}

.abps-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.abps-meta svg {
  width: 14px;
  height: 14px;
  fill: var(--blue);
}

.abps-detail-rule {
  margin: 30px 0 50px;
  border-top: 1px dotted #cdd5df;
}

.abps-content {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.abps-content p {
  margin: 0 0 10px;
}

.abps-content h2,
.abps-content h3 {
  margin: 34px 0 14px;
  font-weight: 900;
  line-height: 1.35;
}

.abps-content img {
  max-width: 100%;
  display: block;
  margin: 0 auto 24px;
}

.abps-content .abps-editor-image {
  margin: 0 0 24px;
}

.abps-content .abps-editor-image img {
  margin-bottom: 0;
}

.abps-content .abps-editor-image.abps-align-left img,
.abps-content .abps-editor-image[style*="text-align: left"] img,
.abps-content p[style*="text-align: left"] > img {
  margin-left: 0;
  margin-right: auto;
}

.abps-content .abps-editor-image.abps-align-center img,
.abps-content .abps-editor-image[style*="text-align: center"] img,
.abps-content p[style*="text-align: center"] > img {
  margin-left: auto;
  margin-right: auto;
}

.abps-content .abps-editor-image.abps-align-right img,
.abps-content .abps-editor-image[style*="text-align: right"] img,
.abps-content p[style*="text-align: right"] > img {
  margin-left: auto;
  margin-right: 0;
}

.abps-content .abps-main-visual {
  width: 100%;
  margin-bottom: 23px;
}

.abps-content hr {
  height: 1px;
  margin: 32px 0 49px;
  border: 0;
  border-top: 1px dotted #cdd5df;
}

.abps-detail-footer {
  margin-top: 76px;
  border-top: 1px solid var(--line);
}

.abps-writer {
  display: flex;
  align-items: flex-end;
  gap: 31px;
  padding: 31px 0 34px;
}

.abps-writer-visual {
  width: 150px;
  min-height: 177px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 0 0 auto;
  border-bottom: 4px solid var(--blue);
  background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%);
}

.abps-writer-visual img {
  width: 100%;
  max-height: 174px;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.abps-writer-fallback {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 38px;
  font-weight: 900;
}

.abps-writer p {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
}

.abps-writer em {
  margin-right: 3px;
  font-style: italic;
  font-weight: 800;
}

.abps-writer strong {
  color: var(--blue);
  font-weight: 900;
}

.abps-writer-copy {
  min-width: 0;
}

.abps-writer-signature {
  width: auto;
  max-width: 168px;
  max-height: 56px;
  display: block;
  margin-top: 13px;
  object-fit: contain;
}

.abps-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 13px;
  padding: 0 0 50px;
}

.abps-detail-tags a {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 5px;
  background: #f1f3f7;
  color: #7f8896;
  font-size: 13px;
  font-weight: 900;
  transition: color .16s ease, background .16s ease;
}

.abps-detail-tags a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.abps-detail-list {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.abps-detail-list a {
  width: 85px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  transition: background .16s ease, transform .16s ease;
}

.abps-detail-list a:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.abps-not-found h1 {
  margin-top: 0;
}

.admin-page {
  min-height: 100vh;
  background: var(--soft);
  color: #101318;
}

.admin-shell {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 38px 0 70px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-header p {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.admin-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
}

.admin-actions,
.admin-row-actions,
.admin-submit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-actions a,
.admin-row-actions a,
.admin-row-actions button,
.admin-submit a,
.admin-submit button,
.admin-panel-head .plain {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  color: #232a35;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.admin-actions .primary,
.admin-submit button {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.admin-menu {
  display: flex;
  gap: 8px;
  margin: -8px 0 22px;
  padding: 6px;
  border: 1px solid #e4e9f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 30, 50, .04);
}

.admin-menu a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 8px;
  color: #677083;
  font-size: 13px;
  font-weight: 900;
}

.admin-menu a.is-active {
  background: var(--blue);
  color: #fff;
}

.admin-row-actions .danger {
  border-color: #f2d0d0;
  color: var(--danger);
}

.admin-alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #cce1ff;
  border-radius: 10px;
  background: #edf6ff;
  color: #176fd0;
  font-weight: 800;
}

.admin-alert.is-error {
  border-color: #f3caca;
  background: #fff0f0;
  color: #b83232;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-overview article {
  padding: 18px 20px;
  border: 1px solid #e4e9f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 30, 50, .04);
}

.admin-overview span {
  display: block;
  color: #738093;
  font-size: 12px;
  font-weight: 900;
}

.admin-overview strong {
  display: block;
  margin-top: 7px;
  color: #101318;
  font-size: 28px;
  line-height: 1;
}

.admin-filter-panel {
  margin-bottom: 18px;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 170px 170px auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
}

.admin-filters label {
  display: block;
}

.admin-filters span {
  display: block;
  margin-bottom: 7px;
  color: #596272;
  font-size: 12px;
  font-weight: 900;
}

.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dce2eb;
  border-radius: 9px;
  background: #fff;
  color: #101318;
}

.admin-filter-actions {
  display: flex;
  gap: 8px;
}

.admin-filter-actions button,
.admin-filter-actions a,
.admin-quickbar button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #d9dee8;
  border-radius: 9px;
  background: #fff;
  color: #232a35;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.admin-filter-actions button {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.admin-empty-state {
  padding: 44px 18px;
  color: #7b8492;
  text-align: center;
}

.admin-empty-state strong {
  display: block;
  color: #101318;
  font-size: 16px;
}

.admin-empty-state p {
  margin: 9px 0 0;
  font-size: 13px;
  font-weight: 800;
}

.admin-guide {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid #d9e9ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f6fbff);
}

.admin-guide strong {
  display: block;
  color: #101318;
  font-size: 15px;
}

.admin-guide p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.admin-panel {
  border: 1px solid #e4e9f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 30, 50, .05);
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid #edf0f5;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 17px;
}

.admin-panel-head span {
  color: #8a93a0;
  font-size: 13px;
  font-weight: 800;
}

.admin-table {
  padding: 8px;
}

.admin-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 12px;
}

.admin-row + .admin-row {
  border-top: 1px solid #edf0f5;
}

.admin-row-thumb,
.admin-row img {
  width: 132px;
  height: 74px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f7;
}

.admin-row-thumb-empty {
  display: grid;
  place-items: center;
  color: #9aa3af;
  font-size: 11px;
  font-weight: 900;
}

.admin-row-main strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 16px;
}

.admin-row-main p {
  margin: 0;
  color: #7b8492;
  font-size: 13px;
  font-weight: 800;
}

.admin-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.admin-row-tags span {
  padding: 4px 7px;
  border-radius: 6px;
  background: #f5f7fa;
  color: #8a93a0;
  font-size: 11px;
  font-weight: 900;
}

.doctor-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.doctor-admin-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0 16px;
  padding: 16px;
  border: 1px solid #edf0f5;
  border-radius: 14px;
  background: #fbfcfe;
}

.doctor-admin-card-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.doctor-admin-card-head strong {
  color: #101318;
  font-size: 15px;
}

.doctor-admin-card-head span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.doctor-admin-photo {
  position: relative;
  grid-row: span 5;
  width: 150px;
  height: 177px;
  min-height: 177px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-bottom: 4px solid var(--blue);
  border-radius: 10px 10px 0 0;
  background: #eef5ff;
}

.doctor-admin-photo img {
  width: 100%;
  max-height: 174px;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.doctor-admin-photo img.is-marked-remove,
.doctor-signature-preview img.is-marked-remove {
  opacity: .22;
  filter: grayscale(1);
}

.doctor-admin-photo.is-marked-remove::after,
.doctor-signature-preview.is-marked-remove::after {
  content: "삭제 예정";
  position: absolute;
  inset: auto 10px 10px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(242, 114, 173, .92);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.doctor-admin-photo span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 36px;
  font-weight: 900;
}

.doctor-admin-photo img[src]:not([src=""]) + span {
  display: none;
}

.doctor-admin-card label {
  padding: 0 0 12px;
}

.doctor-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding-bottom: 12px;
}

.doctor-file-row label {
  padding-bottom: 0;
}

.doctor-remove-action {
  padding: 0 !important;
}

.doctor-remove-action input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.doctor-remove-action span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #f0c8dc;
  border-radius: 9px;
  background: #fff;
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.doctor-remove-action input:checked + span {
  border-color: var(--pink);
  background: var(--pink-soft);
  color: var(--pink-dark);
}

.doctor-remove-action span::before {
  content: "×";
  margin-right: 5px;
  font-size: 16px;
  line-height: 1;
}

.doctor-admin-signature {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf0f5;
}

.doctor-admin-signature > strong {
  display: block;
  margin-bottom: 10px;
  color: #101318;
  font-size: 13px;
  font-weight: 900;
}

.doctor-signature-preview {
  min-height: 74px;
  display: grid;
  position: relative;
  place-items: center;
  margin-bottom: 12px;
  border: 1px dashed #d7deea;
  border-radius: 10px;
  background: #fff;
}

.doctor-signature-preview img {
  max-width: 220px;
  max-height: 62px;
  display: block;
  object-fit: contain;
}

.doctor-signature-preview span {
  color: #9aa3af;
  font-size: 12px;
  font-weight: 900;
}

.doctor-signature-preview img[src]:not([src=""]) + span {
  display: none;
}

.admin-row-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-row-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f0f3f8;
  color: #707b8c;
  font-size: 12px;
  font-weight: 800;
}

.admin-row-meta .status-open {
  background: #eaf5ff;
  color: #176fd0;
}

.admin-row-meta .status-hidden {
  background: #fff1ef;
  color: #d84a4a;
}

.admin-row-actions form {
  margin: 0;
}

.admin-edit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-quickbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px 0;
}

.admin-quickbar button:hover,
.admin-filter-actions a:hover {
  border-color: #b9c5d8;
  background: #f7f9fc;
}

.admin-form label {
  display: block;
  padding: 18px 22px 0;
  color: #596272;
  font-size: 13px;
  font-weight: 900;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #dce2eb;
  border-radius: 9px;
  background: #fff;
  color: #101318;
}

.admin-form textarea {
  resize: vertical;
}

.admin-two,
.admin-three {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-three {
  grid-template-columns: 1.3fr .7fr .8fr;
}

.admin-preview {
  margin: 14px 22px 4px;
}

.admin-preview img {
  width: 100%;
  min-height: 120px;
  max-height: 190px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  background: #eef2f7;
}

.admin-footer-preview {
  margin: 16px 22px 22px;
  padding: 16px;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  background: #fbfcfe;
}

.admin-footer-preview > strong {
  display: block;
  margin-bottom: 13px;
  color: #101318;
  font-size: 13px;
  font-weight: 900;
}

.admin-footer-doctor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f5;
}

.admin-footer-doctor span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-bottom: 3px solid var(--blue);
  background: #eef5ff;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.admin-footer-doctor p {
  min-width: 0;
  margin: 0;
  color: #101318;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.admin-footer-doctor em {
  font-style: italic;
}

.admin-footer-doctor small {
  font-size: inherit;
  font-weight: inherit;
}

.admin-footer-doctor b {
  color: var(--blue);
}

.admin-footer-doctor img {
  max-width: 112px;
  max-height: 38px;
  display: block;
  margin-top: 8px;
  object-fit: contain;
}

.admin-footer-doctor img.is-empty,
.admin-footer-doctor img:not([src]),
.admin-footer-doctor img[src=""] {
  display: none;
}

.admin-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 13px;
}

.admin-footer-tags span {
  padding: 5px 7px;
  border-radius: 5px;
  background: #f0f0f1;
  color: #9aa3af;
  font-size: 11px;
  font-weight: 900;
}

.admin-help {
  margin: 16px 22px 0;
  color: #7d8794;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.editor-panel {
  margin-top: 0;
}

.editor-note {
  color: #8a93a0;
  font-size: 13px;
  font-weight: 800;
}

.editor-command-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px;
  border-bottom: 1px solid #edf0f5;
  background: #fbfcfe;
}

.editor-command-bar button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  color: #232a35;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.editor-command-bar button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.rich-editor-shell {
  padding: 20px 22px 22px;
}

.rich-editor-shell textarea {
  width: 100%;
  min-height: 640px;
}

.rich-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  padding: 20px 22px 22px;
}

.rich-editor-main {
  min-width: 0;
}

.rich-editor-wrap {
  min-width: 0;
}

.rich-editor-wrap textarea {
  width: 100%;
  min-height: 520px;
}

.jodit-container {
  overflow: hidden;
  border-color: #dce2eb !important;
  border-radius: 12px !important;
}

.jodit-toolbar__box {
  border-bottom-color: #edf0f5 !important;
  background: #f9fafc !important;
}

.jodit-workplace {
  background: #fff !important;
}

.jodit-wysiwyg {
  padding: 42px 56px !important;
  color: #000 !important;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

.jodit-wysiwyg p {
  margin: 0 0 10px !important;
}

.jodit-wysiwyg h2,
.jodit-wysiwyg h3 {
  margin: 34px 0 14px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

.jodit-wysiwyg img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 24px !important;
}

.jodit-wysiwyg hr {
  height: 1px !important;
  margin: 32px 0 49px !important;
  border: 0 !important;
  border-top: 1px dotted #d8dde6 !important;
}

.media-manager {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce2eb;
  border-radius: 12px;
  background: #fbfcfe;
}

.media-manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
}

.media-manager-head strong {
  display: block;
  font-size: 14px;
}

.media-manager-head span {
  display: block;
  margin-top: 3px;
  color: #8a93a0;
  font-size: 12px;
  font-weight: 800;
}

.media-manager button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  color: #232a35;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.media-manager button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.media-upload-row {
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f5;
}

.media-upload-button {
  width: 100%;
  border-color: var(--blue) !important;
  background: var(--blue) !important;
  color: #fff !important;
}

.media-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow: auto;
  padding: 12px;
}

.media-empty {
  margin: 0;
  padding: 24px 10px;
  color: #8a93a0;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.media-empty.is-error {
  color: var(--danger);
}

.media-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  background: #fff;
}

.media-card img {
  width: 100%;
  height: 118px;
  display: block;
  object-fit: cover;
  background: #eef2f7;
}

.media-card em {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(35, 136, 245, .92);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.media-card-body {
  padding: 10px;
}

.media-card-body strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.media-card-body span {
  display: block;
  margin-top: 4px;
  color: #8a93a0;
  font-size: 11px;
  font-weight: 800;
}

.media-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 0 10px 10px;
}

body.is-media-open {
  overflow: hidden;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.media-modal.is-open {
  display: block;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .54);
  backdrop-filter: blur(4px);
}

.media-modal-panel {
  position: absolute;
  inset: 28px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 18px;
  background: #f7f9fc;
  box-shadow: 0 28px 80px rgba(2, 8, 23, .28);
}

.media-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid #e4e9f1;
  background: #fff;
}

.media-modal-header p {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.media-modal-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.media-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-modal-actions button,
.media-modal-toolbar button,
.media-inspector-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  color: #232a35;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.media-modal-actions .icon-button {
  width: 38px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.media-modal-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 160px 160px auto;
  align-items: end;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid #e4e9f1;
  background: #fbfcfe;
}

.media-modal-toolbar label,
.media-field {
  display: block;
}

.media-modal-toolbar span,
.media-field span {
  display: block;
  margin-bottom: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.media-modal-toolbar input,
.media-modal-toolbar select,
.media-field input {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  color: #101318;
}

.media-stats {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
}

.media-modal-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 340px;
  gap: 16px;
  padding: 18px 24px 24px;
}

.media-dropzone,
.media-library,
.media-inspector {
  min-height: 0;
  border: 1px solid #e4e9f1;
  border-radius: 14px;
  background: #fff;
}

.media-dropzone {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-style: dashed;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.media-dropzone.is-dragover {
  border-color: var(--blue);
  background: #edf6ff;
}

.media-dropzone.is-uploading {
  cursor: progress;
  opacity: .72;
}

.media-dropzone strong {
  display: block;
  font-size: 18px;
}

.media-dropzone p {
  margin: 10px 0 0;
  color: #7b8492;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.media-library {
  overflow: hidden;
}

.media-modal .media-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 14px;
}

.media-tile {
  overflow: hidden;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.media-tile.is-selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 136, 245, .13);
}

.media-tile-button {
  position: relative;
  width: 100%;
  height: 118px;
  display: block;
  padding: 0;
  border: 0;
  background: #eef2f7;
  cursor: pointer;
}

.media-tile-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.media-tile-button .media-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, .92);
}

.media-badge.is-used {
  background: rgba(35, 136, 245, .94);
  color: #fff;
}

.media-tile-meta {
  padding: 10px;
}

.media-tile-meta strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.media-tile-meta span {
  display: block;
  margin-top: 4px;
  color: #8a93a0;
  font-size: 11px;
  font-weight: 800;
}

.media-inspector {
  overflow: auto;
  padding: 16px;
}

.media-inspector-empty {
  min-height: 100%;
  display: grid;
  place-content: center;
  color: #7b8492;
  text-align: center;
}

.media-inspector-empty strong {
  color: #101318;
  font-size: 16px;
}

.media-inspector-empty p {
  max-width: 230px;
  margin: 10px auto 0;
  font-size: 13px;
  line-height: 1.5;
}

.media-preview {
  overflow: hidden;
  border-radius: 12px;
  background: #eef2f7;
}

.media-preview img {
  width: 100%;
  max-height: 260px;
  display: block;
  object-fit: contain;
}

.media-detail {
  margin: 14px 0 18px;
}

.media-detail h3 {
  margin: 10px 0 5px;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.media-detail p {
  margin: 0;
  color: #7b8492;
  font-size: 13px;
  font-weight: 800;
}

.media-field + .media-field {
  margin-top: 12px;
}

.media-inspector-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.media-inspector-actions .primary {
  grid-column: 1 / -1;
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.media-inspector-actions .danger {
  border-color: #f2d0d0;
  color: var(--danger);
}

.media-inspector-actions button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.media-warning {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: #fff8e8;
  color: #9a6a00;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.media-notice {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 1002;
  min-width: 260px;
  padding: 13px 18px;
  border-radius: 10px;
  background: rgba(12, 18, 28, .94);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(2, 8, 23, .24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .16s ease, transform .16s ease;
}

.media-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.admin-submit {
  justify-content: flex-end;
  margin-top: 18px;
}

.admin-submit-sticky {
  position: sticky;
  bottom: 18px;
  z-index: 20;
  padding: 12px;
  border: 1px solid #e4e9f1;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 34px rgba(20, 30, 50, .12);
  backdrop-filter: blur(8px);
}

.admin-submit a,
.admin-submit button {
  min-width: 110px;
  height: 44px;
}

/* ID Hospital brand tone: deep navy, white, and cool gray surfaces. */
.blog-page {
  background: #fff;
}

.abps-heading h1,
.abps-card h2,
.abps-detail-head h1,
.abps-content,
.admin-header h1,
.admin-panel-head h2,
.doctor-admin-card-head strong {
  color: var(--ink);
}

.abps-kicker,
.admin-header p,
.media-modal-header p {
  color: var(--blue);
}

.abps-search.is-open input,
.abps-search:focus-within input {
  border-color: var(--blue);
}

.abps-search-toggle svg {
  stroke: var(--blue);
}

.abps-tabs a,
.admin-menu a {
  color: #555f6e;
}

.abps-card,
.admin-panel,
.admin-overview article,
.admin-menu {
  border-color: var(--line);
  box-shadow: 0 14px 36px var(--shadow);
}

.abps-card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.abps-card:hover {
  border-color: #cfd8e6;
  box-shadow: 0 18px 42px rgba(10, 25, 50, .075);
  transform: translateY(-2px);
}

.abps-card-image,
.abps-writer-fallback,
.doctor-admin-photo,
.admin-footer-doctor span,
.admin-row-thumb,
.admin-row img,
.admin-preview img,
.media-card img,
.media-tile-button,
.media-preview {
  background: var(--blue-soft);
}

.abps-card-image {
  background: #fff;
}

.detail-page,
.admin-page,
.media-modal-panel {
  background: var(--soft);
}

.abps-detail-card {
  border-color: var(--line);
  box-shadow: 0 18px 45px var(--shadow);
}

.abps-back,
.abps-tabs a.is-active,
.abps-writer strong,
.abps-detail-tags a:hover,
.doctor-admin-card-head span,
.admin-footer-doctor b {
  color: var(--blue);
}

.abps-doctor svg,
.abps-meta svg {
  fill: var(--blue);
}

.abps-view,
.admin-actions .primary,
.admin-submit button,
.admin-menu a.is-active,
.admin-filter-actions button,
.editor-command-bar button.primary,
.media-upload-button,
.media-inspector-actions .primary,
.media-badge.is-used {
  border-color: var(--blue) !important;
  background: var(--blue) !important;
  color: #fff !important;
}

.abps-view:hover,
.abps-detail-list a:hover {
  background: var(--blue-dark);
}

.abps-detail-list a {
  background: var(--blue);
}

.abps-writer-visual {
  background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%);
}

.abps-detail-rule,
.abps-content hr {
  border-top-color: #cdd5df;
}

.abps-detail-footer,
.abps-detail-list,
.admin-panel-head,
.admin-row + .admin-row,
.doctor-admin-signature,
.admin-footer-doctor,
.editor-command-bar,
.media-manager-head,
.media-upload-row,
.media-modal-header,
.media-modal-toolbar {
  border-color: var(--line);
}

.abps-card time,
.abps-card p,
.abps-meta,
.admin-panel-head span,
.admin-overview span,
.admin-row-main p,
.admin-help,
.editor-note,
.media-card-body span,
.media-detail p,
.media-modal-toolbar span,
.media-field span {
  color: #687383;
}

.admin-form label,
.admin-filters span {
  color: #4d5665;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-filters input,
.admin-filters select,
.media-modal-toolbar input,
.media-modal-toolbar select,
.media-field input {
  border-color: #d8dee8;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.admin-filters input:focus,
.admin-filters select:focus,
.media-modal-toolbar input:focus,
.media-modal-toolbar select:focus,
.media-field input:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 42, 105, .1);
}

.abps-detail-tags a,
.admin-footer-tags span,
.admin-row-tags span,
.admin-row-meta span,
.media-badge {
  background: #f1f3f7;
  color: #6e7785;
}

.abps-detail-tags a:hover,
.admin-alert,
.admin-row-meta .status-open,
.doctor-admin-card-head span {
  background: var(--blue-soft);
}

.admin-row-meta .status-open,
.admin-alert {
  color: var(--blue);
}

.admin-guide {
  border-color: #d6e1ef;
  background: linear-gradient(180deg, #fff, var(--blue-soft));
}

.doctor-admin-card,
.admin-footer-preview,
.editor-command-bar,
.media-manager,
.media-modal-toolbar,
.media-dropzone,
.media-library,
.media-inspector {
  background: var(--surface);
}

.media-dropzone {
  background: linear-gradient(180deg, #fff, var(--blue-soft));
}

.media-dropzone.is-dragover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.media-modal-backdrop {
  background: rgba(0, 22, 55, .56);
}

.jodit-container {
  border-color: #d8dee8 !important;
}

.jodit-toolbar__box {
  border-bottom-color: var(--line) !important;
  background: var(--surface) !important;
}

.media-notice {
  background: rgba(0, 27, 79, .96);
}

/* ID Hospital pink accent refresh. Navy holds structure, pink carries brand moments. */
.abps-kicker,
.abps-tabs a.is-active,
.abps-back,
.abps-writer strong,
.abps-detail-tags a:hover,
.admin-header p,
.admin-row-meta .status-open,
.admin-alert,
.doctor-admin-card-head span,
.admin-footer-doctor b,
.media-modal-header p {
  color: var(--pink);
}

.abps-search.is-open input,
.abps-search:focus-within input,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.admin-filters input:focus,
.admin-filters select:focus,
.media-modal-toolbar input:focus,
.media-modal-toolbar select:focus,
.media-field input:focus {
  border-color: var(--pink);
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.admin-filters input:focus,
.admin-filters select:focus,
.media-modal-toolbar input:focus,
.media-modal-toolbar select:focus,
.media-field input:focus {
  box-shadow: 0 0 0 3px rgba(242, 114, 173, .16);
}

.abps-search-toggle svg {
  stroke: var(--pink);
}

.abps-card:hover {
  border-color: rgba(242, 114, 173, .46);
  box-shadow: 0 18px 42px rgba(10, 25, 50, .075), 0 0 0 1px rgba(242, 114, 173, .14);
}

.abps-card-image,
.abps-writer-fallback,
.doctor-admin-photo,
.admin-footer-doctor span,
.admin-row-thumb,
.admin-row img,
.admin-preview img,
.media-card img,
.media-tile-button,
.media-preview {
  background: linear-gradient(180deg, #fff, var(--pink-soft));
}

.abps-card-image {
  background: #fff;
}

.abps-writer-visual {
  border-bottom-color: var(--pink);
  background: linear-gradient(180deg, #fff 0%, var(--pink-soft) 100%);
}

.doctor-admin-photo,
.admin-footer-doctor span {
  border-bottom-color: var(--pink);
}

.abps-writer-fallback,
.doctor-admin-photo span,
.admin-footer-doctor span {
  color: var(--pink);
}

.abps-detail-tags a:hover,
.admin-alert,
.admin-row-meta .status-open,
.doctor-admin-card-head span {
  background: var(--pink-soft);
}

.admin-guide {
  border-color: rgba(242, 114, 173, .28);
  background: linear-gradient(180deg, #fff, var(--pink-soft));
}

.admin-menu a.is-active {
  box-shadow: inset 0 -3px 0 var(--pink);
}

.abps-view:hover,
.admin-actions .primary:hover,
.admin-submit button:hover,
.admin-filter-actions button:hover,
.editor-command-bar button.primary:hover,
.media-upload-button:hover,
.media-inspector-actions .primary:hover,
.abps-detail-list a:hover {
  border-color: var(--pink-dark) !important;
  background: var(--pink) !important;
}

.media-tile.is-selected {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(242, 114, 173, .18);
}

.media-badge.is-used {
  background: var(--pink) !important;
}

.media-dropzone.is-dragover {
  border-color: var(--pink);
  background: var(--pink-soft);
}

.media-notice {
  background: rgba(0, 42, 105, .96);
  box-shadow: 0 18px 42px rgba(242, 114, 173, .24);
}

.doctor-file-row,
.doctor-file-row > label {
  min-width: 0;
}

.doctor-file-row input[type="file"] {
  max-width: 100%;
}

.doctor-remove-action input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

/* Medical column content hardening for live site CSS collisions. */
.abps-card-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #fff !important;
}

.abps-card-image img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  flex: 0 0 auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  background: #fff;
}

.abps-card:hover .abps-card-image img {
  transform: none !important;
  filter: saturate(1.04) brightness(1.01);
}

.abps-card h2 {
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 6px !important;
}

.detail-page .abps-detail-card .abps-content,
.jodit-wysiwyg {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

.detail-page .abps-detail-card .abps-content p,
.detail-page .abps-detail-card .abps-content li,
.detail-page .abps-detail-card .abps-content blockquote,
.detail-page .abps-detail-card .abps-content a,
.jodit-wysiwyg p,
.jodit-wysiwyg li,
.jodit-wysiwyg blockquote,
.jodit-wysiwyg a {
  max-width: 100%;
}

.detail-page .abps-detail-card .abps-content p,
.jodit-wysiwyg p {
  line-height: 1.85 !important;
  overflow-wrap: anywhere;
}

.detail-page .abps-detail-card .abps-content a,
.jodit-wysiwyg a {
  color: var(--blue) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.detail-page .abps-detail-card .abps-content strong,
.detail-page .abps-detail-card .abps-content b,
.jodit-wysiwyg strong,
.jodit-wysiwyg b {
  font-weight: 900 !important;
}

.detail-page .abps-detail-card .abps-content em,
.detail-page .abps-detail-card .abps-content i,
.jodit-wysiwyg em,
.jodit-wysiwyg i {
  font-style: italic !important;
}

.detail-page .abps-detail-card .abps-content ul,
.detail-page .abps-detail-card .abps-content ol,
.jodit-wysiwyg ul,
.jodit-wysiwyg ol {
  display: block !important;
  margin: 18px 0 24px !important;
  padding-left: 0 !important;
  list-style: none !important;
}

.detail-page .abps-detail-card .abps-content ul,
.jodit-wysiwyg ul {
  list-style-type: none !important;
}

.detail-page .abps-detail-card .abps-content ol,
.jodit-wysiwyg ol {
  counter-reset: abps-ordered-list;
  list-style-type: none !important;
}

.detail-page .abps-detail-card .abps-content li,
.jodit-wysiwyg li {
  position: relative;
  display: block !important;
  margin: 0 0 8px !important;
  padding-left: 1.65em !important;
  line-height: 1.8 !important;
  overflow-wrap: anywhere;
}

.detail-page .abps-detail-card .abps-content ul > li::before,
.jodit-wysiwyg ul > li::before {
  content: "";
  position: absolute;
  top: .78em;
  left: .38em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.detail-page .abps-detail-card .abps-content ol > li,
.jodit-wysiwyg ol > li {
  counter-increment: abps-ordered-list;
}

.detail-page .abps-detail-card .abps-content ol > li::before,
.jodit-wysiwyg ol > li::before {
  content: counter(abps-ordered-list) ".";
  position: absolute;
  top: 0;
  left: 0;
  min-width: 1.25em;
  color: currentColor;
  font-weight: inherit;
  line-height: 1.8;
}

.detail-page .abps-detail-card .abps-content li > p,
.jodit-wysiwyg li > p {
  margin: 0 !important;
}

.detail-page .abps-detail-card .abps-content blockquote,
.jodit-wysiwyg blockquote {
  display: block !important;
  clear: both;
  position: relative !important;
  overflow: hidden !important;
  margin: 26px 0 !important;
  padding: 20px 24px 20px 42px !important;
  border: 1px solid #e6ebf2 !important;
  border-radius: 14px !important;
  background: #fbfcff !important;
  color: var(--ink) !important;
  box-shadow: 0 12px 28px rgba(0, 42, 105, .06) !important;
}

.detail-page .abps-detail-card .abps-content blockquote::before,
.jodit-wysiwyg blockquote::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 5px;
  background: #002a69;
}

.detail-page .abps-detail-card .abps-content blockquote::after,
.jodit-wysiwyg blockquote::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 8px;
  width: 5px;
  background: #f272ad;
}

.detail-page .abps-detail-card .abps-content blockquote p:last-child,
.jodit-wysiwyg blockquote p:last-child {
  margin-bottom: 0 !important;
}

.detail-page .abps-detail-card .abps-content hr,
.jodit-wysiwyg hr {
  display: block !important;
  clear: both;
  position: static !important;
  width: 100% !important;
  height: 0 !important;
  margin: 34px 0 !important;
  border: 0 !important;
  border-top: 2px solid #d6dee9 !important;
  background: transparent !important;
  opacity: 1 !important;
  transform: none !important;
}

.detail-page .abps-detail-card .abps-content hr + blockquote,
.jodit-wysiwyg hr + blockquote {
  margin-top: 42px !important;
}

.detail-page .abps-detail-card .abps-content table,
.jodit-wysiwyg table {
  width: 100% !important;
  margin: 28px 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  border: 1px solid #d8dee8 !important;
  background: #fff;
}

.detail-page .abps-detail-card .abps-content th,
.detail-page .abps-detail-card .abps-content td,
.jodit-wysiwyg th,
.jodit-wysiwyg td {
  min-width: 48px;
  height: 44px;
  padding: 11px 12px !important;
  border: 1px solid #d8dee8 !important;
  background: #fff;
  color: #111827;
  line-height: 1.6 !important;
  vertical-align: top;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.detail-page .abps-detail-card .abps-content th,
.jodit-wysiwyg th {
  background: #f7f9fc;
  font-weight: 800;
  text-align: left;
}

.detail-page .abps-detail-card .abps-content table p,
.jodit-wysiwyg table p {
  margin: 0 !important;
}

.abps-content .abps-editor-image a,
.jodit-wysiwyg .abps-editor-image a {
  display: inline-block;
  max-width: 100%;
}

.abps-content .abps-editor-image.abps-align-left a,
.abps-content .abps-editor-image[style*="text-align: left"] a,
.jodit-wysiwyg .abps-editor-image.abps-align-left a,
.jodit-wysiwyg .abps-editor-image[style*="text-align: left"] a {
  margin-left: 0;
  margin-right: auto;
}

.abps-content .abps-editor-image.abps-align-center a,
.abps-content .abps-editor-image[style*="text-align: center"] a,
.jodit-wysiwyg .abps-editor-image.abps-align-center a,
.jodit-wysiwyg .abps-editor-image[style*="text-align: center"] a {
  margin-left: auto;
  margin-right: auto;
}

.abps-content .abps-editor-image.abps-align-right a,
.abps-content .abps-editor-image[style*="text-align: right"] a,
.jodit-wysiwyg .abps-editor-image.abps-align-right a,
.jodit-wysiwyg .abps-editor-image[style*="text-align: right"] a {
  margin-left: auto;
  margin-right: 0;
}

.abps-video,
.jodit-wysiwyg .abps-video {
  display: block;
  width: 100%;
  margin: 34px 0 !important;
}

.abps-video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #06152f;
  box-shadow: 0 16px 36px rgba(0, 42, 105, .16);
}

.abps-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
}

.abps-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
}

.abps-video-placeholder::before {
  content: "";
  width: 58px;
  height: 40px;
  display: block;
  border-radius: 12px;
  background-color: var(--pink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 18px 18px;
  box-shadow: 0 10px 26px rgba(242, 114, 173, .32);
}

.abps-video-placeholder::after {
  display: none;
}

.abps-video-placeholder strong {
  display: block;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
}

.abps-video-placeholder span {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 620px) {
  .detail-page .abps-detail-card .abps-content {
    font-size: 14.5px;
    line-height: 1.85;
  }

  .detail-page .abps-detail-card .abps-content p {
    margin-bottom: 14px;
  }

  .detail-page .abps-detail-card .abps-content ul,
  .detail-page .abps-detail-card .abps-content ol {
    padding-left: 0 !important;
  }

  .detail-page .abps-detail-card .abps-content blockquote {
    margin: 22px 0 !important;
    padding: 16px 18px 16px 34px !important;
    border-radius: 12px !important;
  }
}

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

@media (max-width: 900px) {
  .abps-board {
    width: min(100% - 36px, 720px);
  }

  .abps-heading {
    margin-bottom: 34px;
  }

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

  .abps-detail-card {
    padding: 42px 28px 48px;
  }

  .abps-writer {
    gap: 24px;
  }

  .admin-edit-grid,
  .rich-editor-layout,
  .admin-row,
  .doctor-admin-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-filter-actions {
    grid-column: 1 / -1;
  }

  .admin-row-actions {
    flex-wrap: wrap;
  }

  .media-manager {
    min-height: 420px;
  }

  .media-modal-panel {
    inset: 12px;
  }

  .media-modal-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .media-stats {
    justify-content: flex-start;
  }

  .media-modal-body {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .media-dropzone,
  .media-library,
  .media-inspector {
    min-height: 260px;
  }

  .media-modal .media-grid {
    max-height: 520px;
  }
}

@media (max-width: 620px) {
  .abps-board {
    width: min(100% - 16px, 440px);
    margin-top: 18px;
  }

  .abps-heading {
    gap: 12px;
    margin-bottom: 30px;
  }

  .abps-kicker {
    font-size: 21px;
  }

  .abps-heading h1 {
    font-size: 22px;
  }

  .abps-tabs {
    gap: 18px;
    margin-bottom: 24px;
  }

  .abps-card-grid {
    grid-template-columns: 1fr;
  }

  .abps-card {
    min-height: auto;
  }

  .abps-card-image {
    height: auto;
    aspect-ratio: 292 / 154;
  }

  .detail-page {
    padding: 34px 0 40px;
  }

  .abps-detail-card {
    width: min(100% - 24px, 100%);
    margin-top: 0;
    padding: 30px 20px 38px;
    border-radius: 14px;
  }

  .abps-detail-head h1 {
    font-size: 25px;
  }

  .abps-detail-footer {
    margin-top: 54px;
  }

  .abps-writer {
    align-items: center;
    flex-direction: column;
    gap: 18px;
    padding: 28px 0 30px;
    text-align: center;
  }

  .abps-writer-visual {
    width: 132px;
    min-height: 150px;
  }

  .abps-writer-visual img {
    max-height: 147px;
  }

  .abps-writer-fallback {
    width: 94px;
    height: 94px;
    margin-bottom: 24px;
    font-size: 31px;
  }

  .abps-writer p {
    font-size: 14px;
  }

  .abps-writer-signature {
    margin-right: auto;
    margin-left: auto;
  }

  .abps-detail-tags {
    gap: 9px;
    justify-content: center;
    padding-bottom: 38px;
  }

  .abps-detail-tags a {
    min-height: 28px;
    padding: 0 11px;
    font-size: 12px;
  }

  .abps-detail-list a {
    width: 96px;
  }

  .admin-shell {
    width: min(100% - 24px, 100%);
    padding-top: 24px;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-menu {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .admin-menu::-webkit-scrollbar {
    display: none;
  }

  .admin-menu a {
    flex: 0 0 auto;
  }

  .admin-two,
  .admin-three {
    grid-template-columns: 1fr;
  }

  .admin-overview,
  .admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-filter-actions {
    flex-direction: column;
  }

  .admin-filter-actions button,
  .admin-filter-actions a,
  .admin-quickbar button {
    width: 100%;
  }

  .admin-quickbar {
    padding-right: 14px;
    padding-left: 14px;
  }

  .doctor-admin-card {
    grid-template-columns: 1fr;
  }

  .doctor-admin-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .doctor-admin-photo {
    grid-row: auto;
    width: 150px;
    margin: 0 auto 16px;
  }

  .doctor-file-row {
    grid-template-columns: 1fr;
  }

  .doctor-remove-action span {
    width: 100%;
  }

  .rich-editor-layout {
    padding: 14px;
  }

  .rich-editor-shell {
    padding: 14px;
  }

  .editor-command-bar {
    padding: 12px 14px;
  }

  .jodit-wysiwyg {
    padding: 24px 18px !important;
  }

  .media-modal-panel {
    inset: 0;
    border-radius: 0;
  }

  .media-modal-header,
  .media-modal-toolbar,
  .media-modal-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .media-modal-header h2 {
    font-size: 21px;
  }

  .media-modal-toolbar {
    grid-template-columns: 1fr;
  }

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

  .media-inspector-actions {
    grid-template-columns: 1fr;
  }

  .media-inspector-actions .primary {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .blog-page .abps-heading,
  .detail-page .abps-detail-head {
    padding-top: 14px;
  }
}

@charset "utf-8";

/**** layout_main.css start ****/
#wrap {
  overflow: hidden;
}

@media (max-width: 1024px) {
  /* TABLET */
}

@media (max-width: 720px) {
  /* MOBILE */
}

/* container */
#container {
  position: relative;
  z-index: 1;
}
/****** top.css start ******/
/****** gnb.css start ******/

#wrap {
  position: relative;
}
.header_deem {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #6d6d6d4f;
  z-index: 6;
  display: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header_deem.on {
  display: block;
}
#header.fixed {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#wrap {
  padding-top: 80px;
}

@media (max-width: 720px) {
  #wrap {
    padding-top: 12vw;
  }
}
/* 전화걸기 a 태그 스타일 */
.tel a {
  color: #000b17;
}

#header .gnb_info {
  display: flex;
  align-items: center;
}

#header .right .btn_login {
  width: 21px;
  height: 21px;
  text-indent: -1000em;
  background: url(//image.idhospital.com/www/rn_2025/common/header_icon_login.png?v=1)
  no-repeat left top;
  background-size: 100%;
}
#header .right .btn_login a {
  display: block;
}

#header .menu ul li {
  display: flex;
  padding: 0 14px !important;
  cursor: pointer;
  align-items: flex-end;
  margin-bottom: 20px !important;
}
#header .right .btn_mypage {
  width: 21px;
  height: 21px;
  text-indent: -1000em;
  background: url(//image.idhospital.com/www/rn_2025/common/header_icon_mypage.png)
  no-repeat left top;
  background-size: 100%;
}
#header .right .btn_mypage a {
  display: block;
}

#header .right .btn_logout {
  display: block !important;
  width: 60px;
  height: 21px;
  text-indent: -1000em;
  background: url(//image.idhospital.com/www/rn_2025/common/header_icon_logout.png)
  no-repeat left top;
  background-size: 100%;
}
#header .right .btn_logout a {
  display: block;
}

.language_all {
  position: absolute;
  top: 82px;
  width: 200px;
  display: none;
  background-color: #fff;
  z-index: 2;
}
.language_all ul li a {
  background: #fff;
  padding: 10px 0 10px 25px;
  clear: both;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  position: relative;
  display: block;
}
.language_all ul li a:hover {
  background: #002f6b;
  color: #fff;
}
.img_countury {
  background: url(//image.idhospital.com/www/rn_2025/common/gnb/language_bg.png)
  left top no-repeat;
  width: 29px;
  height: 19px;
  display: inline-block;
  text-indent: -9999px;
  vertical-align: middle;
  margin-right: 7px;
}
.img_countury.korea {
  background-position: 0 0;
}
.img_countury.eng {
  background-position: 0 -37px;
}
.img_countury.japan {
  background-position: 0 -74px;
}
.img_countury.china {
  background-position: 0 -111px;
}
.img_countury.vietanam {
  background-position: 0 -148px;
}
.img_countury.thai {
  background-position: 0 -185px;
}
.img_countury.spain {
  background-position: 0 -222px;
}
.img_countury.mongo {
  background-position: 0 -259px;
}
.img_countury.indo {
  background-position: 0 -296px;
}
.img_countury.rusia {
  background-position: 0 -333px;
}
.img_countury.arabic {
  background-position: 0 -370px;
}
#header.on .gnb_menu_2depth {
  display:none;
}
.gnb_menu_2depth {
  display: none;
  position:relative;
  z-index: 1;
}

#header .menu ul li.active a {
  font-weight: 800;
}
.gnb nav ul li.active a {
  font-weight: 800;
}
.gnb nav ul li.active .dep3 a.active {
  font-weight: 800;
}
.gnb nav ul li.active .dep3 {
  display: flex;
}


.sitemap .inner .item:nth-of-type(12){order:0;}
.sitemap .inner .item:nth-of-type(7){order:1; margin-left: 14.2%;}
.sitemap .inner .item:nth-of-type(8){order:1;}
.sitemap .inner .item:nth-of-type(9){order:1;}
.sitemap .inner .item:nth-of-type(10){order:1;}
.sitemap .inner .item:nth-of-type(11){order:1;}
.sitemap .inner .item:nth-of-type(13){order:1;}


.sitemap .item .banner img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.gnb_mb .on .menu_title {
  font-weight: 800;

}

.gnb_mb .dep3 {
  display: none;
  padding-top: 18px;
}

.gnb_mb div.menu_title_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.gnb_mb div.menu_title_wrap .menu_title {
  font-size: 32px;
  color: #000b17;
  font-weight: 500;
}
.dep1 > ul > li > div.on .menu_title {
  font-weight: 800;
}
.gnb_mb div.menu_title_wrap .menu_arrow {
  width: 27px;
  height: 15px;
  background: url(//image.idhospital.com/www/rn_2025/common/gnb/mo_gnb_menu_arrow.png) no-repeat;
  background-size: contain;
}
/*.gnb_mb li .active div.menu_title_wrap .menu_arrow {*/
/*  transform: rotate(-180deg);*/
/*}*/
.gnb_mb .dep1 .dep2 > li > div.on > .menu_title_wrap > .menu_arrow {
  transform: rotate(-180deg);
}
/* .gnb_mb .dep1 .dep2 > li > div.on > .menu_title_wrap > .menu_arrow {
  transform: rotate(-180deg);
} */

.gnb_mb .dep1 > ul > li > div.on .menu_title {
  font-weight: 800;
}

.gnb_mb .dep1 > ul > li > div.on >.menu_title_wrap > .menu_arrow {
  transform: rotate(-180deg);
}
/* .gnb_mb .dep1 > ul > li > div.active >.menu_title_wrap > .menu_arrow {
  transform: rotate(-180deg);
} */

.gnb_mb .dep1 > ul > li > div.on .dep2 {
  display: block;
  padding-top: 18px;
}

/* .gnb_mb .dep1 > ul > li > div.active .dep2 {
  display: block;
  padding-top: 18px;
} */

.gnb_mb .dep2 > li > div.on .dep3 {
  display: flex;
  flex-direction: column;
  /*padding-top: 18px;*/
}

.gnb_mb .dep2 > li.on .dep3 {
  display: flex;
  flex-direction: column;
  /*padding-top: 18px;*/
}

.gnb_mb .dep1 .dep2 a {
  /*font-size: 15px;*/
  font-size: 32px;
  color: #000b17;
  padding-left: 35px;
  font-weight: 500;
}

.gnb_mb .dep1 .dep2 > li.on > a {
  font-weight: 800;
}
.gnb_mb .dep1 .dep2 div.on .menu_title a {
  font-weight: 800;
}
.gnb_mb .dep1 .dep2 > li.on .menu_title a {
  font-weight: 800;
}
.gnb_mb .dep1 .dep2 .dep3 a.current {
  font-weight: 800;
}

.gnb_mb .dep1 .dep2 .dep3 a {
  font-size: 32px;
  color: #000b17;
  font-weight: normal;
  margin-left: 35px;
  padding: 18px 0;
}

.gnb_mb .dep1 .dep2 li {
  /*padding:0 !important;*/
  padding: 18px 0;
}

.gnb_mb .dep1 .dep2 li a.current {
  font-weight: 800;
}

@media (max-width: 720px) {
  #header .right .btn_login {
    width: 5.7vw;
    height: 5.7vw;
  }

  .language_all {
    top: 102%;
    width: 45vw;
    right: 0;
  }
  .language_all ul li a {
    padding: 1.5vw 0 1.5vw 4vw;
    font-size: 3.5vw;
  }
  .header_deem {
    display: none !important;
  }

  .gnb_menu_2depth.hidden {
    display: none;
  }
  /*gnb_menu_2depth*/
  .gnb_menu_2depth {
    display: block;
    /*height: 11.11vw;*/
    background: #fdfdfe;
    border-top: 0.28vw solid var(--C-f4f4f4);
    width: 100%;
  }
  .gnb_menu_2depth_inner {
    /*padding-top: 3.75vw;*/
    /*white-space: nowrap;*/
    line-height: 11.11vw;
    display: block;

  }
  .gnb_menu_2depth_inner::after {
    content: "";
    display: block;
    clear: both;
  }

  /*home_menu*/
  .home_menu {
    display: inline-block;
    padding: 0 4.17vw;
    margin-top: 0.42vw;
  }
  .home_menu a {
    display: block;
  }
  .home_menu .home_icon {
    display: inline-block;
    width: 4.03vw;
    height: 3.89vw;
    background: url(//image.idhospital.com/www/rn_2025/common/gnb/icon_home.png)
    no-repeat;
    background-size: contain;
  }
  .home_menu,
  .depth2_ul {
    float: left;
  }

  .depth2_ul a {
    display: block;
  }

  .depth2_ul ul {
    width: 100%;
  }
  .depth2_ul li {
    display: inline-block;
    position: relative;
    line-height: 1;
    padding: 0 2.78vw;
  }
  .depth2_ul li::before {
    content: "";
    display: inline-block;
    width: 0.28vw;
    height: 4.31vw;
    background-color: #aaaab3;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .depth2_ul li p {
    font-size: 3.19vw;
    letter-spacing: -0.14vw;
    color: #000;
    display: flex;
    align-items: center;
  }
  .depth2_ul li p .name {
    display: inline-block;
  }
  .depth2_ul li .menu_arrow {
    display: inline-block;
    width: 2.08vw;
    height: 1.11vw;
    background: url(//image.idhospital.com/www/rn_2025/common/gnb/icon_arrow.png)
    no-repeat;
    background-size: contain;
    margin-left: 1.94vw;
  }
  .depth2_ul li.active .menu_arrow {
    transform: rotate(180deg);
  }

  /* depth3_menu_box*/
  .depth2_ul li .depth3_menu_box {
    display: none;
  }
  .depth2_ul li .depth3_menu_box p {
    display: block;
    text-align: center;
    font-size: 3.19vw;
    letter-spacing: -0.14vw;
    padding-bottom: 3.19vw;
  }
  .depth2_ul li .depth3_menu_box p:last-child {padding-bottom: 0;}
  .depth2_ul li .depth3_menu_box a {
    color: #fff;
    display: block;

  }
  .depth2_ul li .depth3_menu_box.active {
    display: block;
    text-align: center;
    color: #fff;
    min-width: 29.17vw;
    border-radius: 1.39vw;
    background: #262626;
    position: absolute;
    top: 4.17vw;
    left: 0;
    z-index: 1;
    padding: 4.17vw 1.39vw;
  }
}

/**
*
*
 250804
 common css 이동
 *
 *
 **/

/* header */
#header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid var(--C-f4f4f4);
  background-color: var(--C-ffffff);
  transition: box-shadow 0.2s, background 0.2s;
}
#header > .inner {
  display: flex;
  max-width: 1920px;
  margin: 0 auto;
  justify-content: space-around;
  align-items: flex-end;
}
#header .menu_open {
  display: none;
  width: 5.4vw;
  height: 5.3vw;
  position: absolute;
  top: 35%;
  left: 3%;
  cursor: pointer;
}
#header .menu_open i {
  width: 100%;
  height: 4px;
  position: absolute;
  left: 0;
  background-color: var(--C-45474d);
}
#header .menu_open i:nth-child(1) {
  top: 0;
}
#header .menu_open i:nth-child(2) {
  top: 14px;
}
#header .menu_open i:nth-child(3) {
  top: 28px;
}

#header h1 {
  padding: 24px 0 22px;
}
#header h1 a {
  display: flex;
}
#header h1 img {
  width: 129px;
  vertical-align: top;
}
#header .menu {
  height: 79px;
  position: relative;
}
#header .menu ul {
  display: flex;
  height: 100%;
  align-items: stretch;
}
#header .menu ul li a {
  color: var(--C-474748);
  font-weight: 500;
  font-size: 16px;
}
#header .menu ul li.on a {
  color: var(--C-000b17);
  font-weight: 900;
}
#header .menu .menu_hidden_open {
  display: none;
  width: 50px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  gap: 5px;
  justify-content: center;
  align-items: flex-end;
  background-color: var(--C-ffffff);
}
#header .menu .menu_hidden_open i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-bottom: 30px;
  border-radius: 10px;
  background-color: var(--C-000b17);
}
#header .right {
  padding-bottom: 20px;
}
#header .right button {
  margin-left: 16px;
  color: var(--C-000b17);
  cursor: pointer;
  border: none;
  background: none;
}
#header .right .btn_search {
  margin-left: 27px;
}
#header .right .btn_search {
  width: 21px;
  height: 21px;
  text-indent: -1000em;
  background: url(//image.idhospital.com/www/rn_2025/common/header_icon_search.png)
  no-repeat left top;
  background-size: 100%;
}
#header .right .btn_language {
  width: 21px;
  height: 21px;
  text-indent: -1000em;
  background: url(//image.idhospital.com/www/rn_2025/common/header_icon_language.png)
  no-repeat left top;
  background-size: 100%;
}
#header .right .btn_menu {
  width: 18px;
  height: 16px;
  position: relative;
  transition: background 0.3s;
}
#header .right .btn_menu i {
  width: 18px;
  height: 2px;
  position: absolute;
  left: 0;
  background-color: var(--C-45474d);
  transition: transform 0.3s, opacity 0.3s;
}
#header .right .btn_menu i:nth-child(1) {
  top: 0;
}
#header .right .btn_menu i:nth-child(2) {
  top: 7px;
}
#header .right .btn_menu i:nth-child(3) {
  top: 14px;
}

/* X자 변환 */
#header .right .btn_menu.on i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#header .right .btn_menu.on i:nth-child(2) {
  opacity: 0;
}
#header .right .btn_menu.on i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* gnb */
.gnb {
  display: none;
  width: 100%;
  position: absolute;
  left: 0;
  top: 81px;
  padding: 30px 0;
  background-color: var(--C-ffffff);
  box-shadow: -7px 4px 10px rgba(0, 0, 0, 0.1);
}
.gnb.on {
  display: block;
}
/*.gnb.on .inner {*/
/*  max-width: 1200px!important;*/
/*}*/
.gnb .inner {
  display: flex;
  width: 1195px;
  margin: 0 auto;
  justify-content: space-between;
  /*border: 1px solid;*/
}

.gnb nav {
  display: flex;
  margin-left: 26px;
}
.gnb ul {
  display: none;
  flex-direction: column;
}
.gnb ul h4 {
  font-size: 13px;
  padding-bottom: 2px;
  color: #737380;
}
.gnb nav ul.on {
  display: flex;
}
.gnb nav ul li {
  position: relative;
  padding: 3px 0;
  opacity: 0;
  transform: translateX(30px);
  animation: gnbLiIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.gnb nav ul.on li:nth-child(1) {
  animation-delay: 0.02s;
}
.gnb nav ul.on li:nth-child(2) {
  animation-delay: 0.04s;
}
.gnb nav ul.on li:nth-child(3) {
  animation-delay: 0.06s;
}
.gnb nav ul.on li:nth-child(4) {
  animation-delay: 0.08s;
}
.gnb nav ul.on li:nth-child(5) {
  animation-delay: 0.1s;
}
.gnb nav ul.on li:nth-child(6) {
  animation-delay: 0.12s;
}
.gnb nav ul.on li:nth-child(7) {
  animation-delay: 0.14s;
}
.gnb nav ul.on li:nth-child(8) {
  animation-delay: 0.16s;
}
.gnb nav ul.on li:nth-child(9) {
  animation-delay: 0.18s;
}
.gnb nav ul.on li:nth-child(10) {
  animation-delay: 0.2s;
}
.gnb nav ul.on li:nth-child(11) {
  animation-delay: 0.22s;
}
@keyframes gnbLiIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.gnb nav ul li a {
  font-size: var(--f-16);
  color: var(--C-000b17);
  font-weight: 600;
}
.gnb nav ul li.on a {
  font-weight: 800;
}
.gnb nav ul li .dep3 {
  display: none;
  min-width: 160px;
  position: absolute;
  gap: 5px;
  flex-direction: column;
  top: 5px;
  left: 114%;
}
.gnb nav ul li .dep3::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 14px;
  background: url(//image.idhospital.com/www/rn_2025/common/gnb/gnb_nav_ul_li_arrow.png) no-repeat;
  background-size: contain;
  position: absolute;
  left: -11px;
  top: 3px;
}
.gnb nav ul li .dep3 a {
  font-size: var(--f-15);
  color: #000b17;
  font-weight: 500;
  opacity: 0;
  transform: translateX(20px);
  animation: gnbLiIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.gnb nav ul li .dep3 a:hover {
  font-weight: 900;
}
.gnb nav ul li.on .dep3 a:nth-child(1) {
  animation-delay: 0.02s;
}
.gnb nav ul li.on .dep3 a:nth-child(2) {
  animation-delay: 0.04s;
}
.gnb nav ul li.on .dep3 a:nth-child(3) {
  animation-delay: 0.06s;
}
.gnb nav ul li.on .dep3 a:nth-child(4) {
  animation-delay: 0.08s;
}
.gnb nav ul li.on .dep3 a:nth-child(5) {
  animation-delay: 0.1s;
}
.gnb nav ul li.on .dep3 a:nth-child(6) {
  animation-delay: 0.12s;
}
.gnb nav ul li.on .dep3 a:nth-child(7) {
  animation-delay: 0.14s;
}
.gnb nav ul li.on .dep3 a:nth-child(8) {
  animation-delay: 0.16s;
}
.gnb nav ul li .dep3 a::before {
  content: "- ";
}
.gnb nav ul li.on .dep3 {
  display: flex;
}
.gnb .right ul {
  display: inline-flex;
  gap: 7px;
  position: relative;
}
.gnb .right ul li a {
  font-size: var(--f-16);
  color: var(--C-474748);
}
.gnb .right ul li.on {
  font-weight: 900;
}
.gnb .right ul li .dep3 {
  display: none;
  min-width: 160px;
  position: absolute;
  left: 120%;
  top: 0;
  gap: 5px;
  flex-direction: column;
}
.gnb .right ul li .dep3 a {
  font-size: var(--f-13);
  color: var(--C-737380);
  font-weight: 500;
  opacity: 0;
  transform: translateX(20px);
  animation: gnbLiIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.gnb .right ul li.on .dep3 a:nth-child(1) {
  animation-delay: 0.02s;
}
.gnb .right ul li.on .dep3 a:nth-child(2) {
  animation-delay: 0.04s;
}
.gnb .right ul li.on .dep3 a:nth-child(3) {
  animation-delay: 0.06s;
}
.gnb .right ul li.on .dep3 a:nth-child(4) {
  animation-delay: 0.08s;
}
.gnb .right ul li.on .dep3 a:nth-child(5) {
  animation-delay: 0.1s;
}
.gnb .right ul li.on .dep3 a:nth-child(6) {
  animation-delay: 0.12s;
}
.gnb .right ul li.on .dep3 a:nth-child(7) {
  animation-delay: 0.14s;
}
.gnb .right ul li .dep3 a::before {
  content: "- ";
}
.gnb .right ul li.on .dep3 {
  display: flex;
}
.gnb .right .tel {
  padding-top: 25px;
  font-size: var(--f-32);
  color: #000b17;
  font-weight: 900;
  line-height: 1.1;
}
.gnb .banner img {
  vertical-align: top;
}

/* search */
.search {
  display: none;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 30px 0;
  background-color: var(--C-ffffff);
}
.search.on {
  display: block;
}
.search .inner {
  display: flex;
  max-width: 1680px;
  margin: 0 auto;
  position: relative;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
}
.search .input_form {
  width: 905px;
  height: 52px;
  margin: 0 auto;
  border-radius: 15px;
  background: var(--C-f4f4f4) url(../images/common/header_icon_search.png)
  no-repeat 20px center;
}
.search .input_form input {
  width: 100%;
  height: 100%;
  padding: 0 55px;
  box-sizing: border-box;
  border: none;
  background: none;
}
.search .recomm_search {
  display: flex;
  width: 905px;
  margin: 0 auto;
  padding-top: 27px;
  position: relative;
}
.search .recomm_search::before {
  content: "추천 검색어";
  padding-right: 40px;
  font-size: var(--f-15);
  color: var(--C-000b17);
  font-weight: 900;
}
.search .recomm_search ol {
  display: flex;
  min-height: 240px;
  padding-left: 20px;
  gap: 5px;
  flex-direction: column;
  border-left: 1px solid var(--C-bdbdc9);
}
.search .recomm_search ol li {
  font-size: var(--f-13);
  color: var(--C-000b17);
  font-weight: 500;
}
.search .recomm_search .banner {
  position: absolute;
  right: 0;
  bottom: 30px;
}
.search .recomm_search .banner img {
  vertical-align: top;
}
.search_close {
  width: 18px;
  height: 18px;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
}
.search_close i {
  display: block;
  width: 100%;
  height: 3px;
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(40deg);
  background-color: var(--C-45474d);
}
.search_close i:last-child {
  transform: rotate(130deg);
}

/* sitemap */
.sitemap {
  width: 100%;
  position: absolute;
  left: 0;
  top: 81px;
  padding: 24px 0;
  background-color: var(--C-ffffff);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
  transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: block; /* display: block으로 두고 JS에서 on/off는 opacity로 제어 */
  box-shadow: -7px 4px 10px rgba(0, 0, 0, 0.1);
}
.sitemap.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sitemap .inner {
  display: flex;
  width: 1326px;
  margin: 0 auto;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 35px 0;
  position: relative;
}
.sitemap .inner .item {
  flex: 1 1 13%;
}
.sitemap .inner .item h4 {
  padding-bottom: 4px;
  font-size: var(--f-13);
  color: var(--C-737380);
}
.sitemap .inner .item li{
  margin-bottom: 4px;
}
.sitemap .inner .item li a {
  font-size: var(--f-15);
  color: var(--C-000b17);
  font-weight: 500;
}
.sitemap .inner .item li p a {
  font-weight: 400;
}
.sitemap .inner .item li p a {
  font-weight: 400;
}
.sitemap .inner .item .side_link {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sitemap .inner .item .side_link li a {
  font-weight: 700;
  color: var(--C-474748);
}
.sitemap .inner .sitemap_tel{
  position: absolute;
  top:576px;
  right: -11px;
  font-size: 32px;
  color:#000b17;
  font-weight: 800;
  line-height: 1.2;
}
.sitemap .inner .sitemap_tel a{color:#000b17;}

.sitemap .inner .sitemap_banner{
  position: absolute;
  top: 175px;
  right: -9px;
}

/* gnb 모바일 */
.gnb_mb {
  display: none;
  padding: 113px 55px 100px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--C-ffffff);
}
#header.on {
  z-index: 10;
}
.on .gnb_mb {
  display: block;
  z-index: 2;
}

.gnb_mb .dep1 ul {
  /*padding-top: 14px;*/
}
.gnb_mb .dep1 li {
  line-height: 1;
  /*padding: 12px 0;*/
  padding: 23px 0;
  opacity: 0;
  transform: translateX(30px);
  animation: gnbLiIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.gnb_mb.on .dep1 li:nth-child(1) {
  animation-delay: 0.02s;
}
.gnb_mb.on .dep1 li:nth-child(2) {
  animation-delay: 0.04s;
}
.gnb_mb.on .dep1 li:nth-child(3) {
  animation-delay: 0.06s;
}
.gnb_mb.on .dep1 li:nth-child(4) {
  animation-delay: 0.08s;
}
.gnb_mb.on .dep1 li:nth-child(5) {
  animation-delay: 0.1s;
}
.gnb_mb.on .dep1 li:nth-child(6) {
  animation-delay: 0.12s;
}
.gnb_mb.on .dep1 li:nth-child(7) {
  animation-delay: 0.14s;
}
.gnb_mb.on .dep1 li:nth-child(8) {
  animation-delay: 0.16s;
}
.gnb_mb.on .dep1 li:nth-child(9) {
  animation-delay: 0.18s;
}
.gnb_mb.on .dep1 li:nth-child(10) {
  animation-delay: 0.2s;
}
.gnb_mb.on .dep1 li:nth-child(11) {
  animation-delay: 0.22s;
}
.gnb_mb.on .dep1 li:nth-child(12) {
  animation-delay: 0.24s;
}
.gnb_mb .dep1 a {
  font-size: var(--f-20);
  color: var(--C-474748);
  font-weight: 500;
}
.gnb_mb .dep2 {
  display: none;
}
.gnb_mb .dep2.on {
  display: block;
}
.gnb_mb .dep2 .btn_dep_back {
  width: 23px;
  height: 37px;
  cursor: pointer;
  position: absolute;
  left: 30px;
  top: 15px;
}
.gnb_mb .dep2 .btn_dep_back i {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 5px;
  background-color: var(--C-45474d);
  transform-origin: left center;
}
.gnb_mb .dep2 .btn_dep_back i:first-child {
  margin-top: -2px;
  transform: translateY(-50%) rotate(45deg);
}

.gnb_mb .dep2 .btn_dep_back i:last-child {
  margin-top: 1px;
  transform: translateY(-50%) rotate(-45deg);
}
.gnb_mb .dep2 ul {
  display: none;
  flex-direction: column;
  gap: 20px;
}
.gnb_mb .dep2 ul.on {
  display: flex;
}
.gnb_mb .dep2 > ul > li {
  opacity: 0;
  transform: translateX(30px);
  animation: gnbLiIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.gnb_mb .dep2.on > ul > li {
  opacity: 0;
}
.gnb_mb .dep2.on > ul > li:nth-child(1) {
  animation-delay: 0.02s;
}
.gnb_mb .dep2.on > ul > li:nth-child(2) {
  animation-delay: 0.04s;
}
.gnb_mb .dep2.on > ul > li:nth-child(3) {
  animation-delay: 0.06s;
}
.gnb_mb .dep2.on > ul > li:nth-child(4) {
  animation-delay: 0.08s;
}
.gnb_mb .dep2.on > ul > li:nth-child(5) {
  animation-delay: 0.1s;
}
.gnb_mb .dep2.on > ul > li:nth-child(6) {
  animation-delay: 0.12s;
}
.gnb_mb .dep2.on > ul > li:nth-child(7) {
  animation-delay: 0.14s;
}
.gnb_mb .dep2.on > ul > li:nth-child(8) {
  animation-delay: 0.16s;
}
.gnb_mb .dep2.on > ul > li:nth-child(9) {
  animation-delay: 0.18s;
}
.gnb_mb .dep2.on > ul > li:nth-child(10) {
  animation-delay: 0.2s;
}
.gnb_mb .dep2.on > ul > li:nth-child(11) {
  animation-delay: 0.22s;
}
.gnb_mb .dep2.on > ul > li:nth-child(12) {
  animation-delay: 0.24s;
}
.gnb_mb .dep2.on > ul > li:nth-child(13) {
  animation-delay: 0.26s;
}
.gnb_mb .dep2 ul a {
  font-size: var(--f-20);
  color: var(--C-474748);
  font-weight: 500;
}
.gnb_mb .dep2 ul .dep3 {
  display: flex;
  padding-top: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.gnb_mb .dep2 ul .dep3 a {
  font-size: var(--f-16);
  color: var(--C-737380);
  font-weight: 500;
}
.gnb_mb .dep2 ul .dep3 a::before {
  content: "-";
  padding-right: 15px;
}

.gnb_mb .b_dep1 li {
  opacity: 0;
  transform: translateX(30px);
  animation: gnbLiIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.gnb_mb.on .b_dep1 li:nth-child(1) {
  animation-delay: 0.02s;
}
.gnb_mb.on .b_dep1 li:nth-child(2) {
  animation-delay: 0.04s;
}
.gnb_mb.on .b_dep1 li:nth-child(3) {
  animation-delay: 0.06s;
}
.gnb_mb.on .b_dep1 li:nth-child(4) {
  animation-delay: 0.08s;
}
.gnb_mb.on .b_dep1 li:nth-child(5) {
  animation-delay: 0.1s;
}
.gnb_mb.on .b_dep1 li:nth-child(6) {
  animation-delay: 0.12s;
}
.gnb_mb.on .b_dep1 li:nth-child(7) {
  animation-delay: 0.14s;
}
.gnb_mb.on .b_dep1 li:nth-child(8) {
  animation-delay: 0.16s;
}
.gnb_mb.on .b_dep1 li:nth-child(9) {
  animation-delay: 0.18s;
}
.gnb_mb.on .b_dep1 li:nth-child(10) {
  animation-delay: 0.2s;
}
.gnb_mb.on .b_dep1 li:nth-child(11) {
  animation-delay: 0.22s;
}
.gnb_mb.on .b_dep1 li:nth-child(12) {
  animation-delay: 0.24s;
}

.gnb_mb .b_dep2 {
  display: none;
  position: relative;
}
.gnb_mb .b_dep2.on {
  display: block;
}
.gnb_mb .b_dep2 .btn_dep_back {
  width: 23px;
  height: 37px;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 9px;
  z-index: 1;
}
.gnb_mb .b_dep2 .btn_dep_back i {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 5px;
  background-color: var(--C-45474d);
  transform-origin: left center;
}
.gnb_mb .b_dep2 .btn_dep_back i:first-child {
  margin-top: -2px;
  transform: translateY(-50%) rotate(45deg);
}

.gnb_mb .b_dep2 .btn_dep_back i:last-child {
  margin-top: 1px;
  transform: translateY(-50%) rotate(-45deg);
}
.gnb_mb .b_dep2 ul {
  display: none;
}
.gnb_mb .b_dep2 ul.on {
  display: block;
}
.gnb_mb .b_dep2 a {
  font-size: var(--f-20);
  color: var(--C-474748);
}
.gnb_mb .b_dep2 > ul > li {
  opacity: 0;
  transform: translateX(30px);
  animation: gnbLiIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.gnb_mb .b_dep2.on > ul > li {
  opacity: 0;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(1) {
  animation-delay: 0.02s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(2) {
  animation-delay: 0.04s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(3) {
  animation-delay: 0.06s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(4) {
  animation-delay: 0.08s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(5) {
  animation-delay: 0.1s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(6) {
  animation-delay: 0.12s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(7) {
  animation-delay: 0.14s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(8) {
  animation-delay: 0.16s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(9) {
  animation-delay: 0.18s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(10) {
  animation-delay: 0.2s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(11) {
  animation-delay: 0.22s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(12) {
  animation-delay: 0.24s;
}
.gnb_mb .b_dep2.on > ul > li:nth-child(13) {
  animation-delay: 0.26s;
}

.gnb_mb .bottom .dep3 {
  display: flex;
  padding: 15px 0 20px;
  gap: 15px;
  flex-direction: column;
}
.gnb_mb .bottom .dep3 a {
  font-size: var(--f-16);
  color: var(--C-737380);
  font-weight: 500;
}
.gnb_mb .bottom .dep3 a::before {
  content: "-";
  padding-right: 15px;
}
.gnb_mb .bottom {
  padding-top: 25px;
}
.gnb_mb .bottom .tel a {
  color: #000b17;
  display: block;
  padding-top: 18px;
}

.gnb_mb .bottom .tel {
  padding-top: 50px;
  font-size: 50px;
  color: #000b17;
  font-weight: 800;
  line-height: 1;
}
.gnb_mb .bottom .banner {
  line-height: 0;
}
.gnb_mb .bottom .banner img {
  width: 100%;
  max-width: 612px;
}
.gnb_mb .gnb_mb_close {
  width: 50px;
  height: 50px;
  cursor: pointer;
  position: absolute;
  left: 30px;
  top: 32px;
}
.gnb_mb .gnb_mb_close i {
  display: block;
  width: 100%;
  height: 7px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: rotate(45deg);
  background-color: var(--C-45474d);
}
.gnb_mb .gnb_mb_close i:last-child {
  transform: rotate(-45deg);
}

@media (max-width: 1690px) {
  .sitemap .inner{
    width: 90%;
  }
  .sitemap .inner .sitemap_banner{
    width: 12.7vw;
    right: 0;
  }
  .sitemap .inner .sitemap_banner img{
    width: 100%;
  }
  .sitemap .inner .sitemap_tel{
    right: 0.3vw;
    font-size: 2vw;
  }
  #header > .inner {
    position: relative;
    max-width: initial;
    padding: 0 20px;
  }
  #header .menu ul {
    padding-right: 20px;
    box-sizing: border-box;
  }
}
@media (max-width: 1600px) {
  #header .menu {
    width: 70%;
    overflow: hidden;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  /* 
  20250805 최진호팀장요청
  #header .menu .menu_hidden_open {
    display: flex;
  } */
}
@media (max-width: 1170px) {
  #header .menu {
    width: 60%;
  }
  .gnb .inner {
    width: auto;
    padding: 0 5%;
  }
}
@media (max-width: 1060px) {
  /*.gnb .inner {*/
  /*  width: auto;*/
  /*  padding: 0 5%;*/
  /*}*/
  .sitemap .inner {
    width: auto;
    padding: 0 5%;
  }
  .sitemap .inner .item {
    /*flex: 1 1 20%;*/
    max-width: 20%;
  }
  .sitemap .inner .sitemap_banner{
    width: 18vw;
  }
  .sitemap .inner .sitemap_tel {
    right: 0;
    font-size: 2.8vw;
  }
  .sitemap .inner .item li {
    margin-bottom: 0;
  }
  .sitemap .inner .item li a {
    font-size: 14px;
  }
  .sitemap .inner .item:last-child {
    max-width: 25%;
  }
}
@media (max-width: 1024px) {
  #header .menu {
    width: 40%;
  }
}
@media (max-width: 860px) {
  .sitemap .inner{
    padding: 0 3%;
  }
  .sitemap .inner .item {
    max-width: 25%;
  }
  .sitemap .inner .item li a {
    font-size: 12px;

  }
  .sitemap .inner .sitemap_banner {
    width: 140px;
    right: 14px;
    top: 143px;
  }
  .sitemap .inner .sitemap_banner img {
    max-width: 100%;
  }
  .sitemap .inner .sitemap_tel {
    right: 11px;
    font-size: 22px;
    top: 453px;
  }
}
@media (max-width: 720px) {
  #header > .inner {
    padding: 25px 3%;
    /*padding: 3.47vw 3%;*/
    justify-content: space-between;
    align-items: center;
  }
  #header > .inner.hidden {
    display:none;
  }
  #header .menu_open {
    display: block;
    width: 6.5vw;
  }
  #header .menu_open i{height: 0.7vw;}
  #header .menu_open i:nth-child(2) {top: 50%;transform: translate(0,-50%);}
  #header .menu_open i:nth-child(3) {top: initial;bottom: 0;}
  #header h1 {
    padding: 0 0 0 9vw;
  }
  #header h1 img {
    width: 29vw;
    margin-top: -1.8vw;
  }
  #header .menu {
    display: none;
  }
  #header .right {
    padding-bottom: 0;
  }
  #header .right {
    padding-bottom: 0;
  }
  #header .right button{margin-left: 2vw;}
  #header .right .btn_logout {
    display: none;
  }
  #header .right .btn_search {
    width: 5.7vw;
    height: 5.7vw;
  }
  #header .right .btn_language {
    width: 5.7vw;
    height: 5.7vw;
  }
  #header .right .btn_menu {
    display: none;
  }
  .sitemap {
    display: none;
  }
  .gnb_mb {
    overflow: auto;
    padding: 15.69vw 7.64vw 13.89vw;
  }
  .gnb_mb div.menu_title_wrap .menu_title {
    font-size: 4.44vw;
  }
  .gnb_mb .dep1 li {
    padding: 3.19vw 0;
  }
  .gnb_mb .dep1 .dep2 li {
    padding: 2.5vw 0;
  }
  .gnb_mb .dep1 .dep2 a {
    font-size: 4.44vw;
    padding-left: 4.86vw;
  }
  .gnb_mb div.menu_title_wrap .menu_arrow {
    width: 3.75vw;
    height: 2.08vw;
  }


  .dep1 > ul > li > div.on .dep2 {
    padding-top: 2.5vw;
  }

  .dep1 > ul > li > div.active .dep2 {
    padding-top: 2.5vw;
  }
  /*.dep2 > li.active .dep3 {*/
  .gnb_mb .dep3 {
    padding-top: 2.5vw;
  }
  .gnb_mb .dep1 .dep2 .dep3 a {
    font-size: 4.44vw;
    padding: 2.5vw 0 2.5vw 4.86vw;
    margin-left: 4.86vw;
  }
  .gnb_mb .dep1 .dep2 .dep3 a:last-child {
    padding-bottom: 0;
  }
  .gnb_mb .gnb_mb_close {
    width: 6.94vw;
    height: 6.94vw;
    left: 4.17vw;
    top: 4.44vw;
  }
  .gnb_mb .gnb_mb_close i {
    height: 0.97vw;
  }


  .gnb_mb .bottom {
    padding-top: 3.47vw;
  }
  .gnb_mb .bottom .tel a {
    padding-top: 2.5vw;
  }

  .gnb_mb .bottom .tel {
    padding-top: 6.94vw;
    font-size: 6.94vw;
  }
  .gnb_mb .bottom .banner img {
    max-width: 85vw;
  }
}


/****** gnb.css end ******/
/**** quick.css start ****/

.quick {
  width: 87px;
  position: fixed;
  right: 50%;
  bottom: 10%;
  margin-right: -750px;
  z-index: 5;
  transition: all 1s ease;
}

.quick.hidden {
  display: none;
}

.quick .btn_box {
  display: flex;
  width: 88px;
  height: 147px;
  position: relative;
  margin-bottom: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 50px;
  background-color: var(--C-000b17);
  transition: all 0.3s ease;
  overflow: hidden;
}

.quick .btn_box::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 2px;
  top: 73px;
  z-index: 1;
  background-color: var(--C-33373f);
}

.quick .btn_box a {
  color: var(--C-aaaab3);
}

.quick .btn_box a:hover {
  color: var(--C-ffffff);
}

/*.quick .btn_box .menu_open */
.quick .btn_box .menu_open {
  display: flex;
  width: 100%;
  height: 100%;
  color: var(--C-aaaab3);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-evenly;
  border: none;
  background: none;
  opacity: 1;
  transform: translateY(0px);
  transition: all 0.3s ease;
}

.quick .btn_box .menu_open:hover {
  color: var(--C-ffffff);
}

.quick .btn_box .menu_open i {
  display: block;
}

.quick .btn_box .btn_list {
  width: 88px;
  padding: 40px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 50px;
  background-color: var(--C-000b17);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: all 0.3s ease;
  height: 80%;
}

.quick .btn_box .btn_list .tel {
  margin-top: 80px;
  font-size: 16px;
  color: var(--C-aaaab3);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.5px;
}

.quick .btn_box .btn_list .tel i {
  display: block;
  width: 100%;
  height: 30px;
  filter: brightness(0.5);
  background: url(//image.idhospital.com/www/rn_2025/common/quick/quick_icon_tel.png) no-repeat center top;
}

.quick .btn_box .btn_list .tel:hover i {
  filter: brightness(1);
}

.quick .btn_box .btn_list .tel a:hover {
  color: #fff;
}

.quick .btn_box .btn_list ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quick .btn_box .btn_list li::before {
  display: block;
  content: "";
  width: 48px;
  height: 1px;
  margin: 13px auto;
  background-color: var(--C-33373f);
}

.quick .btn_box .btn_list li a {
  display: inline-block;
  font-size: 14px;
  letter-spacing: -0.5px;
  color: var(--C-aaaab3);
}

.quick .btn_box .btn_list li a:hover {
  color: var(--C-ffffff);
}

.quick .btn_box .btn_list li a i {
  display: block;
  height: 30px;
  width: 100%;
  filter: brightness(0.5);
  background-repeat: no-repeat;
  background-position: center top;
}

.quick .btn_box .btn_list li.onsale_event {
  display: none;
}

.quick .btn_box .btn_list li.onsale_event a i {
  background-image: url(//image.idhospital.com/www/rn_2025/common/quick/quick_icon_event_v1.png);
}

.quick .btn_box .btn_list li.kakao a i {
  background-image: url(//image.idhospital.com/www/rn_2025/common/quick/quick_icon_kakao.png);
}

.quick .btn_box .btn_list li.q_realpay a i {
  background-image: url(//image.idhospital.com/www/rn_2025/common/quick/quick_icon_cost.png);
}

.quick .btn_box .btn_list li.online_counsel a i {
  background-image: url(//image.idhospital.com/www/rn_2025/common/quick/quick_icon_online.png);
}

.quick .btn_box .btn_list li.online_reserve a i {
  background-image: url(//image.idhospital.com/www/rn_2025/common/quick/quick_icon_reservation.png);
}

.quick .btn_box .btn_list li a:hover i {
  filter: brightness(1);
}

.quick .btn_box.on {
  height: 410px;
  padding: 50px 0;
}

.quick .btn_box.on .btn_list {
  display: flex;
  pointer-events: auto;
  opacity: 1;
  height: 100%;
  transform: translateY(0);
}

.quick .btn_box.on .menu_open {
  opacity: 0;
  height: 100%;
}

.quick .btn_top {
  display: flex;
  width: 88px;
  height: 88px;
  color: var(--C-aaaab3);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background-color: var(--C-000b17);
}

.quick .btn_event {
  display: flex;
  width: 88px;
  height: 88px;
  color: var(--C-aaaab3);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background-color: var(--C-000b17);
}

.quick .btn_event a {
  display: inline-block;
  font-size: var(--f-14);
  letter-spacing: -0.5px;
  color: var(--C-aaaab3);
}

.quick .btn_event a i {
  display: block;
  height: 30px;
  width: 100%;
  filter: brightness(0.5);
  background-image: url(//image.idhospital.com/www/rn_2025/common/quick/quick_icon_event_v1.png);
  background-repeat: no-repeat;
  background-position: center top;
}

.quick .btn_event a:hover {
  color: var(--C-ffffff);
}

.quick .btn_event a:hover i {
  filter: brightness(1);
}

.quick .mo_omit {
  display: none;
}

.quick .btn_top:hover {
  color: var(--C-ffffff);
}

@media (max-width: 1500px) {
  .quick {
    width: auto;
    right: 2%;
    margin-right: 0;
  }

  .quick .btn_box {
    width: 70px;
    height: 100px;
  }

  .quick .btn_box::after {
    width: 30px;
    top: 50px;
  }

  .quick .btn_box .btn_list {
    width: 70px;
  }

  .quick .btn_box .btn_list li::before {
    width: 30px;
  }

  .quick .btn_top {
    width: 70px;
    height: 70px;
  }

  .quick .btn_event {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 720px) {
  .quick {
    /*bottom: 100px;*/
    bottom: 26.39vw;
    /*top: initial;*/
  }

  .quick .btn_box {
    height: 70px;
    margin-bottom: -70px;
  }

  .quick .btn_box .menu_open {
    font-size: 3vw;
    display: none;
    /* 모바일에서는 안보이는 걸로 작업해놓았어요 */
  }

  .quick .btn_top {
    font-size: 3vw;
    display: none;
  }

  .quick .btn_event {
    display: none;
  }

  .quick .btn_box .btn_list .tel {
    display: none;
  }

  .quick .btn_box .btn_list li.onsale_event {
    display: block;
  }

  .quick .btn_box .btn_list li.onsale_event::before {
    display: none;
  }

  .quick .btn_box .btn_list li.online_reserve {
    display: none;
  }

  .quick .btn_box.on {
    height: 287px;
    margin-bottom: 10px;
    padding: 30px 0;
  }

  .quick .btn_box .btn_list {
    padding: 0;
  }

  .quick .mo_omit {
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #020a17;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  .quick .mo_omit i {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: url(//image.idhospital.com/www/rn_2025/common/quick/mo_quick_icon_v1.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .quick .mo_omit.on i {
    background: url(//image.idhospital.com/www/rn_2025/common/quick/mo_quick_icon_close.png) no-repeat;
    background-size: contain;
  }
}

/**** quick.css end ****/
/****** bottom.css start ******/
.popup_wrap {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: var(--C-000000-50);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.popup_wrap.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.popup_wrap .inner {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.popup_wrap .inner .iframe_box {
  width: 80%;
  max-width: 1290px;
  position: relative;
  aspect-ratio: 16 / 9;
}

@media (max-width: 440px) {
  .popup_wrap.popup_shorts .inner .iframe_box {
    aspect-ratio: 9 / 16;
  }
}

.popup_wrap .inner .iframe_box iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
}

.popup_wrap .inner .btn_close {
  display: block;
  width: 112px;
  height: 46px;
  margin-top: 15px;
  font-size: var(--f-21);
  background-color: #e46ea4;
  color: #fff;
  font-weight: 800;
  border-radius: 50px;
  border: 1px solid var(--C-e46ea4);
  cursor: pointer;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/**** footer.css start ****/

/* Base styles (Desktop) */
.footer {
	background-color: #f8f9fa;
	padding: 20px 0;
}

.pc_icon_img {display: block;}
.mo_icon_img {display: none;}

/* footer */
#footer {
	width: 100%;
	position: relative;
	z-index: 0;
	border-top: 1px solid var(--C-f4f4f4);
}

#footer::before {
	content: "";
	width: 100%;
	height: 1px;
	position: absolute;
	left: 0;
	top: 83px;
	background-color: var(--C-f4f4f4);
}

#footer::after {
	content: "";
	width: 100%;
	height: 1px;
	position: absolute;
	left: 0;
	top: 251px;
	background-color: var(--C-f4f4f4);
}

#footer .inner{
	width: 960px;
	/*margin: 0 auto;*/
	margin: 0 auto 114px;
}

#footer .link_box{
	display: flex;
	height: 83px;
	justify-content: space-between;
	/*align-items: center;*/
	flex-direction: row-reverse;
}

#footer .link_box .sns_link{
	display: flex;
	gap: 8px;
	line-height: 0;
	padding-top: 24px;
}

#footer .link_box .sns_link img{
	/*width: 48px;*/

}

#footer .link_box .id_link {
	padding-top: 33px;
}

#footer .link_box .id_link ul{
	display: flex;
	gap: 17px;
}

#footer .link_box .id_link ul li a{
	display: inline-block;
	/*padding: 2px 0 0 30px;*/
	/*font-size:  var(--f-19);*/
	/*color: var(--C-737380);*/
	/*font-weight: 900;*/
	/*background: url(//image.idhospital.com/www/rn_2025/common/footer_icon_id.png) no-repeat left top;*/
	/*background-size: 23px auto;*/
}

#footer .link_box .id_link ul li a img {
	max-width: 100%;
}

#footer .link_box .id_link ul li:last-child a{
	/*background: none;*/
	/*padding-left: 0;*/
}

#footer .company_info{
	height: 167px;
	display: flex;
	font-size:  var(--f-19);
	color: var(--C-737380);
	justify-content: space-between;
	align-items: center;
	flex-direction: row-reverse;
}

#footer .company_info .left{
	display: flex;
	gap: 25px;
	flex-direction: column;
	width: 263px;
	line-height: 1;
}

#footer .company_info .left p span{
	font-size: 17px;
	letter-spacing: -0.5px;
	margin-right: 29px;
	font-weight: 500;
}

#footer .company_info .left p b{
	font-size: 30px;
	color: var(--C-45474d);
	letter-spacing: -0.5px;
	font-weight: 900;
}

#footer .company_info .left p strong{
	font-size: var(--f-19);
	color: var(--C-45474d);
	letter-spacing: -0.5px;
	font-weight: 900;
}

#footer .company_info .right{
	display: flex;
	gap: 30px;
	flex-direction: column;
	line-height: 1;
	font-size: 17px;
	letter-spacing: -0.5px;
}

#footer .company_info .right .link ul{
	display: flex;
}

#footer .company_info .right .link li::after{
	content: "";
	display: inline-block;
	width: 1px;
	height: 16px;
	margin: 0 15px;
	background-color: #f4f4f4;
	vertical-align: -2px;
}

#footer .company_info .right .link li:last-child::after{
	display: none;
}

#footer .company_info .right .link a {
	color: var(--C-737380);
	font-size: 17px;
	letter-spacing: -0.5px;
}

#footer .company_info .right .info {
	display: flex;
	gap: 30px;
}

#footer .copy{
	display: flex;
	height: 70px;
	font-size: var(--f-15);
	color: var(--C-aaaab2);
	align-items: center;
	letter-spacing: -0.5px;
}

/* Tablet styles (max-width: 1024px) */
@media(max-width:1024px){
	#footer .inner{
		width: initial;
		padding: 0 20px;
	}

	#footer::before{
		top: 60px;
	}

	#footer::after{
		top: initial;
		bottom: 50px;
	}

	#footer .link_box{
		height: 60px;
	}

	/*#footer .link_box .sns_link{*/
	/*	gap: 20px;*/
	/*}*/
	#footer .link_box .id_link {
		padding-top: 20px;
	}
	#footer .link_box .sns_link {
		padding-top: 6px;
	}

	/*#footer .link_box .id_link ul li a{*/
	/*	font-size:  var(--f-17);*/
	/*	padding: 0 0 0 22px;*/
	/*	background-size: 18px auto;*/
	/*}*/

	#footer .company_info{
		height: 140px;
		font-size:  var(--f-17);
	}

	#footer .company_info .left{
		gap: 5px;
	}

	#footer .company_info .right{
		gap: 10px;
	}

	#footer .copy{
		height: 50px;
	}
}

/* Mobile styles (max-width: 720px) */
@media(max-width:720px){
	.pc_icon_img {display: none;}
	.mo_icon_img {display: block;}
	#footer{
		border-width: 2px;
	}

	#footer::before{
		height: 2px;
		top: 15.83vw;
	}

	#footer::after{
		bottom: 10.6vw;
	}

	#footer .inner{
		padding: 0 4.17vw;
		margin: 0 auto 22%;
	}

	#footer .link_box{
		height: auto;
		flex-direction: column;
	}

	#footer .link_box .sns_link{
		padding-top: 0;
		height: 15.83vw;
		gap: 2.78vw;
		align-items: center;
		justify-content: center;
	}

	#footer .link_box .sns_link img{
		width: 10vw;
	}

	#footer .link_box .id_link {
		width: 100%;
		padding: 4.2vw 0;
	}

	#footer .link_box .id_link ul{
		gap: 4.51vw 0;
		flex-direction: row;
		flex-wrap: wrap;

	}

	#footer .link_box .id_link ul li {
		/*width: 33.3%;*/
		margin-right: 3.61vw;
		line-height: 0;
	}

	#footer .link_box .id_link ul li.idskin {
		margin-right: 40px;
	}

	#footer .link_box .id_link ul li:last-child {
		margin-right: 0;
	}

	#footer .link_box .id_link ul li a{
		/*padding: 0 0 0 6.5vw;*/
		/*font-size: 4.2vw;*/
		/*background-size: 5.2vw auto;*/
	}

	#footer .link_box .id_link ul li.exobalance img {
		width: 26.11vw;
	}

	#footer .link_box .id_link ul li.idclinic img {
		width: 19.86vw;
	}

	#footer .link_box .id_link ul li.iddental img {
		width: 20.28vw;
	}

	#footer .link_box .id_link ul li.idskin img {
		width: 23.06vw;
	}

	#footer .link_box .id_link ul li.idcosmetic img {
		width: 31.25vw;
	}


	#footer .company_info{
		height: auto;
		padding-bottom: 4.17vw;
		align-items: flex-start;
		flex-direction: column;
	}

	#footer .company_info .left{
		padding-top: 4vw;
		padding-bottom: 4.4vw;
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
	}

	#footer .company_info .left p{
		margin-right: 5.4vw;
	}

	#footer .company_info .left p:first-child{
		width: 100%;
		padding-bottom: 2.47vw;
		margin-right: 0;
	}

	#footer .company_info .left p span{
		margin-right: 4.03vw;
		font-size: 2.36vw;
		letter-spacing: -0.07vw;
	}

	#footer .company_info .left p b{
		font-size: 4.44vw;
		letter-spacing: -0.07vw;
	}

	#footer .company_info .left p strong{
		font-size: 2.64vw;
		letter-spacing: -0.07vw;
	}

	#footer .company_info .right{
		font-size: 2.36vw;
		letter-spacing: -0.07vw;
		gap: 3.7vw;
	}
	#footer .company_info .right .link li::after {
		width: 0.14vw;
		height: 2.22vw;
		margin: 0 2.08vw;
		vertical-align: -0.28vw;
	}
	#footer .company_info .right .link a {
		font-size: 2.36vw;
		letter-spacing: -0.07vw;
	}

	#footer .copy{
		height: 10.83vw;
		font-size: 2.78vw;
		letter-spacing: -0.07vw;
	}
}

/**** footer.css end ****/
