/* Fonts */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("Open-Sans-Bold"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-Bold.woff2")
      format("woff2"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-Bold.ttf")
      format("ttf");
}

@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 700;
  src: local("Open Sans BoldItalic"), local("Open-Sans-BoldItalic"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-BoldItalic.woff2")
      format("woff2"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-BoldItalic.ttf")
      format("ttf");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("Open-Sans-Regular"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-Regular.woff2")
      format("woff2"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-Regular.ttf")
      format("ttf");
}

@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: local("Open Sans Italic"), local("Open-Sans-Italic"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-Italic.woff2")
      format("woff2"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-Italic.ttf")
      format("ttf");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("Open-Sans-Light"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-Light.woff2")
      format("woff2"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-Light.ttf")
      format("ttf");
}

@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300;
  src: local("Open Sans LightItalic"), local("Open-Sans-LightItalic"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-LightItalic.woff2")
      format("woff2"),
    url("https://www.heike-baehrens.de/wp-content/themes/salisbury-child-theme/fonts/OpenSans-LightItalic.ttf")
      format("ttf");
}

/* General */
html,
body,
input,
select,
textarea {
  font-family: "Open Sans", sans-serif;
  line-height: 1.75;
}

html,
.archivePagination,
.wp-link-pages,
.nav-links,
.shareButtons-button a {
  color: #000000;
}

.searchOverlay,
.siteFooter,
.siteFooter::after,
.postNavigation a:hover {
  background-color: #dd3333 !important;
}

.textwidget a {
  color: #dd3333;
}

.textwidget a:hover,
.textwidget a:active,
.textwidget a:focus {
  color: #dda8a8;
}

h1.widget-title,
h2.widget-title,
h3.widget-title,
.textwidget h1,
.textwidget h2,
.textwidget h3 {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.5;
}

.so-widget-sow-image h3.widget-title {
  font-size: 1rem;
  font-weight: normal;
  line-height: auto;
}

h3,
.layout-col-1 .postList .postTitle,
.layout-col-2 .postList .postTitle,
.layout-col-3 .postList .postTitle,
.layout-list .postList .postTitle,
.so-widget-sow-layout-slider-default-c1e5f860365e
  .sow-slider-base
  ul.sow-slider-images
  .sow-slider-image-wrapper
  h3 {
  font-size: 1.15rem;
}

h6,
.so-widget-sow-layout-slider-default-c1e5f860365e
  .sow-slider-base
  ul.sow-slider-images
  .sow-slider-image-wrapper
  h6,
.siteContent-sidebar .widget-title,
.postTitle-small,
.postMeta,
.comment-meta,
.comment-body .reply,
.wp-custom-menu-header .menu-item,
.wp-custom-menu-footer .menu-item,
.rss-date,
.post-date,
.sow-testimonial-location,
.tagcloud a,
input[type="submit"],
button,
.btn,
.wp-block-button__link,
.novelist-button,
.widget .so-widget-sow-button a,
label,
.calendar_wrap,
.shareButtons-title,
.novelist-progress-label,
.archivePagination,
.wp-link-pages,
.nav-links,
.postTitle .post-edit-link,
.postNavigation-text {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
}

h6 {
  font-size: 0.9rem;
}

/* Header menu */

.siteLogo--image .logoImage {
  display: block;
  height: auto;
  max-height: 80px;
  width: auto;
}

#menu-item-9834 > a {
  cursor: default;
}

@media only screen and (min-width: 1025px) {
  ul#menu-main-interims {
    display: flex;
    justify-content: space-evenly;
    gap: 1em;
    align-items: center;
  }
  .wp-custom-menu-header > .menu-item {
    max-width: min-content;
  }
}

ul#menu-main-interims:before,
ul#menu-main-interims:after {
  display: none;
}

.wp-custom-menu-header > .menu-item,
.wp-custom-menu-footer .menu-item {
  margin-right: 0;
  text-align: center;
}

.siteHeader {
  text-shadow: 0 0 0.05em rgba(0, 0, 0, 0.5);
}

.siteHeader-nav {
  width: 85%;
}

.siteHeader-menu {
  width: 100%;
}

.siteHeader-nav .wp-custom-menu-header .menu-item,
.siteHeader-nav .wp-custom-menu-header .menu-item a,
.siteHeader-nav:hover .wp-custom-menu-header .menu-item:hover,
.siteHeader-nav:hover .wp-custom-menu-header .menu-item a:hover {
  color: #fff;
}

.siteWrapper .search-form .search-submit:hover,
.siteHeader-nav:hover .searchToggle,
.siteHeader-nav:hover .wp-custom-menu-header .menu-item,
.siteHeader-nav:hover .wp-custom-menu-header .menu-item a,
.header-text-light .siteContent-header .postMeta a:hover,
.header-text-light .siteContent-header a.post-edit-link:hover,
.header-text-light:not(.page-border) .siteHeader-nav:hover .searchToggle,
.header-text-light:not(.page-border)
  .siteHeader-nav:hover
  .wp-custom-menu-header
  .menu-item,
.header-text-light:not(.page-border)
  .siteHeader-nav:hover
  .wp-custom-menu-header
  .menu-item
  a {
  color: rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

.siteHeader-nav .menuToggle .line,
.siteHeader-nav:hover .menuToggle:hover .line,
.siteHeader-nav .menu-item a::after,
.siteHeader-nav:hover .menu-item a:hover::after,
.siteHeader-nav .searchToggle > span::after,
.siteHeader-nav:hover .searchToggle > span:hover::after,
h1.postTitle-small::after {
  background-color: #fff !important;
}

/* Header images */

#header-image {
  height: 551px;
  display: flex;
  justify-content: center;
  box-shadow: inset 0 0 0 2000px #00000014;
  background-position: 20% 10%;
}

/* Home page */

#pg-2089-2 .simpleParallax img {
  transform-origin: right top;
}

.cmplz-placeholder-1,
.cmplz-placeholder-2 {
  min-height: 228px;
  overflow: hidden;
}

#meine-person h3 {
  color: #ffffff;
}

#person-videos .fluid-width-video-wrapper {
  margin: 0;
}

#pg-2089-2 > .panel-row-style {
  background-position: top right !important;
}

