@charset "UTF-8";
/* HERSHE — 학술 및 대외활동 (Scholarly Activity) · KR · PC · Version 1 — 2026-11-20, from the client's reference picture.
   S01 cover (the Medical Team / Since 1992 cover, the same code) · S02 the board: category tabs + search, the latest post large, a 3 × 3 grid, page numbers.
   The posts come from the real board (/index.php/board/list/conference/13) — see the script in the HTML.
   No header menu, no consultation section, no footer (as the Medical Team and Since 1992 pages). Same type, colours and scroll motion as Main V7.
   Gowun Dodum (KR in the cover) · Pretendard (KR body/UI) · Cardo (EN, italics, numerals) · Noto Sans (tiny labels).
   This file is loaded by 0103.html, the top HTML of menu 13 in admin — it sits inside the CMS board page, so every rule here is kept
   inside #sa-page (.sa-page) and leaves the site header, footer, pop-ups and the rest of the CMS page as they are.
   The one rule outside it hides the board's own list that the CMS prints right after this piece (see "The board's own list" below). */

.sa-page {
  --ivory: #F4EFE7;
  --paper: #FAF8F4;
  --sand: #E9E2D8;
  --ink: #241A26;
  --muted: #6B6168;
  --purple: #471B56;
  --purple-2: #5B2C6E;
  --plum: #2A1031;
  --champ: #B79D74;
  --champ-l: #D6C29E;
  --on-dark: #F4EFE7;
  --line: rgba(36, 26, 38, .13);

  --serif: "Cardo", "Gowun Batang", "Times New Roman", serif;
  --sans: "Noto Sans", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --kr: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-slow: cubic-bezier(.6, .05, .2, 1);
}

