.soon-name {
  margin: -7px 0 16px;
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
}

.hero {
  background-image: url("assets/hero-adam-eliska.webp");
  background-position: center calc(14% + var(--hero-parallax-y, 0px));
  background-size: cover;
  will-change: background-position;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(18, 25, 20, .25), rgba(16, 19, 17, .5));
}

/* Vzdušné záhlaví ve stylu svatební pozvánky */
.topbar {
  position: relative;
  z-index: 20;
  padding: 0;
  background: #f4f4f1;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  min-height: 158px;
  padding: 24px 24px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  grid-column: 1 / -1;
  justify-self: center;
  color: #44434a;
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
}

.menu {
  grid-column: 1 / -1;
  align-self: end;
  justify-self: center;
  display: flex;
  gap: 25px;
}

.menu a {
  color: #4f4c51;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .16em;
  padding: 8px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.menu a:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 8px 20px rgba(57, 53, 61, .09);
}

.nav-anchor {
  height: 0;
  scroll-margin-top: 24px;
}

.header-rsvp {
  grid-column: 3 / 4;
  align-self: end;
  justify-self: end;
  min-width: 192px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #fff;
  color: #242229;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .73rem;
  letter-spacing: .18em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(57, 53, 61, .05);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-rsvp span {
  margin-left: 7px;
}

.header-rsvp:hover {
  transform: translateY(-2px);
  background: #faf9f6;
  box-shadow: 0 10px 24px rgba(57, 53, 61, .1);
}

.hero {
  height: calc(100vh - 158px);
  min-height: 600px;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(48, 50, 53, .24), rgba(35, 38, 39, .4));
}

.hero-content {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 70px;
}

.hero-heart-particle {
  position: absolute;
  z-index: 2;
  display: block;
  background: var(--heart-image) center / contain no-repeat;
  image-rendering: pixelated;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.65);
  animation: pixel-heart-float 2s ease-out forwards;
}

@keyframes pixel-heart-float {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.65);
  }
  15% {
    opacity: .82;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--drift-x)), calc(-50% - var(--rise))) rotate(var(--spin)) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .hero-heart-particle {
    display: none;
  }
}

.hero-content h1 {
  order: 2;
  margin: 8px 0 14px;
  font-family: "Century Gothic", "Segoe UI Light", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 300;
  letter-spacing: .065em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-welcome {
  order: 1;
  margin: 0 0 9px;
  font-family: "Century Gothic", "Segoe UI", Arial, sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-content h1 span {
  font-size: .78em;
  font-style: normal;
  font-weight: 200;
}

.soon-name {
  order: 3;
  margin: 0;
  font-family: "Century Gothic", "Segoe UI", Arial, sans-serif;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    min-height: 128px;
    padding: 22px 18px;
  }

  .brand {
    grid-column: 1 / -1;
  }

  .menu {
    grid-column: 1 / -1;
    justify-self: center;
    gap: 14px;
  }

  .menu a {
    font-size: .63rem;
  }

  .header-rsvp {
    grid-column: 2 / 3;
    min-width: 154px;
  }

  .hero {
    height: calc(100vh - 128px);
    min-height: 580px;
  }
}

@media (max-width: 760px) {
  .nav {
    display: flex;
    min-height: 82px;
    padding: 20px 18px;
  }

  .brand {
    margin-right: auto;
    font-size: 1.18rem;
  }

  .menu-button {
    display: block;
    color: #4f4c51;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .menu {
    top: 72px;
    background: rgba(244, 244, 241, .98);
    box-shadow: 0 14px 35px rgba(57, 53, 61, .12);
  }

  .menu a {
    color: #4f4c51;
  }

  .header-rsvp {
    min-width: auto;
    margin-left: 12px;
    padding: 10px 13px;
    font-size: .62rem;
  }

  .hero {
    height: calc(100vh - 82px);
    min-height: 570px;
    background-position: center calc(42% + var(--hero-parallax-y, 0px));
  }

  .hero-content {
    padding-top: 90px;
  }
}

.venue-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
  text-align: left;
}

.map-wrap {
  position: relative;
}

.map-place-card {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: grid;
  min-width: 210px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(40, 34, 27, .16);
  backdrop-filter: blur(9px);
  transition: none;
}

.map-place-card:hover {
  transform: none;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(40, 34, 27, .16);
}

.map-place-card strong {
  font: 1.15rem Georgia, serif;
}

.map-place-card span {
  margin-top: 2px;
  font-size: .8rem;
  opacity: .62;
}

.map-place-card small {
  justify-self: stretch;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #49382e;
  color: #fffaf2;
  font-size: .76rem;
  font-weight: 600;
  text-align: center;
  box-shadow: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.map-place-card small:hover {
  transform: translateY(-3px);
  background: #382a23;
  box-shadow: 0 13px 30px rgba(57, 53, 61, .12);
}

@media (max-width: 520px) {
  .map-place-card {
    right: 12px;
    left: 12px;
    min-width: 0;
  }
}

.venue-link {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 0 16px 16px;
  border: 1px solid #e8e3dc;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(40, 34, 27, .045);
  transition: transform .2s ease, box-shadow .2s ease;
}

.venue-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(40, 34, 27, .1);
}

.venue-link-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--accent);
  font: 1.45rem Georgia, serif;
}

.venue-link-icon-brand {
  overflow: visible;
  background: var(--sand);
}

.venue-link-icon-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.venue-link strong,
.venue-link small {
  display: block;
}

.venue-link strong {
  font: 1.05rem Georgia, serif;
}

.venue-link small {
  overflow: hidden;
  margin-top: 2px;
  opacity: .6;
  text-overflow: ellipsis;
  white-space: normal;
}

.venue-preview {
  grid-column: 1 / -1;
  width: calc(100% + 32px);
  height: 120px;
  margin: 0 -16px 2px;
  object-fit: cover;
  border-bottom: 1px solid #ebe6df;
}

.venue-link-arrow {
  opacity: .4;
}

@media (max-width: 760px) {
  .venue-links {
    grid-template-columns: 1fr;
  }
}

.countdown-section {
  position: relative;
  z-index: 3;
  padding: 112px 18px;
  background: var(--paper);
}

.countdown-section > .wedding-summary {
  margin-top: 0;
}

.countdown-bubble {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 22px 30px 26px;
  border: 1px solid rgba(146, 124, 102, .14);
  border-radius: 28px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 46px rgba(40, 34, 27, .12);
  transform: none;
}

.countdown-bubble > p {
  margin: 0 0 15px;
  color: #77716c;
  font-family: "Century Gothic", "Segoe UI", Arial, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
}

.countdown-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.countdown-values div {
  padding: 4px 18px;
  border-right: 1px solid #ebe7e1;
  text-align: center;
}

.countdown-values div:last-child {
  border-right: 0;
}

.countdown-values strong {
  display: block;
  color: var(--ink);
  font: 1.75rem "Bodoni 72", Didot, Georgia, serif;
  line-height: 1.1;
}

.countdown-values span {
  display: block;
  margin-top: 5px;
  color: #8a847e;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .countdown-section {
    padding-top: 82px;
    padding-right: 12px;
    padding-bottom: 82px;
    padding-left: 12px;
  }

  .countdown-bubble {
    padding: 19px 10px 22px;
    border-radius: 22px;
    transform: none;
  }

  .countdown-values div {
    padding: 3px 5px;
  }

  .countdown-values strong {
    font-size: 1.3rem;
  }
}

.wedding-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  width: min(1180px, 100%);
  margin: 92px auto 0;
}

.wedding-summary article {
  display: grid;
  grid-template-rows: 48px auto auto;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.wedding-summary h2 {
  margin: 28px 0 13px;
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wedding-summary p {
  margin: 0;
  color: #69646a;
  font-family: "Century Gothic", "Segoe UI", Arial, sans-serif;
  font-size: .92rem;
  line-height: 1.65;
}

.summary-icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  color: #927c66;
}

.summary-icon-calendar {
  width: 43px;
  height: 38px;
  margin-top: 5px;
  border: 3px solid currentColor;
  border-radius: 3px;
}

.summary-icon-calendar::before,
.summary-icon-calendar::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 4px;
  height: 13px;
  border: 2px solid #f7f6f1;
  border-radius: 4px;
  background: currentColor;
}

.summary-icon-calendar::before { left: 7px; }
.summary-icon-calendar::after { right: 7px; }

.summary-icon-pin {
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 50% 50% 50% 0;
  background: currentColor;
  transform: rotate(-45deg);
}

.summary-icon-pin::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f7f6f1;
}

