/* Toy Reborn. Mobile geometry is the default. Desktop only at 1440.
   Header and footer stay in the shared stylesheets. Unfinished sections are
   one height spacer so the footer lands on the official Y. */

.page-toy { position: relative; }

.tr-banner {
  position: relative;
  height: 256px;
}

.tr-title {
  position: absolute;
  left: 20px;
  top: 44px;
  width: 160px;
  height: 46px;
  margin: 0;
  color: #333;
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  white-space: nowrap;
}

.tr-crumb {
  position: absolute;
  left: 20px;
  top: 16px;
  display: flex;
  gap: 4px;
  align-items: center;
  height: 20px;
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.tr-crumb a {
  color: #333;
  font-weight: 400;
  text-decoration: none;
}

.tr-photo {
  position: absolute;
  left: 0;
  top: 106px;
  width: 390px;
  height: 150px;
  overflow: hidden;
  background: #c4c4c4;
  clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
}

.tr-photo img {
  position: absolute;
  left: -234.61px;
  top: -221.03px;
  width: 863.23px;
  height: 573.24px;
  max-width: none;
}

/* Section heights inside .tr-rest add up to the footer.
   The mobile CTA is the first 52px and does not add page height. */
.tr-rest {
  position: relative;
  height: 5571.4px;
  background: #fff;
}

.tr-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ff5e5e;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.tr-nav-ico {
  flex: none;
  width: 20px;
  height: 18px;
  background: #fff;
  -webkit-mask: url("../assets/icons/burger-menu-5155-39343.svg") center / 20px 18px no-repeat;
  mask: url("../assets/icons/burger-menu-5155-39343.svg") center / 20px 18px no-repeat;
}

.tr-intro {
  position: relative;
  height: 484px;
  background: #fff;
}

.tr-intro-copy {
  position: absolute;
  left: 20px;
  top: 144px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 350px;
}

.tr-intro-title {
  width: 350px;
  height: 68px;
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  text-align: center;
  text-wrap: wrap;
}

.tr-intro-d { display: none; }

.tr-intro-body {
  width: 350px;
  height: 104px;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  text-wrap: wrap;
}

.tr-lego,
.tr-bear {
  position: absolute;
  max-width: none;
}

.tr-lego {
  z-index: 1;
  left: -10px;
  top: 377px;
  width: 106px;
  height: 97px;
}

.tr-bear {
  left: 272px;
  top: 10px;
  width: 128px;
  height: 122px;
}

.tr-news {
  position: relative;
  height: 610px;
  background: #ededed;
}

.tr-news-title {
  position: absolute;
  left: 20px;
  top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  margin: 0;
  color: #333;
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  white-space: nowrap;
  text-wrap: wrap;
}

.tr-news-mark {
  flex: none;
  width: 21px;
  height: 21px;
  background: #ed1b2e;
  -webkit-mask: url("../assets/icons/triangle-big-5155-39351.svg") center / 21px 21px no-repeat;
  mask: url("../assets/icons/triangle-big-5155-39351.svg") center / 21px 21px no-repeat;
}

.tr-news-list {
  position: absolute;
  left: 20px;
  top: 126px;
  display: flex;
  flex-direction: column;
  width: 350px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tr-news-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  height: 92px;
  margin: 0;
  padding: 16px 0 0;
}

.tr-news-item.is-a,
.tr-news-item.is-b { height: 118px; }

.tr-news-item.is-d { order: 1; }
.tr-news-item.is-c { order: 2; }
.tr-news-item.is-b { order: 3; }
.tr-news-item.is-a { order: 4; }

.tr-news-item::before,
.tr-news-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #909090;
  pointer-events: none;
}

.tr-news-item::before { top: -1px; }
.tr-news-item::after { bottom: -1px; }

.tr-news-item time {
  color: #333;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.tr-news-item p {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-wrap: wrap;
}

.tr-goals {
  position: relative;
  height: 1127px;
  background: #fff3f3;
}

.tr-goals-title {
  position: absolute;
  left: 20px;
  top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  margin: 0;
  color: #333;
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  white-space: nowrap;
  text-wrap: wrap;
}