/* ───────── Base (this page only — the box itself takes the place of the page's body) ───────── */
.sa-page {
  display: block; position: relative; margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--kr); font-size: 16px; line-height: 1.75; text-align: left;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* (:where() keeps these resets as weak as plain tag rules, so the page's own classes below still win over them) */
.sa-page, :where(.sa-page) *, :where(.sa-page) *::before, :where(.sa-page) *::after { box-sizing: border-box; }
:where(.sa-page) img, :where(.sa-page) svg { display: block; max-width: 100%; }
:where(.sa-page) img { height: auto; }
:where(.sa-page) a { color: inherit; text-decoration: none; }
:where(.sa-page) button, :where(.sa-page) input { font: inherit; color: inherit; }
:where(.sa-page) button { background: none; border: 0; padding: 0; cursor: pointer; }
:where(.sa-page) ul, :where(.sa-page) ol { list-style: none; margin: 0; padding: 0; }
:where(.sa-page) h1, :where(.sa-page) h2, :where(.sa-page) h3, :where(.sa-page) p { margin: 0; }
:where(.sa-page) :focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
:where(.sa-page) .sh :focus-visible { outline-color: var(--champ-l); }
:where(.sa-page) .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sa-wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ───────── The board's own list — the CMS prints it right after this piece (#subwrap: the old cards, page numbers and search box).
   Hidden while this page works; it shows again when the script could not run (.is-js is missing) or the board could not be read (.sa-fail).
   The admin's 글쓰기 / write buttons (#noticebt) stay, for whoever is signed in as admin. ───────── */
#sa-page.is-js:not(.sa-fail):not(.is-view) ~ #subwrap { padding: 0 !important; background: #FAF8F4; }
#sa-page.is-js:not(.sa-fail):not(.is-view) ~ #subwrap > :not(#noticebt) { display: none !important; }
/* the admin buttons' box is empty for visitors (only its padding showed, as a white strip): hidden while it has no button (client, 2026-11-20) */
#sa-page.is-js:not(.sa-fail):not(.is-view) ~ #subwrap #noticebt:not(:has(li)) { display: none !important; }
#sa-page.is-js:not(.sa-fail):not(.is-view) ~ .Mobile_news { display: none !important; }
/* #maindb — the old footer form's empty box, which the CMS CSS still draws as a 215px purple band above the site footer: hidden here while it is empty
   (client, 2026-11-20; the element stays, the template's script still uses its id). The other pages have the same band — that is style_common.css. */
#sa-page ~ #maindb:empty { display: none !important; }

/* Quiet underlined link (as Main V7) */
:where(.sa-page) .more {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 13px/1.5 var(--kr); letter-spacing: .02em; color: var(--purple);
  padding: 3px 0 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
:where(.sa-page) .more .arr { font-family: var(--serif); font-size: 1.05em; transition: transform .5s var(--ease); }

/* ───────── Scroll motion — the same as Main V7: slow fade + rise, played again on every entry (down or up) ───────── */
.sa-page.is-js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.sa-page.is-js .rv.is-in { opacity: 1; transform: none; }
.sa-page.is-js .rv-img { opacity: 0; transition: opacity 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.sa-page.is-js .rv-img img { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.sa-page.is-js .rv-img.is-in { opacity: 1; }
.sa-page.is-js .rv-img.is-in img { transform: none; }
.sa-page.is-js .rv.rv-up:not(.is-in) { transform: translateY(-22px); }
.sa-page.is-js .rv-off, .sa-page.is-js .rv-off *, .sa-page.is-js .rv-img.rv-off img { transition: none !important; }

/* ───────── S01 · Cover — the Medical Team / Since 1992 cover (the same rules, only the class name and photo differ):
   left — kicker · a large two-line upright title (Scholarly / Activity) · Korean title; right, at the bottom — a hairline, one line of text, a catchphrase.
   HEIGHT as the Medical Team cover: a little shorter than the screen (about 120px of the next section shows), never taller than about 2 : 1, never under 480px. ───────── */
.sh {
  position: relative; isolation: isolate; overflow: hidden;
  height: max(480px, min(calc(100vh - 120px), 52vw));
  height: max(480px, min(calc(100svh - 120px), 52vw));
  background: #1B0E1E; color: var(--on-dark);
}
.sh__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.sh__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 62% 40%; filter: saturate(.62); }
/* the cover's plum shade: light at the top, darker at the bottom, a little more on the left behind the title, and soft at the bottom right behind the text */
.sh__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(42% 52% at 88% 88%, rgba(27, 14, 30, .5) 0%, rgba(27, 14, 30, 0) 100%),
    linear-gradient(180deg, rgba(27, 14, 30, .28) 0%, rgba(27, 14, 30, .08) 34%, rgba(27, 14, 30, .62) 100%),
    linear-gradient(90deg, rgba(27, 14, 30, .56) 0%, rgba(27, 14, 30, .18) 48%, rgba(27, 14, 30, .04) 70%);
}
/* the two blocks sit along the bottom: the title block left, the text + catchphrase right (their bottoms line up) */
.sh__in {
  position: absolute; left: clamp(24px, 5.85vw, 118px); right: clamp(24px, 7.2vw, 146px); bottom: clamp(30px, 4.4vw, 92px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px;
}
.sh__k { font: 500 clamp(9.5px, .68vw, 13px)/1.5 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--champ-l); }
.sh__title {
  margin-top: clamp(20px, 1.8vw, 34px);
  font-family: var(--serif); font-style: normal; font-weight: 400; font-size: clamp(60px, min(8.6vw, 17vh), 176px); line-height: .96; letter-spacing: -.012em; color: #F6F0E8;
}
.sh__title .ln { display: block; overflow: hidden; padding: .05em .1em .14em; margin: -.05em -.1em -.14em; }   /* the edge each line rises from (room kept for the letters) */
.sh__title .ln > span { display: block; }
.sh__ko { margin-top: clamp(14px, 1.5vw, 28px); font-family: "Gowun Dodum", var(--kr); font-weight: 400; font-size: clamp(17px, 1.5vw, 30px); line-height: 1.4; letter-spacing: .08em; color: rgba(246, 240, 232, .9); }
.sh__aside { position: relative; padding: 4px 0 4px clamp(22px, 1.7vw, 34px); max-width: 400px; }
.sh__aside::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(214, 194, 158, .5); }
.sh__lead { font-family: "Gowun Dodum", var(--kr); font-size: clamp(13.5px, 1vw, 19px); line-height: 2; letter-spacing: .02em; color: rgba(246, 240, 232, .86); }
.sh__cc { margin-top: clamp(16px, 1.5vw, 30px); font-family: var(--serif); font-style: italic; font-size: clamp(15px, 1.2vw, 23px); line-height: 1.4; color: rgba(244, 239, 231, .72); }
/* the entrance — the same as the Medical Team cover (about 1.8s): pieces come in from a soft blur while drifting up a little;
   the kicker's tracking settles; each title line rises from behind its hidden edge, soft to sharp; the right block's hairline draws down. */
.sh { --el: cubic-bezier(.22, 1, .36, 1); }
.sa-page.is-js .sh .rv { transform: translateY(16px); filter: blur(6px); transition: opacity .9s var(--el), transform 1.1s var(--el), filter 1s var(--el); transition-delay: var(--d, 0ms); }
.sa-page.is-js .sh .rv.is-in { transform: none; filter: blur(0); }
.sa-page.is-js .sh .sh__k.rv { letter-spacing: .62em; transition: opacity .9s var(--el), transform 1.1s var(--el), filter 1s var(--el), letter-spacing 1.4s var(--el); transition-delay: var(--d, 0ms); }
.sa-page.is-js .sh .sh__k.rv.is-in { letter-spacing: .32em; }
.sa-page.is-js .sh .sh__title .rv { transform: translateY(102%); filter: blur(4px); transition: opacity .8s var(--el), transform 1.15s var(--el), filter 1s var(--el); transition-delay: var(--d, 0ms); }
.sa-page.is-js .sh .sh__title .rv.is-in { transform: none; filter: blur(0); }
.sa-page.is-js .sh__aside::before { transform: scaleY(0); transform-origin: 50% 0; transition: transform 1s var(--el) var(--d, 0ms); }
.sa-page.is-js .sh__aside.is-in::before { transform: none; }
.sa-page.is-js .sh .rv-img { transition-duration: 1s; }
/* the photo: fades in, then slowly zooms in while the cover is showing (10% over 24s, from .9s after it appears) */
.sa-page.is-js .sh .rv-img img { transform: none; transition: none; }
.sa-page.is-js .sh .rv-img.is-in img { animation: sh-zoom 24s cubic-bezier(.33, 0, .3, 1) .9s both; }
@keyframes sh-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
/* scrolling down to the board, the cover fades into the page colour and its text lifts a little; scrolling back up brings it back (client, 2026-11-20).
   --sp (0 → 1) is set by the script from how far the cover has moved up. */
.sa-page.is-js .sh { opacity: calc(1 - var(--sp, 0)); }
.sa-page.is-js .sh__in { transform: translateY(calc(var(--sp, 0) * -60px)); }

/* ───────── S02 · The board — client reference picture (2026-11-20): tabs + search on one line over a hairline,
   the newest post large (photo left, text right), then three cards a row, then the page numbers. White cards on the paper colour. ───────── */
.sa { padding: clamp(64px, 6.2vw, 104px) 0 clamp(88px, 8vw, 136px); }

/* tabs + search */
.sa__bar {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;   /* room for the site header when the page numbers scroll back up here */
}
.sa__tabs { display: flex; flex-wrap: wrap; gap: 6px clamp(18px, 2.2vw, 34px); }
.sa__tab {
  position: relative; padding: 6px 0 8px;
  font: 400 13.5px/1.4 var(--kr); letter-spacing: .02em; color: var(--muted);
  transition: color .3s var(--ease);
}
.sa__tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 1px; background: var(--purple);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.sa__tab:hover { color: var(--ink); }
.sa__tab.is-on { color: var(--purple); font-weight: 600; }
.sa__tab.is-on::after { transform: none; }

.sa__search { position: relative; flex: 0 0 auto; width: min(100%, 250px); margin-bottom: 4px; }
.sa__search input {
  width: 100%; padding: 6px 30px 7px 0; border: 0; border-bottom: 1px solid rgba(71, 27, 86, .35); border-radius: 0; background: transparent;
  font-size: 13px; line-height: 1.5; letter-spacing: .01em; color: var(--ink);
  -webkit-appearance: none; appearance: none; transition: border-color .3s var(--ease);
}
.sa__search input::placeholder { color: #9B9199; }
.sa__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sa__search input:focus { outline: none; border-bottom-color: var(--purple); }
.sa__search button { position: absolute; right: 0; bottom: 6px; width: 24px; height: 24px; display: grid; place-items: center; color: var(--purple); }
.sa__search svg { width: 15px; height: 15px; }

/* the result line (only while a tab or a search is on) */
.sa__status { min-height: 1px; margin-top: 22px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.sa__status:empty { margin-top: 0; }
.sa__status b { font-weight: 600; color: var(--purple); }
.sa__status .n { font-family: var(--serif); font-size: 15px; color: var(--purple); }
.sa__status .more { margin-left: 10px; }
.sa__reset { margin-left: 12px; padding-bottom: 1px; font-size: 12.5px; color: var(--purple); border-bottom: 1px solid currentColor; }

/* the newest post, large */
.sa__feat { margin-top: clamp(40px, 3.6vw, 56px); }
.sa__feat[hidden] { display: none; }
.sa__fcard {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(36, 26, 38, .04), 0 26px 50px -30px rgba(42, 16, 49, .32);
  transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}
.sa__fimg { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.sa__fbody { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 3.4vw, 56px) clamp(28px, 3.4vw, 56px); }
.sa__fk { font: 500 10px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--champ); }
.sa__fk .c { letter-spacing: .14em; }
.sa__ft { margin-top: 20px; font-weight: 400; font-size: clamp(21px, 1.85vw, 28px); line-height: 1.55; letter-spacing: -.01em; color: var(--purple); }
.sa__fx { margin-top: 18px; font-size: 13.5px; line-height: 1.95; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sa__fd { margin-top: 20px; font-family: var(--serif); font-size: 13px; letter-spacing: .14em; color: var(--champ); }
.sa__fbody .more { margin-top: 26px; align-self: flex-start; }
.sa__fcard:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(36, 26, 38, .04), 0 34px 60px -30px rgba(42, 16, 49, .4); }
.sa__fcard:hover .more { background-size: 30% 1px; }
.sa__fcard:hover .more .arr { transform: translateX(5px); }

/* the grid */
.sa__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2vw, 28px); margin-top: clamp(40px, 3.6vw, 56px); }
.sa__card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(36, 26, 38, .04), 0 20px 40px -28px rgba(42, 16, 49, .3);
  transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}