.summary-icon-dress::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 15px;
  width: 20px;
  height: 19px;
  background: currentColor;
  clip-path: polygon(14% 0, 36% 0, 43% 27%, 57% 27%, 64% 0, 86% 0, 76% 58%, 68% 100%, 32% 100%, 24% 58%);
}

.summary-icon-dress::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 8px;
  width: 34px;
  height: 29px;
  background: currentColor;
  clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
}

.summary-button {
  position: relative;
  display: block;
  width: min(325px, calc(100% - 24px));
  margin: 72px auto 0;
  padding: 15px 24px;
  border: 1px solid rgba(146, 124, 102, .2);
  border-radius: 999px;
  background: #fff;
  color: #28252b;
  font-family: "Century Gothic", "Segoe UI", Arial, sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(57, 53, 61, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.summary-button span {
  display: inline-block;
  margin-left: 8px;
  font-size: 1rem;
  line-height: 1;
}

.summary-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.summary-button[aria-expanded="false"]::before {
  animation: summary-button-glow 3.8s ease-in-out infinite;
}

.summary-button[aria-expanded="false"] span {
  animation: summary-arrow-nudge 3.8s ease-in-out infinite;
}

@keyframes summary-button-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(146, 124, 102, .04), 0 8px 22px rgba(146, 124, 102, .08); }
  50% { box-shadow: 0 0 0 7px rgba(146, 124, 102, .09), 0 12px 32px rgba(146, 124, 102, .19); }
}

@keyframes summary-arrow-nudge {
  0%, 60%, 100% { transform: translateY(0); }
  70%, 86% { transform: translateY(4px); }
  78%, 94% { transform: translateY(0); }
}

.summary-button:hover,
.summary-button:focus-visible {
  transform: scale(1.035);
  box-shadow: 0 13px 30px rgba(57, 53, 61, .12);
}

.summary-button:focus-visible {
  outline: 2px solid #927c66;
  outline-offset: 5px;
}

.summary-button:is(:hover, :focus-visible)::before,
.summary-button:is(:hover, :focus-visible) span {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .summary-button[aria-expanded="false"]::before,
  .summary-button[aria-expanded="false"] span {
    animation: none;
  }

  .summary-button {
    transition: none;
  }

  .summary-button:is(:hover, :focus-visible) {
    transform: none;
  }
}

@media (max-width: 760px) {
  .wedding-summary {
    grid-template-columns: 1fr;
    gap: 58px;
    margin-top: 72px;
  }

  .summary-button { margin-top: 58px; }
}

/* Sjednocený typografický systém */
:root {
  --font-display: "Bodoni 72", Didot, "Times New Roman", serif;
  --font-body: "Century Gothic", "Segoe UI", Arial, sans-serif;
}

body,
input,
select,
textarea,
button,
.menu a,
.header-rsvp,
.hero-welcome,
.soon-name,
.countdown-bubble > p,
.countdown-values span,
.wedding-summary p,
.summary-button,
.map-place-card span,
.map-place-card small,
.venue-link small {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.brand,
.hero-content h1,
.countdown-values strong,
.map-place-card strong,
.venue-link strong,
.timeline time,
summary {
  font-family: var(--font-display);
}

/* Tlačítko bude po dodání odkazu otevírat Google formulář */
#formular {
  padding: 69px 18px 76px;
}

.rsvp-description {
  max-width: 790px;
  margin: 0 auto 34px;
  color: rgba(57, 53, 61, .76);
  font-family: var(--font-body);
  font-size: clamp(.95rem, 1.4vw, 1.06rem);
  line-height: 1.85;
}

.rsvp-description p {
  margin: 0;
}

.rsvp-description p + p {
  margin-top: 12px;
}

.rsvp-form-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(230px, 100%);
  padding: 15px 30px;
  border: 1px solid rgba(57, 53, 61, .14);
  border-radius: 999px;
  background: #fff;
  color: #39353d;
  box-shadow: 0 12px 32px rgba(57, 53, 61, .08);
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.rsvp-form-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  animation: summary-button-glow 3.8s ease-in-out infinite;
}

.rsvp-form-button:hover,
.rsvp-form-button:focus-visible {
  transform: scale(1.035);
  background: #faf9f6;
  box-shadow: 0 13px 30px rgba(57, 53, 61, .12);
}

.rsvp-form-button:focus-visible {
  outline: 2px solid #927c66;
  outline-offset: 5px;
}

.rsvp-form-button:is(:hover, :focus-visible)::before {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .rsvp-form-button::before {
    animation: none;
  }

  .rsvp-form-button {
    transition: none;
  }

  .rsvp-form-button:is(:hover, :focus-visible) {
    transform: none;
  }
}

.rsvp-form-button.is-pending {
  cursor: default;
}

.rsvp-couple-sketch {
  width: min(390px, 66vw);
  margin: 76px auto 0;
}

.rsvp-couple-sketch img {
  display: block;
  width: 100%;
  height: auto;
}

/* Informační dlaždice v jednom přehledném sloupci */
#info.is-locked {
  display: none;
}

.countdown-section:has(+ #info:not(.is-locked)) {
  padding-bottom: 48px;
}

#info:not(.is-locked) {
  padding-top: 36px;
}

#info.is-opening {
  animation: info-section-reveal .7s cubic-bezier(.2, .7, .25, 1) both;
}

@keyframes info-section-reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#info .cards {
  grid-template-columns: 1fr;
  text-align: left;
}

#info .cards article {
  height: 370px;
  min-height: 370px;
  max-height: 370px;
  text-align: left;
}

/* Společná interakce všech informačních karet. */
@media (hover: hover) and (pointer: fine) {
  #info .cards article {
    position: relative;
    z-index: 1;
    transform-origin: center;
    transition:
      opacity .32s ease,
      filter .32s ease,
      transform .32s cubic-bezier(.2, .7, .25, 1),
      box-shadow .32s ease;
  }

  #info .cards:has(article:hover) article:not(:hover) {
    opacity: .58;
    filter: saturate(.62) brightness(.96);
    transform: scale(.985);
  }

  #info .cards article:hover {
    z-index: 5;
    opacity: 1;
    filter: none;
    transform: translateY(-7px) scale(1.012);
    box-shadow: 0 18px 42px rgba(40, 34, 27, .12);
  }
}

.date-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  justify-self: start;
  width: 50%;
  overflow: hidden;
  padding: 0 !important;
}

.date-afterparty-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.date-afterparty-row .date-card,
.date-afterparty-row .afterparty-card {
  width: 100%;
}

.date-card-copy {
  align-self: start;
  padding: 32px 30px;
}

.date-card-copy .summary-icon {
  margin: 2px 0 18px;
}

.date-card-copy h3 {
  margin: 0 0 14px;
}

.date-card-copy p {
  margin: 0;
  line-height: 1.75;
}

.date-card-copy p strong {
  font-weight: 700;
}

.date-card-copy .date-card-schedule {
  margin-top: 22px;
}

.date-card-copy .date-card-ceremony {
  display: block;
  margin-top: 16px;
}

.date-card-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  border-left: 1px solid rgba(105, 86, 69, .12);
  background: linear-gradient(145deg, #fff 0%, #f7f4ef 52%, #edf2e8 100%);
}

.date-card-countdown-bubble {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 24px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.date-card-countdown-bubble > p {
  position: static;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  text-align: center;
  text-transform: none;
}

.date-card-countdown-bubble > p strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.date-card-countdown-bubble > p span {
  display: block;
  margin-top: 8px;
  color: #766e68;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.date-card-countdown-list {
  --countdown-progress: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 0;
  width: min(190px, 100%);
  height: 190px;
  margin: 0 auto;
  padding: 22px 20px 19px;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(#aec397 var(--countdown-progress), #ece8e2 0);
}

.date-card-countdown-list::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fff;
}

.date-card-countdown-list div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex-direction: column;
  z-index: 1;
  gap: 4px;
  min-width: 0;
  min-height: 42px;
  padding: 0 1px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.date-card-countdown-list div:not(:last-child)::after { content: none; }

.date-card-countdown-list strong {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: #4b4039;
  font: 1.05rem var(--font-display);
  line-height: 1;
  text-align: center;
  box-shadow: none;
}

.date-card-countdown-list div:first-child {
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 1px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.date-card-countdown-list div:first-child strong {
  font-size: 2.65rem;
  line-height: 1;
}

.date-card-countdown-list div::before {
  content: none;
}

.date-card-countdown-list div { position: relative; }

.date-card-countdown-list span {
  min-width: 0;
  color: #8a7d74;
  order: 0;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
  transform: none;
}

/* Sdílený playlist pro večerní afterparty */
.info-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.info-card-row .afterparty-card {
  grid-column: span 2;
  width: 100%;
}

.info-card-row .accommodation-card {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 0 !important;
  overflow: hidden;
}

.accommodation-card-copy {
  padding: 30px 22px;
}

.accommodation-card-copy p {
  font-size: .86rem;
  line-height: 1.58;
}

.accommodation-symbol {
  display: block;
  width: 54px;
  height: 40px;
  margin: 0 0 14px;
  color: var(--accent);
}

.accommodation-symbol svg {
  display: block;
  width: 80%;
  height: 80%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seating-symbol {
  display: block;
  width: 46px;
  height: 42px;
  margin: 0 0 14px;
  color: var(--accent);
}

.seating-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.seating-restrictions-row {
  grid-template-columns: minmax(210px, 1fr) minmax(0, 3fr);
}

#info .cards .seating-card {
  grid-column: 2;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 0;
  overflow: hidden;
}

#info .cards .seating-restrictions-row article {
  height: 370px;
  min-height: 370px;
  max-height: 370px;
}

#info .cards .restrictions-card {
  padding-top: 22px;
  padding-bottom: 22px;
}