#mobile-person {
  display: none;
}

#meine-person a {
  color: white;
  text-decoration: underline;
}

#meine-person a:hover {
  text-decoration: none;
}

#pgc-2089-1-1 {
  background: #dd3333;
  padding: 40px !important;
  color: white;
}

#pgc-2089-1-1 h3,
#pgc-2089-1-1 a,
#ausstellung h3 {
  color: white;
}

#pgc-2089-1-0 {
  padding-right: 7vw;
}

#panel-2089-1-1-2 {
  margin-bottom: 15px !important;
}

#pgc-2089-1-1 .social-media-button-container {
  display: flex;
  justify-content: center;
}

.so-widget-sow-social-media-buttons-flat-319e9285618e-2089
  .sow-social-media-button {
  font-size: 1.7em !important;
  width: 7em !important;
}

#panel-2089-2-0-3 .sow-icon-fontawesome[data-sow-icon]::before {
  margin-left: 1rem;
}

.so-widget-sow-social-media-buttons-flat-319e9285618e-2089
  .sow-social-media-button-envelope-0 {
  padding-bottom: 0 !important;
}

#panel-2089-3-0-0 > .panel-widget-style {
  background-size: cover;
}

div#ausstellung,
div#ausstellung-row {
  position: relative;
}

/* #text-ausstellung {
  background-color: #dd3333;
  color: #ffffff;
  padding: 50px 40px;
  position: absolute;
  right: auto;
  left: 53%;
  top: 53px;
  max-width: 581px;
  margin-right: 60px;
} */

