.baraat-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f9f0e0;
}

.baraat-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -24px;
  background: url("Baraat/Ornate%20Baraat%20Wedding%20Invitation%20Arch.png") center center / auto 100% repeat-x;
  filter: blur(18px);
  opacity: .55;
}

.baraat-divider {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  height: 64px;
  background: url("Baraat/scallop-divider.svg") center top / 128px 64px repeat-x;
  pointer-events: none;
}

.baraat-divider--top { top: 0; }
.baraat-divider--bottom {
  bottom: 0;
  height: 80px;
  background-size: 160px 80px;
  transform: rotate(180deg);
}

.baraat-panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  min-height: 800px;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: url("Baraat/Ornate%20Baraat%20Wedding%20Invitation%20Arch.png") center center / auto 115% no-repeat;
  color: #a67d2b;
  font-family: 'NewFonts', Arial, sans-serif;
  text-align: center;
}

.baraat-content {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  max-width: 520px;
  margin: 0 auto;
  padding: 200px 24px 0;
}

.baraat-kicker {
  margin: 0 0 14px;
  font-size: 23px;
  font-weight: 300;
  line-height: 1.2;
}

.baraat-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  color: #a67d2b;
  font-family: var(--t-text-font, 'Lucida Calligraphy'), 'Lucida Calligraphy', cursive;
  font-size: clamp(34px, 8vw, 46px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.baraat-names > span { white-space: nowrap; }

.baraat-with {
  margin: 5px 0;
  color: #a67d2b;
  font-size: 25px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.baraat-rule {
  width: 72px;
  height: 1px;
  margin: 18px auto 17px;
  background: #a67d2b;
}

.baraat-message {
  max-width: 360px;
  margin: 0 auto;
  color: #754b3a;
  font-family: 'Ovo', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  text-wrap: pretty;
}

.baraat-date {
  margin: 22px 0 0;
  color: #b48c3d;
  font-family: 'Ovo', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 400px) {
  .baraat-section::before { display: none; }
  .baraat-panel { background-size: auto 100%; }
  .baraat-content { padding: 205px 20px 0; }
  .baraat-with { font-size: 21px; }
  .baraat-message { font-size: 17px; }
  .baraat-date { font-size: 20px; }
}

@media (max-width: 360px) {
  .baraat-content { padding-left: 14px; padding-right: 14px; }
  .baraat-names { font-size: 32px; }
}