.sa__img { position: relative; display: block; aspect-ratio: 25 / 16; overflow: hidden; background: var(--sand); }
.sa__body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 0; }
.sa__cat { font: 500 10px/1.5 var(--sans); letter-spacing: .16em; color: var(--champ); }
.sa__t {
  margin-top: 10px; min-height: calc(2 * 1.7em);
  font-size: 15px; font-weight: 400; line-height: 1.7; letter-spacing: -.005em; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .4s var(--ease);
}
.sa__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 14px 0 18px; border-top: 1px solid var(--line); }
.sa__d { font-family: var(--serif); font-size: 13px; letter-spacing: .08em; color: #9B9199; }
.sa__arr { font-family: var(--serif); font-size: 15px; color: var(--purple); transition: transform .5s var(--ease); }
.sa__card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(36, 26, 38, .04), 0 28px 50px -28px rgba(42, 16, 49, .38); }
.sa__card:hover .sa__t { color: var(--purple); }
.sa__card:hover .sa__arr { transform: translateX(5px); }

/* photos in the cards: cover the frame and zoom a little on hover; a certificate or poster (an upright picture) is shown whole on the sand colour */
.sa__fimg img, .sa__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sa__fcard:hover .sa__fimg img, .sa__card:hover .sa__img img { transform: scale(1.04); }
:where(.sa-page) .is-doc img { object-fit: contain; padding: 14px 0; filter: drop-shadow(0 8px 14px rgba(42, 16, 49, .16)); }
.sa__fcard:hover .is-doc img, .sa__card:hover .is-doc img { transform: scale(1.02); }
/* no photo in the post: a quiet HERSHE mark */
.sa__ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #EFE9E0, var(--sand)); }
.sa__ph span { font-family: var(--serif); font-size: 15px; letter-spacing: .42em; padding-left: .42em; color: rgba(71, 27, 86, .34); }
.sa__ph span::after { content: "Since 1992"; display: block; margin-top: 6px; font-style: italic; font-size: 11px; letter-spacing: .12em; text-align: center; color: rgba(183, 157, 116, .8); }