.restrictions-card .icon svg {
  display: block;
  width: 36px;
  height: 36px;
}

.restrictions-card h3 {
  margin: 4px 0 6px;
}

.restrictions-card h4 {
  margin: 6px 0 4px;
  color: #604b3e;
  font: 700 .86rem/1.65 var(--font-body, Arial, sans-serif);
}

.restrictions-card p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.65;
}

.restrictions-card ul {
  margin: 4px 0;
  padding-left: 19px;
  color: #62564e;
  font-size: .86rem;
  line-height: 1.65;
  font-weight: 400;
}

.restrictions-card li::marker {
  font-weight: 400;
}

.seating-card-copy {
  padding: 30px 22px;
}

.seating-card-content {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  border-left: 1px solid #ebe6df;
  background: #fff;
}

.seating-card-content img,
.seating-card-content object {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.seating-card-content .seating-plan-object {
  opacity: .13;
  pointer-events: none;
}

.seating-work-in-progress {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 24px 16px;
  text-align: center;
}

.seating-construction {
  display: block;
  width: min(255px, 85%);
  height: auto;
  max-height: 180px;
  flex-shrink: 0;
  stroke: #927c66;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seating-work-in-progress h4 {
  margin: 0;
  color: #80625e;
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.35;
  transform: rotate(-2deg);
}

.seating-crane-load {
  transform-origin: 157px 45px;
  animation: seating-crane-sway 3.6s ease-in-out infinite;
}

@keyframes seating-crane-sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .seating-crane-load { animation: none; }
}

.accommodation-card-content {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  margin: 0;
  border-left: 1px solid #ebe6df;
  background: #f5efe3;
}

.accommodation-card-content > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: .84;
  filter: saturate(.75) brightness(1.04);
}

.accommodation-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 4.7%;
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #49372f;
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  animation: parking-pulse 2.6s ease-out infinite;
}

.accommodation-marker-1 { left: 65.4%; top: 29.8%; }
.accommodation-marker-2 { left: calc(35.7% + .3cm); top: 34.1%; animation-delay: .35s; }
.accommodation-marker-3 { left: calc(86% + .3cm); top: calc(85% - .45cm); animation-delay: .7s; }
.accommodation-marker-4 { left: calc(90.2% + .2cm); top: 15%; animation-delay: 1.05s; }

.accommodation-marker-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: clamp(.58rem, 1vw, .84rem);
  font-weight: 700;
  line-height: 1;
}

.accommodation-marker:hover,
.accommodation-marker:focus-visible {
  background: #382a23;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.accommodation-direction-arrow {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  width: 2px;
  height: 22px;
  border-radius: 999px;
  background: currentColor;
  color: #49372f;
  transform: translateX(-50%) rotate(2deg);
  transform-origin: 50% 0;
  transition: color .18s ease, transform .18s ease;
}

.accommodation-direction-arrow::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid currentColor;
  transform: translateX(-50%);
}

.accommodation-marker-3:hover .accommodation-direction-arrow,
.accommodation-marker-3:focus-visible .accommodation-direction-arrow,
.accommodation-marker-3:focus .accommodation-direction-arrow {
  color: #382a23;
  transform: translateX(-50%) translateY(4px) rotate(2deg);
}

.accommodation-marker-4 .accommodation-direction-arrow {
  top: auto;
  bottom: calc(100% + 5px);
  transform: translateX(-50%) rotate(2deg);
  transform-origin: 50% 100%;
}

.accommodation-marker-4 .accommodation-direction-arrow::after {
  top: -3px;
  bottom: auto;
  border-top: 0;
  border-bottom: 8px solid currentColor;
}

.accommodation-marker-4:hover .accommodation-direction-arrow,
.accommodation-marker-4:focus-visible .accommodation-direction-arrow,
.accommodation-marker-4:focus .accommodation-direction-arrow {
  color: #382a23;
  transform: translateX(-50%) translateY(-4px) rotate(2deg);
}

.accommodation-tooltip {
  position: absolute;
  z-index: 4;
  top: calc(100% + 12px);
  left: 50%;
  display: block;
  width: 205px;
  padding: 12px 14px;
  border: 1px solid #e4ddd3;
  border-radius: 12px;
  background: #fffdf9;
  color: #514941;
  box-shadow: 0 8px 24px rgba(40, 34, 27, .17);
  font: .72rem/1.45 var(--font-body);
  pointer-events: none;
  opacity: 0;
  text-align: left;
  transform: translate(-50%, -4px);
  transition: opacity .18s ease, transform .18s ease;
}

.accommodation-marker-3 .accommodation-tooltip {
  top: auto;
  bottom: calc(100% + 12px);
}

.accommodation-tooltip strong {
  display: block;
  margin-bottom: 5px;
  font: 1rem/1.25 var(--font-display);
}

.accommodation-marker:hover .accommodation-tooltip,
.accommodation-marker:focus-visible .accommodation-tooltip,
.accommodation-marker:focus .accommodation-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Silniční body otevírají informace doleva, dovnitř schématu. */
.accommodation-marker-3 .accommodation-tooltip,
.accommodation-marker-4 .accommodation-tooltip {
  left: auto;
  right: calc(100% + 12px);
  transform: translateY(4px);
}

.accommodation-marker-3 .accommodation-tooltip {
  top: auto;
  bottom: 0;
}

.accommodation-marker-4 .accommodation-tooltip {
  top: 0;
  bottom: auto;
}

.accommodation-marker-3:is(:hover, :focus, :focus-visible) .accommodation-tooltip,
.accommodation-marker-4:is(:hover, :focus, :focus-visible) .accommodation-tooltip {
  transform: translateY(0);
}

.accommodation-marker:is(:hover, :focus, :focus-visible) {
  z-index: 10;
}

.storage-symbol {
  display: block;
  width: 46px;
  height: 42px;
  margin: 0 0 14px;
  color: var(--accent);
}

.storage-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}

.storage-symbol path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.storage-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #49372f;
  color: #fff;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.storage-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 24px rgba(73, 55, 47, .18);
}

.afterparty-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  justify-self: start;
  width: 75%;
  overflow: hidden;
  padding: 0 !important;
}

.afterparty-card-copy {
  align-self: start;
  padding: 30px;
}

.afterparty-symbol {
  display: grid;
  place-items: center;
  width: 46px;
  height: 42px;
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1;
  transform: translateY(-3px);
}

.afterparty-card-copy h3 {
  margin: 0 0 14px;
}

.afterparty-card-copy p {
  margin: 0;
  line-height: 1.75;
}

.afterparty-join-button {
  margin-top: 26px;
}

/* Parkování: tříčtvrteční karta s prostorem pro text a hotovým schématem. */
.parking-gift-row {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 3fr);
  gap: 18px;
  width: 100%;
}

.parking-gift-row .gift-card {
  order: -1;
}

.parking-gift-row .parking-card {
  width: 100%;
}

.parking-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(0, 2fr);
  align-items: stretch;
  justify-self: start;
  width: 75%;
  overflow: hidden;
  padding: 0 !important;
}

.gift-card {
  padding: 30px 24px !important;
}

.gift-symbol {
  display: block;
  width: 44px;
  height: 44px;
  margin: 2px 0 18px;
  color: var(--accent);
}

.gift-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gift-symbol .gift-symbol-ribbon {
  fill: currentColor;
  fill-opacity: .11;
  stroke: none;
}

.gift-symbol .gift-symbol-bow {
  fill: #fff;
}

.gift-card h3 {
  margin: 0 0 14px;
}

.gift-card p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.7;
}

.parking-card-copy {
  align-self: start;
  padding: 26px 24px;
}

.parking-symbol {
  display: block;
  width: 44px;
  height: 44px;
  margin: 2px 0 14px;
  color: var(--accent);
}

