/**
 * Theme Name: Hybrid Mag Child
 * Template:   hybridmag
 * ...other header fields
 */

 :root {
   --hybridmagchild-color-almost-white: #f2f2f2;
 }


 .zl-container {
    padding-top: 1em;
    padding-bottom: 1em;
 }

.hm-highlighted-post:has(a:focus),
.hm-swiper:has(a:focus),
.hm-tab-nav:has(a:focus) {
   outline: thin dotted;
}

/* Header */
.hmc-pre-header {
   background-color: var(--hybridmag-color-primary);
   padding-top: 1em;
   padding-bottom: 1em;
}
.hmc-pre-header p {
   margin-bottom: 0;
   color: white; /* TODO: var(--hybridmag-color-secondary) */
}
.hmc-pre-header .pre-header-label {
   margin-right: 1em;
   padding: .5em;
   background-color: white;
   color: var(--hybridmag-color-primary);
   border-radius: 4em;
}
.hmc-pre-header .pre-header-text a {
   color: var(--hybridmagchild-color-almost-white);
   text-decoration: underline;
}
.hmc-pre-header .pre-header-text a:hover {
   color: white;
}

 .current-date {
    display: inline;
    float: right;
    font-weight: bold;
 }

 @media screen and (min-width: 768px) {
  .hm-h-de .hm-header-inner-wrapper {
    padding-top: 2em;
    padding-bottom: 2em;
  }
}
@media only screen and (min-width: 959px) { /* Breakpoint for the mobile sidebar button to be hidden. */
  .hm-mobile-sidebar {
    display: none;   /* Remove the mobile sidebar when it is not reachable for accessibility reasons. */
  }
}

/* slider + 2 posts */

.hm-slider-details-container::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 1);
  opacity: 0.6;
  transition: opacity 0.2s linear;
  z-index: -1;
}

.hmhp-details-container::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 1);
  opacity: 0.6;
  transition: opacity 0.2s linear;
  z-index: -1;
}

.zl-slider-author,
.zl-slider-date {
   display: inline;
   color: white;
   margin-bottom: 0;
}

.zl-slider-date {
   float: right;
}


/* Ausgaben-Archiv */

.archive-ausgabe {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
}

.archive-ausgabe .ausgabe {
   background-color: white;
   padding: 1em;
   border-radius: .5em;
   box-shadow: var(--hybridmag-global-box-shadow);
   max-width: calc(150px + 2em);
   transition: transform .2s;
}

.archive-ausgabe .ausgabe p {
   margin-bottom: .5em;
   text-align: center;
   font-weight: bold;
}

.archive-ausgabe .ausgabe:hover {
   transform: translateY(-2px);
   box-shadow: 0 0 15px 2px rgba( 0, 0, 0, 0.06);
}

/* Einzelseite einer Ausgabe */

.content-single-ausgabe {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
}

.ausgaben-beitrag {
   display: block;
   padding: 1em;
   max-width: calc(150px + 2em);
}

.ausgaben-beitrag .wp-post-image {
   display: block;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 1em;
}

.ausgaben-beitrag .title {
   text-align: center;
   font-weight: bold;
}

.swiper-notification {
   display: none;
}

.hm-footer-column .wp-block-image img {
   max-height: 4em;
   width: auto;
}