/* wowEduNews 가온쌤 알림장 — 2026-11-10
   방향: 학교 게시판 포스터처럼(남색 바탕·노랑 띠·비스듬히 붙인 오늘의 카드). 한 글꼴 Pretendard, 다섯 크기. */

:root {
	--navy: #1F2B4D;
	--navy-2: #2C3A63;
	--ink: #141B2E;
	--soft: #4A5573;
	--pale: #DCE3F2;
	--paper: #FFFFFF;
	--mist: #EEF1F7;
	--yellow: #FFC83D;
	--fs-s: 16px;
	--fs-m: 18px;
	--fs-l: clamp(20px, 1.6vw, 24px);
	--fs-xl: clamp(32px, 4.2vw, 60px);
	--fs-d: clamp(84px, 15vw, 240px);
	--m: clamp(16px, 2vw, 28px);
	--gap: clamp(96px, 12vw, 200px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

html { background: var(--navy); }
body { background: var(--paper); color: var(--ink); font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.wd-main > * { margin-block-start: 0 !important; }
:where(a):focus-visible, .wd-chip:focus-visible, .wd-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

/* ---------- 머리 막대 ---------- */
.wd-header { position: relative; z-index: 20; }
.wd-bar { background: var(--navy); color: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--m); }
.wd-bar__mark { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; font-weight: 800; font-size: var(--fs-l); letter-spacing: -0.02em; }
.wd-bar__mark img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.wd-nav { font-size: var(--fs-m); font-weight: 600; }
.wd-nav .wp-block-navigation__container { gap: 4px 28px; align-items: center; }
.wd-nav .wp-block-navigation-item__content { color: var(--paper); text-decoration: none; padding: 6px 0; }
.wd-nav .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.wd-nav .wd-nav__action .wp-block-navigation-item__content { background: var(--yellow); color: var(--ink); padding: 10px 18px; transition: transform .2s var(--ease); display: inline-block; }
.wd-nav .wd-nav__action .wp-block-navigation-item__content:hover { text-decoration: none; transform: translateY(-2px); }
.wd-nav .wp-block-navigation__responsive-container-open,
.wd-nav .wp-block-navigation__responsive-container-close { color: var(--paper); }
.wd-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--navy) !important; color: var(--paper) !important; padding: 24px var(--m); }
.wd-nav .is-menu-open .wp-block-navigation__container { gap: 20px; font-size: var(--fs-l); }

/* ---------- 첫 화면: 게시판 포스터 ---------- */
.wd-hero { position: relative; background: var(--navy); overflow-x: clip; }
.wd-hero__field { min-height: calc(76svh - 68px); padding: 11svh var(--m) 6svh; box-sizing: border-box; }
.wd-hero__title { margin: 0; color: var(--paper); font-size: var(--fs-d) !important; font-weight: 900; line-height: .86; letter-spacing: -0.045em; }
.wd-hero__band { position: relative; background: var(--yellow); color: var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 32px; min-height: 22svh; padding: 32px var(--m) 36px; box-sizing: border-box; }
.wd-hero__lede { margin: 0; max-width: 30ch; font-size: var(--fs-l); font-weight: 600; line-height: 1.45; }
.wd-today { margin: 0 !important; }
.wd-today__list { list-style: none; margin: 0; padding: 0; }
.wd-today__list > li { margin: 0; }
.wd-today__photo { position: absolute; z-index: 3; margin: 0 !important; width: 25vw; aspect-ratio: 1; right: calc(var(--m) + 380px); bottom: calc(100% - 7vw); transform: rotate(4deg); }
.wd-today__photo a { display: block; width: 100%; height: 100%; overflow: hidden; }
.wd-today__photo img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.wd-today__text { display: grid; gap: 18px; justify-items: start; }
.wd-today__title { margin: 0; font-size: var(--fs-l) !important; font-weight: 700; line-height: 1.38; letter-spacing: -0.02em; }
.wd-today__title a { color: var(--ink); text-decoration: none; }
.wd-today__title a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* 버튼: 네모, 한 가지 모양 */
.wd-btn, a.wd-btn, .wp-block-read-more.wd-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; font-size: var(--fs-m); font-weight: 700; text-decoration: none; border-radius: 0; transition: transform .2s var(--ease), background-color .2s; box-sizing: border-box; }
.wd-btn:hover { transform: translateY(-2px); }
.wd-btn:active { transform: translateY(1px); }
.wd-btn--navy { background: var(--navy); color: var(--paper) !important; }
.wd-btn--navy:hover { background: var(--ink); }
.wd-btn--yellow { background: var(--yellow); color: var(--ink) !important; }
.wd-btn--yellow:hover { background: var(--paper); }