.parking-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.parking-card-copy h3 {
  margin: 0 0 10px;
}

.parking-card-copy p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
}

.parking-rules {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  color: #514941;
  font-family: var(--font-body);
  font-size: .82rem;
  line-height: 1.42;
  list-style: none;
}

.parking-rules strong {
  font-weight: 700;
}

.parking-card-map {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  border-left: 1px solid rgba(105, 86, 69, .12);
  background: #f5efe3;
}

.parking-map-layer {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-self: flex-start;
}

.parking-card-map img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: .84;
  filter: saturate(.75) brightness(1.04);
}

.parking-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4.7%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #49372f;
  color: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  animation: parking-pulse 2.6s ease-out infinite;
}
.parking-marker-1 { left: 27.55%; top: 26.9%; }
.parking-marker-2 { left: 58.44%; top: 12.75%; animation-delay: .35s; }
.parking-marker-3 { left: 74.22%; top: 53.65%; animation-delay: .7s; }
.parking-marker-number {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(.55rem, 1vw, .84rem);
  font-weight: 700;
  line-height: 1;
  transform: translateY(-.09em);
}
.parking-marker:hover,
.parking-marker:focus,
.parking-marker:focus-visible {
  z-index: 5;
  background: #382a23;
  outline: 2px solid white;
  outline-offset: 3px;
}
@keyframes parking-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(73, 55, 47, 0); }
  25% { box-shadow: 0 0 0 3px rgba(73, 55, 47, .3); }
  80% { box-shadow: 0 0 0 12px rgba(73, 55, 47, 0); }
}
.parking-tooltip {
  position: absolute;
  z-index: 3;
  top: calc(100% + 12px);
  left: 50%;
  display: block;
  width: 215px;
  padding: 13px 15px;
  border: 1px solid #e4ddd3;
  border-radius: 12px;
  background: #fffdf9;
  color: #514941;
  box-shadow: 0 8px 24px rgba(40, 34, 27, .17);
  font: .75rem/1.5 var(--font-body);
  pointer-events: none;
  opacity: 0;
  text-align: left;
  transform: translate(-50%, -4px);
  transition: opacity .18s ease, transform .18s ease;
}
.parking-tooltip strong { display: block; margin-bottom: 4px; font: 1rem/1.25 var(--font-display); }
.parking-tooltip-copy {
  display: block;
  margin-top: 8px;
}
.parking-marker:hover .parking-tooltip,
.parking-marker:focus-visible .parking-tooltip,
.parking-marker:focus .parking-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (prefers-reduced-motion: reduce) {
  .parking-marker { animation: none; }
}

.afterparty-spotify {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border-left: 1px solid rgba(105, 86, 69, .12);
  background: linear-gradient(145deg, #fffaf3 0%, #f6eee3 48%, #bfdaea 100%);
  text-align: center;
}

.afterparty-spotify-code {
  display: flex;
  width: 100%;
  height: 390px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 38px 20px;
  background: transparent;
}

.afterparty-spotify-code img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.afterparty-spotify-preview {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  width: min(600px, 100%);
  padding: 18px;
  border: 1px solid rgba(105, 86, 69, .11);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  text-align: left;
  box-shadow: 0 14px 34px rgba(57, 53, 61, .09);
}

.afterparty-cover {
  display: grid;
  width: 132px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #c4d3b4, #ead7d8 52%, #c7dceb);
  color: rgba(73, 61, 53, .72);
  font-family: var(--font-display);
  font-size: 3.6rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.afterparty-preview-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.afterparty-preview-copy small {
  color: #56875f;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.afterparty-preview-copy > strong {
  margin-top: 5px;
  color: #493d35;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
}

.afterparty-preview-copy p {
  margin: 8px 0 13px;
  color: #706760;
  font-family: var(--font-body);
  font-size: .72rem;
  line-height: 1.55;
}

.afterparty-preview-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  padding: 10px 17px;
  border-radius: 999px;
  background: #466f4e;
  color: #fff;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.afterparty-preview-copy a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(55, 91, 62, .2);
}

.afterparty-note {
  color: #56875f;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.afterparty-spotify strong {
  color: #493d35;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.25;
}

.afterparty-spotify-button {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border-radius: 999px;
  background: #365f3e;
  color: #fff;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.35;
}

#info .cards.reveal-ready article {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .25, 1);
}

#info .cards.reveal-ready article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  #info .cards.reveal-ready:has(article:hover) article.is-visible:not(:hover) {
    opacity: .58;
    filter: saturate(.62) brightness(.96);
    transform: scale(.985);
  }

  #info .cards.reveal-ready article.is-visible:hover {
    z-index: 5;
    opacity: 1;
    filter: none;
    transform: translateY(-7px) scale(1.012);
    box-shadow: 0 18px 42px rgba(40, 34, 27, .12);
  }
}

@media (prefers-reduced-motion: reduce) {
  #info.is-opening {
    animation: none;
  }

  #info .cards.reveal-ready article {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Náhled mapy po najetí na kartu Místo */
.location-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 3fr);
  align-items: stretch;
  min-height: 370px;
  overflow: hidden;
  padding: 0 !important;
  outline: none;
}

.location-card-copy {
  align-self: start;
  padding: 32px 30px;
}

.location-card-copy .summary-icon {
  margin: 2px 0 18px;
}

.location-card-copy h3 {
  margin: 0 0 14px;
}

.location-card-copy p {
  margin: 0;
  line-height: 1.75;
}

.location-card-copy address {
  margin-top: 20px;
  color: #514941;
  font-family: var(--font-body);
  font-size: .84rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.65;
}

.location-card-copy p strong {
  font-weight: 700;
}

.dresscode-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 3fr);
  align-items: stretch;
  height: 370px;
  min-height: 0;
  max-height: 370px;
  overflow: hidden;
  padding: 0 !important;
}

.dresscode-card-copy {
  align-self: start;
  padding: 32px 30px;
  text-align: left;
}

.dresscode-card-copy .summary-icon {
  margin: 2px 0 18px;
}

.dresscode-card-copy h3 {
  margin: 0 0 14px;
}

.dresscode-card-copy p {
  margin: 0;
  line-height: 1.75;
}

.dresscode-card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding-top: 90px;
  border-left: 1px solid rgba(105, 86, 69, .12);
  background:
    linear-gradient(rgba(250, 248, 244, .24), rgba(246, 241, 235, .3)),
    url("assets/dresscode-two-bouquets.webp?v=3") center 30% / 145% auto no-repeat;
}

/* Pevná obrazová vrstva drží odsouhlasenou fotografii i při dalších úpravách panelu. */
.dresscode-card-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  pointer-events: none;
}

.dresscode-card-content::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(rgba(250, 248, 244, .24), rgba(246, 241, 235, .3));
  pointer-events: none;
}

@media (min-width: 761px) {
  .dresscode-card-content { background: #f5f1ec; }
  .dresscode-card-background {
    scale: 1.2;
    filter: blur(2px);
  }
}

.dresscode-palette-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 5px;
  padding: 5px clamp(18px, 3vw, 42px);
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(1.5px);
  color: #4f4339;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.2;
  text-align: center;
}

.dresscode-palette {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(54px, 1fr));
  align-items: center;
  width: 100%;
  gap: clamp(8px, 1.35vw, 18px);
  padding: 12px clamp(18px, 3vw, 42px);
}

.dresscode-color {
  --glow-color: 239, 195, 197;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(34px, auto);
  width: 100%;
  max-width: 112px;
  justify-self: center;
  padding: 8px 8px 6px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(2px);
  box-shadow: 0 6px 18px rgba(75, 62, 51, .09);
  transform: translateY(0) scale(1);
  transition: transform .28s ease, box-shadow .28s ease, opacity .28s ease;
}

.dresscode-color:hover {
  z-index: 2;
  box-shadow: 0 12px 25px rgba(75, 62, 51, .16);
  transform: translateY(-4px) scale(1.055);
}

.dresscode-palette:has(.dresscode-color:hover) .dresscode-color:not(:hover) {
  opacity: .7;
  transform: scale(.985);
}

.color-blush { --glow-color: 239, 195, 197; }
.color-peach { --glow-color: 239, 206, 178; }
.color-yellow { --glow-color: 245, 229, 162; }
.color-lavender { --glow-color: 206, 193, 222; }
.color-blue { --glow-color: 174, 207, 230; }
.color-mint { --glow-color: 196, 211, 180; }