#pgc-2089-3-0 img {
  width: 100%;
}
.home .postList .hentry > a:first-child img {
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.home .novelist-page .postList .hentry > a:first-child,
.home .postList .hentry.has-post-thumbnail > a:first-child {
  width: 100%;
}

#panel-2089-1-1-1 > .panel-widget-style {
  border: none !important;
}

@media only screen and (max-width: 1280px) {
  .siteHeader .contentWidth,
  body.single-book .siteContent-header .contentWidth {
    padding-left: 30px;
    padding-right: 30px;
  }

  #pg-2089-0 #header-image {
    background-position: 20% 0%;
  }
}

@media only screen and (max-width: 960px) {
  #text-ausstellung {
    position: initial;
    max-width: 100%;
    margin-right: 0;
  }
}

@media only screen and (max-width: 780px) {
  #pg-2089-2 {
    margin-bottom: 0 !important;
  }
  #pg-2089-2 > .panel-row-style {
    background-image: none !important;
  }

  #mobile-person {
    display: block;
  }

  div#buerger-cell {
    margin-bottom: 90px;
  }

  div#intro-row {
    padding-bottom: 0 !important;
    padding-top: 60px !important;
  }
}

/* Gallery */

#fancybox-wrap #fancybox-close {
  background: none !important;
}

.gallery.gallery-columns-4,
.gallery.gallery-columns-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery.gallery-columns-5 .gallery-item {
  float: none;
  width: 20%;
}
.gallery.gallery-columns-4 .gallery-item {
  float: none;
  width: 25%;
}

.single-post .siteHeader {
  background-color: #ffffff;
  background-image: url(https://www.heike-baehrens.de/wp-content/uploads/2023/11/01_Headerbild_Heike-min-scaled.jpg);
  background-position: 20% 8%;
  background-size: cover;
  position: inherit;
  height: 400px;
}

.single-post .siteContent-header {
  padding-top: 60px;
}

.relatedPosts .postPreview {
  width: 64%;
}

.relatedPosts .attachment-post-thumbnail {
  margin-top: 0 !important;
  max-width: 100% !important;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 1280px) {
  .gallery.gallery-columns-5 .gallery-item {
    width: 25%;
  }

  ul#menu-main-interims li {
    font-size: 12px;
  }
}

@media only screen and (max-width: 1025px) {
  ul#menu-main-interims li {
    font-size: 0.85rem;
  }
}

@media only screen and (max-width: 780px) {
  .header-image.panel-row-style,
  .header-overlay,
  .panel-row-style-for-3527-0,
  .panel-row-style-for-3489-0,
  .panel-row-style-for-3457-0,
  .panel-row-style-for-378-0 {
    height: 271px;
    justify-content: center !important;
  }

  .gallery.gallery-columns-4 .gallery-item,
  .gallery.gallery-columns-5 .gallery-item {
    width: 50%;
  }
}
.gallery.gallery-columns-4 .gallery-item:nth-child(3n + 1),
.gallery.gallery-columns-5 .gallery-item:nth-child(3n + 1) {
  clear: none;
}

.gallery.gallery-columns-4 .gallery-item a {
  height: 0;
  padding-top: 100%;
}
.gallery.gallery-columns-5 .gallery-item a {
  height: 0;
  padding-top: 150%;
}

.gallery.gallery-columns-4 .gallery-item a img,
.gallery.gallery-columns-5 .gallery-item a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-overlay {
  position: relative;
  text-shadow: 0 0 0.05em rgba(0, 0, 0, 0.5);
}

.header-overlay:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0.2;
}

#ausstellung #pgc-2089-3-0 {
  max-width: 1200px;
}

#ausstellung {
  justify-content: center;
}

/* Footer */
.shareButtons-button a:hover,
.siteFooter-social a:hover {
  transform: none;
}
.siteFooter a:hover {
  color: #dda8a8 !important;
}

.siteFooter-copyright {
  color: #ffffff;
}

