.event-page,
.event-page * {
  box-sizing: border-box;
}

.event-page {
  margin: 0;
  color: #46382d;
  background: #f7f2ea;
  font-family: "Noto Sans KR", "Pretendard", sans-serif;
}

.event-page button,
.event-page input,
.event-page textarea,
.event-page select {
  font: inherit;
}

.event-page a {
  color: inherit;
  text-decoration: none;
}

.event-landing {
  overflow: clip;
  background:
    radial-gradient(circle at 8% 12%, rgba(198, 163, 102, 0.1), transparent 24%),
    #f7f2ea;
}

.event-landing > .sub-hero,
.event-landing > .event-detail__section {
  display: none;
}

.event-landing__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.event-landing__intro {
  position: relative;
  padding: clamp(112px, 11vw, 176px) 0 clamp(72px, 8vw, 116px);
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(247, 242, 234, 0.94)),
    url("/images/events/event-title.png") center 44% / cover no-repeat;
}

.event-landing__intro::after {
  position: absolute;
  right: 50%;
  bottom: 32px;
  width: 1px;
  height: 34px;
  background: rgba(148, 111, 55, 0.45);
  content: "";
}

.event-landing__eyebrow {
  margin: 0 0 14px;
  color: #a47d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.event-landing__title {
  margin: 0;
  color: #493527;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.event-landing__description {
  margin: 20px auto 0;
  color: #6f6054;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.8;
}

.event-landing__section {
  padding: clamp(76px, 8vw, 124px) 0;
}

.event-landing__section--featured {
  background: #fbf8f3;
}

.event-landing__section--list {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 48%),
    #f2eadf;
}

.event-landing__section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(32px, 4vw, 54px);
}

.event-landing__section-heading h2,
.event-landing__contact h2 {
  margin: 0;
  color: #4c392b;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.045em;
}

.event-landing__section-heading > p,
.event-landing__contact > div > p:last-child {
  max-width: 430px;
  margin: 0;
  color: #76685d;
  font-size: 0.96rem;
  line-height: 1.75;
}

.event-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(164, 125, 63, 0.2);
  border-radius: 28px;
  background: #fffdf9;
  box-shadow: 0 24px 70px rgba(93, 67, 42, 0.08);
}

.event-featured__media,
.event-card__media {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e9ded0;
  cursor: pointer;
}

.event-featured__media {
  min-height: 570px;
}

.event-featured__image,
.event-card__image,
.event-media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-featured__image {
  object-position: center 30%;
  transition: transform 420ms ease;
}

.event-featured__media:hover .event-featured__image,
.event-card__media:hover .event-card__image {
  transform: scale(1.025);
}

.event-featured__content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 68px);
}

.event-featured__label {
  margin: 28px 0 10px;
  color: #a17a42;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-featured h3,
.event-card h3 {
  color: #49372b;
  font-family: Georgia, "Noto Serif KR", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.event-featured h3 {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  line-height: 1.24;
}

.event-featured__summary {
  margin: 22px 0 0;
  color: #6e5f53;
  font-size: 1rem;
  line-height: 1.8;
  white-space: pre-line;
}

.event-featured__period {
  margin: 24px 0 0;
  color: #9a7a4b;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}

.event-benefits {
  display: grid;
  gap: 11px;
  width: 100%;
  margin: 28px 0 0;
  padding: 24px 0;
  border-top: 1px solid rgba(164, 125, 63, 0.17);
  border-bottom: 1px solid rgba(164, 125, 63, 0.17);
  list-style: none;
}

.event-benefits li {
  position: relative;
  padding-left: 18px;
  color: #59493d;
  font-size: 0.93rem;
  line-height: 1.55;
}

.event-benefits li::before {
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b38a4a;
  content: "";
}

.event-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 11px;
  border: 1px solid rgba(162, 126, 68, 0.26);
  border-radius: 999px;
  color: #80602e;
  background: #f6ecdc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.event-badge--ongoing {
  color: #765526;
  background: #f4e7d1;
}

.event-badge--always {
  color: #5d6d4d;
  background: #eef0e5;
}

.event-badge--limited {
  color: #8b543f;
  background: #f6e6df;
}

.event-badge--closed {
  color: #786f67;
  background: #ece8e4;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.event-button,
.event-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.event-button {
  min-width: 132px;
  padding: 12px 23px;
  border: 1px solid #826236;
  color: #fff;
  background: #826236;
  font-size: 0.88rem;
  font-weight: 700;
}

.event-button--secondary {
  color: #72552f;
  background: transparent;
}

.event-button:hover,
.event-button:focus-visible,
.event-text-button:hover,
.event-text-button:focus-visible {
  transform: translateY(-1px);
}

.event-button:not(.event-button--secondary):hover,
.event-button:not(.event-button--secondary):focus-visible {
  border-color: #6a4d29;
  background: #6a4d29;
}

.event-button--secondary:hover,
.event-button--secondary:focus-visible {
  background: #f4eadb;
}

.event-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(145, 108, 56, 0.16);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 16px 42px rgba(88, 64, 41, 0.055);
}

.event-card__media {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.event-card__image {
  object-position: center 28%;
  transition: transform 360ms ease;
}

.event-featured--firstVisit .event-featured__image,
.event-card--firstVisit .event-card__image {
  object-position: center 22%;
}

.event-card--onlyLifting .event-card__image {
  object-position: center 24%;
}

.event-card--prepaid .event-card__image {
  object-position: center 18%;
}

.event-card--referral .event-card__image {
  object-position: center 20%;
}

.event-card__content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 30px 28px;
}

.event-card h3 {
  margin: 22px 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  line-height: 1.35;
}

.event-card__content > p {
  margin: 0;
  color: #716258;
  font-size: 0.91rem;
  line-height: 1.7;
  white-space: pre-line;
}

.event-card .event-benefits {
  gap: 8px;
  margin-top: 20px;
  padding: 17px 0;
}

.event-card .event-benefits li {
  font-size: 0.82rem;
}

.event-card__period {
  margin-top: 16px;
  color: #9b7b4e;
  font-size: 0.76rem;
}

.event-card .event-actions {
  margin-top: auto;
  padding-top: 23px;
}

.event-text-button {
  min-height: 36px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid rgba(130, 98, 54, 0.5);
  border-radius: 0;
  color: #72552f;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
}

.event-text-button + .event-text-button {
  margin-left: 12px;
}

.event-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 54px;
  border: 1px solid rgba(145, 108, 56, 0.16);
  border-radius: 20px;
  color: #7b6b5e;
  background: rgba(255, 253, 249, 0.8);
  text-align: center;
}

.event-media-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  color: #a28458;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(226, 207, 178, 0.5)),
    #efe5d6;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.12em;
}