.dresscode-color small {
  align-self: center;
  color: #514941;
  font-family: var(--font-body);
  font-size: clamp(.48rem, .64vw, .66rem);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.dresscode-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  justify-self: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.swatch-blush { background: #efc3c5; }
.swatch-peach { background: #efceb2; }
.swatch-yellow { background: #f5e5a2; }
.swatch-lavender { background: #cec1de; }
.swatch-blue { background: #aecfe6; }
.swatch-mint { background: #c4d3b4; }

.dresscode-photo {
  position: relative;
  min-width: 0;
  min-height: 370px;
  overflow: hidden;
  margin: 0;
}

.dresscode-photo::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 42px;
  background: linear-gradient(90deg, #f0e9e1, transparent);
  pointer-events: none;
}

.dresscode-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.location-card-map {
  height: 100%;
  min-height: 300px;
  margin: 0;
  border-radius: 0 15px 15px 0;
  box-shadow: none;
}

.supplier-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 3fr);
  align-items: stretch;
  min-height: 370px;
  overflow: hidden;
  padding: 0 !important;
}

.supplier-card-copy {
  align-self: start;
  padding: 32px 30px;
  text-align: left;
}

.supplier-symbol {
  display: block;
  width: 48px;
  height: 48px;
  margin: 2px 0 18px;
  color: var(--accent);
}

.supplier-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.supplier-symbol-top {
  fill: currentColor;
  fill-opacity: .04;
}

.supplier-symbol-side {
  fill: currentColor;
  fill-opacity: .09;
}

.supplier-card-copy h3 {
  margin: 0 0 14px;
}

.supplier-card-copy p {
  margin: 0;
  line-height: 1.75;
}

.supplier-links {
  --supplier-visible: 5;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #f3efe9;
}

.supplier-links:focus-visible {
  outline: 2px solid rgba(105, 86, 69, .5);
  outline-offset: -2px;
}

.supplier-track {
  display: flex;
  gap: 0;
  width: 100%;
  min-height: 100%;
  transform: translateX(0);
  will-change: transform;
}

.supplier-links.is-sliding .supplier-track {
  transform: translateX(calc(-100% / var(--supplier-visible)));
  transition: transform .7s cubic-bezier(.45, 0, .2, 1);
}

.supplier-link {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 0 0 calc(100% / var(--supplier-visible));
  overflow: hidden;
  flex-direction: column;
  border: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  text-align: left;
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease;
}

.supplier-music-ceremony .supplier-photo {
  background: linear-gradient(155deg, #cfc2b5, #eee6de 52%, #bba896);
}

.supplier-music-ceremony .supplier-photo img {
  object-position: 28% center;
}

.supplier-music-ceremony .supplier-link-copy strong,
.supplier-music-afternoon .supplier-link-copy strong {
  font-size: clamp(.76rem, 1vw, .91rem);
  letter-spacing: .025em;
  white-space: nowrap;
}

.supplier-music-afternoon .supplier-photo {
  background: linear-gradient(155deg, #b9aa9d, #e6ddd4 52%, #c8b8a9);
}

.supplier-music-afternoon .supplier-photo img {
  object-position: 30% center;
}

.supplier-coordinator .supplier-photo {
  background: linear-gradient(155deg, #d9cec4, #f4eee8 52%, #c5b4a5);
}

.supplier-link.is-pending .supplier-photo > span {
  color: rgba(83, 65, 50, .78);
  font-family: var(--font-heading);
  font-size: 2.3rem;
}

.supplier-link:not(.is-pending):hover,
.supplier-link:not(.is-pending):focus-visible {
  box-shadow: 0 14px 30px rgba(69, 57, 47, .14);
  transform: translateY(-4px);
}

.supplier-photo {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  align-content: center;
  gap: 8px;
  background: linear-gradient(145deg, #ded5cc, #f4efe9 55%, #d5c7bb);
  color: #765f4d;
}

.supplier-photo > span {
  font-size: 1.45rem;
}

.supplier-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.8);
  transform: scale(1.035);
}

.supplier-photo small {
  padding: 0 8px;
  color: #796b60;
  font-size: .59rem;
  letter-spacing: .04em;
  text-align: center;
}

/* Celoplošný ořez s obličejem lehce vlevo od středu dlaždice. */
.supplier-catering .supplier-photo img {
  object-fit: cover;
  object-position: 65% center;
  transform: none;
}

.supplier-photographer .supplier-photo img {
  object-position: center top;
  transform: none;
}

.supplier-link-copy {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 13px 12px 14px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px);
}

.supplier-link-copy strong,
.supplier-link-copy small {
  display: block;
}

.supplier-link-copy strong {
  color: #3f3731;
  font-family: var(--font-heading);
  font-size: clamp(.76rem, 1vw, .91rem);
  font-weight: 400;
  letter-spacing: .025em;
  line-height: 1.25;
}

.supplier-link-copy small {
  margin-top: 5px;
  color: #8c8178;
  font-size: .62rem;
  letter-spacing: .035em;
  line-height: 1.35;
}

.location-card:hover,
.location-card:focus-visible,
.location-card:focus-within {
  z-index: 12;
}

.location-map-preview {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(560px, calc(100vw - 44px));
  height: 300px;
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(57, 53, 61, .18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(.985);
  transform-origin: top center;
  transition: opacity .28s ease, transform .28s ease;
}

.location-map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 13px;
}

.location-card:hover .location-map-preview,
.location-card:focus-visible .location-map-preview,
.location-card:focus-within .location-map-preview {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

@media (max-width: 760px) {
  .date-afterparty-row {
    grid-template-columns: 1fr;
  }

  .info-card-row {
    grid-template-columns: 1fr;
  }

  .seating-restrictions-row {
    grid-template-columns: 1fr;
  }

  .info-card-row .afterparty-card {
    grid-column: auto;
  }

  .info-card-row .accommodation-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  #info .cards .seating-card {
    grid-column: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-columns: 1fr;
  }

  #info .cards .seating-restrictions-row article {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .seating-card-content {
    min-height: 280px;
    border-top: 1px solid #ebe6df;
    border-left: 0;
  }

  .accommodation-card-content {
    display: block;
    min-height: 280px;
    border-top: 1px solid #ebe6df;
    border-left: 0;
  }

  .parking-gift-row {
    grid-template-columns: 1fr;
  }

  .date-card,
  .afterparty-card,
  .parking-card,
  .location-card,
  .supplier-card,
  .dresscode-card {
    grid-template-columns: 1fr;
  }

  #info .cards .date-card {
    width: 100%;
    height: auto;
    max-height: none;
  }

  #info .cards .afterparty-card {
    width: 100%;
    height: auto;
    max-height: none;
  }

  #info .cards .parking-card {
    width: 100%;
    height: auto;
    max-height: none;
  }

  #info .cards .gift-card {
    height: auto;
    min-height: 260px;
    max-height: none;
  }

  .parking-card-map {
    min-height: 280px;
    border-top: 1px solid rgba(105, 86, 69, .12);
    border-left: 0;
  }

  .afterparty-spotify {
    min-height: 0;
    padding: 0;
    border-top: 1px solid rgba(105, 86, 69, .12);
    border-left: 0;
  }

  .afterparty-spotify-code {
    height: min(620px, 125vw);
    padding: 38px 20px;
  }

  .afterparty-spotify-preview {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .afterparty-preview-copy {
    align-items: center;
  }

  .date-card-copy {
    padding-bottom: 24px;
  }

  .date-card-countdown {
    min-height: 190px;
    padding: 0;
    border-top: 1px solid rgba(105, 86, 69, .12);
    border-left: 0;
  }

  .date-card-countdown-bubble {
    padding: 24px 14px;
  }

  .dresscode-card-content {
    display: flex;
    min-height: 220px;
    padding-top: 28px;
    border-top: 1px solid rgba(105, 86, 69, .12);
    border-left: 0;
  }

  .dresscode-palette {
    grid-template-columns: repeat(6, minmax(34px, 1fr));
    gap: 5px;
    padding: 22px 10px;
  }

  .dresscode-swatch {
    width: 100%;
    height: auto;
    border-width: 4px;
  }

  .dresscode-color {
    grid-template-rows: auto minmax(28px, auto);
    padding: 4px 4px 3px;
  }

  .dresscode-color small {
    font-size: .38rem;
    letter-spacing: .02em;
  }

  .supplier-links {
    --supplier-visible: 2;
    padding: 0;
    background: rgba(105, 86, 69, .16);
  }

  .supplier-link {
    min-height: 300px;
    border-left: 0;
  }

  .location-card-map {
    min-height: 280px;
    border-radius: 0 0 15px 15px;
  }

  .location-map-preview {
    height: 250px;
  }
}

/* Horizontální osa našeho příběhu */
.about-timeline-scroll {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0;
  padding: 0 8px;
  overflow: visible;
  scrollbar-width: none;
}

.about-timeline-scroll::-webkit-scrollbar {
  display: none;
}

#harmonogram,
#faq {
  padding-top: 53px;
}

@media (max-width: 760px) {
  #harmonogram,
  #faq {
    padding-top: 23px;
  }
}