@media only screen and (min-width: 781px) {
  .siteFooter-content:not(:first-child) {
    display: flex;
    align-items: center;
  }
  .siteFooter-content:before,
  .siteFooter-content:after {
    content: initial;
    display: none;
  }
  .siteFooter-nav {
    flex-grow: 1;
    float: initial;
    max-width: initial;
  }
  .siteFooter-copyright {
    float: initial;
    max-width: initial;
    padding: initial;
    margin-right: 2rem;
  }
}
.siteFooter-content {
  border-color: #ffffff !important;
  border-width: 1px;
  margin-bottom: 2rem;
}
.siteFooter-content:first-child {
  display: flex;
  flex-direction: column-reverse;
}

.siteFooter-signup {
  float: initial;
  width: initial;
  text-align: center;
  margin-bottom: 0 !important;
}
.siteFooter-signup .col {
  float: initial;
  width: initial;
  padding: 0;
  margin: auto;
  max-width: 20rem;
}
.siteFooter-signup .col + .col {
  display: none;
}
.siteFooter-signup .col:first-child {
  margin-bottom: 0 !important;
}

.siteFooter-signup h6 {
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 1rem !important;
}
.siteFooter-social {
  float: initial;
  margin-top: 0;
  width: initial;
  text-align: center;
}
.siteFooter-social a {
  font-size: 3rem;
  margin-right: 1rem;
}
.siteFooter-social a + a {
  margin-left: 1rem;
  margin-right: 0;
}
.wp-custom-menu-footer .menu-item {
  margin-right: 1rem;
}
.siteFooter-copyright {
  font-size: 1rem;
}
.scroll-to-top {
  position: initial;
  font-size: 2rem;
  line-height: 1;
  padding: 0.2em 0.3em;
  background-color: #ffffff !important;
}
.salisbury-icon-arrow-up {
  transition: color 0.3s;
  color: #dd3333;
}
.salisbury-icon-arrow-up:hover {
  color: #dda8a8;
}

/* Termine */

.termine-col h3 {
  font-family: "Arimo", helvetica, arial, sans-serif;
  font-size: 0.765rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1em;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid;
}
.termine-col a {
  color: #dd3333;
  transition: color 0.3s;
}

.termine-col a:hover,
.termine-col a:focus,
.termine-col a:active {
  color: #dda8a8;
}

/* Newsletter */

.newsletterList .tagcloud {
  margin-top: 1em;
}

/* BLOG VIEW */

.postList .hentry > a:first-child img,
.postList .hentry > a:first-child .no-feature-image {
  border: 1px solid #000;
}
/* Aktuelles */
.page-id-2219 .postList .hentry > a:first-child img,
.page-id-2244 .postList .hentry > a:first-child img,
.page-id-2219 .postList .hentry > a:first-child .no-feature-image,
.page-id-2244 .postList .hentry > a:first-child .no-feature-image {
  aspect-ratio: 9/5;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.postList .hentry > [class*="salisbury-icon-"],
.postList .hentry a > [class*="salisbury-icon-"],
.gallery-icon a::after {
  bottom: 1px;
  left: 1px;
  border: solid black;
  border-width: 1px 1px 0 0;
}

.layout-list .postList .hentry > a:first-child,
.layout-list .postList .hentry.has-post-thumbnail > a:first-child,
.postList .hentry > a:first-child {
  width: 100%;
}

/* Reden im deutschen Bundenstag */

.page-id-2256 .attachment-post-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* SINGLE VIEW */

.single-post .siteContent-body {
  padding-top: 0;
}

.single-post .siteContent-body .attachment-post-thumbnail {
  margin-top: 45px;
}

/* Pressemitteilungen */

@media (min-width: 781px) {
  .pressemitteilungen .attachment-post-thumbnail {
    max-width: 70%;
  }
}
@media (min-width: 981px) {
  .relatedPosts article a {
    width: 34% !important;
  }
}

/* Reden im deutschen Bundenstag */

.single .category-reden_bundestag .attachment-post-thumbnail {
  display: none;
}

.single .relatedPosts .attachment-post-thumbnail {
  display: block;
}
