:root {
  --bt-midnight-navy: #103050;
  --bt-paper: #fbf7f2;
  --bt-line: rgba(16, 48, 80, 0.18);
  --bt-shadow: 0 24px 64px rgba(16, 48, 80, 0.12);
}

body {
  margin: 0;
  background: var(--bt-paper);
  color: var(--bt-midnight-navy);
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
}

.brand-mark {
  gap: 1rem;
  color: var(--bt-midnight-navy);
  text-decoration: none;
}

.brand-logo {
  width: 5.25rem;
  height: 5.25rem;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(246, 239, 233, 0.9);
  box-shadow: 0 16px 32px rgba(16, 48, 80, 0.12);
  border: 1px solid rgba(16, 48, 80, 0.12);
}

.brand-kicker,
.brand-subtitle {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-kicker {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}

.brand-subtitle {
  display: block;
  margin-top: 0.35rem;
  color: rgba(16, 48, 80, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
}

.content-section {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

.intro-section {
  padding-top: 1rem;
}

.text-panel {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--bt-line);
  border-radius: 2rem;
  background: rgba(251, 247, 242, 0.82);
  box-shadow: var(--bt-shadow);
  backdrop-filter: blur(10px);
}

.text-panel > p {
  margin-bottom: 0;
  font-size: 1.15rem;
  color: rgba(16, 48, 80, 0.82);
}

.tour-summary {
  white-space: pre-line;
}

.tour-series-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--bt-line);
  border-left: 3px solid var(--bt-midnight-navy);
  border-radius: 0.6rem;
  background: rgba(16, 48, 80, 0.04);
  color: var(--bt-midnight-navy);
  text-decoration: none;
}

.tour-series-link:hover,
.tour-series-link:focus-visible {
  background: rgba(16, 48, 80, 0.09);
  border-color: var(--bt-midnight-navy);
  color: var(--bt-midnight-navy);
}

.tour-series-link:focus-visible {
  outline: 2px solid var(--bt-midnight-navy);
  outline-offset: 3px;
}

.tour-series-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
}

.tour-series-label {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.tour-series-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
}

.tour-series-hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tour-map {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.tour-card {
  position: relative;
}

.tour-card-price {
  position: absolute;
  z-index: 1;
  top: 0.65rem;
  left: 0.65rem;
  max-width: calc(100% - 1.3rem);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.registration-note {
  white-space: pre-line;
}

.dashboard-tour-table {
  width: 100%;
  min-width: 72rem;
  table-layout: fixed;
}

.dashboard-col-actions {
  width: 12rem;
}

.dashboard-col-region {
  width: 25%;
}

.dashboard-col-date {
  width: 12rem;
}

.dashboard-col-distance {
  width: 7rem;
}

.dashboard-col-count {
  width: 8rem;
}

.dashboard-tour-table > :not(caption) > * > * {
  padding: 0.75rem;
  text-align: left;
}

.dashboard-tour-table th,
.dashboard-tour-table td {
  overflow-wrap: anywhere;
}

.dashboard-tour-table th:nth-child(n + 4),
.dashboard-tour-table td:nth-child(n + 4),
.dashboard-tour-table .btn {
  white-space: nowrap;
}

.section-title {
  margin-bottom: 1.25rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

@media (max-width: 767.98px) {
  .brand-logo {
    width: 4.4rem;
    height: 4.4rem;
  }

  .text-panel {
    padding: 1.5rem;
  }

  .text-panel > p {
    font-size: 1.05rem;
  }
}
