.site-subpage { --wp--preset--spacing--10: 8px; --wp--preset--spacing--20: 16px; --wp--preset--spacing--30: 24px; --wp--preset--spacing--40: 32px; --wp--preset--spacing--50: 48px; --wp--preset--spacing--60: 64px; --wp--preset--spacing--70: 80px; padding-top: 93px; background: #fff; }
.site-subpage .site-header { background: #FFFFFF; backdrop-filter: none; }
.site-subpage .site-header::after { background: var(--line); }
.site-subpage .site-logo img { filter: none; }
.site-subpage .desktop-nav__top > a, .site-subpage .desktop-nav__top > button, .site-subpage .desktop-member { color: var(--ink); }
.site-subpage .menu-toggle span:not(.sr-only) { background: #222; }

.post-main, .archive-main { min-height: 68vh; background: #fff; }
.post-heading { width: calc(100% - 56px); margin: 0 auto; padding: 32px 0 47px; text-align: center; }
.post-category { display: inline-flex; align-items: center; min-height: 31px; padding: 0 12px; border: 1px solid #c9cbc7; color: #747570; font-size: 12px; }
.post-heading h1 { margin: 12px 0 1px; font-size: clamp(28px, 3vw, 43px); line-height: 1.125; letter-spacing: -.05em; word-break: keep-all; }
.post-summary { max-width: 760px; margin: 20px auto 0; color: #666862; font-size: 18px; line-height: 1.75; letter-spacing: -.03em; word-break: keep-all; }
.post-date { display: block; margin-top: 10px; color: #656660; font-size: 14px; font-weight: 400; line-height: 1.25; }
@media (min-width: 761px) {
  .post-heading h1 { max-width: 55%; margin-right: auto; margin-left: auto; }
}
.post-split-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; width: min(calc(100% - 56px), var(--max)); margin: 0 auto; align-items: start; }
.post-media-column { display: grid; gap: 18px; min-width: 0; }
.post-media-image, .post-media-video { display: block; width: 100%; overflow: hidden; background: #f1f2ef; }
.post-media-image { height: auto; object-fit: contain; }
.post-media-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.post-split-layout > .post-text-column { width: 100%; margin: 0; padding-bottom: 82px; }
.post-split-layout > .post-text-column > * { width: 100%; }
@media (min-width: 761px) {
  .post-split-layout > .post-text-column { transform: translateY(-6px); }
  .post-split-layout > .post-text-column > :is(figure, h2, h3, h4, p):empty { display: none; }
}
.member-account-card, .member-application-list { width: min(calc(100% - 56px), 760px); margin: 0 auto 90px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.member-account-card { display: grid; grid-template-columns: repeat(3, 1fr); }
.member-account-card > div { display: grid; gap: 9px; min-height: 130px; padding: 28px; border-right: 1px solid var(--line); align-content: center; }
.member-account-card > div:last-child { border-right: 0; }
.member-account-card span, .member-application-list span { color: #8e9499; font-size: 11px; font-weight: 700; }
.member-account-card strong { color: var(--ink); font-size: 17px; word-break: break-all; }
.member-application-list { padding: 0 28px; }
.member-application-list article { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 94px; border-top: 1px solid var(--line); }
.member-application-list article:first-child { border-top: 0; }
.member-application-list article div { display: grid; gap: 8px; }
.member-application-list strong { color: var(--ink); font-size: 15px; }
.member-application-list time { color: #8e9499; font-size: 12px; white-space: nowrap; }
.member-empty { margin: 0; padding: 60px 10px; color: #8e9499; text-align: center; }

.member-edit-card { width: min(calc(100% - 56px), 760px); margin: 0 auto 90px; padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.member-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.member-edit-form label, .member-edit-card label { display: grid; gap: 8px; color: #555852; font-size: 13px; font-weight: 700; }
.member-edit-card input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #d9dad5; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; outline: none; }
.member-edit-card input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(32, 32, 30, .08); }
.member-edit-card input[readonly] { background: #f4f4f1; color: #8e9499; }
.member-edit-message { margin: 0 0 22px; padding: 13px 15px; font-size: 13px; line-height: 1.55; }
.member-edit-message.is-error { border: 1px solid #e8c9c9; background: #fff7f7; color: #a13e3e; }
.member-edit-message.is-success { border: 1px solid #c8e2d0; background: #f4fbf6; color: #287c49; }
.member-edit-hint { margin: 22px 0 0; color: #8e9499; font-size: 12px; line-height: 1.65; }
.member-edit-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 28px; }
.member-edit-actions a, .member-edit-actions button { display: inline-flex; align-items: center; justify-content: center; min-width: 104px; min-height: 46px; padding: 0 18px; border: 1px solid #cfd0cc; background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.member-edit-actions button { border-color: var(--ink); background: var(--ink); color: #fff; }
.member-edit-actions a:hover, .member-edit-actions a:focus-visible { background: #f4f4f1; outline: none; }
.member-edit-actions button:hover, .member-edit-actions button:focus-visible { background: #3b3b37; outline: none; }

.post-content { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding-bottom: 82px; color: #666862; font-family: NanumSquare, "Noto Sans KR", sans-serif; font-size: 18px; font-weight: 400; line-height: 1.75; letter-spacing: -.03em; word-break: keep-all; }
.post-content > * { width: min(100%, 940px); margin-right: auto; margin-left: auto; }
.post-content p { margin-top: 0; margin-bottom: 1.15em; }
.post-content .post-body-text,
.post-content :is(h2, h3, h4)[style*="18px"][style*="NanumSquare"] {
  color: #666862 !important;
  font-family: NanumSquare, "Noto Sans KR", sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  letter-spacing: -.03em !important;
}
.post-content :where(p, li, blockquote) :where(span, br) {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}
.post-content h2, .post-content h3, .post-content h4 { margin: 1.7em auto .7em; color: var(--ink); line-height: 1.4; letter-spacing: -.035em; }
.post-content h2 { font-size: 30px; }
.post-content h3 { font-size: 25px; }
.post-content h4 { font-size: 21px; }
.post-content a { color: #285e9c; text-decoration: underline; text-underline-offset: 3px; }
.post-content img { width: auto; max-width: 100%; height: auto; margin-inline: auto; }
.post-content figure { width: 100%; margin: 20px 0 38px; }
.post-content figcaption { margin-top: 9px; color: #8b8b86; font-size: 12px; text-align: center; }
.post-content blockquote { margin: 32px auto; padding: 20px 26px; border-left: 4px solid #222; background: #f5f5f2; }
.post-content ul, .post-content ol { padding-left: 1.35em; }
.post-content iframe { display: block; width: min(100%, 960px); aspect-ratio: 16 / 9; height: auto; margin: 30px auto; border: 0; }

.post-footer-nav { display: grid; grid-template-columns: 1fr 1fr; width: min(calc(100% - 56px), 1100px); margin: 0 auto 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-footer-nav a { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 120px; padding: 18px 24px; }
.post-footer-nav a + a { border-left: 1px solid var(--line); text-align: right; }
.post-footer-thumb { display: block; width: 96px; height: 72px; object-fit: cover; background: #eff0ed; }
.post-footer-thumb--empty { border: 1px solid #e2e3df; }
.post-footer-copy { display: grid; min-width: 0; gap: 8px; }
.post-footer-nav span { color: #999; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.post-footer-nav strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.post-share-row { display: flex; justify-content: center; margin: -45px 0 65px; }
.post-share-row button { min-height: 43px; padding: 0 18px; border: 1px solid #cfd0cc; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 700; }

.archive-heading { width: min(calc(100% - 56px), 1240px); margin: 0 auto; padding: 41px 0 26px; }
.archive-heading span { color: #94958f; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.archive-heading h1 { margin: 10px 0 13px; font-size: clamp(36px, 4vw, 58px); letter-spacing: -.055em; }
.archive-heading p { max-width: 660px; margin: 0; color: #7f807a; line-height: 1.75; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; width: min(calc(100% - 56px), 1240px); margin: 0 auto 62px; }
.archive-card { min-width: 0; border: 1px solid var(--line); background: #fff; }
.archive-card > a { display: block; }
.archive-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.archive-card__placeholder { display: grid; place-items: center; aspect-ratio: 16 / 9; color: #8c8f91; background: #e9edef; font-size: 12px; letter-spacing: .16em; }
.archive-card__copy { min-height: 205px; padding: 24px; }
.archive-card__copy span { color: #7c8183; font-size: 11px; font-weight: 800; }
.archive-card h2 { margin: 10px 0; overflow: hidden; font-size: 19px; line-height: 1.5; letter-spacing: -.035em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.archive-card p { margin: 0; overflow: hidden; color: #858782; font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.archive-card time { display: block; margin-top: 19px; color: #aaa; font-size: 11px; }
.archive-pagination { display: flex; justify-content: center; gap: 8px; margin: 0 0 90px; }
.archive-pagination a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d7d8d3; }
.archive-pagination a.is-current { border-color: #222; background: #222; color: #fff; }
.archive-empty { width: min(calc(100% - 56px), 1240px); margin: 0 auto 100px; padding: 80px 20px; border: 1px solid var(--line); color: #888; text-align: center; }

.board-shell { width: min(calc(100% - 56px), 1240px); margin: 0 auto 66px; border-top: 2px solid #1c252c; border-bottom: 1px solid #cfd4d7; }
.board-head, .board-row > a { display: grid; grid-template-columns: 90px 236px minmax(0, 1fr) 130px; align-items: center; }
.board-head { min-height: 54px; border-bottom: 1px solid #cfd4d7; color: #798087; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-align: center; }
.board-head span:nth-child(3) { text-align: center; transform: translateX(15px); }
.board-row > a { min-height: 140px; border-bottom: 1px solid #e3e6e8; transition: background .16s ease; }
.board-row:last-child > a { border-bottom: 0; }
.board-row > a:hover, .board-row > a:focus-visible { background: #f6f8f8; outline: none; }
.board-number { color: #a0a6aa; text-align: center; font-size: 14px; }
.board-thumbnail { display: block; width: 201px; height: 119px; justify-self: center; overflow: hidden; border: 1px solid #e1e5e7; border-radius: 4px; background: #f0f2f3; }
.board-thumbnail img, .board-thumbnail i { display: block; width: 100%; height: 100%; }
.board-thumbnail img { object-fit: cover; }
.board-thumbnail i { background: linear-gradient(135deg, #f2f4f5, #e5e9eb); }
.board-title { display: grid; min-width: 0; gap: 7px; padding: 17px 25px 17px 0; }
.board-title strong { overflow: hidden; color: #20282e; font-size: 20px; line-height: 1.45; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.board-title small { overflow: hidden; color: #8a9196; font-size: 14px; font-weight: 400; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.board-row time { color: #8d9499; text-align: center; font-size: 14px; }

@media (max-width: 1280px) {
  .site-subpage { padding-top: 88px; }
  .site-subpage .site-header { background: #FFFFFF; }
  .site-subpage .site-logo img { filter: none; }
  .site-subpage .menu-toggle span:not(.sr-only) { background: #222; }
}

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

@media (max-width: 760px) {
  .site-subpage { --wp--preset--spacing--30: 20px; padding-top: 78px; }
  .post-heading { width: calc(100% - 40px); padding: 28px 0 14px; }
  .post-heading h1 { margin: 9px 0 0; font-size: 22px; line-height: 1.5; }
  .post-summary { margin-top: 14px; font-size: 15px; line-height: 1.7; }
  .post-content { width: calc(100% - 32px); padding-bottom: 58px; font-size: 15px; line-height: 1.7; letter-spacing: -.03em; word-break: normal; }
  .post-content .post-body-text,
  .post-content :is(h2, h3, h4)[style*="18px"][style*="NanumSquare"] { font-size: 15px !important; line-height: 1.7 !important; }
  .post-split-layout { grid-template-columns: 1fr; gap: 26px; width: calc(100% - 32px); }
  .post-split-layout > .post-text-column { padding-bottom: 58px; }
  .post-content p { margin-bottom: 1em; }
  .post-content figure { margin-top: 0; margin-bottom: 0; }
  .post-content h2 { font-size: 25px; }
  .post-content h3 { font-size: 22px; }
  .post-footer-nav { grid-template-columns: 1fr; width: calc(100% - 40px); margin-bottom: 70px; }
  .post-footer-nav a { grid-template-columns: 78px minmax(0, 1fr); gap: 13px; min-height: 100px; padding: 16px 14px; }
  .post-footer-thumb { width: 78px; height: 58px; }
  .post-footer-nav a + a { border-top: 1px solid var(--line); border-left: 0; text-align: left; }
  .post-share-row { margin-top: -35px; }
  .archive-heading { width: calc(100% - 40px); padding: 29px 0 25px; }
  .archive-heading h1 { font-size: 38px; }
  .archive-grid { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 22px; }
  .archive-card__copy { min-height: 190px; }
  .board-shell { width: calc(100% - 40px); margin-bottom: 48px; }
  .board-head { display: none; }
  .board-row > a { grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: auto auto; gap: 7px 13px; min-height: 108px; padding: 15px 3px; }
  .board-number { display: none; }
  .board-thumbnail { grid-column: 1; grid-row: 1 / span 2; width: 92px; height: 64px; align-self: start; justify-self: start; }
  .board-title { grid-column: 2; grid-row: 1; gap: 5px; padding: 0; }
  .board-title strong { padding-right: 2px; font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .board-title small { padding-right: 2px; font-size: 11px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
  .board-row time { grid-column: 2; grid-row: 2; align-self: start; justify-self: start; font-size: 10px; }
  .member-account-card, .member-application-list { width: calc(100% - 40px); margin-bottom: 60px; }
  .member-account-card { grid-template-columns: 1fr; }
  .member-account-card > div { min-height: 92px; padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .member-account-card > div:last-child { border-bottom: 0; }
  .member-application-list { padding: 0 18px; }
  .member-application-list article { align-items: flex-start; flex-direction: column; justify-content: center; gap: 9px; padding: 20px 0; }
  .member-edit-card { width: calc(100% - 40px); margin-bottom: 60px; padding: 22px 18px; }
  .member-edit-grid { grid-template-columns: 1fr; gap: 17px; }
  .member-edit-actions { margin-top: 24px; }
}
