html {
  scroll-padding-top: calc(var(--ta-header-height, 0px) + var(--ta-admin-offset, 0px) + var(--ta-location-height, 0px) + 20px);
}

.site-header + .ta-location {
  position: sticky;
  top: calc(var(--ta-header-height, 0px) + var(--ta-admin-offset, 0px));
  z-index: 999;
  width: 100%;
  max-width: none;
  padding: 8px max(var(--gutter), calc((100% - 1480px) / 2));
  background: var(--cream);
  box-shadow: 0 1px 0 var(--line);
}

.site-header .header-main.ta-winkelindeling-search-ready {
  height: auto;
  grid-template-rows: auto auto;
  row-gap: 8px;
  padding-block: 10px;
}

.ta-winkelindeling-search-ready .search-trigger {
  display: none;
}

.ta-header-search {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  width: min(100%, 440px);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line, #d9d0c9);
  border-radius: 4px;
}

.ta-header-search input {
  width: 100%;
  min-width: 0;
  padding: 8px 12px;
  color: var(--ink, #30292a);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 1rem;
}

.ta-header-search button {
  min-height: 44px;
  padding: 0 14px;
  background: var(--olive, #6b263b);
  color: #fff;
  border-radius: 0 3px 3px 0;
  font: inherit;
  font-size: .86rem;
}

.ta-header-search :focus-visible {
  outline: 2px solid var(--ink, #30292a);
  outline-offset: -2px;
}

.ta-home-photos h2 {
  margin-bottom: 1.2rem;
}

.ta-home-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 25px);
}

.ta-home-photo-grid > a {
  display: grid;
  align-content: start;
  background: #fff;
  color: var(--ink, #30292a);
}

.ta-home-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.ta-home-photo-grid > a span {
  padding: 10px 14px;
  font-weight: 600;
}

.ta-home-photo-grid > a:hover span,
.ta-home-photo-grid > a:focus-visible span {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.desktop-nav .primary-menu > li > .sub-menu > .ta-winkelindeling-menu-photo a {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ta-winkelindeling-menu-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1101px) {
  .desktop-nav .primary-menu > .ta-winkelindeling-has-photo > .sub-menu > .ta-winkelindeling-menu-photo {
    grid-column: 4;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 720px) {
  .ta-home-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
