.main-hero .container h1 {
  max-width: 10em;
  font-size: 3.2em;
  line-height: 1.05;
}

@media only screen and (min-width: 1500px) {
  .main-hero .container h1 {
    font-size: 3.6em;
  }
}

.home-hero .container h1 {
  max-width: 16em;
  font-size: 4.2em;
  line-height: 1.05;
}

.home-hero .container p {
  max-width: 36em;
}

@media only screen and (min-width: 1500px) {
  .home-hero .container h1 {
    font-size: 5.25em;
  }
}

.lawyer-cards .cards-wrapper > .single-card {
  display: flex;
  flex-direction: column;
}

.lawyer-cards .cards-wrapper .law {
  border-bottom: 0;
}

.lawyer-cards .cards-wrapper .lawyer {
  margin-top: auto;
  border-top: 2px solid #f1f1f1;
}

.lawyer-cards .cards-wrapper .lawyer h3 {
  font-size: 1.35em;
  line-height: 1.2;
}

.lawyer-cards .cards-wrapper .lawyer a {
  word-break: normal;
  overflow-wrap: anywhere;
}

.news-items > * .featured,
.featured.is-4x3 {
  height: auto;
  aspect-ratio: 4 / 3;
}

.news-items > * {
  display: flex;
  flex-direction: column;
}

.news-items > * .content {
  height: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-items > * .content .btn {
  margin-top: auto;
  align-self: flex-start;
}

.news-items .content h2,
.archive-list.news .card h3,
.search-results .search-card h3 {
  font-size: 1.5em;
  line-height: 1.25;
}

.single-post .main-hero {
  height: auto;
  min-height: 0;
  margin-bottom: 40px;
}

.single-post .main-hero .container {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.single-post .main-hero .bg-image.is-16x9 {
  position: relative;
  top: auto;
  right: auto;
  width: 66.666%;
  height: auto;
  margin-left: auto;
  aspect-ratio: 16 / 9;
}

@media only screen and (max-width: 1023px) {
  .page-content .single-post .main-hero {
    height: auto;
    margin-bottom: 20px;
  }

  .page-content .single-post .main-hero .bg-image.is-16x9 {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .page-content .single-post .main-hero .container {
    position: absolute;
    bottom: 10px;
    top: auto;
    transform: none;
  }
}

.archive-list.news .card {
  display: flex;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
}

.archive-list.news .card-image {
  flex: 0 0 42%;
  width: 42%;
  aspect-ratio: 4 / 3;
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.archive-list.news .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
  min-width: 0;
}

.archive-list.news .card-body h3 {
  margin-top: 0;
}

.archive-list.news .card-body p {
  margin-bottom: 0.8em;
}

.archive-list.news .card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media only screen and (max-width: 1023px) {
  .page-content .archive-list.news .card {
    flex-direction: column;
    padding: 0;
  }

  .archive-list.news .card-image {
    flex-basis: auto;
    width: 100%;
  }

  .archive-list.news .card-body {
    padding: 20px;
  }
}

.archive-list .card ol {
  list-style: decimal outside;
  padding-left: 1.5em;
  margin: 0 0 1em;
}

.archive-list .card ul {
  list-style: disc outside;
  padding-left: 1.5em;
  margin: 0 0 1em;
}

.archive-list .card ol li,
.archive-list .card ul li {
  display: list-item;
  margin-bottom: 0.45em;
  line-height: 1.6;
}

@media only screen and (min-width: 1024px) {
  footer .container [class*="menu-footer"] {
    flex: 1;
  }

  footer .container [class*="menu-footer"] > .menu {
    display: flex;
    align-items: center;
    width: 100%;
  }

  footer .container .menu li:has(a[href*="websheriff.nl"]) {
    margin-left: auto;
    margin-right: 0;
  }
}

@media only screen and (max-width: 1023px) {
  footer .menu li:has(a[href*="websheriff.nl"]) {
    text-align: right;
  }
}

.search .alpha-search {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  width: 400px;
  background: #fff;
}

.search .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.search .alpha-search input {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #f1f1f1;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-family: Muli, sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  outline: none;
  appearance: none;
}

.search .alpha-search input::-webkit-search-cancel-button,
.search .alpha-search input::-webkit-search-decoration,
.search .alpha-search input::-webkit-search-results-button,
.search .alpha-search input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search .alpha-search input::placeholder {
  color: #000;
  opacity: 1;
}

.search .alpha-search .hint {
  color: #8e1521;
  font-size: 0.8em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media only screen and (max-width: 1023px) {
  .search .alpha-search {
    width: calc(100vw - 160px);
  }

  .search .alpha-search .hint {
    display: none;
  }
}