/* while the posts are loading */
.sa__skel .sa__img, .sa__skel .sa__t, .sa__skel .sa__cat, .sa__skel .sa__d, .sa__skel .sa__fimg, .sa__skel .sa__ft {
  background: linear-gradient(90deg, #EFEAE3 0%, #F7F4EF 50%, #EFEAE3 100%) 0 0 / 200% 100%; animation: sa-shimmer 1.4s linear infinite; color: transparent;
}
.sa__skel .sa__cat { width: 64px; height: 11px; border-radius: 2px; }
.sa__skel .sa__t { border-radius: 2px; }
.sa__skel .sa__d { width: 52px; height: 12px; border-radius: 2px; }
.sa__skel .sa__card { pointer-events: none; }
@keyframes sa-shimmer { to { background-position: -200% 0; } }

/* nothing found */
.sa__empty { grid-column: 1 / -1; padding: 72px 0 40px; text-align: center; font-size: 14px; color: var(--muted); }
.sa__empty em { display: block; margin-bottom: 10px; font-family: var(--serif); font-size: 20px; color: var(--purple); }

/* page numbers */
.sa__pager { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(56px, 5vw, 80px); }
.sa__pager:empty { display: none; }
.sa__pg {
  position: relative; min-width: 22px; padding: 4px 2px 6px;
  font-family: var(--serif); font-size: 15px; line-height: 1; color: var(--muted); text-align: center;
  transition: color .3s var(--ease);
}
.sa__pg::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 0; height: 1px; background: var(--purple); transform: scaleX(0); transition: transform .4s var(--ease); }
.sa__pg:hover { color: var(--purple); }
.sa__pg[aria-current="page"] { color: var(--purple); }
.sa__pg[aria-current="page"]::after { transform: none; }
.sa__pg[disabled] { opacity: .3; cursor: default; }
.sa__pg--arr { font-size: 17px; }
.sa__pg--arr:hover:not([disabled]) { transform: translateX(var(--x, 0)); }
.sa__gap { font-family: var(--serif); font-size: 15px; color: #9B9199; }

.sa__nojs { margin-top: 48px; text-align: center; }

/* ───────── A post page (/index.php/board/view/conference/13/…, client 2026-11-20) — the CMS shows this same top HTML there too.
   #sa-page gets .is-view: the cover is shorter, the tabs / cards / page numbers are left out, and the real post the CMS prints under this piece
   (#subwrap: table.viewTable + the 수정 / 목록 buttons) is shown in this page's look — paper colour, one centred column, purple title, Cardo date,
   prev / next as quiet lines. The post's own text keeps its sizes and bold from the editor; only its font is set to Pretendard.
   (These rules sit outside #sa-page, so the colours are written out instead of the page's variables.) ───────── */
#sa-page.is-view .sh { height: max(380px, min(calc(64vh - 40px), 36vw)); }
#sa-page.is-view .sh__title { font-size: clamp(48px, min(6.4vw, 12vh), 128px); }
#sa-page.is-view .sa { display: none; }

#sa-page.is-view ~ #subwrap {
  width: auto; margin: 0; box-sizing: border-box;
  padding: clamp(64px, 6vw, 104px) max(20px, calc((100% - 860px) / 2)) clamp(88px, 8vw, 136px);
  background: #FAF8F4; color: #241A26; text-align: left;
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
#sa-page.is-view ~ #subwrap table.viewTable { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; }
#sa-page.is-view ~ #subwrap table.viewTable caption { display: none; }
#sa-page.is-view ~ #subwrap table.viewTable col.titleBox { width: 104px; }
#sa-page.is-view ~ #subwrap table.viewTable col.insertBox { width: auto; }
#sa-page.is-view ~ #subwrap table.viewTable td { border: 0; }
/* title + date, centred over a hairline */
#sa-page.is-view ~ #subwrap table.viewTable tbody tr:first-child td { padding: 0 0 clamp(28px, 3vw, 40px); border-bottom: 1px solid rgba(36, 26, 38, .13); text-align: center; }
#sa-page.is-view ~ #subwrap table.viewTable tbody p.title {
  float: none; width: auto; margin: 0; padding: 0;
  font-family: inherit; font-weight: 400; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.5; letter-spacing: -.01em; color: #471B56;
}
#sa-page.is-view ~ #subwrap table.viewTable tbody p.day {
  float: none; width: auto; margin: 18px 0 0; padding: 0; text-align: center;
  font-family: "Cardo", "Times New Roman", serif; font-size: 14px; line-height: 1.5; letter-spacing: .14em; color: #B79D74;
}
#sa-page.is-view ~ #subwrap table.viewTable tbody p.day span {
  float: none; margin-left: 14px; padding: 0;
  font-family: "Noto Sans", "Pretendard Variable", Pretendard, sans-serif; font-size: 11px; letter-spacing: .06em; color: #9B9199;
}
/* the post itself */
#sa-page.is-view ~ #subwrap table.viewTable tbody td.contents {
  padding: clamp(40px, 4vw, 64px) 0; border-bottom: 1px solid rgba(36, 26, 38, .13);
  font-family: inherit; font-size: 15px; line-height: 1.9; color: #463C48;
}
#sa-page.is-view ~ #subwrap td.contents, #sa-page.is-view ~ #subwrap td.contents :is(p, span, font, div, b, strong, em, li, td) { font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif !important; }
#sa-page.is-view ~ #subwrap td.contents img { max-width: 100% !important; height: auto !important; border-radius: 4px; }
#sa-page.is-view ~ #subwrap td.contents iframe { max-width: 100%; }
/* previous / next post */
#sa-page.is-view ~ #subwrap table.viewTable tfoot { border: 0; font-family: inherit; font-size: 14px; }
#sa-page.is-view ~ #subwrap table.viewTable tfoot td { padding: 18px 0; border: 0 !important; border-bottom: 1px solid rgba(36, 26, 38, .13) !important; vertical-align: middle; }
#sa-page.is-view ~ #subwrap table.viewTable tfoot td.title { font-family: "Noto Sans", "Pretendard Variable", Pretendard, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .2em; color: #B79D74; white-space: nowrap; }
#sa-page.is-view ~ #subwrap table.viewTable tfoot td img { display: none; }
#sa-page.is-view ~ #subwrap table.viewTable tfoot td.subject { font-family: inherit; font-size: 14px; color: #9B9199; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sa-page.is-view ~ #subwrap table.viewTable tfoot td.subject a { color: #241A26; text-decoration: none; transition: color .3s; }
#sa-page.is-view ~ #subwrap table.viewTable tfoot td.subject a:hover { color: #471B56; }
/* 목록 (back to the list) as a quiet purple pill; 수정 as plain text */
#sa-page.is-view ~ #subwrap #noticebt { width: auto; padding: clamp(40px, 4vw, 56px) 0 0; overflow: visible; }
#sa-page.is-view ~ #subwrap #noticebt ul { display: flex; flex-direction: row-reverse; justify-content: center; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
#sa-page.is-view ~ #subwrap #noticebt ul li { float: none; margin: 0; }
#sa-page.is-view ~ #subwrap #noticebt ul li a {
  display: inline-block; width: auto; min-width: 140px; padding: 12px 28px; box-sizing: border-box;
  border: 1px solid rgba(71, 27, 86, .35); border-radius: 999px; background: transparent;
  font-family: inherit; font-size: 13px; line-height: 1.5; letter-spacing: .04em; color: #471B56; text-align: center; text-decoration: none;
  transition: background-color .3s, border-color .3s, color .3s;
}
#sa-page.is-view ~ #subwrap #noticebt ul li a:hover { background: #471B56; border-color: #471B56; color: #fff; }
#sa-page.is-view ~ #subwrap #noticebt ul li.bt2 a { min-width: 0; padding-inline: 6px; border-color: transparent; color: #9B9199; }
#sa-page.is-view ~ #subwrap #noticebt ul li.bt2 a:hover { background: transparent; border-color: transparent; color: #471B56; }

