h1, h2 {
  color: #143c3c !important;
}
.desktop-only { display: block; }
@media (max-width: 430px) {
  .infos-modern > div[style*="margin: 2rem 0 0 0"] {
    margin-top: 0.5rem !important;
  }
  .teaser-box {
    margin-top: 0.5rem !important;
  }
  .desktop-only { display: none !important; }
}
.tab-btn .tab-short { display: none; }
.tab-btn .tab-full { display: inline; }
@media (max-width: 430px) {
  .tab-btn .tab-full { display: none; }
  .tab-btn .tab-short { display: inline; }
}
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #143c3c 0%, #fffbe6 100%);
  min-height: 100vh;
  color: #1a2a3a;
  position: relative;
  scroll-behavior: smooth;
}
.invitation {
  .tabs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: auto;
    flex-direction: row;
    border-radius: 1.5rem;
    box-shadow: 0 4px 18px #143c3c22;
    padding: 0.5rem 0.2rem 0.3rem 0.2rem;
    margin-bottom: 0;
    z-index: 100;
    overflow-x: auto;
    gap: 0.5rem;
    background: linear-gradient(90deg, #fffbe6 80%, #e3f0ff 100%);
    backdrop-filter: blur(2px);
    border-radius: 1.5rem;
    box-sizing: border-box;
  }
  body {
    padding-top: 3.2rem;
  }
  .tab-btn {
    font-size: 0.92rem;
    padding: 0.7rem 0.7rem;
    min-width: 70px;
    max-width: 28vw;
    margin-bottom: 0;
    border-radius: 1.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 10px #143c3c18, 0 1px 0 #fffbe6 inset;
    background: linear-gradient(180deg, #fffbe6 80%, #e3f0ff 100%);
    color: #143c3c;
    border: 1.5px solid #e0e0e0;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
    flex: 1 1 auto;
    text-align: center;
    position: relative;
  }
  .tab-btn.active, .tab-btn:active {
    background: linear-gradient(180deg, #143c3c 80%, #2986cc 100%);
    color: #fffbe6;
    box-shadow: 0 4px 16px #143c3c44, 0 1px 0 #fffbe6 inset;
    border: 1.5px solid #143c3c;
    transform: scale(0.98);
  }
  .tab-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #2986cc44;
  }
  color: #e94f37;
  margin-bottom: 0.7rem;
}
.infos .rsvp {
  font-size: 1rem;
  color: #0a3d62;
  margin-bottom: 0.7rem;
}
.infos .contact {
  font-size: 0.95rem;
  color: #2986cc;
}
.section {
  background: rgba(255,255,255,0.98);
  margin: 2rem auto;
  padding: 2.5rem;
  border-radius: 1.5rem;
  max-width: 900px;
  width: 70%;
  box-shadow: 0 4px 24px #0a3d6222;
}
.section h2 {
  font-family: 'Montserrat', sans-serif;
  color: #366060;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.iframe-container {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
iframe {
  border-radius: 14px;
  border: none;
  width: 100%;
  min-height: 440px;
  box-shadow: 0 2px 12px #0a3d6222;
  background: #fff;
}
.footer {
  text-align: center;
  color: #0a3d62;
  margin: 2rem 0 1rem 0;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
}
.snow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.infos-modern {
  background: #fffbe6;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px #0a3d6222;
  padding: 2rem 2.5rem 2rem 2.5rem;
  margin: 0 auto;
  width: 820px;
  max-width: 98vw;
  text-align: center;
}
.infos-modern h2 {
  color: #366060;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
}
.infos-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.info-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px #0a3d6222;
  padding: 1.2rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  height: 100%;
  font-size: 1.05rem;
  color: #143c3c;
  transition: box-shadow 0.2s;
}
.info-card:hover {
  box-shadow: 0 4px 24px #143c3c44;
  transform: translateY(-4px) scale(1.03);
  transition: box-shadow 0.2s, transform 0.2s;
}
.info-title {
  font-weight: 600;
  color: #366060;
  margin-top: 0.4rem;
  margin-bottom: 0.1rem;
  font-size: 1rem;
  font-weight: bold;
}
.info-detail {
  color: #1a2a3a;
  font-size: 0.95rem;
}
.infos-modern iframe {
  height: 100px !important;
  width: 100%;
  border-radius: 12px;
  border: none;
  transition: height 0.2s;
}
.infos-modern.tall-box {
  min-height: unset;
  height: 90vh;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin: 2rem 0 1.5rem 0;
}
.tab-btn {
  background: #fffbe6;
  border: none;
  border-radius: 1.5rem;
  padding: 0.7rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: #143c3c;
  font-weight: 600;
  box-shadow: 0 2px 8px #0a3d6222;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tab-btn.active {
  background: #143c3c;
  color: #fff;
}
.tab-btn:active {
  transform: scale(0.97);
}
.tab-section {
  display: none;
  animation: fadeIn 0.5s;
}
.tab-section[style*="display:block"] {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.iframe-container iframe[src*="docs.google.com"] {
  height: 65vh !important;
  min-height: 400px;
  max-height: 70vh;
}
.iframe-container iframe[src*="open.spotify.com"] {
  height: 65vh !important;
  min-height: 400px;
  max-height: 70vh;
}
@media (max-width: 900px) {
  .invitation {
    flex-direction: column;
    align-items: center;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .infos-modern {
    width: 100%;
    padding: 1rem 0.3rem;
  }
  .infos-modern.tall-box {
    height: 80vh;
    max-height: 80vh;
  }
  .infos-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .info-card {
    min-height: 90px;
    font-size: 0.98rem;
    padding: 1rem 0.7rem 0.7rem 0.7rem;
    height: 100%;
  }
  .iframe-container iframe[src*="docs.google.com"] {
    height: 50vh !important;
    min-height: 250px;
    max-height: 60vh;
  }
  .iframe-container iframe[src*="open.spotify.com"] {
    height: 50vh !important;
    min-height: 250px;
    max-height: 60vh;
  }
}
@media (max-width: 430px) {
  html, body {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    font-size: 14px;
    background: linear-gradient(135deg, #143c3c 0%, #fffbe6 100%);
  }
  .tabs {
    flex-direction: row;
    box-shadow: 0 2px 12px #143c3c22;
    padding: 0.3rem 0.1rem;
    margin-bottom: 1rem;
    z-index: 20;
    gap: 0.2rem;
    background: #fffbe6;
  }
  .tab-btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.4rem;
    margin: 4px;
    html, body {
      width: 100%;
      min-width: 100%;
      max-width: 100%;
      overflow-x: visible;
      font-size: 15px;
      background: linear-gradient(135deg, #143c3c 0%, #fffbe6 100%);
    }
    .main-content {
      margin-left: 0;
      padding: 0.5rem 0.5rem 0 0.5rem;
      width: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      overflow-x: visible;
    }
    .tab-section {
      border-radius: 1.2rem;
      padding: 0.7rem 0.5rem;
      width: 100%;
      box-sizing: border-box;
      box-shadow: none;
      background: none;
      overflow-x: visible;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .infos-modern {
      padding: 1rem 0.5rem 1rem 0.5rem;
      width: 100%;
      margin: 0 auto;
      border-radius: 1.2rem;
      box-shadow: 0 2px 12px #143c3c22;
      background: #fffbe6cc;
      overflow-x: visible;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
    }
    .iframe-container {
      width: 100%;
      margin-bottom: 1rem;
      border-radius: 1.2rem;
      box-shadow: 0 1px 6px #143c3c22;
      background: #fffbe6cc;
      padding: 0.5rem;
      overflow-x: visible;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
    }
    .iframe-container iframe {
      min-height: 180px;
      max-height: 45vh;
      height: 45vh;
      border-radius: 1.2rem;
      box-shadow: 0 1px 6px #143c3c22;
      background: #fffbe6cc;
      width: 100% !important;
      overflow-x: visible;
      display: block;
      box-sizing: border-box;
    }
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .infos-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    row-gap: 2.2rem;
  }
  .info-card {
    min-height: 48px;
    font-size: 0.95rem;
    padding: 0.5rem 0.2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 6px #143c3c22;
    margin-bottom: 0.5rem;
    background: #fff;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
  }
  .main-content {
    margin-left: 0;
    padding: 0.5rem 0.1rem 0 0.1rem;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .tab-section {
    border-radius: 1.2rem;
    padding: 0.7rem 0.2rem;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none;
    background: none;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .infos-modern {
    padding: 1rem 0.2rem 1rem 0.2rem;
    width: 100%;
    margin: 0 auto;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px #143c3c22;
    background: #fffbe6cc;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }
  .iframe-container {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 1.2rem;
    box-shadow: 0 1px 6px #143c3c22;
    background: #fffbe6cc;
    padding: 0.2rem;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }
  .iframe-container iframe {
    min-height: 180px;
    max-height: 45vh;
    height: 45vh;
    border-radius: 1.2rem;
    box-shadow: 0 1px 6px #143c3c22;
    background: #fffbe6cc;
    width: 100% !important;
    overflow-x: hidden;
    display: block;
    box-sizing: border-box;
  }
}