#faq details p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

#faq .faq-note {
  max-width: 650px;
  margin: 56px auto 0;
  color: #776957;
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.7;
  text-align: center;
}

#faq summary {
  position: relative;
  display: list-item;
  padding-right: 42px;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::marker {
  content: "";
}

#faq summary:focus-visible {
  outline: 2px solid #927c66;
  outline-offset: 4px;
  border-radius: 4px;
}

#faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: #6e5844;
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
}

#faq details[open] summary::after {
  content: "−";
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.site-footer .footer-message {
  grid-column: 2;
  text-align: center;
}

.site-footer a {
  grid-column: 3;
  justify-self: end;
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
  }

  .site-footer .footer-message {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer a {
    grid-column: 2;
    grid-row: 1;
  }
}

#harmonogram .timeline {
  position: relative;
  margin: 48px auto 0;
}

#harmonogram .timeline-note {
  max-width: 620px;
  margin: 64px auto -40px;
  color: #776957;
  font-family: var(--font-body);
  font-size: .8rem;
  line-height: 1.7;
  text-align: center;
}

#harmonogram .timeline::before {
  left: 50%;
  transform: translateX(-50%);
  background: #b6a38f;
}

#harmonogram .timeline > div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 64px;
  padding: 10px 0;
  align-items: center;
}

#harmonogram .timeline-dot {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

#harmonogram .timeline-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 3px solid var(--sand);
  border-radius: 50%;
  background: var(--accent);
  box-sizing: content-box;
  transform: translate(-50%, -50%);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
  animation: timeline-dot-pulse 3.6s ease-in-out infinite;
}

@keyframes timeline-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(146, 124, 102, 0); }
  50% { box-shadow: 0 0 0 4px rgba(146, 124, 102, .13); }
}

#harmonogram .timeline > div,
#harmonogram .timeline time,
#harmonogram .timeline p {
  transition: opacity .22s ease, transform .22s ease, color .22s ease, background .22s ease, box-shadow .22s ease;
}

#harmonogram .timeline-dot:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

#harmonogram .timeline:has(.is-pinned, .timeline-dot:focus-visible) > div:not(.is-pinned):not(:has(.timeline-dot:focus-visible)):not(:has(> .timeline-dot:hover, > p:hover)) {
  opacity: .72;
}

#harmonogram .timeline > div:is(.is-pinned, :has(.timeline-dot:focus-visible)) .timeline-dot::before {
  animation: none;
  transform: translate(-50%, -50%) scale(1.3);
  background: #6e5844;
  box-shadow: 0 0 0 5px rgba(146, 124, 102, .12);
}

#harmonogram .timeline > div:is(.is-pinned, :has(.timeline-dot:focus-visible)) time {
  color: #6e5844;
  transform: scale(1.05);
}

#harmonogram .timeline > div:is(.is-pinned, :has(.timeline-dot:focus-visible)) p {
  background: #fff;
  transform: scale(1.025);
  box-shadow: 0 8px 22px rgba(57, 53, 61, .09);
}

@media (hover: hover) and (pointer: fine) {
  #harmonogram .timeline:has(> div > .timeline-dot:hover, > div > p:hover) > div:not(:has(> .timeline-dot:hover, > p:hover)):not(.is-pinned) {
    opacity: .72;
  }

  #harmonogram .timeline > div:has(> .timeline-dot:hover, > p:hover) {
    opacity: 1;
  }

  #harmonogram .timeline > div:has(> .timeline-dot:hover, > p:hover) .timeline-dot::before {
    animation: none;
    transform: translate(-50%, -50%) scale(1.3);
    background: #6e5844;
    box-shadow: 0 0 0 5px rgba(146, 124, 102, .12);
  }

  #harmonogram .timeline > div:has(> .timeline-dot:hover, > p:hover) time {
    color: #6e5844;
    transform: scale(1.05);
  }

  #harmonogram .timeline > div:has(> .timeline-dot:hover, > p:hover) p {
    background: #fff;
    transform: scale(1.025);
    box-shadow: 0 8px 22px rgba(57, 53, 61, .09);
  }
}

@media (prefers-reduced-motion: reduce) {
  #harmonogram .timeline > div,
  #harmonogram .timeline time,
  #harmonogram .timeline p,
  #harmonogram .timeline-dot::before {
    transition: none;
    animation: none;
  }
}

#harmonogram .timeline p {
  grid-column: 1;
  text-align: right;
}

#harmonogram .timeline time {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  text-align: left;
  color: var(--accent);
}

#harmonogram .timeline p {
  grid-row: 1;
  cursor: pointer;
  justify-self: end;
  width: min(15rem, 100%);
  margin: 0;
  padding: 13px 18px;
  font-family: var(--font-body);
  border-radius: 12px;
}

#harmonogram .timeline p::before {
  content: none;
}

#harmonogram .timeline-details {
  display: block;
  grid-column: 1;
  grid-row: 2;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  padding: 0 18px;
  text-align: right;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3px);
  transition: max-height .32s ease, margin-top .32s ease, opacity .22s ease, transform .22s ease, visibility .22s ease;
}

#harmonogram .timeline-details > span {
  display: block;
}

#harmonogram .timeline > div:is(.is-pinned, :has(.timeline-dot:focus-visible)) .timeline-details {
  max-height: 120px;
  margin-top: 8px;
  opacity: .6;
  visibility: visible;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  #harmonogram .timeline > div:has(> .timeline-dot:hover, > p:hover) .timeline-details {
    max-height: 120px;
    margin-top: 8px;
    opacity: .6;
    visibility: visible;
    transform: none;
  }
}

@media (hover: none), (pointer: coarse) {
  #harmonogram .timeline > div:focus-within .timeline-details {
    max-height: 160px;
    margin-top: 8px;
    opacity: .6;
    visibility: visible;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #harmonogram .timeline-details {
    transition: none;
    transform: none;
  }
}

#harmonogram .timeline > div:nth-child(even) .timeline-details {
  grid-column: 2;
  text-align: left;
}

#harmonogram .timeline > div:has(.timeline-details) .timeline-dot {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  left: auto;
  top: auto;
  transform: none;
}

#harmonogram .timeline > div:nth-child(even) p {
  grid-column: 2;
  justify-self: start;
  text-align: left;
}

#harmonogram .timeline > div:nth-child(even) time {
  grid-column: 1;
  text-align: right;
}

@media (max-width: 560px) {
  #harmonogram .timeline > div {
    column-gap: 32px;
    padding: 8px 0;
  }

  #harmonogram .timeline p {
    padding: 11px 10px;
    font-size: .82rem;
    min-height: calc(3.3em + 22px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  #harmonogram .timeline > div:nth-child(even) p {
    justify-content: flex-start;
  }

  #harmonogram .timeline time {
    font-size: 1.05rem;
  }

  #harmonogram .timeline-details {
    padding: 0 10px;
    font-size: .9rem;
  }

}

#onas.section-sand {
  padding: 0;
  background: var(--paper);
}

.about-photo-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 740px;
  padding: 72px 0;
  background-image: url("assets/onas-pozadi-les-original.jpeg");
  background-position: center calc(50% + var(--about-parallax-y, 0px));
  background-size: cover;
  background-repeat: no-repeat;
  will-change: background-position;
}

.about-photo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(48, 50, 53, .18), rgba(35, 38, 39, .3));
  pointer-events: none;
}

.about-story-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 52px 0 18px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 46px rgba(57, 53, 61, .08);
  text-align: center;
  backdrop-filter: none;
}

.about-story-card h2 {
  margin: 0 auto 18px;
}

.about-timeline-area {
  position: relative;
  z-index: 3;
  padding-top: 0;
  background: transparent;
}

.about-intro {
  width: min(720px, calc(100% - 56px));
  max-width: 920px;
  margin: 0 auto;
  color: #493d34;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  text-align: center;
}

@media (max-width: 760px) {
  .about-photo-stage {
    min-height: 760px;
    padding: 38px 0;
    background-position: center calc(50% + var(--about-parallax-y, 0px));
    background-size: cover;
  }

  .about-story-card {
    width: 100%;
    padding: 34px 0 18px;
    background: rgba(255, 255, 255, .8);
    text-align: center;
  }

  .about-intro {
    text-align: center;
  }
}

.about-timeline {
  position: relative;
  min-width: 920px;
  height: 112px;
  margin: 0 32px;
}

.about-timeline-line {
  position: absolute;
  top: 58px;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #a49791;
  box-shadow: none;
}

