@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0&icon_names=account_balance,article,calculate,category,flight_takeoff,newspaper,public,sell,translate&display=block");
/* Route heroes for /gb/, /fr/ and /tags/ only.
   Loaded from index-en.hbs, index-fr.hbs and page-tags.hbs.
   New Material icon names must be added to icon_names above (sorted, comma-separated)
   or they render as ligature text. */

.tt-rhero .material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  flex: none;
}

.tt-rhero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 42vw, 600px);
  padding: 76px 0;
  margin: 0;
  background: #0f2d46;
  color: #fff;
  overflow: hidden;
  text-align: left;
}

.tt-rhero-bg,
.tt-rhero-bg img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  z-index: -2;
}

.tt-rhero-bg img {
  object-fit: cover;
  object-position: center 50%;
  pointer-events: none;
}

.tt-rhero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Dark through the 660px copy column, then the photo opens on the right.
     A percentage fade alone drops the long title under 4.5:1 around 672px. */
  background:
    linear-gradient(90deg, rgba(8, 24, 39, .94) 0px, rgba(8, 24, 39, .92) 720px, rgba(12, 38, 60, .62) 980px, rgba(15, 45, 70, .25) 100%),
    linear-gradient(0deg, rgba(8, 24, 39, .55), rgba(8, 24, 39, 0) 40%);
}

.tt-rhero-in {
  width: min(calc(100% - 44px), 1120px);
  margin: auto;
}

.tt-rhero-copy {
  max-width: 660px;
}

.tt-rhero .tt-rhero-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #9cc7e9;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tt-rhero .tt-rhero-k:before {
  content: none;
}

.tt-rhero .tt-rhero-k .material-symbols-rounded {
  font-size: 18px;
}

.tt-rhero h1 {
  margin: 0;
  max-width: none;
  color: #fff !important;
  font-size: clamp(2.05rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

.tt-rhero .tt-rhero-lead {
  margin: 16px 0 0;
  color: #dbe6ef;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
}

.tt-rhero .tt-rhero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tt-rhero .tt-rhero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none !important;
  font-weight: 750;
  font-size: .94rem;
  line-height: 1.2;
  transition: transform .18s ease, background .18s ease;
}

.tt-rhero .tt-rhero-btn:hover {
  transform: translateY(-1px);
}

.tt-rhero .tt-rhero-btn.p {
  background: #fff;
  color: #0c2038 !important;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

.tt-rhero .tt-rhero-btn.p:hover {
  background: #edf5fb;
}

.tt-rhero .tt-rhero-btn.s {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .55);
}

.tt-rhero .tt-rhero-btn .material-symbols-rounded {
  font-size: 19px;
}

.tt-rhero .tt-rchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tt-rhero .tt-rchips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  max-width: 100%;
  padding: 7px 12px 7px 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(8, 24, 39, .45);
  color: #eef4f9;
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.2;
}

.tt-rhero .tt-rchips li:before {
  content: none;
}

.tt-rhero .tt-rchips .material-symbols-rounded {
  font-size: 18px;
  color: #9cc7e9;
}

/* The jump target sits under the sticky header. */
.tt-route-hero-page #latest,
.tt-route-hero-page #topics {
  scroll-margin-top: 96px;
}

/* Leave an even white gap between the hero and the listing, as on the
   landing pages: 40px, and 60px from 48rem (Liebling's own .l-content
   padding). Same on /gb/, /fr/ and /tags/. Cancel the featured slider's
   negative top margin so it sits below the gap instead of climbing into
   the hero. */
.tt-route-hero-page .l-content {
  padding-top: 40px;
}

@media (min-width: 48rem) {
  .tt-route-hero-page .l-content {
    padding-top: 60px;
  }
}

.tt-route-hero-page .m-featured-slider.swiper {
  margin-top: 0;
}

/* Headroom hides a fixed header with translateY(-100%). These routes make
   the header sticky, so that translation leaves its layout box behind as an
   empty white bar (logo, menu and search are painted off-screen). Keep the
   bar where it is. Same rule on /gb/, /fr/ and /tags/. */
.m-header.headroom--unpinned {
  transform: none;
}

@media (max-width: 650px) {
  .tt-rhero {
    min-height: 0;
    padding: 44px 0;
  }

  .tt-rhero-in {
    width: min(calc(100% - 30px), 1120px);
  }

  .tt-rhero:after {
    background: linear-gradient(180deg, rgba(8, 24, 39, .78) 0%, rgba(12, 38, 60, .86) 50%, rgba(8, 24, 39, .94) 100%);
  }

  .tt-rhero .tt-rhero-btn {
    width: 100%;
  }

  .tt-rhero .tt-rchips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .tt-rhero .tt-rchips li {
    font-size: .8rem;
    padding: 7px 10px 7px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-rhero * {
    transition: none !important;
  }
}
