/* ==========================================================
   press.css : 언론 속의 메인 (/page/board/press.php)
========================================================== */
.mpr {
	--accent: #844ad7;
	--accent-soft: #f4effc;
	--ink: #121212;
	--text: #4b4b52;
	--muted: #8b8b94;
	--line: #e9e7ee;
	--soft: #f7f6f9;
	max-width: calc(var(--wrap, 1200px) + var(--gutter, 40px) * 2);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 88px) var(--gutter, 20px) clamp(64px, 8vw, 120px);
	box-sizing: border-box;
	color: var(--ink);
	font-family: 'Pretendard Variable', Pretendard, sans-serif;
	font-size: 16px; line-height: 1.6;
	word-break: keep-all;
}
.mpr :where(*, *:before, *:after) { box-sizing: border-box; }
.mpr :where(ol, ul) { margin: 0; padding: 0; list-style: none; }
.mpr :where(h1, h2, p) { margin: 0; }
.mpr :where(a) { color: inherit; text-decoration: none; }
.mpr button { font-family: inherit; cursor: pointer; }

.mpr-head { margin-bottom: clamp(32px, 4vw, 56px); text-align: center; }
.mpr-eyebrow { margin-bottom: 12px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.mpr-title { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; font-weight: 900; letter-spacing: -0.045em; }
.mpr-desc { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* 기사 목록 : 왼쪽 사진 / 오른쪽 기사 */
.mpr-list { border-top: 2px solid var(--ink); }
.mpr-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.mpr-item__media { align-self: start; position: sticky; top: 110px; }
.mpr-item__media > a { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); cursor: zoom-in; }
.mpr-item__media img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #fff; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mpr-item__media > a:hover img { transform: scale(1.03); }
.mpr-zoom { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(18, 18, 18, .72); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.mpr-item__media > a:hover .mpr-zoom, .mpr-item__media > a:focus-visible .mpr-zoom { opacity: 1; }
.mpr-item__noimg { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--soft); color: var(--muted); font-weight: 800; letter-spacing: .2em; }

.mpr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.mpr-media { padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; }
.mpr-item__title { margin-bottom: 20px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; font-weight: 800; letter-spacing: -.035em; }
.mpr-text { position: relative; color: var(--text); font-size: 16px; line-height: 1.85; }
.mpr-text p + p { margin-top: 14px; }
.mpr-text.is-clamped { max-height: 11.1em; overflow: hidden; }
.mpr-text.is-clamped::after { content: ""; position: absolute; inset: auto 0 0; height: 5em; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.mpr-text.is-open { max-height: none; }
.mpr-text.is-open::after { display: none; }

.mpr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mpr-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff !important; font-size: 14px; font-weight: 700; }
.mpr-btn svg { width: 14px; height: 14px; }
.mpr-btn--line { background: #fff; color: var(--ink) !important; border-color: var(--line); }
.mpr-btn--line:hover { border-color: var(--ink); }
.mpr-btn--admin { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent) !important; }

.mpr-empty { padding: 72px 20px; border-radius: 24px; background: var(--soft); text-align: center; color: var(--muted); }
.mpr-foot { position: relative; display: flex; justify-content: center; align-items: center; min-height: 52px; margin-top: clamp(40px, 5vw, 64px); }
.mpr-pages { display: flex; gap: 6px; }
.mpr-pages a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.mpr-pages a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.mpr-write { position: absolute; right: 0; top: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff !important; font-size: 15px; font-weight: 700; line-height: 1.2; }
.mpr-write small { font-size: 11px; font-weight: 400; opacity: .6; }

@media screen and (max-width: 767px) {
	.mpr-item { grid-template-columns: 1fr; gap: 18px; }
	.mpr-item__media { position: static; }
	.mpr-item__media img { max-height: 360px; }
	.mpr-zoom { opacity: 1; }
	.mpr-text { font-size: 15px; }
	.mpr-foot { flex-direction: column; gap: 16px; }
	.mpr-write { position: static; }
}
