/* Simple shared styles with typography matching the save-the-date.
   Khmer MN is used when installed; Georgia is the fallback on other devices.
   The installed font is referenced, not copied or distributed with the site. */
:root {
  --text: #202020;
  --muted: #555;
  --line: #ddd;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Khmer MN", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 5px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.site-header {
  max-width: 1040px;
  margin: 0 auto;
  padding: 25px 24px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav a {
  display: inline-block;
  padding: 4px 0;
  font-size: 16px;
  text-decoration: none;
  color: var(--muted);
}
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }

main { padding: 44px 24px 72px; }
h1 {
  margin: 0 0 42px;
  text-align: center;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 400;
}
h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.4; font-weight: 400; }
p { margin: 0 0 16px; }

.home { text-align: center; }
.home h1 { font-size: clamp(40px, 5vw, 52px); margin-bottom: 30px; }
.home-photo { max-width: 600px; margin: 0 auto; }
.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background: #f5f5f5;
  color: var(--muted);
  font-size: 14px;
}
.hero-photo { display: block; width: 100%; height: auto; }
.wedding-details { margin-top: 28px; }
.wedding-details p { margin: 4px 0; }
.wedding-details p + p { color: var(--muted); }

.page-content { max-width: 680px; margin: 0 auto; }
.page-content section { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.page-content section:last-child { border-bottom: none; }
.page-content p, .hotel-details { color: var(--muted); }
.hotel-details { margin: 20px 0; }
.hotel-details > div { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 6px 0; }
.hotel-details dt { min-width: 160px; color: var(--text); }
.hotel-details dd { margin: 0; }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; }
details p { padding: 16px 0 0 20px; margin: 0; }

.skip-link { position: absolute; left: -10000px; }
.skip-link:focus { position: static; display: block; padding: 12px; text-align: center; }
[hidden] { display: none !important; }

@media (max-width: 600px) {
  .site-header { margin-inline: 16px; padding: 18px 0; }
  nav ul { gap: 8px 20px; }
  nav a { font-size: 15px; }
  main { padding: 36px 20px 56px; }
  h1 { margin-bottom: 32px; }
  .wedding-details { margin-top: 24px; }
}

/* Philadelphia page banner. Preserve the full panorama at every screen size. */
.city-banner { max-width: 1040px; margin: 0 auto 36px; }
.city-banner img { display: block; width: 100%; height: auto; }
.city-banner a { display: block; }

/* Each recommendation has a name, description, and optional website link. */
.recommendations { margin: 20px 0 0; padding-left: 22px; }
.recommendations li { margin-bottom: 24px; padding-left: 4px; }
.recommendations li:last-child { margin-bottom: 0; }
.recommendations h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.recommendations p { margin: 0 0 8px; }
