.brand-logo-horizontal {
  width: clamp(220px, 23vw, 305px);
  height: 70px;
  object-fit: contain;
  object-position: left center;
}

.profile-menu {
  position: relative;
}

.profile-menu > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.profile-menu > summary::-webkit-details-marker {
  display: none;
}

.profile-menu > summary > span:first-child {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #70152d;
}

.profile-dropdown {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  right: 0;
  min-width: 190px;
  border: 1px solid var(--line);
  padding: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(35,26,45,.12);
}

.profile-dropdown a {
  display: block;
  padding: 11px 12px;
  color: #70152d;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.profile-dropdown a:hover {
  background: #f7f1e8;
}

.public-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 720px);
  margin: 28px auto 0;
  border: 1px solid rgba(255,255,255,.32);
  padding: 6px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}

.public-search-form input {
  min-width: 0;
  border: 0;
  padding: 15px 17px;
  color: #211936;
  background: #fff;
  outline: none;
}

.public-search-form button {
  border: 0;
  padding: 0 22px;
  color: #fff;
  background: #70152d;
  font-weight: 700;
  cursor: pointer;
}

.quick-searches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 16px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
}

.quick-searches span {
  text-transform: uppercase;
  letter-spacing: .12em;
}

.quick-searches a {
  color: inherit;
}

.search-hero {
  padding: 66px 0 54px;
  color: #fff;
  background: linear-gradient(135deg,#211936,#70152d);
}

.search-hero-inner h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.2rem,5vw,4.6rem);
  line-height: 1.05;
}

.public-search-form-light {
  margin: 28px 0 0;
}

.search-results {
  padding-top: 48px;
  padding-bottom: 80px;
}

.search-results-heading {
  margin-bottom: 20px;
  color: var(--muted);
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  min-height: 190px;
  border: 1px solid var(--line);
  background: #fff;
}

.search-result-card > img,
.search-result-placeholder {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.search-result-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg,#70152d,#200060);
  font-size: 32px;
}

.search-result-card > div:last-child {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.search-result-card small {
  color: #8b681f;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 9px;
}

.search-result-card h2 {
  margin: 8px 0;
  color: #211936;
  font: 600 19px/1.3 Cinzel,Georgia,serif;
}

.search-result-card p {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.search-result-card a {
  margin-top: auto;
  color: #70152d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.search-empty {
  max-width: 680px;
  margin: 30px auto;
  border: 1px solid var(--line);
  padding: 58px 26px;
  background: #fff;
  text-align: center;
}

.search-empty > span {
  color: #8b681f;
  font-size: 36px;
}

.search-empty h2 {
  margin: 12px 0 8px;
  color: #211936;
  font: 600 28px/1.2 Cinzel,Georgia,serif;
}

.search-empty p {
  color: var(--muted);
}

.search-empty a {
  display: inline-block;
  margin-top: 12px;
  color: #70152d;
  font-weight: 700;
}

.recent-content {
  margin-bottom: 72px;
}

.recent-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 3px 2px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c8bda9 transparent;
}

.recent-content-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 285px;
  min-height: 345px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  color: inherit;
  text-decoration: none;
}

.recent-content-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(35,26,45,.1);
}

.recent-content-card > img,
.recent-card-placeholder {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.recent-card-placeholder {
  color: #fff;
  background: linear-gradient(135deg,#70152d,#200060);
  display: grid;
  place-items: center;
}

.recent-card-placeholder span {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.recent-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 23px 24px;
}

.recent-card-copy small {
  color: #8b681f;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 9px;
}

.recent-card-copy h3 {
  color: #211936;
  margin: 10px 0 8px;
  font: 600 18px/1.3 Cinzel,Georgia,serif;
}

.recent-card-copy p {
  color: var(--muted);
  margin: 0 0 19px;
  font-size: 11px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.recent-card-action {
  color: #70152d;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
  font-weight: 700;
}

.recent-card-action > span {
  margin-left: 8px;
}

.recent-content-card:focus-visible {
  outline: 3px solid rgba(112, 21, 45, .3);
  outline-offset: 3px;
}

.recent-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.recent-dots a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #d9d1c5;
  color: #70152d;
  background: #fff;
  font-size: 9px;
}

.catalogue {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.recent-empty {
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
}

@media (max-width: 900px) {
  .recent-content-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .search-results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand-logo-horizontal {
    width: 190px;
    height: 58px;
  }

  .profile-menu > summary > span:last-child {
    display: none;
  }

  .public-search-form {
    grid-template-columns: 1fr;
  }

  .public-search-form button {
    min-height: 48px;
  }

  .search-result-card {
    grid-template-columns: 105px minmax(0,1fr);
  }

  .search-result-card > img,
  .search-result-placeholder {
    min-height: 175px;
  }

  .recent-content {
    margin-bottom: 54px;
  }

  .recent-content-card {
    flex-basis: 86%;
    min-width: 260px;
    min-height: 325px;
  }
}
