.layout1 {
  font-family: var(--layout1-font, 'Inter', 'Open Sans', 'IBM Plex Sans', sans-serif);
  color: var(--layout1-text, #333);
  background: #fff;
}

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

.layout1-js .layout1 [data-animate]:not([data-animate="hero"]) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--layout1-delay, 0ms);
  will-change: transform, opacity;
}

.layout1-js .layout1 [data-animate]:not([data-animate="hero"]).is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .layout1-hero [data-animate="hero"] {
    opacity: 0;
    transform: translateY(24px);
    animation: layout1-hero-fade-up 0.8s ease forwards;
    animation-delay: var(--layout1-delay, 0ms);
  }
}

@keyframes layout1-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.layout1-section {
  padding: 4rem 0;
}

.layout1-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.layout1-section__title {
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  margin: 0 0 1rem;
  color: inherit;
}

.layout1-section__text {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  color: inherit;
}

.layout1-rich-text p {
  margin: 0 0 1rem;
}

.layout1-rich-text p:last-child {
  margin-bottom: 0;
}

.layout1-rich-text a {
  text-decoration: underline;
}

.layout1-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.layout1-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.layout1 .layout1-button--light {
  background: #fff;
  color: var(--layout1-primary, #1D3557);
}

.layout1 .layout1-button--dark {
  background: var(--layout1-primary, #1D3557);
  color: #fff;
}

.layout1 .layout1-button--light:hover {
  color: var(--layout1-primary, #1D3557);
}

.layout1 .layout1-button--dark:hover {
  color: #fff;
}

.layout1-hero {
  background: var(--layout1-primary, #1D3557);
  color: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}

.layout1-hero--has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 32, 0.55);
  z-index: 0;
}

.layout1-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

.layout1-hero__title {
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  margin: 0 0 1rem;
}

.layout1-hero__subtitle {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.layout1-cfp {
  background: #EAF1F7;
}

.layout1-cfp__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.layout1-about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.layout1-about__media img,
.layout1-media--placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 18px;
  object-fit: cover;
}

.layout1-media--placeholder {
  background: linear-gradient(135deg, rgba(69, 123, 157, 0.35), rgba(168, 218, 220, 0.35));
}

.layout1-why-attend {
  background: #f6f8fb;
}

.layout1-why-attend__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.layout1-why-attend__item {
  background: #fff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(29, 53, 87, 0.08);
}

.layout1-why-attend__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.layout1-why-attend__title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.layout1-why-attend__text {
  margin: 0;
  line-height: 1.6;
}

.layout1-testimonials {
  background: #fff;
}

.layout1-slider {
  position: relative;
}




.layout1-slider__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  transition: transform 0.5s ease;
}

.layout1-testimonial__card {
  background: #fff;
  padding: 2.25rem;
  border-radius: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  box-shadow: 0 16px 32px rgba(29, 53, 87, 0.08);
}

.layout1-testimonial__quote {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--layout1-accent, #A8DADC);
}

.layout1-testimonial__photo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.layout1-testimonial__name {
  margin: 0;
  font-size: 1rem;
}

.layout1-testimonial__text {
  margin: 0;
  line-height: 1.6;
}

.layout1-slider__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #fff;
  color: var(--layout1-primary, #1D3557);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(29, 53, 87, 0.15);
  display: none;
}

.layout1-slider__prev {
  left: 0.5rem;
}

.layout1-slider__next {
  right: 0.5rem;
}

.layout1-slider__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.layout1 .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.layout1-sponsors {
  background: #f6f8fb;
}

.layout1-sponsors__block {
  margin-bottom: 3rem;
}

.layout1-sponsors__intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.layout1-sponsors__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.layout1-sponsors__logo {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  min-height: 120px;
  box-shadow: 0 10px 25px rgba(29, 53, 87, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 5 / 3;
}

.layout1-sponsors__logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(29, 53, 87, 0.12);
}

.layout1-sponsors__logo img {
  max-width: 100%;
  max-height: 90px;
  filter: none;
}


.layout1-sponsors__name {
  font-weight: 600;
}

.layout1-newsletter {
  background: var(--layout1-secondary, #457B9D);
  color: #fff;
}

.layout1-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.layout1-newsletter__form {
  min-width: 280px;
}

.layout1-newsletter__placeholder {
  display: flex;
  gap: 0.75rem;
}

.layout1-newsletter__placeholder input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: none;
}

.layout1-newsletter__placeholder button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--layout1-primary, #1D3557);
  font-weight: 600;
}

.layout1-footer {
  background: var(--layout1-primary, #1D3557);
  color: #fff;
  padding: 2rem 0;
}

.layout1-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1023px) {
  .layout1-hero__grid,
  .layout1-about__grid,
  .layout1-cfp__inner,
  .layout1-newsletter__inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }

  .layout1-cfp__inner,
  .layout1-newsletter__inner {
    align-items: center;
  }

  .layout1-why-attend__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout1-sponsors__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .layout1 {
    overflow-x: hidden;
  }

  .layout1-section {
    padding: 3rem 0;
  }

  .layout1-hero {
    min-height: 75vh;
  }

  .layout1-hero .layout1-button {
    white-space: normal;
    max-width: min(30ch, 100%);
    text-align: center;
    line-height: 1.3;
    word-break: normal;
    overflow-wrap: normal;
  }

  .layout1-hero__grid,
  .layout1-about__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .layout1-why-attend__grid {
    grid-template-columns: 1fr;
  }

  .layout1-slider__viewport {
    padding: 0 1.25rem;
  }

  .layout1-slider__track {
    display: flex;
    gap: 0;
  }

  .layout1-slider__slide {
    min-width: 100%;
    padding: 0 0.75rem;
  }

  .layout1-slider__control {
    display: inline-flex;
  }

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

  .layout1-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .layout1-sponsors__logo {
    min-height: 100px;
    padding: 1rem;
  }

  .layout1-sponsors__logo img {
    max-height: 70px;
  }
}
