:root {
  --cobalt: #035aac;
  --deep: #08111f;
  --panel: rgba(255, 255, 255, 0.92);
  --border: rgba(10, 39, 74, 0.1);
  --shadow: 0 20px 42px rgba(5, 20, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  background: #f2f6fb;
  color: #132238;
}

body {
  line-height: 1.6;
}

.enjoy-hero {
  position: relative;
  padding: 92px 24px 60px;
  background: url('../images/church-bg.jpg') center / cover no-repeat;
  overflow: hidden;
}

.enjoy-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 14, 28, 0.55) 0%, rgba(6, 15, 30, 0.78) 100%);
}

.enjoy-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  color: #ffffff;
}

.enjoy-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.enjoy-eyebrow,
.enjoy-section-card__eyebrow,
.enjoy-section-heading__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8);
}

.enjoy-hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.enjoy-subcopy {
  margin: 0;
  width: min(620px, 100%);
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.9);
}

.enjoy-page {
  width: min(1100px, calc(100% - 32px));
  margin: -30px auto 64px;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
}

.enjoy-section-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.enjoy-section-heading {
  margin-bottom: 18px;
}

.enjoy-section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #10213d;
}

.enjoy-section-heading p {
  margin: 0;
}

.enjoy-section-card__eyebrow,
.enjoy-section-heading__eyebrow {
  color: var(--cobalt);
}

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

.event-poster-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(10, 39, 74, 0.08);
  box-shadow: 0 14px 30px rgba(10, 39, 74, 0.08);
}

.event-poster-card__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.event-poster-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(3, 90, 172, 0.1) 0%, rgba(6, 17, 31, 0.08) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-poster-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-poster-card__placeholder {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #355c9f;
  font-size: 14px;
  font-weight: 700;
}

.event-poster-card__meta {
  display: grid;
  gap: 8px;
}

.event-poster-card__date {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--cobalt);
}

.event-poster-card__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #10213d;
}

.event-poster-card__description {
  margin: 0;
  color: #42556e;
  font-size: 15px;
  line-height: 1.65;
}

.event-poster-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.event-poster-card__hint {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(3, 90, 172, 0.08);
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 800;
}

.event-poster-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--cobalt);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.event-poster-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(3, 90, 172, 0.08) 0%, rgba(255, 255, 255, 0.9) 100%);
  color: #274873;
}

.event-poster-empty strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  color: #10213d;
}

.event-poster-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.event-poster-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.76);
}

.event-poster-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  margin: 12px auto;
  padding: 18px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 30px 56px rgba(0, 0, 0, 0.26);
}

.event-poster-modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(3, 90, 172, 0.08);
  color: var(--cobalt);
  font-size: 28px;
  cursor: pointer;
}

.event-poster-modal__head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.event-poster-modal__head h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  color: #10213d;
}

.event-poster-modal__date {
  margin: 0;
  color: var(--cobalt);
  font-size: 14px;
  font-weight: 800;
}

.event-poster-modal__figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #eef3f9;
}

.event-poster-modal__figure img {
  width: 100%;
  display: block;
}

.event-poster-modal__description {
  margin: 16px 0 0;
  color: #42556e;
}

.event-poster-modal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--cobalt);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 960px) {
  .enjoy-intro-card {
    grid-template-columns: 1fr;
  }

  .event-poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .enjoy-hero {
    padding: 80px 18px 52px;
  }

  .enjoy-page {
    width: min(100%, calc(100% - 18px));
    margin-top: -24px;
    margin-bottom: 42px;
  }

  .enjoy-section-card {
    padding: 20px;
    border-radius: 22px;
  }

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

  .event-poster-modal__dialog {
    width: min(100%, calc(100% - 12px));
    margin: 6px auto;
    padding: 14px;
    border-radius: 20px;
  }
}
