/* EventDetails homepage examples gallery - isolated CSS file */

.ed-home-hero {
  padding: 46px 0 68px;
}

.ed-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.ed-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ed-blue);
  background: rgba(29,95,168,.08);
  border: 1px solid rgba(29,95,168,.12);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .92rem;
  margin-bottom: 16px;
}

.ed-home-hero h1 {
  margin: 0;
  color: var(--ed-navy);
  font-size: clamp(2.7rem, 6.5vw, 5.2rem);
  line-height: .94;
  letter-spacing: -.07em;
}

.ed-home-slogan {
  margin: 20px 0 0;
  color: #5b8f1d;
  font-weight: 900;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.ed-home-lead {
  margin: 18px 0 0;
  color: var(--ed-muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.ed-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.ed-home-hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--ed-shadow);
  border: 1px solid var(--ed-line);
  background: #fff;
}

.ed-home-hero-card img {
  width: 100%;
  display: block;
}

.ed-home-section {
  padding: 54px 0;
}

.ed-home-section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 30px;
}

.ed-home-section-head h2 {
  margin: 0;
  color: var(--ed-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.045em;
  line-height: 1.02;
}

.ed-home-section-head p {
  color: var(--ed-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.ed-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ed-example-card {
  background: rgba(255,255,255,.76);
  border: 1px solid var(--ed-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15,47,89,.10);
}

.ed-example-img {
  background: #f8fbff;
  min-height: 230px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--ed-line);
}

.ed-example-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-example-img.ed-example-sign img {
  object-fit: contain;
  padding: 14px;
  max-height: 390px;
}

.ed-example-body {
  padding: 18px 18px 20px;
}

.ed-example-body h3 {
  margin: 0 0 8px;
  color: var(--ed-navy);
  font-size: 1.18rem;
}

.ed-example-body p {
  margin: 0;
  color: var(--ed-muted);
  line-height: 1.55;
}

.ed-use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ed-use-card {
  background: rgba(255,255,255,.68);
  border: 1px solid var(--ed-line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 35px rgba(15,47,89,.08);
}

.ed-use-card strong {
  display: block;
  color: var(--ed-navy);
  font-size: 1.08rem;
  margin-bottom: 7px;
}

.ed-use-card span {
  color: var(--ed-muted);
  line-height: 1.5;
}

.ed-home-note {
  background: linear-gradient(135deg, rgba(29,95,168,.09), rgba(131,191,53,.12));
  border: 1px solid var(--ed-line);
  border-radius: 26px;
  padding: 26px;
  text-align: center;
  color: var(--ed-muted);
  line-height: 1.7;
}

@media (max-width: 940px) {
  .ed-home-hero-grid,
  .ed-example-grid,
  .ed-use-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .ed-home-hero-grid,
  .ed-example-grid,
  .ed-use-grid {
    grid-template-columns: 1fr;
  }

  .ed-home-hero {
    padding-top: 28px;
  }

  .ed-example-img {
    min-height: 190px;
  }
}
