.hub-container {
  padding: 0;
  margin: 0;
}

.hub-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 3px solid #160000;
  border-bottom: 3px solid #160000;
}

.hub-header-column {
  padding: 20px;
}

.hub-header-left {
  padding-bottom: 10px;
}

.hub-header-right {
  padding-top: 10px;
}

.hub-title {
  font-family: "new-science", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  letter-spacing: -1.2px;
  line-height: 88%;
  margin: 0;
  text-align: left;
  color: #160000;
}

.hub-intro {
  font-family: "aktiv-grotesk", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 126%;
  margin: 0;
  text-align: left;
  color: #160000;
  max-width: 380px;
}

.hub-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hub-tile {
  display: block;
  text-decoration: none !important;
  color: #160000;
  border-bottom: 3px solid #160000;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: #fff;
}

.hub-tile:hover {
  background-color: #160000;
  color: #fff;
  text-decoration: none !important;
}

.hub-tile:hover .hub-tile-title {
  color: #fff;
}

.hub-tile:hover .hub-tile-intro {
  color: #fff;
}

.hub-tile-image-wrapper {
  width: calc(100% - 40px);
  height: 445px;
  overflow: hidden;
  line-height: 0;
  margin: 0 20px 20px 20px;
  position: relative;
}

.hub-tile-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.5s;
  z-index: 1;
  pointer-events: none;
}

.hub-tile:hover .hub-tile-image-wrapper::before {
  opacity: 1;
}

.hub-tile--race-fuel .hub-tile-image-wrapper::before {
  background-image: url('../img/2025/1/headset.jpg');
  background-position: center bottom;
}

.hub-tile--fluid-thinking .hub-tile-image-wrapper::before {
  background-image: url('../img/2025/2/bubbles.jpg');
  background-position: center center;
}

.hub-tile--shared-horizons .hub-tile-image-wrapper::before {
  background-image: url('../img/2026/1/inside-the-engine.jpg');
  background-position: center center;
}

.hub-tile--endurance-engineers .hub-tile-image-wrapper::before {
  background-image: url('../img/2026/2/smooth-operation.jpg');
  background-position: center top;
}

.hub-tile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20% !important;
  display: block;
  transition: opacity 1.5s;
}

.hub-tile:hover .hub-tile-image-wrapper img {
  opacity: 0;
}

.hub-tile--fluid-thinking .hub-tile-image-wrapper img {
  object-position: center top !important;
}

.hub-tile-content {
  padding: 20px 20px 20px 20px;
}

.hub-tile-title {
  font-family: "new-science", sans-serif;
  font-weight: 700 !important;
  font-size: 20px;
  letter-spacing: 0.8px;
  line-height: normal;
  margin: 0 0 15px 0;
  color: inherit;
}

.hub-tile-intro {
  font-family: "aktiv-grotesk", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 126%;
  margin: 0 0 10px 0;
  color: inherit;
}

@media (min-width: 740px) {
  .hub-title {
    font-size: 62px;
    letter-spacing: -1.86px;
    line-height: 82%;
  }

  .hub-intro {
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
    max-width: 500px;
  }

  .hub-tiles {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
  }

  .hub-tile {
    border-right: 3px solid #160000;
    display: flex;
    flex-direction: column;
  }

  .hub-tile:nth-child(2n) {
    border-right: none;
  }

  .hub-tile-image-wrapper {
    height: 460px;
    margin: 0 20px 20px 20px;
    margin-top: auto;
  }

  .hub-tile-image-wrapper img {
    object-position: center 10%;
  }

  .hub-tile--fluid-thinking .hub-tile-image-wrapper img {
    object-position: center 45%;
  }

  .hub-tile--shared-horizons .hub-tile-image-wrapper img,
  .hub-tile--endurance-engineers .hub-tile-image-wrapper img {
    object-position: center 15% !important;
  }

  .hub-tile-content {
    padding: 20px 20px 20px 20px;
  }

  .hub-tile-title {
    font-size: 22px;
    letter-spacing: 0.88px;
    line-height: 120%;
  }

  .hub-tile-intro {
    font-size: 16px;
    line-height: 116%;
    max-width: 600px;
  }
}

@media (min-width: 1084px) {
  .hub-header {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .hub-header-left {
    padding: 20px 20px 30px 20px;
  }

  .hub-header-right {
    padding: 20px 20px 30px 20px;
  }

  .hub-title {
    font-size: 80px;
    letter-spacing: -4px;
    text-align: left;
  }

  .hub-intro {
    font-size: 18px;
    line-height: 1.4;
    text-align: left;
    max-width: 420px;
    padding-top: 5px;
  }

  .hub-tile-image-wrapper {
    height: 509px;
    margin: 0 20px 20px 20px;
    margin-top: auto;
    width: calc(100% - 40px);
  }

  .hub-tile-content {
    padding: 25px 20px 20px 20px;
  }
}

@media (min-width: 1360px) {
    .hub-tile-image-wrapper {
        height: 700px;
    }

    .hub-tile--fluid-thinking .hub-tile-image-wrapper img {
      object-position: center 40%;
    }
}