.about-year {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: var(--year-position);
  width: 18px;
  height: 18px;
  border: 5px solid #eee8df;
  border-radius: 50%;
  background: #a49791;
  box-shadow: 0 0 0 1px rgba(164, 151, 145, .38);
  transform: translateX(-50%);
  transition: width .24s ease, height .24s ease, top .24s ease, background .24s ease, box-shadow .24s ease;
}

.about-year:hover,
.about-year:focus-visible,
.about-year:focus-within {
  z-index: 10;
}

.about-year > .about-year-label {
  position: absolute;
  top: 28px;
  left: 50%;
  color: #514941;
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .12em;
  transform: translateX(-50%);
}

.about-year.has-event {
  cursor: pointer;
  outline: none;
}

.about-year.has-event:hover,
.about-year.has-event:focus-visible,
.about-year.has-event:focus-within {
  width: 28px;
  height: 28px;
  top: 45px;
  background: #8f817b;
  box-shadow: 0 0 0 7px rgba(164, 151, 145, .24), 0 10px 25px rgba(80, 67, 59, .15);
}

.about-event-bubble {
  position: absolute;
  top: auto;
  bottom: 52px;
  left: 50%;
  width: 250px;
  padding: 16px 18px;
  border: 1px solid rgba(57, 53, 61, .09);
  border-radius: 17px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 42px rgba(57, 53, 61, .13);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.97);
  transition: opacity .24s ease, transform .24s ease;
}

.about-event-bubble::after {
  content: "";
  position: absolute;
  top: auto;
  bottom: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.about-event-bubble strong,
.about-event-bubble small {
  position: relative;
  z-index: 1;
  display: block;
}

.about-event-bubble strong {
  color: #39353d;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.about-event-bubble small {
  margin-top: 4px;
  color: #806b75;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.about-year.near-start .about-event-bubble {
  left: -6px;
  transform: translate(0, 8px) scale(.97);
}

.about-year.near-start .about-event-bubble::after {
  left: 15px;
}

.about-year.has-event:hover .about-event-bubble,
.about-year.has-event:focus-visible .about-event-bubble,
.about-year.has-event:focus-within .about-event-bubble {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.about-year.near-start:hover .about-event-bubble,
.about-year.near-start:focus-visible .about-event-bubble,
.about-year.near-start:focus-within .about-event-bubble {
  transform: translate(0, 0) scale(1);
}

.about-year.near-end .about-event-bubble {
  right: -6px;
  left: auto;
  transform: translate(0, 8px) scale(.97);
}

.about-year.near-end .about-event-bubble::after {
  right: 15px;
  left: auto;
  transform: rotate(45deg);
}

.about-year.near-end:hover .about-event-bubble,
.about-year.near-end:focus-visible .about-event-bubble,
.about-year.near-end:focus-within .about-event-bubble {
  transform: translate(0, 0) scale(1);
}

/* Samostatné krajní bubliny jsou vždy vystředěné nad bodem roku. */
.about-year.is-start .about-event-bubble,
.about-year.is-close-year .about-event-bubble,
.about-year.is-end .about-event-bubble {
  right: auto;
  left: 50%;
  transform: translate(-50%, 8px) scale(.97);
}

.about-year.is-start .about-event-bubble::after,
.about-year.is-close-year .about-event-bubble::after,
.about-year.is-end .about-event-bubble::after {
  right: auto;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.about-year.is-start:hover .about-event-bubble,
.about-year.is-start:focus-visible .about-event-bubble,
.about-year.is-start:focus-within .about-event-bubble,
.about-year.is-close-year:hover .about-event-bubble,
.about-year.is-close-year:focus-visible .about-event-bubble,
.about-year.is-close-year:focus-within .about-event-bubble,
.about-year.is-end:hover .about-event-bubble,
.about-year.is-end:focus-visible .about-event-bubble,
.about-year.is-end:focus-within .about-event-bubble {
  transform: translate(-50%, 0) scale(1);
}

@media (max-width: 760px) {
  .about-timeline-scroll {
    margin-top: 0;
    padding-inline: 0;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .about-timeline {
    min-width: 820px;
    margin-inline: 24px;
  }
}

/* Dvě souběžné události u jednoho roku */
.about-event-pair {
  position: absolute;
  top: auto;
  bottom: 52px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(540px, calc(100vw - 80px));
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.97);
  transition: opacity .24s ease, transform .24s ease;
}

.about-event-pair::after {
  content: "";
  position: absolute;
  top: auto;
  bottom: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.about-year.has-event .about-event-pair .about-event-bubble {
  position: relative;
  inset: auto;
  width: auto;
  min-height: 104px;
  opacity: 1;
  pointer-events: none;
  transform: none;
  transition: none;
}

.about-event-pair .about-event-bubble::after {
  display: none;
}

.about-event-bubble.has-photo {
  padding: 0;
}

.about-event-pair .about-event-bubble.has-photo {
  padding: 0;
  overflow: hidden;
  border-radius: 17px;
}

.about-event-photo-frame {
  height: 340px;
  box-sizing: border-box;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 16px 16px 0 0;
}

.about-event-bubble.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
  transform-origin: center top;
}

.about-event-photo-frame.ples-photo img {
  transform: none;
  image-rendering: auto;
}

.about-event-photo-frame.promoce-photo img {
  object-position: center 90%;
  transform: none;
}

.about-event-photo-frame.paris-photo img {
  object-position: center 50%;
  transform: none;
}

.about-event-photo-frame.aurora-photo img {
  object-position: center 38%;
  transform: none;
}

.about-event-photo-frame.byt-photo img {
  object-position: center 54%;
  transform: none;
}

.about-event-photo-frame.bydleni-photo img {
  object-position: center 55%;
  transform: none;
}

.about-event-photo-frame.dovolena-photo img {
  object-position: center 50%;
  transform: none;
  transform-origin: center center;
  image-rendering: auto;
  backface-visibility: hidden;
  filter: contrast(1.02) saturate(1.02);
}

.about-event-photo-frame.relationship-start-photo img {
  object-position: 58% center;
  transform: scale(1.06);
  transform-origin: 58% center;
}

.about-event-photo-frame.adam-promoce-photo img {
  object-position: center 54%;
  transform: scale(1.42);
  transform-origin: center 58%;
  filter: brightness(1.13) contrast(.98) saturate(.9) hue-rotate(5deg);
}

.about-event-photo-frame.wedding-photo img {
  object-position: 57% center;
  transform: none;
}

.about-event-bubble.has-photo .about-event-copy {
  padding: 14px 18px 16px;
}

.about-event-bubble.has-photo .about-event-copy strong,
.about-event-bubble.has-photo .about-event-copy small {
  color: #171717;
}

.about-year.has-event:hover .about-event-pair,
.about-year.has-event:focus-visible .about-event-pair,
.about-year.has-event:focus-within .about-event-pair {
  opacity: 1;
  pointer-events: none;
  transform: translate(-50%, 0) scale(1);
}

.about-year.near-end .about-event-pair {
  right: -6px;
  left: auto;
  transform: translate(0, 8px) scale(.97);
}

.about-year.near-end .about-event-pair::after {
  right: 15px;
  left: auto;
  transform: rotate(45deg);
}

.about-year.near-end:hover .about-event-pair,
.about-year.near-end:focus-visible .about-event-pair,
.about-year.near-end:focus-within .about-event-pair {
  transform: translate(0, 0) scale(1);
}

.about-event-pair.is-triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(780px, calc(100vw - 80px));
}

.about-event-pair.is-single {
  grid-template-columns: minmax(0, 1fr);
  width: 264px;
}

/* U více událostí leží střed nejpravější karty přímo nad bodem roku. */
.about-year.near-end .about-event-pair:not(.is-single),
.about-event-pair:not(.is-single) {
  right: auto;
  left: calc(50% + 132px);
  transform: translate(-100%, 8px) scale(.97);
}

.about-year.near-end .about-event-pair:not(.is-single)::after,
.about-event-pair:not(.is-single)::after {
  right: auto;
  left: calc(100% - 132px);
  transform: translateX(-50%) rotate(45deg);
}

.about-year.near-end:hover .about-event-pair:not(.is-single),
.about-year.near-end:focus-visible .about-event-pair:not(.is-single),
.about-year.near-end:focus-within .about-event-pair:not(.is-single),
.about-year.has-event:hover .about-event-pair:not(.is-single),
.about-year.has-event:focus-visible .about-event-pair:not(.is-single),
.about-year.has-event:focus-within .about-event-pair:not(.is-single) {
  transform: translate(-100%, 0) scale(1);
}

.about-year.near-end .about-event-pair.is-triple,
.about-event-pair.is-triple {
  left: calc(50% + 126px);
}

.about-year.near-end .about-event-pair.is-triple::after,
.about-event-pair.is-triple::after {
  left: calc(100% - 126px);
}

@media (max-width: 760px) {
  .about-year.near-end .about-event-pair.is-triple,
  .about-event-pair.is-triple {
    grid-template-columns: repeat(3, minmax(155px, 1fr));
    width: 530px;
    left: calc(50% + 84px);
  }

  .about-year.near-end .about-event-pair.is-triple::after,
  .about-event-pair.is-triple::after {
    left: calc(100% - 84px);
  }
}

/* Zvýrazněný svatební rok */
.about-year.is-end {
  z-index: 3;
  background: #df4b43;
  animation: wedding-year-pulse 1.8s ease-out infinite;
}

.about-year.is-end.has-event:hover,
.about-year.is-end.has-event:focus-visible,
.about-year.is-end.has-event:focus-within {
  z-index: 10;
  background: #d9433c;
  box-shadow: 0 0 0 8px rgba(223, 75, 67, .2), 0 10px 26px rgba(147, 48, 42, .22);
  animation: none;
}

@keyframes wedding-year-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(223, 75, 67, .3), 0 0 0 0 rgba(223, 75, 67, .28);
  }
  55% {
    box-shadow: 0 0 0 1px rgba(223, 75, 67, .2), 0 0 0 11px rgba(223, 75, 67, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-year.is-end {
    animation: none;
  }
}

/* Jemná spojnice první lásky mezi roky 2008 a 2010 */
.about-relationship-link {
  position: absolute;
  z-index: 1;
  top: 58px;
  left: 29.63%;
  width: 7.41%;
  height: 2px;
  border-radius: 999px;
  background: #49382e;
  box-shadow: none;
  cursor: pointer;
  outline: none;
  transition: top .22s ease, height .22s ease, background .22s ease, box-shadow .22s ease;
}

.about-relationship-link::before {
  content: "";
  position: absolute;
  inset: -10px 0;
}

.relationship-bubble {
  position: absolute;
  z-index: 3;
  top: auto;
  bottom: 49px;
  left: 50%;
  width: 250px;
  overflow: visible;
  border: 1px solid rgba(57, 53, 61, .09);
  border-radius: 17px;
  background: rgba(255, 255, 255, .97);
  color: #39353d;
  box-shadow: 0 18px 42px rgba(57, 53, 61, .13);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  white-space: normal;
  transform: translate(-50%, 8px) scale(.97);
  transition: opacity .24s ease, transform .24s ease;
}

.relationship-bubble img {
  display: block;
  width: 100%;
  height: 340px;
  box-sizing: border-box;
  border: 5px solid #fff;
  border-radius: 16px 16px 0 0;
  clip-path: inset(0 round 16px 16px 0 0);
  object-fit: cover;
  object-position: center top;
  image-rendering: auto;
}

.relationship-bubble strong {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 60px;
  padding: 0 10px;
  font-size: 1.15rem;
  font-weight: 400;
  white-space: nowrap;
}

.relationship-bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  display: block;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.about-relationship-link::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: 37px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(57, 53, 61, .09);
  border-bottom: 1px solid rgba(57, 53, 61, .09);
  background: #fff;
  opacity: 0;
  transform: translateX(-50%) translateY(8px) rotate(45deg) scale(.97);
  transition: opacity .24s ease, transform .24s ease;
}

.about-relationship-link::after {
  display: none;
}

.about-relationship-link:hover::after,
.about-relationship-link:focus::after,
.about-relationship-link:focus-visible::after,
.about-timeline:has(.about-year.relationship-year:hover) .about-relationship-link::after,
.about-timeline:has(.about-year.relationship-year:focus) .about-relationship-link::after,
.about-timeline:has(.about-year.relationship-year:focus-visible) .about-relationship-link::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) rotate(45deg) scale(1);
}

