/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.15;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  margin: 0.67em 0;
  font-size: 2em;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace;
  font-size: 1em;
}
a {
  background-color: #0000;
}
abbr[title] {
  border-bottom: none;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="reset"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
[type="button"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
[type="reset"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  white-space: normal;
  max-width: 100%;
  padding: 0;
  display: table;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button {
  height: auto;
}
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template,
[hidden] {
  display: none;
}
:root {
  --font-h2: normal normal normal 36px/42px "brandon-grotesque", sans-serif;
}
@font-face {
  font-family: brandon-grotesque;
  src: url(/wp-content/themes/bof/assets/fonts/brandon-grotesque-300.woff2)
    format("woff2");
  font-display: auto;
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
}
@font-face {
  font-family: brandon-grotesque;
  src: url(/wp-content/themes/bof/assets/fonts/brandon-grotesque-regular.woff2)
    format("woff2");
  font-display: auto;
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
}
@font-face {
  font-family: brandon-grotesque;
  src: url(/wp-content/themes/bof/assets/fonts/brandon-grotesque-medium.woff2)
    format("woff2");
  font-display: auto;
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
}
@font-face {
  font-family: brandon-grotesque;
  src: url(/wp-content/themes/bof/assets/fonts/brandon-grotesque-bold.woff2)
    format("woff2");
  font-display: auto;
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
}
@font-face {
  font-family: linotype-didot;
  src: url(/wp-content/themes/bof/assets/fonts/linotype-didot-bold.woff2)
    format("woff2");
  font-display: auto;
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
}
* {
  color: #2c2c2b;
  font-family: brandon-grotesque, sans-serif;
}
h1 {
  font: 700 60px/75px linotype-didot, serif;
}
h2 {
  font: var(--font-h2);
}
h3 {
  font: 36px/54px brandon-grotesque, sans-serif;
}
h4 {
  font: 26px/36px brandon-grotesque, sans-serif;
}
h5 {
  font: 22px/32px brandon-grotesque, sans-serif;
}
h6 {
  font: 18px/26px brandon-grotesque, sans-serif;
}
p {
  margin: 0;
}
picture {
  line-height: 0;
  display: block;
}
html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  overflow-x: hidden;
}
html[data-overlay] {
  overflow: hidden;
}
html[data-overlay] body {
  overflow-y: hidden;
}
html[data-overlay] body:before {
  opacity: 1;
  pointer-events: all;
}
html[data-overlay] body header section.header-main:before {
  content: "";
  z-index: 5;
  opacity: 1;
  pointer-events: all;
  background: #0006;
  width: 100vw;
  height: 100vh;
  transition: opacity 0.2s ease-in-out;
  position: fixed;
  top: 0;
  right: 0;
}
body {
  overflow-anchor: none;
  background-color: #f5f5f5;
  background-image: url(/wp-content/themes/bof/assets/images/background_pattern.svg);
  background-position: 0 0;
  background-repeat: repeat;
  background-attachment: fixed;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  display: flex;
  position: relative;
}
body:before {
  content: "";
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  background: #0006;
  width: 100vw;
  height: 100vh;
  transition: opacity 0.2s ease-in-out;
  position: fixed;
  top: 0;
  right: 0;
}
body header section.header-main:before {
  pointer-events: none;
}
div.gm-style-iw.gm-style-iw-c {
  max-height: unset !important;
  max-width: unset !important;
  padding: 12px !important;
}
div.gm-style-iw.gm-style-iw-c div.gm-style-iw-d {
  overflow: unset !important;
  max-height: unset !important;
}
.infowindow {
  flex-direction: column;
  gap: 8px;
  width: 218px;
  height: 100%;
  display: flex;
  overflow: hidden;
}
.infowindow > picture,
.infowindow > picture img {
  object-fit: cover;
  width: 100%;
  height: 123px;
}
.infowindow .content {
  flex-direction: column;
  column-gap: 1rem;
  display: flex;
}
.infowindow .content > h3 {
  color: #000;
  margin: 0;
  font: 500 18px/18px brandon-grotesque, sans-serif;
}
.infowindow .content .category {
  color: #2c2c2b;
  margin: 0;
  font: italic 17px/17px brandon-grotesque, sans-serif;
}
.infowindow .content .distance {
  color: #2c2c2b;
  width: 100%;
  margin: 1rem 0 0;
  font: 17px/17px brandon-grotesque, sans-serif;
}
.infowindow .content .more-details {
  color: #2c2c2b;
  box-sizing: border-box;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #0006;
  border-radius: 5px;
  outline: none;
  justify-self: left;
  width: max-content;
  height: 30px;
  margin: 1rem 0 0;
  padding: 0 18px;
  font: 16px/30px brandon-grotesque, sans-serif;
  text-decoration: none;
}
@media (max-width: 1000px) {
  :root {
    --font-h2: normal normal normal 24px/36px$font-brandon;
  }
  .infowindow {
    width: 284px;
    padding: 0;
  }
  .infowindow .content {
    justify-content: space-between;
    gap: 8px;
    display: flex;
  }
  .infowindow .content > h3 {
    white-space: nowrap;
    text-overflow: ellipsis;
    order: 1;
    width: calc(80% - 0.5rem);
    font-weight: 400;
    overflow: hidden;
  }
  .infowindow .content .distance {
    order: 2;
    width: max-content;
    margin: 0;
  }
  .infowindow .content .distance > span:first-of-type {
    display: none;
  }
  .infowindow .content .category {
    text-align: start;
    order: 3;
    margin-top: auto;
  }
  .infowindow .content .more-details {
    order: 4;
    margin-top: 0;
  }
}
@media (max-width: 700px) {
  .infowindow {
    width: 263px;
  }
}
@media (max-width: 350px) {
  .infowindow {
    width: 100%;
    height: 100%;
  }
  .infowindow .content {
    flex-direction: column;
    height: 100%;
  }
  .infowindow .content > h3,
  .infowindow .content .distance,
  .infowindow .content .category {
    width: 100%;
  }
}
main {
  margin-top: calc(2rem + 185px) !important;
}
@media screen and (max-width: 1000px) {
  main {
    margin-top: calc(2rem + 139px) !important;
  }
}
header {
  z-index: 10;
  width: 100%;
  height: auto;
  transition: height 0.5s ease-in-out;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}
header section {
  padding: 0 calc(50vw + min(1200px, 100% - 4rem) / -2);
}
header section.header-bar {
  background-color: #444;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem calc(50vw + min(1200px, 100% - 4rem) / -2);
  display: flex;
  position: relative;
}
header section.header-bar a {
  width: 56px;
}
header section.header-bar a img.logo {
  width: 56px;
  position: absolute;
  top: 5%;
  left: calc(50vw + min(1200px, 100% - 4rem) / -2);
}
header section.header-bar nav {
  flex-direction: row;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  line-height: 18px;
  display: flex;
}
header section.header-bar nav a {
  flex-direction: row;
  align-items: center;
  width: max-content;
  text-decoration: none;
  display: flex;
}
header section.header-bar nav a img {
  width: auto;
  height: 18px;
  margin-right: 8px;
}
header section.header-bar nav a span {
  color: #fff;
}
header section.header-bar nav div {
  color: #fff;
  flex-direction: row;
  align-items: center;
  display: flex;
}
header section.header-bar nav div img {
  width: auto;
  height: 18px;
  margin-right: 8px;
}
header section.header-bar nav div span {
  color: #fff;
}
header section.header-bar nav div button {
  color: #fff;
  cursor: pointer;
  background: 0 0;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 300;
}
header section.header-bar nav div button.active {
  font-weight: 500;
}
header section.header-main {
  background-color: #fff;
  border-bottom: 1px solid #0006;
}
header section.header-main > a > img.bof-default {
  filter: invert();
  height: 42px;
  margin: 1.5rem 0;
}
header section.header-main > a > img.bof-mobile {
  display: none;
}
header section.header-main nav {
  flex-direction: row;
  gap: 2rem;
  padding-bottom: 20px;
  display: flex;
}
header section.header-main nav a {
  color: #2c2c2b;
  font-size: 17px;
  font-weight: 500;
  line-height: 28px;
  text-decoration: none;
  position: relative;
}
header section.header-main nav a:first-of-type {
  display: none;
}
header section.header-main nav a:nth-of-type(2):after {
  left: 0;
}
header section.header-main nav a:after {
  content: "";
  opacity: 0;
  background-color: #c20000;
  width: 0;
  height: 0.25rem;
  transition: width 0.3s, opacity 0.3s;
  position: absolute;
  bottom: -20px;
  left: -1rem;
}
header section.header-main nav a:hover:first-of-type:after,
header section.header-main nav a.active:first-of-type:after {
  opacity: 1;
  width: calc(100% + 1rem);
}
header section.header-main nav a:hover:after,
header section.header-main nav a.active:after {
  opacity: 1;
  width: calc(100% + 2rem);
}
header section.header-main nav button {
  cursor: pointer;
  background: 0 0;
  border: none;
  border-radius: 0;
  padding: 0;
}
header section.sidemenu {
  z-index: 5;
  overscroll-behavior: contain;
  box-sizing: border-box;
  background-color: #fff;
  border-left: 1px solid #0006;
  width: 336px;
  max-width: 85%;
  height: 100svh;
  padding: 2.5rem 2rem;
  transition: transform 0.2s ease-in-out;
  position: fixed;
  top: 0;
  right: 0;
  overflow: auto;
  transform: translate(100%);
}
header section.sidemenu[data-open] {
  transform: translate(0);
}
header section.sidemenu button {
  --width: 19px;
  top: 0;
  left: calc(100% - var(--width));
  cursor: pointer;
  z-index: 2;
  width: var(--width);
  height: var(--width);
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0;
  position: sticky;
}
header section.sidemenu button img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
header section.sidemenu nav {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  position: relative;
}
header section.sidemenu nav:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}
header section.sidemenu nav.city-districts h2 {
  margin-bottom: 0.5rem;
}
header section.sidemenu nav.city-districts ul {
  column-count: 2;
  column-gap: 1.5rem;
  margin: 0;
}
header section.sidemenu nav.city-districts ul li {
  margin: 0;
  padding-top: 0.5rem;
}
header section.sidemenu nav.city-districts ul li a {
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 17px/28px brandon-grotesque, sans-serif;
  display: block;
  overflow-x: hidden;
}
header section.sidemenu nav.legal ul {
  flex-direction: row;
  margin: 0;
  display: flex;
}
header section.sidemenu nav.legal ul li {
  width: 50%;
}
header section.sidemenu nav.legal ul li a {
  font: 17px/28px brandon-grotesque, sans-serif;
}
header section.sidemenu nav:not(:last-child):after {
  content: "";
  background-color: #444;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}
header section.sidemenu nav h2 {
  color: #c20000;
  text-transform: uppercase;
  margin: 0;
  font: 14px/28px brandon-grotesque, sans-serif;
}
header section.sidemenu nav ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style-type: none;
}
header section.sidemenu nav ul li {
  margin-top: 1rem;
}
header section.sidemenu nav ul li a {
  color: #000;
  font: 24px/36px brandon-grotesque, sans-serif;
  text-decoration: none;
}
@media (max-width: 1000px) {
  header section.header-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    display: flex;
  }
  header section.header-main > a > img.bof-default {
    display: none;
  }
  header section.header-main > a > img.bof-mobile {
    filter: invert();
    height: 64px;
    margin: 1rem 0;
    display: block;
  }
  header section.header-main nav {
    justify-content: flex-end;
    padding: 0;
  }
  header section.header-main nav a {
    display: none;
  }
  header section.header-main nav button {
    width: 25px;
    height: 23px;
  }
  header section.header-main nav button img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 700px) {
  header section.header-bar nav {
    flex-grow: 1;
    justify-content: space-between;
    gap: 1rem;
    margin-left: 2rem;
  }
  header section.header-bar nav a img {
    margin: 0;
  }
  header section.header-bar nav a span {
    display: none;
  }
}
@media (max-width: 350px) {
  header section.header-bar nav {
    gap: 0.5rem;
    margin-left: 1rem;
  }
}
aside hr {
  background-color: #0006;
  border: none;
  height: 1px;
  margin: 2rem 0 0;
}
aside .event-filter-title {
  -webkit-hyphens: auto;
  hyphens: auto;
  margin: 2rem 0 1rem;
  font: 28px/28px brandon-grotesque, sans-serif;
}
aside .event-filter {
  margin: 0 0 0.75rem;
}
aside .event-filter > form {
  padding: 0;
}
aside .event-filter > form .input-wrapper {
  margin-bottom: 0.75rem;
  position: relative;
}
aside .event-filter > form .input-wrapper input {
  box-sizing: border-box;
  border: 1px solid #707070;
  border-radius: 0;
  width: 100%;
  height: 40px;
  padding: 0.5rem 1.25rem;
  font: 17px/28px brandon-grotesque, sans-serif;
}
aside .event-filter > form .input-wrapper input::placeholder {
  color: #0006;
  font: 16px/25px brandon-grotesque, sans-serif;
}
aside .event-filter > form .input-wrapper input:focus-visible {
  outline-width: 1px;
  outline-style: solid;
}
aside .event-filter > form .input-wrapper button {
  box-sizing: border-box;
  background: 0 0;
  border: none;
  border-radius: 0;
  align-items: center;
  width: calc(20px + 4rem);
  height: calc(20px + 4rem);
  padding: 2rem;
  position: absolute;
  top: calc(10px - 2rem);
  right: calc(10px - 2rem);
}
aside .event-filter > form .input-wrapper button img {
  filter: invert();
  object-fit: contain;
  width: 100%;
  height: 100%;
}
aside .event-filter > form > input {
  width: 100%;
  margin-bottom: 18px;
}
aside .event-filter > form .dropdown-filters {
  grid-gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 16px;
  display: grid;
}
aside .event-filter > form .dropdown-filters .single-filter {
  width: 100%;
}
aside .event-filter > form .dropdown-filters .single-filter:nth-child(2),
aside .event-filter > form .dropdown-filters .single-filter:nth-child(3) {
  order: 1;
}
aside .event-filter > form .dropdown-filters .single-filter > p {
  display: none;
}
aside .event-filter > form .dropdown-filters .single-filter .dropdown-header {
  padding: 0.75rem 1.25rem;
}
aside
  .event-filter
  > form
  .dropdown-filters
  .single-filter
  .dropdown-header
  > span {
  font-size: 12px;
}
aside
  .event-filter
  > form
  .dropdown-filters
  .single-filter
  .dropdown-header
  > img {
  display: none;
}
aside .event-filter > form .dropdown-filters .single-filter > p {
  text-align: left;
  letter-spacing: 0;
  color: #2c2c2b;
  opacity: 1;
  margin-bottom: 8px;
  font: 17px/21px brandon-grotesque, sans-serif;
}
aside .event-filter > form .dropdown-filters .single-filter .custom-dropdown {
  width: 100%;
  display: inline-flex;
  position: relative;
}
aside .event-filter > form .dropdown-filters .single-filter .dropdown-header {
  box-sizing: border-box;
  cursor: pointer;
  z-index: 1;
  background: #fff;
  border: 1px solid #707070;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 0 1.25rem;
  display: flex;
  position: relative;
}
aside
  .event-filter
  > form
  .dropdown-filters
  .single-filter
  .dropdown-header
  > span {
  text-align: left;
  letter-spacing: 0;
  color: #0006;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 16px/25px brandon-grotesque, sans-serif;
  overflow: hidden;
}
aside .event-filter > form .dropdown-filters .single-filter > img {
  width: 20px;
  height: 10px;
}
aside .event-filter > form .dropdown-filters .single-filter .dropdown-list {
  z-index: 2;
  background-color: #fff;
  border: 1px solid #ccc;
  width: 100%;
  max-height: 300px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  overflow: clip auto;
}
aside .event-filter > form .dropdown-filters .single-filter .dropdown-list li {
  cursor: pointer;
  padding: 0.75rem 1.25rem;
}
aside
  .event-filter
  > form
  .dropdown-filters
  .single-filter
  .dropdown-list
  li:hover {
  background-color: #f2f2f2;
}
aside
  .event-filter
  > form
  .dropdown-filters
  .single-filter
  .dropdown-list
  li.selected,
