.tl-menu {
  width: 100%;
  background: #142B21;
}

.tl-menu__inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 28px;
  margin: 0 auto;
  padding: 0 14px;
  box-sizing: border-box;
}

.tl-menu__brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
  text-decoration: none;
}

.tl-menu__brand img {
  display: block;
  width: auto;
  max-width: 260px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.tl-menu__nav {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.tl-menu__nav > a,
.tl-menu__dropdown-button {
  color: #FBFAF7;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tl-menu__nav > a:hover,
.tl-menu__nav > a:focus-visible,
.tl-menu__dropdown-button:hover,
.tl-menu__dropdown-button:focus-visible {
  color: #D1A64C;
  outline: none;
}

.tl-menu__dropdown {
  position: relative;
}

.tl-menu__dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tl-menu__chevron {
  color: #D1A64C;
  font-size: 18px;
  line-height: 0.8;
  transition: transform 0.2s ease;
}

.tl-menu__dropdown:hover .tl-menu__chevron,
.tl-menu__dropdown:focus-within .tl-menu__chevron {
  transform: rotate(180deg);
}

.tl-menu__dropdown-panel {
  position: absolute;
  z-index: 20;
  top: 100%
  right: 0;
  display: none;
  min-width: 225px;
  padding: 9px;
  background: #24313A;
  border: 1px solid rgba(209, 166, 76, 0.55);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.tl-menu__dropdown:hover .tl-menu__dropdown-panel,
.tl-menu__dropdown:focus-within .tl-menu__dropdown-panel {
  display: block;
}

.tl-menu__dropdown-panel a {
  display: block;
  padding: 10px 12px;
  color: #FBFAF7;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.tl-menu__dropdown-panel a:hover,
.tl-menu__dropdown-panel a:focus-visible {
  background: #142B21;
  color: #D1A64C;
  outline: none;
}

.tl-menu__cta {
  display: inline-block;
  padding: 11px 17px;
  border: 1px solid #D1A64C;
  color: #D1A64C;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.tl-menu__cta:hover,
.tl-menu__cta:focus-visible {
  background: #D1A64C;
  color: #142B21;
  outline: none;
}

@media (max-width: 520px) {
  .tl-menu__inner {
    width: min(100% - 32px, 1200px);
    min-height: 0;
    grid-template-columns: 1fr auto;
    row-gap: 16px;
    padding: 16px 0;
  }

  .tl-menu__brand img {
    max-width: 210px;
    height: 44px;
  }

  .tl-menu__nav {
    grid-column: 1 / -1;
    justify-self: start;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    white-space: normal;
  }

  .tl-menu__nav > a,
  .tl-menu__dropdown-button {
    font-size: 14px;
  }

  .tl-menu__dropdown {
    width: 100%;
  }

  .tl-menu__dropdown-panel {
    position: static;
    display: block;
    min-width: 0;
    margin-top: 10px;
    padding: 7px 0 0 12px;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(209, 166, 76, 0.55);
    box-shadow: none;
  }

  .tl-menu__dropdown-panel a {
    padding: 7px 0;
  }

  .tl-menu__cta {
    padding: 10px 13px;
    font-size: 13px;
  }
}