/* Full updated index.css ensuring hero section text consistency and larger hero-venue font */

body {
  background-color: var(--color-bg);
}

.hero-wrapper.union-style {
  position: relative;
  min-height: 100vh;
  background: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1rem;
  padding: 2rem 1rem;
  overflow: hidden;
  text-align: center;
}

.hero-inner {
  margin-top: 5vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 800px;
}

.hero-text,
.hero-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.25;
}

.hero-text h1 {
  font-family: var(--font-primary);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

/* Ensure all hero sub-elements share consistent font and size */
.hero-text p,
#hero-subtitle,
#hero-joinus,
#hero-date,
#hero-time {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0.3rem 0;
  color: var(--color-text);
  text-align: center;
  line-height: 1.25;
}

#hero-venue {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0.3rem 0;
  color: var(--color-text);
  text-align: center;
  line-height: 1.25;
}

.hero-union-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary-dark);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  margin: 1.2rem 0;
}

body.post-ceremony .hero-union-img {
  border-radius: 0;
  content: url('/assets/images/p&e_home_image_post.jpg');
}

@media (min-width: 500px) {
  .hero-union-img,
  body.post-ceremony .hero-union-img {
    width: 500px;
    height: 500px;
    margin: 1.5rem 0;
  }

  .hero-text h1 {
    font-size: 3.2rem;
  }

  .hero-text p,
  #hero-subtitle,
  #hero-joinus,
  #hero-date,
  #hero-time {
    font-size: 1.5rem;
  }

  #hero-venue {
    font-size: 2.0rem;
  }
}

@media (min-width: 1024px) and (max-height: 820px) and (orientation: landscape) {
  .hero-union-img,
  body.post-ceremony .hero-union-img {
    width: 240px;
    height: 240px;
    margin: 1rem 0;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text p,
  #hero-subtitle,
  #hero-joinus,
  #hero-date,
  #hero-time {
    font-size: 1rem;
  }

  #hero-venue {
    font-size: 1.6rem;
  }
}

.hero-details {
  margin-top: 1rem;
  text-align: center;
  line-height: 1.25;
}

.hero-details p {
  margin: 0.3rem 0;
  color: var(--color-text);
  font-family: var(--font-body);
  text-align: center;
  font-size: 1.1rem;
  font-style: normal;
  line-height: 1.25;
}

body.ios .hero-inner {
  margin-top: -4.5vh;
}

body.android .hero-inner {
  margin-top: -4vh;
}

.latest-updates {
  background-color: var(--color-light);
  padding: 4rem 1.5rem 6rem;
  text-align: center;
  border-radius: 8px;
  margin-top: 2rem;
}

.latest-updates h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.updates-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.update-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: left;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.4s ease;
}

.update-card p {
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.update-card a {
  color: var(--color-link);
  font-weight: bold;
  text-decoration: none;
}

.update-card a:hover {
  text-decoration: underline;
}

body.post-ceremony .latest-updates,
body.post-ceremony .our-journey-section,
body.post-ceremony .section-divider {
  display: none !important;
}