.event-featured__image.is-error,
.event-card__image.is-error {
  opacity: 0;
}

.event-landing__section--contact {
  padding: clamp(68px, 7vw, 96px) 0;
  background: #4d3b2e;
}

.event-landing__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.event-landing__contact h2 {
  color: #fffaf2;
}

.event-landing__contact > div > p:last-child {
  max-width: 680px;
  margin-top: 16px;
  color: rgba(255, 250, 242, 0.7);
}

.event-landing__contact .event-button {
  flex: 0 0 auto;
  border-color: #d2ad70;
  color: #49372b;
  background: #e4c38f;
}

.event-featured__media:focus-visible,
.event-card__media:focus-visible,
.event-button:focus-visible,
.event-text-button:focus-visible {
  outline: 2px solid #9b7236;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .event-featured {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 820px) {
  .event-landing__inner {
    width: min(100% - 36px, 680px);
  }

  .event-landing__section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .event-featured {
    grid-template-columns: 1fr;
  }

  .event-featured__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .event-featured__content {
    padding: 38px 34px 42px;
  }

  .event-card-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .event-landing__contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .event-landing__inner {
    width: calc(100% - 32px);
  }

  .event-landing__intro {
    padding: 92px 0 76px;
  }

  .event-landing__intro::after {
    bottom: 22px;
    height: 26px;
  }

  .event-landing__section {
    padding: 68px 0;
  }

  .event-featured,
  .event-card {
    border-radius: 18px;
  }

  .event-featured__media {
    aspect-ratio: 4 / 3;
  }

  .event-featured__content {
    padding: 30px 24px 34px;
  }

  .event-featured__label {
    margin-top: 22px;
  }

  .event-featured__summary {
    margin-top: 17px;
    font-size: 0.92rem;
  }

  .event-benefits {
    margin-top: 22px;
    padding: 19px 0;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .event-card__content {
    padding: 26px 22px 28px;
  }

  .event-card .event-actions {
    margin-top: 22px;
    padding-top: 0;
  }

  .event-actions {
    width: 100%;
  }

  .event-featured .event-button {
    flex: 1 1 120px;
  }

  .event-landing__section--contact {
    padding-bottom: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-featured__image,
  .event-card__image,
  .event-button,
  .event-text-button {
    transition: none;
  }
}

/* 메인 이벤트 섹션과 통일한 동적 이벤트 랜딩 */
.event-landing__inner {
  width: min(1320px, calc(100% - 48px));
}

.event-landing__intro {
  padding: 60px 0 56px;
}

.event-landing__intro::after {
  display: none;
}

.event-landing__title {
  font-size: clamp(46px, 3.2vw, 52px);
  line-height: 1.25;
}

.event-landing__description {
  margin-top: 18px;
  font-size: 15px;
}

.event-landing__section {
  padding: 72px 0;
}

.event-landing__section--featured {
  padding: 40px 0 32px;
}

.event-landing__section--list {
  padding: 32px 0 68px;
}

.event-landing__section-heading {
  margin-bottom: 32px;
}

.event-featured {
  grid-template-columns: minmax(0, 57fr) minmax(390px, 43fr);
  min-height: 0;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(87, 62, 38, 0.065);
}

.event-featured__media,
.event-card__media {
  position: relative;
}

.event-featured__media {
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.event-featured__media .event-badge,
.event-card__media .event-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
}

.event-featured__image,
.event-card__image {
  object-position: center;
}

.event-featured--onlyLifting .event-featured__image,
.event-card--onlyLifting .event-card__image {
  object-position: center 42%;
}

.event-featured--firstVisit .event-featured__image,
.event-card--firstVisit .event-card__image {
  object-position: center 45%;
}

.event-card--prepaid .event-card__image {
  object-position: center 48%;
}

.event-card--referral .event-card__image {
  object-position: center 42%;
}

.event-featured__content {
  padding: 44px 46px;
}

.event-featured__label,
.event-card__label {
  color: #9b7640;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.event-featured__label {
  margin: 0 0 13px;
}

.event-featured h3 {
  font-size: clamp(34px, 2.4vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.event-featured__summary {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.75;
}

.event-featured .event-benefits {
  margin-top: 24px;
  padding: 20px 0;
}

.event-featured__period {
  margin-top: 20px;
}

.event-featured .event-actions {
  margin-top: 24px;
}

.event-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.event-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(87, 62, 38, 0.055);
}

.event-card__media {
  flex: 0 0 auto;
  aspect-ratio: 3 / 2;
}

.event-card__content {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows:
    auto
    auto
    minmax(48px, auto)
    auto
    auto
    1fr
    auto;
  padding: 26px 24px 24px;
}

.event-card__label {
  margin: 0 0 10px;
}

.event-card h3 {
  min-height: 2.7em;
  margin: 0 0 18px;
  font-size: clamp(21px, 1.5vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.event-card__content > .event-card__summary {
  min-height: 48px;
  margin: 0 0 18px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-card .event-benefits {
  align-content: start;
  gap: 8px;
  margin: 0;
  padding: 17px 0;
}

.event-card .event-benefits li {
  color: #82602f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.event-card__period {
  display: none;
}

.event-card--prepaid .event-benefits li {
  display: none;
}

.event-card--prepaid .event-benefits::after {
  color: #82602f;
  content: "200만원 5% · 300만원 10% · 500만원 15%";
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  word-break: keep-all;
}

.event-card .event-actions {
  grid-row: 7;
  gap: 8px;
  width: 100%;
  margin-top: 0;
  padding-top: 24px;
}

.event-card .event-button {
  min-width: 0;
  min-height: 42px;
  flex: 1 1 120px;
  padding: 9px 14px;
  font-size: 13px;
}

.event-landing__section--upcoming {
  background: #f2eadf;
}

.event-closed summary {
  width: fit-content;
  margin: 0 auto;
  padding: 12px 24px;
  border: 1px solid rgba(130, 98, 54, 0.35);
  border-radius: 999px;
  color: #72552f;
  cursor: pointer;
  font-weight: 700;
}

.event-closed[open] summary {
  margin-bottom: 36px;
}

.event-card--status-closed .event-card__image {
  filter: saturate(0.28);
}

.event-landing__contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.event-landing__contact .event-button--secondary {
  color: #fffaf2;
  background: transparent;
}

@media (max-width: 1100px) {
  .event-featured {
    grid-template-columns: minmax(0, 56fr) minmax(360px, 44fr);
  }

  .event-featured__content {
    padding: 38px 36px;
  }
}

@media (min-width: 981px) and (max-width: 1439px) {
  .event-landing__section--list > .event-landing__inner {
    width: min(1180px, calc(100% - 48px));
  }

  .event-card-grid {
    gap: 24px;
  }
}

@media (max-width: 980px) {
  .event-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 820px) {
  .event-landing__inner {
    width: min(100% - 36px, 720px);
  }

  .event-featured {
    grid-template-columns: 1fr;
  }

  .event-featured__media {
    aspect-ratio: 3 / 2;
  }

  .event-featured__content {
    padding: 38px 34px 42px;
  }

  .event-landing__contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .event-landing__inner {
    width: calc(100% - 36px);
  }

  .event-landing__intro {
    padding: 40px 0;
  }

  .event-landing__title {
    font-size: clamp(31px, 8.6vw, 35px);
  }

  .event-landing__description {
    font-size: 14px;
  }

  .event-landing__section {
    padding: 56px 0;
  }

  .event-landing__section--featured {
    padding: 36px 0 28px;
  }

  .event-landing__section--list {
    padding: 28px 0 64px;
  }

  .event-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .event-featured__content {
    padding: 30px 24px 34px;
  }

  .event-featured__label {
    margin-top: 0;
  }

  .event-featured h3 {
    font-size: 30px;
  }

  .event-card__content {
    padding: 26px 24px 24px;
  }

  .event-card .event-actions {
    padding-top: 22px;
  }

  .event-landing__contact-actions {
    width: 100%;
  }

  .event-landing__contact-actions .event-button {
    flex: 1 1 100%;
  }
}
