/* =========================================================
   언론 보도 — 기사 카드(썸네일 · 언론사 · 날짜 · 제목). 2026-11-27
   - 메인 가운데: 최신 6건을 3×2 칸 + 「뉴스 더보기」 → 언론 보도 페이지(press.html)
   - 언론 보도 페이지: 모든 기사를 같은 카드로
   원본: v2/_src/press.css → press_update.py 가 각 버전 assets/css/press.css 로 복사
   색 · 크기는 그 사이트의 변수를 따른다(에스디피씨 어두운 · 에스디파마 밝은 둘 다 이 파일 하나). 변수가 없는 옛 버전용 기본값을 함께 둔다
   ========================================================= */
.press { padding: var(--section, 140px) 0; background: var(--bg, #fff); }
.press__more-wrap { margin-top: 56px; text-align: center; }
.press__more {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 32px;
  border-radius: var(--r-full, 999px); border: 1.5px solid var(--line, #e3e8f0); color: var(--ink, #142c49);
  font-weight: 700; text-decoration: none; transition: background .3s, color .3s, border-color .3s;
}
.press__more svg { width: 18px; height: 18px; }
.press__more:hover { background: var(--accent-bg, #e5121f); border-color: transparent; color: #fff; }
.press__more:focus-visible { outline: 2px solid var(--accent-2, #d1101b); outline-offset: 3px; }

.press__list--grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.press__list li { min-width: 0; }
.press__list a { display: flex; flex-direction: column; gap: 14px; height: 100%; color: inherit; text-decoration: none; border-radius: var(--r-md, 24px); }
.press__list a:focus-visible { outline: 2px solid var(--accent-2, #d1101b); outline-offset: 4px; }
.press__thumb {
  display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md, 24px); overflow: hidden;
  background: var(--bg-2, #f5f8fc); border: 1px solid var(--line, #e3e8f0);
}
.press__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease, ease); }
.press__list a:hover .press__thumb img { transform: scale(1.05); }
.press__meta { font-size: var(--fs-1, .875rem); color: var(--ink-3, #66788f); }
.press__meta b { margin-right: 8px; font-weight: 700; color: var(--accent-2, #d1101b); }
.press__title {
  font-size: var(--fs-3, 1.25rem); font-weight: 700; line-height: 1.45; letter-spacing: -.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.press__list a:hover .press__title { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1024px) {
  .press__list--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .press__list--grid { margin-top: 32px; grid-template-columns: 1fr; gap: 36px; }
  .press .press__list--grid li:nth-child(n+4) { display: none; }   /* 폰 메인은 3건만 — 나머지는 「뉴스 더보기」 */
  .press__more-wrap { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .press__thumb img { transition: none; }
}
