/* 역할: 학회·행사 소개에서 실제 화면과 단계별 탐색을 하나의 섹션으로 묶습니다. */
.event-section {
  --event-surface: #e3efe7;
  --event-ink: #17372b;
  --event-rule: #a9c2b2;
  margin-block: clamp(42px, 6vw, 92px);
  padding: clamp(24px, 5vw, 64px);
  background: var(--event-surface);
  border-radius: 4px 40px 4px 4px;
  color: var(--event-ink);
}

.event-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
}

.event-section .event-kicker {
  margin: 0 0 14px;
  color: #355d49;
  font-weight: 700;
  font-size: .88rem;
}

.event-section h2 {
  margin: 0;
  color: var(--event-ink);
  font-size: clamp(1.85rem, 4.6vw, 3.55rem);
  line-height: 1.17;
  letter-spacing: -.055em;
  word-break: keep-all;
}

.event-section-intro p:not(.event-kicker) {
  max-width: 31ch;
  margin: 17px 0;
}

.event-reference {
  min-width: 0;
  margin: 0;
}

.event-reference > a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--event-rule);
  border-radius: 6px;
  background: white;
}

.event-reference img {
  display: block;
  width: 100%;
  height: auto;
}

.event-reference figcaption {
  margin-top: 8px;
  font-size: .78rem;
}

.event-steps {
  counter-reset: event-stage;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 198px), 1fr));
  gap: 0 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.event-steps li {
  min-width: 0;
  counter-increment: event-stage;
}

.event-steps a {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 7px;
  height: 100%;
  padding: 16px 4px 14px;
  border-top: 1px solid var(--event-rule, #a9c2b2);
  text-decoration: none;
  color: inherit;
}

.event-stage,
.event-detail {
  color: #355d49;
  font-size: .8rem;
  font-weight: 700;
}

ol.event-steps .event-stage::before {
  margin-right: 8px;
  content: counter(event-stage, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
}

.event-steps h3 {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.35;
  word-break: keep-all;
}

.event-steps p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
}

.event-steps a:hover .event-detail,
.event-steps a:focus-visible .event-detail {
  text-decoration: underline;
}

.event-detail-section .renew-feature-grid h3 {
  margin-top: 0;
}

@media (max-width: 660px) {
  .event-section { border-top-right-radius: 25px; }
  .event-section-intro { grid-template-columns: 1fr; }
  .event-steps { margin-top: 24px; }
}