.tr-goals-list {
  position: absolute;
  left: 20px;
  top: 126px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tr-goal {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 350px;
  height: 301px;
  margin: 0;
  padding: 32px 20px 0;
  background: #fff;
  border-bottom: 8px solid #ed1b2e;
  text-align: center;
}

.tr-goal.is-up { height: 327px; }

.tr-goal-icon {
  display: block;
  width: 150px;
  height: 135px;
  max-width: none;
}

.tr-goal h3 {
  margin: 18px 0 0;
  color: #333;
  font-size: 32px;
  font-weight: 500;
  line-height: 44px;
  text-wrap: wrap;
}

.tr-goal p {
  margin: 6px 0 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-wrap: wrap;
}

.tr-four {
  position: relative;
  height: 784.4px;
  background: #ededed;
}

.tr-four-title {
  position: absolute;
  left: 20px;
  top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  margin: 0;
  color: #333;
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  white-space: nowrap;
  text-wrap: wrap;
}

.tr-four-list {
  position: absolute;
  left: 20px;
  top: 126px;
  display: flex;
  gap: 8px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tr-four-card {
  flex: none;
  width: 302px;
  margin: 0;
}

.tr-four-photo {
  position: relative;
  width: 302px;
  height: 402.4px;
  overflow: hidden;
}

.tr-four-photo img {
  position: absolute;
  max-width: none;
}

.tr-four-photo.is-recycle img { left: -217.1px; top: -61.3px; width: 676.2px; height: 507.1px; }
.tr-four-photo.is-edu img { left: -136.2px; top: -105.4px; width: 688.6px; height: 516.4px; }
.tr-four-photo.is-eng img { left: -115.6px; top: -18.9px; width: 610.7px; height: 458px; }
.tr-four-photo.is-art img { left: -136.8px; top: 0; width: 563.1px; height: 422.3px; }

.tr-four-card h3 {
  margin: 16px 0 0;
  color: #333;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  text-wrap: wrap;
}

.tr-four-card p {
  width: 286px;
  margin: 8px 0 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-wrap: wrap;
}

.tr-four-nav {
  position: absolute;
  left: 20px;
  top: 696.4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 350px;
  height: 40px;
}

.tr-four-pager {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #333;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.tr-four-bar {
  position: relative;
  width: 104px;
  height: 2px;
  background: #fff;
}

.tr-four-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 2px;
  background: #ed1b2e;
}

.tr-four-arrows { display: flex; gap: 8px; }

.tr-four-prev,
.tr-four-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
}

.tr-four-prev::before,
.tr-four-next::before {
  content: "";
  width: 8px;
  height: 14px;
  background: #ed1b2e;
  -webkit-mask: url("../assets/icons/arrow-5155-39354.svg") center / 8px 14px no-repeat;
  mask: url("../assets/icons/arrow-5155-39354.svg") center / 8px 14px no-repeat;
}

.tr-four-prev::before { transform: rotate(180deg); }

.tr-contact {
  position: relative;
  height: 2120px;
  background: #ededed;
}

.tr-contact-title {
  position: absolute;
  left: 20px;
  top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  margin: 0;
  color: #333;
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  white-space: nowrap;
  text-wrap: wrap;
}

.tr-contact-photo {
  position: absolute;
  left: 20px;
  top: 126px;
  width: 350px;
  height: 467px;
  overflow: hidden;
}

.tr-contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tr-contact-card {
  position: absolute;
  left: 20px;
  top: 593px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 350px;
  height: 469px;
  padding: 17px 16px 16px;
  background: #fff;
}

.tr-contact-card h3 {
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  text-wrap: wrap;
}

.tr-contact-row { margin-top: 16px; }
.tr-contact-row:first-of-type { margin-top: 15px; }

.tr-chip {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  height: 28px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #ed1b2e;
  color: #ed1b2e;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.tr-chip img {
  width: auto;
  height: auto;
  max-width: none;
}

.tr-contact-row > p:not(.tr-chip) {
  height: 26px;
  margin: 4px 0 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-wrap: wrap;
}

.tr-contact .en { font-family: var(--font-en); font-weight: 400; }

.tr-contact-social {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid #e0e0e0;
}

