/* 외부 활동 (2026-10-03) */
.ev-main { max-width: 1040px; }
.ev-main > .breadcrumbs, .ev-main > .ev-header { max-width: none; margin-left: 0; margin-right: 0; }
.ev-header .article-deck { max-width: 680px; }
.ev-total { margin: 10px 0 0; color: #6F604B; font-size: .92rem; }
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 40px; }
.ev-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid #E8DCC8; border-radius: 999px; background: #fff; color: #2C2416; font-size: .92rem; font-weight: 600; text-decoration: none; }
.ev-chips a span { color: #6B4F0B; font-variant-numeric: tabular-nums; }
.ev-chips a:hover, .ev-chips a:focus-visible { border-color: #6B4F0B; }
.ev-section { margin: 0 0 56px; scroll-margin-top: 96px; }
.ev-section-head { padding-bottom: 14px; margin-bottom: 20px; border-bottom: 2px solid #2C2416; }
.ev-section-head h2 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.35; }
.ev-section-head p { margin: 0; max-width: 720px; color: #4A3F30; line-height: 1.7; }
.ev-section-head .ev-extra { margin-top: 8px; font-size: .92rem; }
.ev-section-head .ev-extra a { color: #6B4F0B; text-underline-offset: 3px; }
.ev-list { display: grid; gap: 18px; }
.ev-card { padding: 22px 24px; border: 1px solid #E8DCC8; border-radius: 12px; background: #fff; }
.ev-date { margin: 0 0 4px; color: #6B4F0B; font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ev-card h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.45; word-break: keep-all; }
.ev-role { margin: 0 0 10px; font-size: .92rem; color: #2C2416; }
.ev-role span { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 4px; background: #F5EDE0; color: #6B4F0B; font-size: .8rem; font-weight: 700; }
.ev-body { margin: 0; line-height: 1.75; color: #3A3124; word-break: keep-all; }
.ev-photos { display: grid; gap: 10px; margin-top: 16px; }
.ev-photos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ev-photos figure { margin: 0; }
.ev-photos a { display: block; overflow: hidden; border-radius: 8px; background: #F5EDE0; }
.ev-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ev-photos-1 img { aspect-ratio: auto; max-height: 520px; }
.ev-photos figcaption { margin-top: 6px; color: #6F604B; font-size: .84rem; }
.ev-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed #E8DCC8; list-style: none; }
.ev-links a { display: inline-flex; align-items: center; min-height: 32px; color: #6B4F0B; font-size: .9rem; font-weight: 600; text-underline-offset: 3px; }
.ev-links a span { margin-left: 6px; color: #8A7A63; font-weight: 400; font-variant-numeric: tabular-nums; }
.ev-after { margin: 8px 0 24px; padding: 22px 24px; border-radius: 12px; background: #F5EDE0; }
.ev-after p { margin: 0 0 12px; }
.ev-after .button { margin: 4px 6px 4px 0; }
@media (max-width: 760px) {
  /* 모바일 터치 영역 44px */
  .ev-links { gap: 0 14px; }
  .ev-links a { min-height: 44px; }
}
@media (max-width: 480px) {
  /* 좁은 화면에서는 아래 이동 버튼을 같은 폭으로 쌓는다 */
  .ev-after .button { display: flex; width: 100%; margin: 0 0 8px; box-sizing: border-box; justify-content: center; }
  .ev-after .button:last-child { margin-bottom: 0; }
}
/* 포스터가 있는 행사: 왼쪽 포스터, 오른쪽 설명 */
.ev-card.has-poster { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 24px; align-items: start; }
.ev-poster { margin: 0; }
.ev-poster a { display: block; overflow: hidden; border-radius: 8px; background: #F5EDE0; box-shadow: 0 1px 0 #E8DCC8; }
.ev-poster img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.ev-poster figcaption { margin-top: 6px; color: #6F604B; font-size: .8rem; line-height: 1.5; }
.ev-text { min-width: 0; }
/* 영상: 누르면 그 자리에서 재생 */
.ev-videos { display: grid; gap: 12px; margin-top: 16px; }
.ev-videos-1 { max-width: 560px; }
.ev-videos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ev-videos-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ev-videos figure { margin: 0; }
.ev-video { position: relative; display: block; overflow: hidden; border-radius: 8px; background: #2C2416; aspect-ratio: 16 / 9; }
.ev-video img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.ev-video:hover img, .ev-video:focus-visible img { transform: scale(1.02); opacity: .9; }
.ev-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(44,36,22,.82); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.ev-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.ev-video:focus-visible { outline: 2px solid #8B6914; outline-offset: 2px; }
.ev-iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; background: #000; }
.ev-videos figcaption { margin-top: 6px; color: #6F604B; font-size: .84rem; line-height: 1.5; }
@media (max-width: 800px) {
  .ev-card.has-poster { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px; }
  .ev-videos-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ev-card { padding: 18px 16px; }
  .ev-card.has-poster { grid-template-columns: 1fr; }
  .ev-poster { max-width: 260px; }
  .ev-videos-2, .ev-videos-3 { grid-template-columns: 1fr; }
  .ev-section-head h2 { font-size: 1.3rem; }
  .ev-photos-2 { grid-template-columns: 1fr; }
  .ev-chips { gap: 6px; margin-bottom: 28px; }
  .ev-chips a { font-size: .86rem; padding: 6px 12px; }
}