.about-relationship-link:hover,
.about-relationship-link:focus,
.about-relationship-link:focus-visible {
  z-index: 20;
  background: #382a23;
  box-shadow: 0 0 0 4px rgba(73, 56, 46, .12);
}

.about-timeline:has(.about-year.relationship-year:hover) .about-relationship-link,
.about-timeline:has(.about-year.relationship-year:focus) .about-relationship-link,
.about-timeline:has(.about-year.relationship-year:focus-visible) .about-relationship-link {
  z-index: 20;
}

.about-relationship-link:hover .relationship-bubble,
.about-relationship-link:focus .relationship-bubble,
.about-relationship-link:focus-visible .relationship-bubble,
.about-timeline:has(.about-year.relationship-year:hover) .relationship-bubble,
.about-timeline:has(.about-year.relationship-year:focus) .relationship-bubble,
.about-timeline:has(.about-year.relationship-year:focus-visible) .relationship-bubble {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.about-year.relationship-year {
  border-color: #eee8df;
  background: #49382e;
  box-shadow: 0 0 0 1px rgba(73, 56, 46, .62);
}

.about-year.relationship-year:hover,
.about-year.relationship-year:focus,
.about-year.relationship-year:focus-visible {
  width: 28px;
  height: 28px;
  top: 45px;
  background: #382a23;
  box-shadow: 0 0 0 7px rgba(73, 56, 46, .18), 0 10px 25px rgba(56, 42, 35, .16);
}

.about-timeline:has(.about-year.relationship-year:hover) .about-relationship-link,
.about-timeline:has(.about-year.relationship-year:focus) .about-relationship-link,
.about-timeline:has(.about-year.relationship-year:focus-visible) .about-relationship-link {
  background: #382a23;
  box-shadow: 0 0 0 4px rgba(73, 56, 46, .12);
}

/* Oranžový úsek 2008–2010 se chová jako jeden celek */
.about-timeline:has(.about-relationship-link:hover) .about-year.relationship-year,
.about-timeline:has(.about-relationship-link:focus) .about-year.relationship-year,
.about-timeline:has(.about-relationship-link:focus-visible) .about-year.relationship-year,
.about-timeline:has(.about-year.relationship-year:hover) .about-year.relationship-year,
.about-timeline:has(.about-year.relationship-year:focus) .about-year.relationship-year,
.about-timeline:has(.about-year.relationship-year:focus-visible) .about-year.relationship-year {
  width: 28px;
  height: 28px;
  top: 45px;
  background: #382a23;
  box-shadow: 0 0 0 7px rgba(73, 56, 46, .18), 0 10px 25px rgba(56, 42, 35, .16);
}

/* Oranžová část společného příběhu od roku 2016 do roku 2026 */
.about-present-link {
  position: absolute;
  z-index: 1;
  top: 58px;
  left: 59.26%;
  width: 40.74%;
  height: 2px;
  border-radius: 999px;
  background: #49382e;
  box-shadow: none;
  pointer-events: none;
}

.about-year.present-year {
  border-color: #eee8df;
  background: #49382e;
  box-shadow: 0 0 0 1px rgba(73, 56, 46, .62);
}

.about-year.present-year.has-event:hover,
.about-year.present-year.has-event:focus-visible,
.about-year.present-year.has-event:focus-within {
  background: #382a23;
  box-shadow: 0 0 0 7px rgba(73, 56, 46, .18), 0 10px 25px rgba(56, 42, 35, .16);
}

/* Informační karty: podobná velikost symbolů a společná linie nadpisů. */
#info .date-card-copy,
#info .afterparty-card-copy,
#info .location-card-copy,
#info .parking-card-copy,
#info .dresscode-card-copy,
#info .supplier-card-copy,
#info .accommodation-card-copy,
#info .seating-card-copy,
#info .cards .restrictions-card {
  padding-top: 30px;
}

#info .cards article h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

#info .date-card-copy .summary-icon-calendar { margin: 9px 0 15px; }
#info .location-card-copy .summary-icon-pin { margin: 7px 0 21px; }
#info .dresscode-card-copy .summary-icon-dress { margin: 0 0 14px; }
#info .afterparty-symbol { margin: 0 0 20px; }
#info .parking-symbol,
#info .gift-symbol { margin: 0 0 18px; }
#info .supplier-symbol { margin: 0 0 14px; }
#info .accommodation-symbol { margin: 0 0 22px; }
#info .storage-symbol,
#info .seating-symbol { margin: 0 0 20px; }
#info .restrictions-card .icon {
  display: block;
  height: 40px;
  margin: 0 0 22px;
}
#info .restrictions-card .icon svg {
  width: 40px;
  height: 40px;
}

#info .restrictions-card h3 { margin-bottom: 8px; }
#info .restrictions-card h4 { margin: 0 0 2px; }
#info .restrictions-card ul { margin: 0; line-height: 1.55; }
#info .afterparty-symbol { font-size: 2.65rem; }