/* ───────── Tablet ───────── */
@media (max-width: 1023px) {
  .sa__bar { flex-direction: column; align-items: stretch; gap: 18px; }
  .sa__search { width: 100%; }
  .sa__tab::after { bottom: -1px; }
  .sa__bar { padding-bottom: 0; border-bottom: 0; }
  .sa__tabs { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
  .sa__fcard { grid-template-columns: minmax(0, 1fr); }
  .sa__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────── Phone ───────── */
@media (max-width: 760px) {
  .sh { height: max(460px, min(calc(100vh - 120px), 640px)); height: max(460px, min(calc(100svh - 120px), 640px)); }   /* (as the Medical Team cover on phones) */
  .sh__media img { object-position: 38% 50%; }
  .sh__in { grid-template-columns: minmax(0, 1fr); row-gap: 30px; bottom: 40px; }   /* the text + catchphrase go under the title on phones */
  .sa__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .sa__tabs::-webkit-scrollbar { display: none; }
  .sa__tab { flex: 0 0 auto; }
  .sa__grid { grid-template-columns: minmax(0, 1fr); }
  .sa__fbody { padding: 26px 22px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .sa-page.is-js .rv, .sa-page.is-js .rv-img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sa-page.is-js .rv-img img { transform: none !important; }
  .sa-page.is-js .sh .rv-img.is-in img { animation: none; }
  .sa-page.is-js .sh .rv { filter: none !important; }
  .sa-page.is-js .sh .sh__k.rv { letter-spacing: .32em; }
  .sa-page.is-js .sh__aside::before { transform: none; transition: none; }
  .sa__card, .sa__fcard, .sa__img img, .sa__fimg img { transition: none; }
  .sa__skel .sa__img, .sa__skel .sa__t, .sa__skel .sa__cat, .sa__skel .sa__d, .sa__skel .sa__fimg, .sa__skel .sa__ft { animation: none; }
}
