/* Celebrations Calendar landing page */
.cc-page {
  --cc-bg: #f7f3eb;
  --cc-ink: #1c1814;
  --cc-muted: #6a6258;
  --cc-card: #ffffff;
  --cc-line: rgba(28, 24, 20, 0.08);
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--cc-ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(47, 111, 78, 0.09), transparent 55%),
    radial-gradient(800px 360px at 100% 0%, rgba(212, 175, 55, 0.12), transparent 50%),
    var(--cc-bg);
  overflow-x: hidden;
}

.cc-page h1,
.cc-page h2,
.cc-page h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.cc-wrap {
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.cc-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  min-height: min(52vh, 360px);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(120deg, rgba(18, 28, 22, 0.78), rgba(18, 28, 22, 0.35)),
    var(--cc-hero-image) center/cover no-repeat;
}

.cc-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(10, 14, 12, 0.55));
  z-index: -1;
}

.cc-hero__inner {
  padding: 1.6rem 0 1.85rem;
  width: 100%;
}

.cc-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
  font-size: 0.72rem;
  opacity: 0.92;
}

.cc-crumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.35rem;
  opacity: 0.65;
}

.cc-crumb a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc-accent, #d4af37);
}

.cc-hero__title {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.08;
  max-width: 14ch;
}

.cc-hero__lead {
  margin: 0 0 1.1rem;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.cc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cc-btn:hover { transform: translateY(-1px); }
.cc-btn--accent { background: var(--cc-accent, #d4af37); color: #1c1814; }
.cc-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.cc-btn--dark { background: var(--cc-primary, #2f6f4e); color: #fff; }

.cc-upcoming,
.cc-main {
  padding: 2rem 0 0.5rem;
}

.cc-head {
  margin-bottom: 1.15rem;
}

.cc-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3.8vw, 2.15rem);
  color: var(--cc-primary, #2f6f4e);
}

.cc-head p {
  margin: 0.35rem 0 0;
  color: var(--cc-muted);
  font-size: 0.92rem;
}

.cc-upcoming__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cc-month-nav {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.85rem;
  margin-bottom: 0.5rem;
  scrollbar-width: none;
}

.cc-month-nav::-webkit-scrollbar { display: none; }

.cc-month-nav a {
  flex: 0 0 auto;
  min-width: 2.75rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--cc-line);
  color: var(--cc-ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cc-month-nav a:hover {
  border-color: var(--cc-primary, #2f6f4e);
  color: var(--cc-primary, #2f6f4e);
}

.cc-month {
  padding: 1.15rem 0 1.5rem;
  scroll-margin-top: 7rem;
}

.cc-month h3 {
  margin: 0 0 0.85rem;
  font-size: 1.45rem;
  color: var(--cc-ink);
}

.cc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cc-card {
  display: flex;
  flex-direction: column;
  background: var(--cc-card);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--cc-line);
  box-shadow: 0 10px 28px rgba(28, 24, 20, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  min-width: 0;
}

.cc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(28, 24, 20, 0.1);
}

.cc-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ece7dd;
}

.cc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cc-card:hover .cc-card__media img {
  transform: scale(1.05);
}

.cc-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.8rem 0.9rem;
}

.cc-card__date {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cc-primary, #2f6f4e);
}

.cc-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.cc-card__cta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cc-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cc-help {
  margin: 1.5rem 0 2rem;
}

.cc-help__inner {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #1f5138, #2f6f4e 55%, #3d7f58);
  color: #fff;
  box-shadow: 0 18px 40px rgba(31, 81, 56, 0.28);
}

.cc-help__inner h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
}

.cc-help__inner p {
  margin: 0;
  opacity: 0.92;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 48ch;
}

.cc-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

@media (min-width: 640px) {
  .cc-upcoming__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
  }
}

@media (min-width: 980px) {
  .cc-wrap { width: min(1120px, calc(100% - 2rem)); }
  .cc-hero {
    min-height: 400px;
    align-items: center;
  }
  .cc-hero__inner {
    padding: 2.5rem 0;
    max-width: 560px;
  }
  .cc-upcoming__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .cc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }
  .cc-help__inner {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    padding: 1.75rem 1.85rem;
  }
}

@media (max-width: 639.98px) {
  .cc-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cc-hero__actions .cc-btn { width: 100%; }
}
