.event-page {
  scroll-behavior: smooth;
}

.event-page .container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem 0;
}

.event-page h1,
.event-page h2 {
  color: var(--teal);
  margin-bottom: 1rem;
  font-weight: 600;
}

.event-page .event-hero {
  padding: 3rem 1rem;
  text-align: center;
  background-image: url("https://sussexaudiologycentre.co.uk/wp-content/uploads/2025/07/Meads-Hall-5-scaled.jpg");
  background-position: center;
  background-size: cover;
  min-height: 50vh;
}

.event-page .event-hero .container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem 2rem;
}

.event-hero-content {
  background-color: var(--teal);
  padding: 2rem;
  border-radius: 20px;
}

.event-hero-content h1 {
  color: #fff;
  font-weight: 600;
}

.event-hero-content p {
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
}

.event-hero-content a {
  padding: 15px 40px;
  margin: 5px auto;
  border: 1px solid var(--white);
  color: var(--teal);
  background-color: var(--white);
  display: inline-block;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 600;
}

.event-page .cols {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  /* align-items: center; */
}

@media (max-width: 815px) {
  .event-page .cols {
    flex-direction: column;
    align-items: center;
  }
}

.event-page .col {
  flex: 1;
  padding: 1rem;
}

.event-page .img-wrapper {
  position: relative;
  margin-bottom: 2rem;
  height: auto;
  overflow: hidden;
}

.event-page .img-wrapper img {
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.event-page .img-wrapper img.active {
  opacity: 1;
  position: relative;
}

.event-page .event-info ul {
  list-style: none;
  /* padding-left: 1.5rem; */
}

.event-page .event-info ul li {
  position: relative;
  padding-left: 30px;
  line-height: 1.3em;
  margin: 18px 0;
  background-color: #fff;
}

.event-page .event-info li:before {
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  left: 0;
  top: 11px;
  translate: 0 -50%;
  background: url(http://sxau.boostbery-dev.com/wp-content/uploads/2024/07/background-ear-left.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.event-page .event-details p {
  margin: 0.5rem 0;
}

.event-page .note {
  text-align: center;
  margin-top: 30px;
}

.event-page .note p {
  font-weight: 700;
  font-size: 20px;
  color: var(--teal);
}

.event-page .logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem;
  max-width: 1200px;
  margin: auto;
}
.event-page .logo-wrapper img {
  max-width: 115px;
}

.event-page .registration-cta {
  background: #f2f2f2;
  padding: 2rem 1rem;
  border-top: 1px solid #ccc;
  text-align: center;
}

.placeholder-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.placeholder-form input,
.placeholder-form button {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.placeholder-form button {
  background: #005678;
  color: white;
  border: none;
  cursor: pointer;
}

.placeholder-form button:hover {
  background: #003e58;
}

.event-page .event-gallery {
  background: #f2f2f2;
  padding: 2rem 1rem;
}

.event-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.event-page .gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
