/*
Direction contract: the answer is three real times. The page states them before
anything else and treats the full calendar as the secondary path, not the first.
*/

body { background: #f6f7f9; }

.f-top { padding: 44px 0 40px; }

.f-top__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 56px;
  width: min(calc(100% - 40px), 1140px);
  margin: 0 auto;
  align-items: start;
}

.f-intro { padding-top: 6px; }

.f-intro h1 {
  max-width: 460px;
  margin: 16px 0 0;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.f-intro h1 em { color: var(--red); font-style: normal; }
.f-intro > p { max-width: 420px; margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.45; }

.f-place {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 11px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.f-place > svg { width: 20px; height: 20px; stroke: var(--red); }
.f-place strong { display: block; font-size: 15px; }
.f-place small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }

.f-price { display: grid; justify-items: end; line-height: 1; }
.f-price small { margin: 0 0 4px; color: var(--red); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.f-price strong { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.f-price > span { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; }

.f-panel {
  padding: 20px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.f-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.f-panel__head h2 { margin: 0; font-size: 22px; letter-spacing: 0; }

.f-booking { padding: 0 0 12px; }
.f-booking__inner { width: min(calc(100% - 40px), 1140px); margin: 0 auto; }
.f-booking .booking-stage, .f-booking #hdp-booking { min-height: 548px; }

.f-after {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 40px), 1140px);
  margin: 0 auto;
  padding: 34px 0 52px;
}

.f-after > div { padding: 0 32px; }
.f-after > div:first-child { padding-left: 0; }
.f-after > div:last-child { padding-right: 0; }
.f-after > div + div { border-left: 1px solid var(--line); }
.f-after strong, .f-after span { display: block; }
.f-after strong { font-size: 16px; }
.f-after span { margin-top: 4px; color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .f-top__inner { grid-template-columns: 1fr; gap: 24px; }
  .f-intro h1, .f-intro > p { max-width: 660px; }
}

@media (max-width: 720px) {
  .f-top { padding: 24px 0 22px; }
  .f-top__inner { width: min(calc(100% - 28px), 1140px); gap: 18px; }
  .f-intro h1 { font-size: 32px; }
  .f-intro > p { margin-top: 10px; font-size: 15px; }
  .f-place { margin-top: 16px; padding-top: 14px; }
  .f-price strong { font-size: 22px; }

  .f-panel { padding: 14px; }
  .f-panel__head h2 { font-size: 19px; }

  .f-booking__inner { width: min(calc(100% - 20px), 1140px); }
  .f-booking .booking-stage, .f-booking #hdp-booking { min-height: 510px; }

  .f-after { width: min(calc(100% - 28px), 1140px); grid-template-columns: 1fr; padding: 22px 0 34px; }
  .f-after > div, .f-after > div:first-child, .f-after > div:last-child { padding: 14px 0; }
  .f-after > div + div { border-top: 1px solid var(--line); border-left: 0; }
}