.tr-contact-social p {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.tr-contact-social div { display: flex; gap: 24px; margin-top: 6px; }

.tr-contact-social img { width: 32px; height: 32px; max-width: none; }
.tr-contact-social img:last-child { width: 30px; height: 30px; }

.tr-contact-copy {
  position: absolute;
  left: 20px;
  top: 1096px;
  width: 350px;
}

.tr-contact-copy h3 {
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  text-wrap: wrap;
}

.tr-contact-copy p {
  margin: 8px 0 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-wrap: wrap;
}

.tr-form { position: absolute; left: 20px; top: 1244px; width: 350px; margin: 0; }

.tr-field { margin: 0 0 16px; }

.tr-field label {
  display: block;
  margin: 0 0 4px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.tr-field label span { color: #ed1b2e; }

.tr-field input,
.tr-field textarea {
  box-sizing: border-box;
  width: 350px;
  height: 50px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  background: #fff;
  color: #333;
  font: 400 16px/26px var(--font-tc);
}

.tr-field textarea { height: 120px; padding-top: 12px; resize: none; }

.tr-field input:focus-visible,
.tr-field textarea:focus-visible { outline: 2px solid #ed1b2e; outline-offset: 2px; }

.tr-form-actions { position: relative; margin-top: 24px; }

.tr-captcha {
  display: block;
  width: 300px;
  height: 76px;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.tr-submit {
  position: absolute;
  left: 135.5px;
  top: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 79px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ed1b2e;
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
}

.tr-submit::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ed1b2e;
}

.tr-submit span {
  width: 8px;
  height: 14px;
  background: #ed1b2e;
  -webkit-mask: url("../assets/icons/arrow-5155-39354.svg") center / 8px 14px no-repeat;
  mask: url("../assets/icons/arrow-5155-39354.svg") center / 8px 14px no-repeat;
}

.tr-carousel {
  position: relative;
  box-sizing: border-box;
  height: 394px;
  background: #fff;
  border-top: 8px solid #ed1b2e;
}

.tr-car-tri {
  position: absolute;
  z-index: 1;
  max-width: none;
  pointer-events: none;
}

.tr-car-tri.is-a {
  left: 325px;
  top: -33.7px;
  width: 85px;
  height: 73.5px;
}

.tr-car-tri.is-b {
  left: -30px;
  top: 136.34px;
  width: 122px;
  height: 105.5px;
}

.tr-car-quote {
  position: absolute;
  left: 27px;
  top: 50px;
  width: 336px;
  margin: 0;
  text-align: center;
}

.tr-car-quote p {
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  text-wrap: wrap;
}

.tr-car-quote p span { display: block; }

.tr-car-quote cite {
  display: block;
  margin-top: 16px;
  color: #333;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.tr-car-window {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 390px;
  height: 180px;
  overflow: hidden;
}

.tr-car-track { display: flex; width: max-content; }

.tr-car-cell {
  position: relative;
  flex: none;
  width: 180px;
  height: 180px;
  overflow: hidden;
}

.tr-car-cell img { position: absolute; max-width: none; }

.tr-car-cell.is-cars img { left: -32.5px; top: -151.5px; width: 252px; height: 336px; }
.tr-car-cell.is-table img { left: -57px; top: -8px; width: 294px; height: 196px; }
.tr-car-cell.is-art img { left: -71px; top: -5px; width: 356px; height: 189px; }
.tr-car-cell.is-board img { left: -0.5px; top: -30.5px; width: 181px; height: 241px; }
.tr-car-cell.is-frames img,
.tr-car-cell.is-tree img { left: 0; top: 0; width: 180px; height: 180px; object-fit: cover; }

.tr-sub { display: none; }

.tr-wa {
  position: absolute;
  left: 295px;
  top: 749px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.tr-wa-disc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #333;
}

.tr-wa-disc img {
  width: 30px;
  height: 30px;
  max-width: none;
}

@media (min-width: 1440px) {
  .tr-banner { height: 400px; }

  .tr-title {
    left: 40px;
    top: 32px;
    width: 192px;
    height: 54px;
    font-size: 48px;
    line-height: 54px;
  }

  .tr-crumb {
    left: 40px;
    top: 342px;
    height: 26px;
    font-size: 16px;
    line-height: 26px;
  }

  .tr-photo {
    left: 400px;
    top: 0;
    width: 1040px;
    height: 400px;
    clip-path: polygon(49.56px 0, 100% 0, 100% 100%, 0 100%);
  }

  .tr-photo img {
    left: -625.62px;
    top: -589.42px;
    width: 2301.95px;
    height: 1528.64px;
  }

  .tr-rest { height: 4964px; }

  .tr-intro { height: 528px; }

  .tr-intro-copy {
    left: 304px;
    top: 120px;
    width: 832px;
  }

  .tr-intro-title {
    width: 832px;
    height: 88px;
    font-size: 32px;
    line-height: 44px;
  }

  .tr-intro-d { display: block; }

  .tr-intro-m { display: none; }

  .tr-intro-body {
    width: 832px;
    height: 96px;
    font-size: 20px;
    line-height: 32px;
  }

  .tr-lego {
    left: -22px;
    top: 305px;
    width: 282px;
    height: 258px;
  }

  .tr-bear {
    left: 1122px;
    top: 27px;
    width: 341px;
    height: 325px;
  }

  .tr-news { height: 608px; }

  .tr-news-title {
    left: 64px;
    top: 88px;
    height: 54px;
    font-size: 48px;
    line-height: 54px;
  }

  .tr-news-list {
    left: 522.7px;
    top: 104px;
    width: 853.3px;
  }

  .tr-news-list .tr-news-item {
    order: 0;
    height: 98px;
  }

  .tr-news-item p {
    font-size: 20px;
    line-height: 32px;
    white-space: nowrap;
  }

  .tr-goals { height: 722px; }

  .tr-goals-title {
    left: 64px;
    top: 88px;
    height: 54px;
    font-size: 48px;
    line-height: 54px;
  }

  .tr-goals-list {
    left: 64px;
    top: 190px;
    flex-direction: row;
  }

  .tr-goal,
  .tr-goal.is-up {
    width: 434.7px;
    height: 420px;
    padding: 48px 32px 0;
  }

  .tr-goal-icon {
    width: 180px;
    height: 162px;
  }

  .tr-goal h3 {
    margin-top: 33px;
    font-size: 40px;
    line-height: 50px;
  }

  .tr-goal p {
    margin-top: 8px;
    font-size: 20px;
    line-height: 32px;
  }

  .tr-four { height: 871px; }

  .tr-four-title {
    left: 64px;
    top: 88px;
    height: 54px;
    font-size: 48px;
    line-height: 54px;
  }

  .tr-four-list {
    left: 64px;
    top: 190px;
  }

  .tr-four-card { width: 322px; }

  .tr-four-photo { width: 322px; height: 429px; }

  .tr-four-photo.is-recycle img { left: -232px; top: -66px; width: 721px; height: 541px; }
  .tr-four-photo.is-edu img { left: -146px; top: -114px; width: 737px; height: 553px; }
  .tr-four-photo.is-eng img { left: -126px; top: -22px; width: 655px; height: 492px; }
  .tr-four-photo.is-art img { left: -144px; top: 0; width: 594px; height: 445px; }

  .tr-four-card h3 {
    margin-top: 17px;
    font-size: 32px;
    line-height: 44px;
  }

  .tr-four-card p {
    width: 300px;
    margin-top: 8px;
    font-size: 20px;
    line-height: 32px;
  }

  .tr-four-nav { display: none; }

  .tr-contact { height: 1561px; }

  .tr-contact-title {
    left: 64px;
    top: 90px;
    height: 54px;
    font-size: 48px;
    line-height: 54px;
  }

  .tr-contact-photo {
    left: 522.7px;
    top: 96px;
    width: 426.7px;
    height: 600px;
  }

  .tr-contact-card {
    left: 949.4px;
    top: 96px;
    width: 426.7px;
    height: 600px;
    padding: 24px;
  }

  .tr-contact-card h3 {
    font-size: 32px;
    line-height: 44px;
  }

  .tr-contact-row { margin-top: 14px; }
  .tr-contact-row:first-of-type { margin-top: 24px; }
  .tr-contact-row > p:not(.tr-chip) { height: 32px; margin-top: 6px; font-size: 20px; line-height: 32px; }
  .tr-chip { display: inline-flex; margin-top: 0; padding: 0 11px; }
  .tr-contact-social { margin-top: auto; padding-top: 12px; }
  .tr-contact-social div { margin-top: 8px; }

  .tr-contact-copy {
    left: 522.7px;
    top: 742px;
    width: 853.3px;
  }

  .tr-contact-copy h3 { font-size: 24px; line-height: 34px; }
  .tr-contact-copy p { width: 510px; margin-top: 12px; }

  .tr-form {
    left: 522.7px;
    top: 882px;
    width: 853.3px;
  }

  .tr-field {
    position: absolute;
    width: 418.7px;
    margin: 0;
  }

  .tr-field:nth-child(1) { left: 0; top: 4px; }
  .tr-field:nth-child(2) { left: 434.6px; top: 4px; }
  .tr-field:nth-child(3) { left: 0; top: 100px; }
  .tr-field:nth-child(4) { left: 434.6px; top: 100px; }
  .tr-field:nth-child(5) { left: 0; top: 196px; }
  .tr-field:nth-child(6) { left: 0; top: 292px; }

  .tr-field.is-wide,
  .tr-field.is-wide input,
  .tr-field.is-wide textarea,
  .tr-field input,
  .tr-field textarea { width: 418.7px; }

  .tr-field.is-wide,
  .tr-field.is-wide input,
  .tr-field.is-wide textarea { width: 853.3px; }

  .tr-form-actions {
    position: absolute;
    left: 0;
    top: 491px;
    width: 853.3px;
    height: 77px;
    margin: 0;
  }

  .tr-captcha { width: 303px; height: 77px; }

  .tr-submit {
    left: auto;
    right: 0;
    top: 17px;
    width: 87px;
    height: 42px;
  }

  .tr-carousel { height: 674px; }

  .tr-car-tri.is-a { left: 194px; top: 48px; width: 170px; height: 147px; }
  .tr-car-tri.is-b { display: block; left: 1076px; top: 177px; width: 244px; height: 211px; }

  .tr-car-quote { left: 496px; top: 92px; width: 448px; }
  .tr-car-quote p { font-size: 32px; line-height: 44px; }

  .tr-car-window { z-index: 2; width: 1440px; height: 360px; }
  .tr-car-cell { width: 360px; height: 360px; }
  .tr-car-cell.is-cars img { left: -65px; top: -303px; width: 504px; height: 672px; }
  .tr-car-cell.is-table img { left: -114px; top: -16px; width: 588px; height: 392px; }
  .tr-car-cell.is-art img { left: -142px; top: -10px; width: 712px; height: 378px; }
  .tr-car-cell.is-board img { left: -1px; top: -61px; width: 362px; height: 482px; }
  .tr-car-cell.is-frames img,
  .tr-car-cell.is-tree img { width: 360px; height: 360px; }

  .tr-nav-close { display: none; }

  .tr-sub {
    position: absolute;
    left: 293px;
    top: 452px;
    z-index: 1;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 854px;
    height: 56px;
    margin: 0;
    padding: 8px;
    gap: 8px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e0e0e0;
  }

  .tr-sub a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    margin: 0;
    padding: 0 24px;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    white-space: nowrap;
  }

  .tr-sub a.is-current {
    background: #ededed;
    color: #ed1b2e;
  }

  .tr-tri {
    flex: none;
    width: 14px;
    height: 14px;
    background: #ed1b2e;
    -webkit-mask: url("../assets/icons/triangle-small-5155-39350.svg") center / 14px 14px no-repeat;
    mask: url("../assets/icons/triangle-small-5155-39350.svg") center / 14px 14px no-repeat;
  }

  .tr-wa {
    left: 1345px;
    top: 805px;
  }
}

/* Wider than the 1440 artboard: center the existing stages. Do not scale them. */
@media (min-width: 1441px) {
  .tr-banner,
  .tr-rest {
    width: 1440px;
    margin-inline: auto;
  }

  .tr-carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: clip;
  }

  .tr-car-window { width: 100%; }
  /* Centre the second set of photos so the previous and next photos occupy the gutters. */
  .tr-car-track { margin-left: calc(50% - 720px - 6 * 360px); }
  .tr-car-quote { left: calc(50% - 224px); }
  .tr-car-tri.is-a { left: calc(50% - 526px); }
  .tr-car-tri.is-b { left: calc(50% + 356px); }
}

.tr-sub a { text-decoration: none; }
@media (max-width: 1439px) {
  .tr-sub.unit-open {
    display: flex;
    position: absolute;
    z-index: 8;
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    box-shadow: 0 4px 12px #0002;
  }
  .tr-sub.unit-open a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 1439px) { .tr-sub.unit-open { top: 52px; } }
