:root {
  --primary-color: #5CCCE2;
  --primary-color-rgb: 92, 204, 226;
  --secondary-color: #1B7F96;
  --secondary-color-rgb: 27, 127, 150;
}

/* style.css declares these on *, so they must be overridden there too */
* {
  /* dark surfaces tinted to match the MyPACS cyan */
  --bg-dark-1: #0C171D;
  --bg-dark-2: #13252E;
  --bg-dark-1-rgb: 12, 23, 29;

  /* light cyan buttons need dark text for contrast */
  --btn-color: #0C171D;
}

.d-ticket,
.d-ticket.s2,
.d-ticket.s3 {
  background: url('../../images/misc/l5.webp');
  background-size: cover;
}

/* recolour the purple decorative artwork to the brand cyan */
#section-about .rotate-animation {
  filter: hue-rotate(-80deg);
}

/* long words (e.g. German) in the hero headline break instead of overflowing on phones */
#section-hero h1 {
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* same recolour, for the sphere artwork used in the split-hero layout */
.hue-brand {
  filter: hue-rotate(-80deg);
}

/* news cards and article images: crop every picture to the same shape */
.news-thumb {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-hero-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* plan comparison table on the dark theme */
.table-compare {
  --bs-table-bg: transparent;
  --bs-table-color: var(--body-font-color-dark);
  --bs-table-hover-bg: transparent;
}

.table-compare th,
.table-compare td {
  color: rgba(255, 255, 255, .8) !important;
  background: transparent !important;
  padding: 14px 12px;
  border-bottom: solid 1px rgba(255, 255, 255, .1);
}

.table-compare thead th {
  color: #ffffff;
}

/* laptop widths (desktop menu, but less room): tighten the menu so every item,
   including the language switcher, stays on one line in every language */
@media (min-width: 993px) and (max-width: 1279px) {
  #mainmenu > li {
    margin-right: 16px;
  }

  #mainmenu > li > a {
    font-size: 14px;
  }

  header .btn-main {
    padding-left: 14px;
    padding-right: 14px;
    letter-spacing: 1px;
  }
}
