/* Base styles shared by the front page and subpages (loaded after
   style.css). Most of the new look is in theme.css. */

body {
  min-height: 100vh;
}

/* Subpages (everything but the home/hero simulation) get a distinct background */
body:not([data-page="home"]) {
  background: #FBF5E9;
}

/* Shared top-right nav across all pages */
.hemmeliginfo-nav {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
  z-index: 20;
}

.hemmeliginfo-nav .lang-switcher {
  position: static;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-links a {
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-pasta);
  text-transform: uppercase;
  font-size: 3rem;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
}

.page-links a:hover {
  animation: langWiggle 0.6s ease-in-out infinite;
}

.page-links a.active {
  color: #2248C3;
}

.page-links a.active:hover {
  animation: none;
  cursor: auto;
}

/* "M + B" back-to-home mark, shown on subpages only */
.mb-logo {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 20;
  display: block;
}

.mb-logo img {
  display: block;
  width: 4.5rem;
  height: auto;
}

.mb-logo:hover {
  animation: langWiggle 0.6s ease-in-out infinite;
}

.secret-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.section {
  padding: 3rem 0;
}

.section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.section-text {
  text-align: center;
  margin: 0 0 1.5rem;
}

.venue-card {
  text-align: center;
}

.venue-card h3 {
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
}

.map-embed {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 8px;
  margin-top: 1.5rem;
  display: block;
}

.schedule-days {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.schedule-day h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.schedule-day ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-day li {
  display: flex;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--color-accent);
}

.schedule-day .time {
  font-family: var(--font-pasta);
  min-width: 6rem;
}

/* Decorative corner illustration, shown on subpages only */
.corner-illustration {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 220px;
  height: auto;
  z-index: 5;
  pointer-events: none;
}

@media (max-width: 700px) {
  .corner-illustration {
    width: 140px;
  }
}