/* ---------- 지난 알림: 한 크기로 줄 세운 목록 ---------- */
.wd-list { padding: var(--gap) var(--m) 0; }
.wd-list__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; margin: 0 0 40px; }
.wd-list__title { margin: 0 !important; font-size: var(--fs-xl) !important; line-height: 1.1; }
.wd-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--mist); color: var(--ink); font-size: var(--fs-s); font-weight: 700; text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.wd-chip:hover { background: var(--pale); transform: translateY(-2px); }
.wd-chip[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.wd-rows { margin: 0 !important; }
.wd-rows__list { list-style: none; margin: 0; padding: 0; }
.wd-rows__list > li { display: grid; grid-template-columns: 72px minmax(0, 1fr) 230px 96px; align-items: center; column-gap: 28px; margin: 0 calc(-1 * 14px) !important; padding: 12px 14px; transition: background-color .2s; }
.wd-rows__list > li:hover { background: var(--mist); }
.wd-rows__list > li.is-hidden { display: none; }
.wd-row__thumb { margin: 0 !important; width: 72px; height: 72px; }
.wd-row__thumb a, .wd-row__thumb img { display: block; width: 72px !important; height: 72px !important; object-fit: cover; }
.wd-row__title { margin: 0 !important; font-size: var(--fs-l) !important; font-weight: 600; line-height: 1.38; letter-spacing: -0.02em; }
.wd-row__title a { color: var(--ink); text-decoration: none; }
.wd-rows__list > li:hover .wd-row__title a { text-decoration: underline; text-underline-offset: 5px; }
.wd-row__cat, .wd-row__date { margin: 0 !important; font-size: var(--fs-m); color: var(--soft); }
.wd-row__cat a { color: var(--soft); text-decoration: none; }
.wd-row__cat a:hover { color: var(--ink); text-decoration: underline; }
.wd-row__date { text-align: right; font-variant-numeric: tabular-nums; }
.wd-rows__empty { font-size: var(--fs-l); color: var(--soft); padding: 24px 0; margin: 0; }
.wd-pager { margin-top: 40px !important; font-size: var(--fs-m); font-weight: 700; }
.wd-pager a { color: var(--navy); }

/* ---------- 가온쌤 소개: 남색 판 ---------- */
.wd-about { padding: var(--gap) var(--m) 0; }
.wd-about__panel { position: relative; overflow: hidden; background: var(--navy); color: var(--paper); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; min-height: 760px; padding: 56px; box-sizing: border-box; }
.wd-about__left { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.wd-about__title { margin: 0; color: var(--paper); font-size: var(--fs-xl); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
.wd-about__photo { margin: 0 0 calc(-56px - 7vw); width: min(34vw, 560px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 12px solid var(--yellow); box-sizing: border-box; }
.wd-about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.wd-about__photo.is-in img { transform: scale(1); }
.wd-about__right { display: flex; flex-direction: column; align-items: flex-start; gap: 56px; padding-top: 8px; max-width: 400px; justify-self: end; }
.wd-about__block h3 { margin: 0 0 12px; color: var(--paper); font-size: var(--fs-l); font-weight: 800; }
.wd-about__block p { margin: 0; color: var(--pale); font-size: var(--fs-m); line-height: 1.65; }

/* ---------- 한 단어가 버튼 ---------- */
.wd-cta-wrap { padding: var(--gap) 0 0; }
.wd-cta { position: relative; display: block; min-height: 60svh; background: var(--yellow); color: var(--ink); text-decoration: none; overflow: hidden; padding: var(--m); box-sizing: border-box; }
.wd-cta__lede { margin: 0; max-width: 30ch; font-size: var(--fs-l); font-weight: 600; line-height: 1.45; }
.wd-cta__arrow { position: absolute; top: var(--m); right: var(--m); width: 48px; height: 48px; transition: transform .25s var(--ease); }
.wd-cta__word { position: absolute; left: var(--m); bottom: 24px; margin: 0; color: inherit; font-size: var(--fs-d); font-weight: 900; line-height: .8; letter-spacing: -0.05em; white-space: nowrap; }
.wd-cta:hover, .wd-cta:focus-visible { background: var(--ink); color: var(--yellow); outline: none; }
.wd-cta:hover .wd-cta__arrow, .wd-cta:focus-visible .wd-cta__arrow { transform: translate(6px, -6px); }

/* ---------- 꼬리: 엽서 뒷면 ---------- */
.wd-footer { margin: 0 !important; }
.wd-foot { background: var(--navy); padding: clamp(80px, 9vw, 150px) var(--m) clamp(40px, 5vw, 64px); }
.wd-card { position: relative; max-width: 1180px; margin: 0 auto; background: var(--paper); color: var(--ink); }
.wd-card__scallops { position: absolute; left: 0; bottom: 100%; width: 100%; height: clamp(24px, 3.4vw, 50px); color: var(--paper); display: block; }
.wd-card__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; padding: 48px 56px 16px; }
.wd-card__sign { margin: 0 0 20px; font-size: var(--fs-xl); line-height: 1.1; letter-spacing: -0.03em; }
.wd-card__note p { margin: 0 0 12px; font-size: var(--fs-m); line-height: 1.65; max-width: 48ch; }
.wd-card__address { position: relative; padding-top: 8px; }
.wd-card__stamp { position: absolute; top: 0; right: 0; width: 88px; height: auto; border: 6px solid var(--yellow); transform: rotate(4deg); display: block; }
.wd-card__address ul { list-style: none; margin: 136px 0 0; padding: 0; }
.wd-card__address li { margin: 0 0 12px; font-size: var(--fs-m); font-weight: 600; }
.wd-card__address a { color: var(--ink); text-decoration: none; }
.wd-card__address a:hover { text-decoration: underline; text-underline-offset: 5px; }
.wd-card__imprint { margin: 0; padding: 20px 56px 32px; text-align: center; font-size: var(--fs-s); color: var(--soft); line-height: 1.55; }

/* ---------- 글 한 편 ---------- */
.wd-post__head { background: var(--navy); color: var(--paper); padding: clamp(64px, 8vw, 128px) var(--m) clamp(150px, 16vw, 250px); }
.wd-post__title { margin: 0 auto !important; max-width: 1180px; color: var(--paper); font-size: clamp(30px, 3.8vw, 56px) !important; line-height: 1.16; letter-spacing: -0.03em; }
.wd-post__meta { max-width: 1180px; margin: 28px auto 0 !important; gap: 6px 24px; color: var(--pale); font-size: var(--fs-m); }
.wd-post__meta > * { margin: 0 !important; }
.wd-post__meta a { color: var(--yellow); text-decoration: none; }
.wd-post__meta a:hover { text-decoration: underline; }
.wd-post__photo { max-width: 720px; margin: calc(-1 * clamp(110px, 12vw, 190px)) auto 0 !important; padding: 0 var(--m); position: relative; z-index: 2; }
.wd-post__photo img { width: 100%; height: auto; display: block; }
.wd-post__body { padding: 56px var(--m) 0; font-size: var(--fs-m); line-height: 1.8; }
.wd-post__body > * { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.wd-post__body h2 { margin-top: 2.6em; margin-bottom: .6em; font-size: var(--fs-l); line-height: 1.35; }
.wd-post__body h3 { margin-top: 2em; font-size: var(--fs-m); }
.wd-post__body a { color: var(--navy); text-underline-offset: 4px; }
.wd-post__body figure { margin-top: 2em; margin-bottom: 2em; }
.wd-post__body img { width: 100%; height: auto; }
.wd-post__body p[style*="font-size:13px"] { font-size: var(--fs-s) !important; color: var(--soft) !important; }
.wd-post__body ul, .wd-post__body ol { padding-left: 1.3em; }
.wd-post__nav { max-width: 720px; margin: 96px auto 0; padding: 0 var(--m); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wd-post__nav > * { margin: 0 !important; }
.wd-post__nav a { display: block; height: 100%; padding: 24px; background: var(--mist); color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.45; box-sizing: border-box; transition: background-color .2s, transform .2s var(--ease); }
.wd-post__nav a:hover { background: var(--pale); transform: translateY(-2px); }
.wd-post__next { text-align: right; }

/* ---------- 분류 모아 보기 ---------- */
.wd-arch-head { background: var(--navy); color: var(--paper); padding: clamp(64px, 8vw, 128px) var(--m) clamp(64px, 7vw, 110px); }
.wd-arch-head__title { margin: 0 !important; color: var(--paper); font-size: var(--fs-xl) !important; }
.wd-arch-head__desc, .wd-arch-head__lede { margin: 20px 0 0 !important; color: var(--pale); font-size: var(--fs-l); max-width: 40ch; }
.wd-list--archive { padding-top: clamp(72px, 8vw, 120px); }

/* ---------- 움직임 ---------- */
.js .wd-in { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0ms); }
.js .wd-in.is-in, .wd-all-in .wd-in { opacity: 1; transform: none; }
.js .wd-hero .wd-today__photo a { clip-path: inset(100% 0 0 0); }
.js .wd-hero .wd-today__photo img { transform: scale(1.12); }
.js .wd-hero.is-open .wd-today__photo a, .wd-all-in .wd-hero .wd-today__photo a { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.js .wd-hero.is-open .wd-today__photo img, .wd-all-in .wd-hero .wd-today__photo img { transform: scale(1); transition: transform 1.5s var(--ease); }
.wd-hero.is-open .wd-today__photo { animation: wd-drift 9s 1.6s ease-in-out infinite alternate; }
@keyframes wd-drift { from { transform: rotate(4deg) translateY(0); } to { transform: rotate(2.5deg) translateY(-12px); } }
.js .wd-hero__title .wd-line { display: inline-block; opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .wd-hero.is-open .wd-hero__title .wd-line, .wd-all-in .wd-hero__title .wd-line { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.js .wd-in, .js .wd-hero__title .wd-line { opacity: 1 !important; transform: none !important; transition: none !important; }
	.js .wd-hero .wd-today__photo a { clip-path: none !important; }
	.js .wd-hero .wd-today__photo img, .wd-about__photo img { transform: none !important; transition: none !important; }
	.wd-hero.is-open .wd-today__photo { animation: none; }
	.wd-btn, .wd-chip, .wd-post__nav a, .wd-cta__arrow { transition: none; }
}

/* ---------- 좁은 화면: 사진은 글자 아래로 ---------- */
@media (max-width: 1259px) {
	.wd-hero__field { min-height: 0; padding: 10svh var(--m) calc(36vw + 24px); }
	.wd-hero__band { grid-template-columns: 1fr; gap: 24px; padding-top: calc(20vw + 28px); }
	.wd-hero__lede { max-width: 34ch; }
	.wd-today__photo { width: 52vw; right: -5vw; bottom: calc(100% - 20vw); }
	.wd-today__text { max-width: 560px; }
}
@media (max-width: 900px) {
	.wd-about__panel { grid-template-columns: 1fr; min-height: 0; padding: 32px 24px 0; gap: 40px; }
	.wd-about__left { display: contents; }
	.wd-about__title { order: 1; }
	.wd-about__right { order: 2; justify-self: start; gap: 32px; max-width: none; }
	.wd-about__photo { order: 3; width: 86%; margin: 8px auto -22%; }
	.wd-card__body { grid-template-columns: 1fr; gap: 32px; padding: 36px 24px 8px; }
	.wd-card__address ul { margin-top: 0; }
	.wd-card__stamp { width: 64px; top: -8px; }
	.wd-card__imprint { padding: 16px 24px 28px; }
	.wd-post__nav { grid-template-columns: 1fr; }
	.wd-post__next { text-align: left; }
}
@media (max-width: 760px) {
	.wd-rows__list > li { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; padding: 10px 14px; }
	.wd-row__thumb { grid-row: 1 / span 2; width: 56px; height: 56px; }
	.wd-row__thumb a, .wd-row__thumb img { width: 56px !important; height: 56px !important; }
	.wd-row__title { grid-column: 2 / span 2; }
	.wd-row__cat { grid-column: 2; grid-row: 2; font-size: var(--fs-s); }
	.wd-row__date { grid-column: 3; grid-row: 2; font-size: var(--fs-s); }
	.wd-list__head { margin-bottom: 24px; }
	.wd-btn, .wp-block-read-more.wd-btn { width: 100%; justify-content: center; }
	.wd-about__right .wd-btn { width: 100%; }
	.wd-cta { min-height: 46svh; }
	.wd-cta__lede { max-width: 15em; font-size: var(--fs-m); padding-right: 48px; }
	.wd-cta__arrow { width: 32px; height: 32px; }
	.wd-cta__word { font-size: min(var(--fs-d), 17.5vw); }
	.wd-bar__mark span { font-size: 20px; }
}

/* ---------- 순위표: 옅은 바탕 위 큰 카드 두 장 ---------- */
.wd-rank { margin-top: var(--gap) !important; background: var(--mist); padding: clamp(80px, 9vw, 150px) var(--m); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.wd-rank__text { position: sticky; top: 32px; display: grid; gap: 28px; justify-items: start; }
.wd-rank__title { margin: 0 !important; font-size: var(--fs-xl) !important; line-height: 1.1; }
.wd-rank__lede { margin: 0; max-width: 34ch; font-size: var(--fs-l); line-height: 1.5; }
.wd-rank__posts { margin: 0 !important; }
.wd-rank__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: start; }
.wd-rank__list > li { margin: 0 !important; display: grid; gap: 14px; }
.wd-rank__list > li:nth-child(2) { margin-top: 38% !important; }
.wd-rank__photo { margin: 0 !important; aspect-ratio: 1; overflow: hidden; }
.wd-rank__photo a, .wd-rank__photo img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .6s var(--ease); }
.wd-rank__list > li:hover .wd-rank__photo img { transform: scale(1.03); }
.wd-rank__name { margin: 0 !important; font-size: var(--fs-m) !important; font-weight: 700; line-height: 1.45; }
.wd-rank__name a { color: var(--ink); text-decoration: none; }
.wd-rank__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wd-card__imprint { max-width: 60ch; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
	.wd-rank { grid-template-columns: 1fr; }
	.wd-rank__text { position: static; }
	.wd-rank__list > li:nth-child(2) { margin-top: 24% !important; }
}
@media (min-width: 1260px) {
	.wd-hero__field { min-height: calc(66svh - 76px); }
}
@media (min-width: 761px) and (max-width: 1259px) {
	.wd-today__photo { width: 42vw; }
	.wd-hero__field { padding-bottom: calc(26vw + 24px); }
	.wd-hero__band { padding-top: calc(18vw + 28px); }
}
@media (prefers-reduced-motion: reduce) { .wd-rank__photo img { transition: none; } }

/* ---------- 글 한 편: 제목 왼쪽, 카드 오른쪽 (11-10 2차) ---------- */
.wd-post__head { display: grid; grid-template-columns: minmax(0, 1fr) min(46vw, 660px); gap: clamp(32px, 4vw, 72px); align-items: center; padding: clamp(48px, 5vw, 88px) var(--m) clamp(48px, 5vw, 88px); }
.wd-post__headtext { min-width: 0; }
.wd-post__title { margin: 0 !important; max-width: none; font-size: clamp(28px, 2.8vw, 40px) !important; line-height: 1.2; }
.wd-post__meta { max-width: none; margin: 28px 0 0 !important; }
.wd-post__photo { max-width: none; margin: 0 !important; padding: 0; aspect-ratio: 1; }
.wd-post__photo img { width: 100%; height: 100% !important; object-fit: cover; }
.wd-post__body { padding-top: clamp(56px, 6vw, 96px); }
.wd-post__body p[style*="font-size:13px"], .wd-post__body p[style*="color:#888"] { font-size: var(--fs-s) !important; color: var(--soft) !important; }
.wd-post__body div[style*="FFF8E1" i], .wd-post__body div[style*="255, 248, 225"] { background: var(--mist) !important; border-radius: 0 !important; }
.wd-post__body p[style*="13px"] { font-size: var(--fs-s) !important; color: var(--soft) !important; }
@media (max-width: 999px) {
	.wd-post__head { grid-template-columns: 1fr; padding-bottom: 0; }
	.wd-post__photo { width: min(100%, 560px); margin: 8px 0 -48px !important; position: relative; z-index: 2; }
	.wd-post__body { padding-top: 88px; }
}
.wd-card__credits { padding-top: 0; }
.wd-card__credits a { color: var(--soft); }

/* ---------- 분류 머리: 왼쪽 이름, 오른쪽 최신 카드 (11-10 2차) ---------- */
.wd-arch-head { display: grid; grid-template-columns: minmax(0, 1fr) min(40vw, 600px); gap: clamp(32px, 4vw, 72px); align-items: center; padding: clamp(48px, 5vw, 88px) var(--m); }
.wd-arch-head__text { display: grid; gap: 24px; justify-items: start; }
.wd-arch-head__text > * { margin: 0 !important; }
.wd-arch-head__latest { margin: 0 !important; }
.wd-arch-head__list { list-style: none; margin: 0; padding: 0; }
.wd-arch-head__list > li { margin: 0; }
.wd-arch-head__photo { margin: 0 !important; aspect-ratio: 1; }
.wd-arch-head__photo a, .wd-arch-head__photo img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
@media (max-width: 999px) {
	.wd-arch-head { grid-template-columns: 1fr; }
	.wd-arch-head__latest { width: min(100%, 520px); }
}
/* inherit 쿼리는 개수 제한이 안 먹으므로 첫 카드만 보인다 */
.wd-arch-head__list > li:not(:first-child) { display: none !important; }
/* 분류 페이지: 글이 적으니 사진을 크게 */
@media (min-width: 1000px) { .wd-arch-head { grid-template-columns: minmax(0, 1fr) min(46vw, 680px); } }
.wd-list--archive .wd-rows__list > li { grid-template-columns: 140px minmax(0, 1fr) 230px 96px; }
.wd-list--archive .wd-row__thumb, .wd-list--archive .wd-row__thumb a, .wd-list--archive .wd-row__thumb img { width: 140px !important; height: 140px !important; }
@media (max-width: 760px) {
	.wd-list--archive .wd-rows__list > li { grid-template-columns: 96px minmax(0, 1fr) auto; }
	.wd-list--archive .wd-row__thumb, .wd-list--archive .wd-row__thumb a, .wd-list--archive .wd-row__thumb img { width: 96px !important; height: 96px !important; }
}
@media (max-width: 999px) { .wd-arch-head__latest { width: min(100%, 680px); } .wd-arch-head { padding-bottom: 48px; } }
@media (min-width: 761px) and (max-width: 999px) {
	.wd-list--archive .wd-rows__list > li { grid-template-columns: 140px minmax(0, 1fr) auto; grid-template-rows: auto auto; row-gap: 6px; }
	.wd-list--archive .wd-row__thumb { grid-row: 1 / span 2; }
	.wd-list--archive .wd-row__title { grid-column: 2 / span 2; align-self: end; }
	.wd-list--archive .wd-row__cat { grid-column: 2; grid-row: 2; align-self: start; }
	.wd-list--archive .wd-row__date { grid-column: 3; grid-row: 2; align-self: start; }
}