aside
  .event-filter
  > form
  .dropdown-filters
  .single-filter
  .dropdown-list
  li.default {
  color: #444;
}
aside .event-filter > form .dropdown-filters .single-filter .dateInput {
  cursor: pointer;
  z-index: 1;
  background: #fff;
  border: 1px solid #707070;
  border-radius: 0;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  padding: 0 1.25rem;
  font: 12px/25px brandon-grotesque, sans-serif;
  display: flex;
  position: relative;
}
aside .event-filter > form > button {
  cursor: pointer;
  opacity: 1;
  text-align: center;
  letter-spacing: 0;
  color: #fff;
  opacity: 1;
  cursor: pointer;
  background-color: #c20000;
  border-style: none;
  border-radius: 5px;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: 0;
  padding: 4px 13px;
  font: 16px/25px brandon-grotesque, sans-serif;
  display: block;
}
@media (max-width: 350px) {
  aside .event-filter > form .dropdown-filters {
    grid-template-columns: 1fr;
  }
  aside .event-filter > form .dropdown-filters .single-filter .dateInput,
  aside
    .event-filter
    > form
    .dropdown-filters
    .single-filter
    .dropdown-header
    > span {
    font-size: 16px;
  }
}
footer {
  background-color: #444;
  grid-template-columns: 2.5fr 2fr 2fr 3fr;
  grid-template-areas: "logo nav1 nav2 nav3";
  gap: 2rem;
  padding: 45px calc(50vw + min(1200px, 100% - 4rem) / -2);
  display: grid;
}
footer > a.to-top {
  opacity: 0;
  z-index: 20;
  background-color: #707070;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  place-items: center;
  width: 2.5rem;
  height: 4rem;
  transition: opacity 0.2s ease-in-out;
  display: none;
  position: fixed;
  bottom: 10rem;
  right: 0;
}
footer > a.to-top.visible {
  opacity: 1;
}
footer > a.to-top img {
  filter: brightness(0) invert();
  width: 20px;
  transform: rotate(180deg);
}
footer > a.logo {
  grid-area: logo;
}
footer > a.logo img {
  height: 100px;
}
footer > a.logo img.bof-default {
  display: block;
}
footer > a.logo img.bof-tablet {
  display: none;
}
footer nav {
  flex-direction: column;
  gap: 0.625rem;
  display: flex;
}
footer nav:first-of-type {
  justify-self: end;
  width: max-content;
  margin-right: 3rem;
}
footer nav a {
  color: #fff;
  font-size: 17px;
  line-height: 28px;
  text-decoration: none;
}
@media (max-width: 1279px) {
  footer {
    grid-template-columns: 1fr 2fr 2fr;
    grid-template-areas: "logo logo logo" "nav1 nav2 nav3";
  }
  footer > a.logo img {
    height: 35px;
  }
  footer > a.logo img.bof-default {
    display: none;
  }
  footer > a.logo img.bof-tablet {
    display: block;
  }
  footer nav:first-of-type {
    justify-self: unset;
    margin-right: unset;
    grid-area: nav1;
    margin-left: 0;
  }
  footer nav:nth-of-type(2) {
    grid-area: nav2;
  }
  footer nav:nth-of-type(3) {
    grid-area: nav3;
  }
}
@media (max-width: 1000px) {
  footer {
    grid-template-columns: 1fr 2fr 1fr;
  }
  footer > a.to-top {
    display: grid;
  }
}
@media (max-width: 700px) {
  footer {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "logo logo" "nav1 nav2" "nav3 nav3";
  }
  footer > a.logo {
    width: 100%;
  }
  footer > a.logo img {
    height: 52px;
  }
  footer > a.logo img.bof-default {
    display: block;
  }
  footer > a.logo img.bof-tablet {
    display: none;
  }
}
@media (min-width: 800px) {
  main aside hr,
  main aside .event-filter-title,
  main aside .event-filter {
    display: none;
  }
}
main {
  grid-template-columns: repeat(16, 1fr);
  grid-template-areas: "left left left left main main main main main main main main right right right right";
  column-gap: 2rem;
  margin: 2rem calc(50vw + min(1200px, 100% - 4rem) / -2);
  display: grid;
}
main > section {
  grid-area: main;
}
main > section > a {
  padding: var(--home_trennlinie_abstand_rem, 3rem) 0;
  border-bottom: var(--home_trennlinie_hohe, 1px) solid
    var(--home_trennlinie_farbe, #0006);
  flex-direction: column;
  text-decoration: none;
  display: flex;
}
main > section > a.no-ad > p {
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
main > section > a:first-of-type {
  padding-top: 0;
}
main > section > a:last-of-type {
  border-bottom: none;
}
main > section > a picture {
  aspect-ratio: 1;
  object-fit: cover;
  transition: all 0.3s ease-out;
}
main > section > a picture:hover {
  filter: brightness(0.6);
}
main > section > a picture img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
main > section > a picture ~ p.date {
  margin-top: 2rem;
}
main > section > a p {
  margin: 0;
  font: 17px/28px brandon-grotesque, sans-serif;
}
main > section > a p.date {
  font: normal normal normal var(--home_hauptspalte_termin_schriftgrose, 17px) /
      var(--home_hauptspalte_termin_zeilenhohe, 28px) "brandon-grotesque",
    sans-serif;
  color: var(--home_hauptspalte_termin_schriftfarbe, #c20000);
}
main > section > a h2 {
  font: normal normal normal var(--home_uberschrift_schriftgrose, 36px) /
      var(--home_uberschrift_zeilenhohe, 42px) "brandon-grotesque",
    sans-serif;
  color: var(--home_uberschrift_schriftfarbe, #2c2c2b);
  -webkit-hyphens: auto;
  hyphens: auto;
  text-wrap: balance;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 0 1rem;
}
main aside {
  height: max-content;
  position: sticky;
}
main aside:first-of-type {
  grid-area: left;
}
main aside:last-of-type {
  grid-area: right;
}
main aside > a {
  padding: var(--home_trennlinie_abstand_rem, 3rem) 0;
  border-bottom: var(--home_trennlinie_hohe, 1px) solid
    var(--home_trennlinie_farbe, #0006);
  flex-direction: column;
  text-decoration: none;
  display: flex;
}
main aside > a:first-of-type {
  padding-top: 0;
}
main aside > a:last-of-type {
  border-bottom: none;
}
main aside > a > div {
  height: 352px;
  position: relative;
}
main aside > a > div:after {
  content: "";
  background: linear-gradient(#0000 0%, #0009 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
main aside > a > div:hover img {
  filter: brightness(0.6);
}
main aside > a > div picture {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
main aside > a > div picture img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease-out;
}
main aside > a > div p {
  left: 1rem;
  bottom: calc(
    1rem + var(--home_aside_top_schriftgrose, 62px) +
      var(--home_aside_headline_abstand, 10px)
  );
  color: #fff;
  z-index: 1;
  font: normal normal normal var(--home_aside_rubrik_schriftgrose, 32px) /
      var(--home_aside_rubrik_schriftgrose, 32px) "brandon-grotesque",
    sans-serif;
  margin: 0;
  position: absolute;
}
main aside > a > div h3 {
  color: #fff;
  z-index: 1;
  font: normal normal bold var(--home_aside_top_schriftgrose, 62px) /
      var(--home_aside_top_schriftgrose, 62px) "linotype-didot",
    serif;
  margin: 0;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}
main aside > a h3 {
  font: normal normal normal var(--home_uberschrift_schriftgrose, 36px) /
      var(--home_uberschrift_zeilenhohe, 42px) "brandon-grotesque",
    sans-serif;
  color: var(--home_uberschrift_schriftfarbe, #2c2c2b);
  -webkit-hyphens: auto;
  hyphens: auto;
  text-wrap: balance;
  width: -moz-fit-content;
  width: fit-content;
  margin: 2rem 0 0;
}
main aside > a p {
  margin: 1rem 0 0;
  font: 17px/28px brandon-grotesque, sans-serif;
}
@media (max-width: 1279px) {
  main {
    grid-template-columns: repeat(8, 1fr);
    grid-template-areas: "main main main main main left left left" "main main main main main right right right";
  }
  main aside {
    position: unset;
  }
  main aside:last-of-type {
    position: sticky;
  }
  main aside:first-of-type a:last-of-type {
    border-bottom: var(--home_trennlinie_hohe, 1px) solid
      var(--home_trennlinie_farbe, #0006);
  }
  main aside:last-of-type a:first-of-type {
    padding-top: var(--home_trennlinie_abstand_rem, 3rem);
  }
}
@media only screen and (max-width: 800px) {
  main {
    grid-template-columns: 100%;
    grid-template-areas: "main" "left" "right";
  }
  main > section > a:last-of-type {
    border-bottom: var(--home_trennlinie_hohe, 1px) solid
      var(--home_trennlinie_farbe, #0006);
  }
  main aside:last-of-type {
    position: unset;
  }
  main aside:first-of-type a:first-of-type {
    padding-top: var(--home_trennlinie_abstand_rem, 3rem);
  }
}
