/* Inherits the site's Cormorant Garamond / Mulish pairing. */
.guest-guide {
  --guide-surface-destination: color-mix(in srgb, var(--section-accent-destination) 13%, var(--paper));
  --guide-surface-travel: color-mix(in srgb, var(--section-accent-travel) 13%, var(--paper));
  --guide-surface-arrival: color-mix(in srgb, var(--section-accent-transport) 13%, var(--paper));
  --guide-surface-day: color-mix(in srgb, var(--section-accent-wedding) 13%, var(--paper));
  --guide-text: var(--ink);
  --guide-heading-accent: color-mix(in srgb, var(--sky) 82%, var(--deep));
  --guide-heading-text: color-mix(in srgb, var(--ink) 88%, var(--bg));
  --guide-title-font: "DM Serif Display", Georgia, serif;
  scroll-margin-top: 76px;
  padding-block: 32px 40px;
  font-family: var(--font-body);
  color: var(--guide-text);
  background: var(--paper);
}
.guest-guide__heading { max-width: 680px; margin: 0 auto 24px; text-align: center; }
.guest-guide__heading h2 { color: var(--guide-heading-text); font-family: var(--font-display); font-size: clamp(22px, 6.2vw, 28px); font-weight: 500; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.guest-guide__title-intro { display: block; font-family: var(--font-script); font-size: clamp(26px, 8.35vw, 40px); font-weight: 400; -webkit-text-stroke: .25px currentColor; line-height: 1; color: var(--guide-heading-accent); margin-block-end: -4px; letter-spacing: 0; transform: translateY(-2px); }
.guest-guide__title-subject { display: block; }
.guest-guide__heading p { max-width: 62ch; color: var(--ink-soft); font-size: 12px; margin: 18px auto 0; line-height: 1.6; text-wrap: pretty; }
.guest-guide > .wrap { max-width: 800px; }
.guest-guide__topics { display: grid; gap: 12px; }
.guest-guide__extra { margin-block-start: 24px; }
.guest-guide__slide {
  --card-surface: var(--guide-surface-destination);
  --card-accent: var(--section-accent-destination);
  --card-text-accent: color-mix(in srgb, var(--card-accent) 72%, var(--deep));
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 0 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--card-surface);
  box-shadow: 0 2px 4px #00000004, 0 8px 18px -12px #00000022;
  overflow: hidden;
}
.guest-guide__slide--viagem { --card-surface: var(--guide-surface-travel); --card-accent: var(--section-accent-travel); }
.guest-guide__slide--chegada { --card-surface: var(--guide-surface-arrival); --card-accent: var(--section-accent-transport); }
.guest-guide__slide--dia { --card-surface: var(--guide-surface-day); --card-accent: var(--section-accent-wedding); }
.guest-guide__photo {
  display: block;
  grid-row: 1 / 3;
  width: 100%;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
  outline: 1px solid #0000001a;
  outline-offset: -1px;
}
.guest-guide__photo-frame { display: block; grid-row: 1 / 3; width: 100%; height: 72px; overflow: hidden; border-radius: 6px; outline: 1px solid #0000001a; outline-offset: -1px; }
.guest-guide__photo-frame .guest-guide__photo { height: 100%; border-radius: 0; outline: none; }
.guest-guide__slide--destino .guest-guide__photo { object-position: 54% 50%; transform: scale(1.85); transform-origin: 50% 80%; }
.guest-guide__slide--viagem .guest-guide__photo { object-position: 48% 50%; }
.guest-guide__slide--chegada .guest-guide__photo { object-position: 53% 50%; }
.guest-guide__slide--dia .guest-guide__photo { object-position: 45% 62%; transform: scale(1.35); transform-origin: 50% 45%; }
.guest-guide__content { display: contents; }
.guest-guide__content h3 {
  align-self: end;
  padding: 0;
  margin: 0;
  font: 400 21px/1.2 var(--guide-title-font);
  letter-spacing: -.015em;
  color: var(--card-text-accent);
  text-wrap: balance;
}
.guest-guide__content p {
  grid-column: 2;
  align-self: start;
  margin: 5px 0 0;
  font: 400 12px/1.45 var(--font-body);
  color: var(--ink);
  text-wrap: pretty;
}
.guest-guide__links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-block-start: 12px;
}
.guest-guide__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #fffdfac2;
  color: var(--deep);
  font: 600 12px/1.4 var(--font-body);
  text-decoration: none;
}
.guest-guide__links svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke-width: 2;
  color: var(--card-text-accent);
}
.guest-guide__links a:focus-visible { outline: 2px solid var(--deep); outline-offset: -3px; }
@media (max-width: 360px) {
  .guest-guide__slide { grid-template-columns: 88px minmax(0, 1fr); gap: 0 10px; }
}
@media (min-width: 600px) {
  .guest-guide { padding-block: 40px 48px; }
  .guest-guide__topics { gap: 14px; }
  .guest-guide__extra { margin-block-start: 28px; }
  .guest-guide__slide { grid-template-columns: 112px minmax(0, 1fr); padding: 12px; gap: 0 18px; }
  .guest-guide__photo { height: 76px; border-radius: 4px; }
  .guest-guide__photo-frame { height: 76px; border-radius: 4px; }
  .guest-guide__photo-frame .guest-guide__photo { height: 100%; border-radius: 0; }
  .guest-guide__content h3 { font-size: 25px; }
  .guest-guide__content p { font-size: 13px; line-height: 1.5; }
  .guest-guide__links a { font-size: 13px; }
}
@media (hover: hover) {
  .guest-guide__links a:hover { background: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: no-preference) {
  .guest-guide__links a { transition: background-color 150ms ease-out, transform 150ms ease-out; }
  .guest-guide__links a:active { transform: scale(.96); }
}
