/*
Theme Name: Muzzle
Description: presse-capelight.de
Version: 1
License: None
*/

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: "custom";
  src: url("fonts/custom1.eot");
  src: url("fonts/custom1.eot?#iefix") format("embedded-opentype"),
       url("fonts/custom1.woff") format("woff"),
       url("fonts/custom1.ttf") format("truetype"),
       url("fonts/custom1.svg#custom") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/manrope-v13-latin-regular.eot');
  src: local('Manrope'), local('Manrope-Regular'),
       url('fonts/manrope-v13-latin-regular.eot?#iefix') format('embedded-opentype'),
       url('fonts/manrope-v13-latin-regular.woff2') format('woff2'),
       url('fonts/manrope-v13-latin-regular.woff') format('woff'),
       url('fonts/manrope-v13-latin-regular.ttf') format('truetype'),
       url('fonts/manrope-v13-latin-regular.svg#Manrope') format('svg');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/manrope-v13-latin-800.eot');
  src: local('Manrope ExtraBold'), local('Manrope-ExtraBold'),
       url('fonts/manrope-v13-latin-800.eot?#iefix') format('embedded-opentype'),
       url('fonts/manrope-v13-latin-800.woff2') format('woff2'),
       url('fonts/manrope-v13-latin-800.woff') format('woff'),
       url('fonts/manrope-v13-latin-800.ttf') format('truetype'),
       url('fonts/manrope-v13-latin-800.svg#Manrope') format('svg');
}

/* ==========================================================================
   Icon font
   ========================================================================== */

[data-icon]:before,
[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: "custom" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-icon]:before            { content: attr(data-icon); }
.icon-bluesky-logo:before     { content: "\e801"; }
.icon-mastodon-logo:before    { content: "\e802"; }
.icon-letterboxd-logo:before  { content: "\e803"; }

/* ==========================================================================
   Base
   ========================================================================== */

:root {
  --bs-body-font-size: 14px;
}

body {
  color: #333;
  font-family: 'Manrope', sans-serif !important;
}

strong { font-weight: bold; }

.i {
  stroke: currentColor;
  stroke-width: 6.25%;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  width: 1em;
  height: 1em;
  margin: 0.4em;
}

svg,
svg symbol { overflow: visible; }

/* ==========================================================================
   Utility classes
   ========================================================================== */

.cem           { height: 30px; }
.top-71        { top: 71px; }
.bg-dark-grey  { background: #1e1e1e; }
.bg-none       { background: none !important; }
.text-emphasis { color: #cc1d1d; }
.box-shadow    { box-shadow: 0px 62px 55px -74px rgba(0,0,0,1); }

.cls-1                       { fill: #fff; }
#capelight_pictures          { height: 35px; }
#capelight_pictures_footer   { height: 35px; }
#capelight_pictures_footer .cls-1 { fill: #6c757d; }

/* Logo pack */
.logo-pack { transition: background 0.3s ease-out, color 0.3s ease-out; }
.logo-pack:hover { background: rgb(33,37,41) !important; }
.logo-pack:hover span { color: #fff !important; }

/* Padding utilities */
.padding-top-10    { padding-top: 10px; }
.padding-top-20    { padding-top: 20px; }
.padding-top-40    { padding-top: 40px; }
.padding-top-50    { padding-top: 50px; }
.padding-top-80    { padding-top: 80px; }
.padding-top-100   { padding-top: 100px; }
.padding-right-20  { padding-right: 20px; }
.padding-right-30  { padding-right: 30px; }
.padding-right-40  { padding-right: 40px; }
.padding-bottom-10 { padding-bottom: 10px; }
.padding-bottom-20 { padding-bottom: 20px; }
.padding-bottom-40 { padding-bottom: 40px; }
.padding-bottom-50 { padding-bottom: 50px; }
.padding-bottom-80 { padding-bottom: 80px; }
.padding-bottom-100 { padding-bottom: 100px; }
.padding-left-20   { padding-left: 20px; }
.padding-left-30   { padding-left: 30px; }
.padding-left-40   { padding-left: 40px; }
.padding-all-10    { padding: 10px; }
.padding-all-20    { padding: 20px; }
.padding-all-40    { padding: 40px; }
.padding-all-50    { padding: 50px; }
.padding-all-80    { padding: 80px; }

/* Margin utilities */
.margin-top-20      { margin-top: 20px; }
.margin-top-40      { margin-top: 40px; }
.margin-top-50      { margin-top: 50px; }
.margin-bottom-40   { margin-bottom: 40px; }
.margin-bottom-50   { margin-bottom: 50px; }
.margin-bottom-80   { margin-bottom: 80px; }
.margin-bottom-100  { margin-bottom: 100px; }
.margin-left-10     { margin-left: 10px; }
.margin-left-15     { margin-left: 15px; }
.margin-left-20     { margin-left: 20px; }
.margin-left-30     { margin-left: 30px; }
.margin-left-450    { margin-left: 450px; }
.margin-right-10    { margin-right: 10px; }
.margin-right-15    { margin-right: 15px; }
.margin-right-20    { margin-right: 20px; }
.margin-right-30    { margin-right: 30px; }
.no-margin          { margin: 0 !important; }

/* Border utilities */
.border-top-1-333         { border-top: 1px solid #333; }
.border-top-1-e9ecef      { border-top: 1px solid #e9ecef; }
.border-top-1-bdbdbd      { border-top: 1px solid #bdbdbd; }
.border-bottom-1-e9ecef   { border-bottom: 1px solid #e9ecef; }
.border-bottom-1-bdbdbd   { border-bottom: 1px solid #bdbdbd; }
.border-bottom-5-lighter-grey { border-bottom: 5px solid #efefef; }
.border-right-1-bdbdbd    { border-right: 1px solid #bdbdbd; }
.border-all-1-e9ecef      { border: 1px solid #e9ecef; }
.border-all-1-bdbdbd      { border: 1px solid #bdbdbd; }

/* ==========================================================================
   Gradients
   ========================================================================== */

.bottom-gradient-black {
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%);
}

.gradient-helper {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* ==========================================================================
   Links
   ========================================================================== */

a {
  transition: color 0.3s ease-out, background 0.3s ease-out, border 0.3s ease-out;
  color: #360033;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
  color: #000;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn.download:hover,
.btn.download:focus,
.btn.download:active {
  color: #fff !important;
  background: #000 !important;
}

/* ==========================================================================
   Images / media
   ========================================================================== */

.card-img-wrapper { height: 210px; overflow: hidden; }
.full-width-tall .card-img-wrapper { height: 400px; }

div.header { height: 600px; }

.item-holder img { height: 250px; }

.trailer-teaser { object-fit: cover; }

/* ==========================================================================
   Archive A-Z index
   ========================================================================== */

#archiv-filter-bar { padding: 8px 0; }

#archiv-filter-bar.is-sticky {
  position: sticky;
  top: 70px;
  z-index: 101;
  background-color: #fff;
}

#archiv-az-bar {
  position: sticky;
  top: 70px;
  z-index: 100;
  padding: 8px 0;
}

.archiv-az-btn.active {
  background-color: #212529;
  border-color: #212529;
  color: #fff;
}

.archiv-az-section { scroll-margin-top: 130px; }

.archiv-az-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 16px;
}

.archiv-az-item:hover a {
  color: #fff !important;
  background-color: #000 !important;
}

@media (min-width: 576px) {
  .w-sm-auto { width: auto !important; }
}

/* ==========================================================================
   Cards — Aktuell + Suche (identical hover behaviour, consolidated)
   ========================================================================== */

.aktuell.card,
.suche.card {
  border: 1px solid transparent;
  transition: background 0.3s ease-out, transform 0.3s ease-out, border 0.3s ease-out, box-shadow 0.3s ease-out;
  &:hover {
    transform: scale(1.02);
  }
}

.aktuell.card:hover,
.suche.card:hover {
  background: #000;
  border: 1px solid rgba(54,0,51,.3);
  box-shadow: 0px 62px 55px -74px rgba(0,0,0,1);
}

.aktuell.card a:hover,
.suche.card a:hover { color: #fff !important; }

.aktuell.card ul.list-group .list-group-item,
.suche.card ul.list-group .list-group-item {
  transition: background 0.3s ease-out;
}

.aktuell.card:hover ul.list-group .list-group-item,
.suche.card:hover ul.list-group .list-group-item {
  background-color: #000 !important;
  color: #fff !important;
}

/* ==========================================================================
   Search masonry
   ========================================================================== */

.search-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.search-masonry .card { height: 100%; }

/* ==========================================================================
   Archive columns (old paginated list)
   ========================================================================== */

.archiv .letter-items { column-count: 1; column-gap: 1rem; }

.archiv .letter-items li { break-inside: avoid; position: relative; }

.archiv .letter-items .position-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: #eee;
  color: #555;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
}

.archiv .letter-section:last-child {
  flex-grow: 1;
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

.archiv .letter-section:last-child .letter-items {
  flex-grow: 1;
  margin-bottom: 0 !important;
}

.archiv .item .film-container:hover { text-decoration: underline !important; }

/* ==========================================================================
   Image masonry
   ========================================================================== */

.images.masonrybilder {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.images .masonry-item {
  width: calc(31.333% - 15px);
  margin-bottom: 30px;
  box-sizing: border-box;
}

.images .masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Single / bilder
   ========================================================================== */

#page .circle {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0,0,0,0.5);
  color: #000;
  text-align: center;
  line-height: 28px;
  position: absolute;
  z-index: 1;
  font-weight: bold;
  font-size: 80%;
  top: -40px;
  border-radius: 15px;
  left: 0;
}

#page #bilder ul li.item a.swipebox {
  transition: border 0.3s ease-out, transform 0.3s ease-out, background 0.3s ease-out, color 0.3s ease-out;
  border: 1px solid transparent;
}

#page #bilder ul li.item a.swipebox:hover {
  border: 1px solid #1e1e1e !important;
}

#page #bilder ul li.item a.swipebox .frame {
  transition: background 0.3s ease-out;
}

#page #bilder ul.posterbilder li.item a.swipebox .frame {
  min-height: 390px;
  box-sizing: border-box;
}

#page #bilder ul li.item a.swipebox:hover .frame img { border-color: black !important; }

#page #bilder ul.coverbilder li.item              { width: 380px; }
#page #bilder ul.coverbilder li.item.vsrs         { width: 830px; }
#page #bilder ul.coverbilder li.item.dvd          { width: 384px; }
#page #bilder ul.coverbilder li.item.digital      { width: 390px; }
#page #bilder ul.coverbilder li.item.packshot-sets,
#page #bilder ul.coverbilder li.item.gruppierter-packshot { width: 604px; }

/* ==========================================================================
   Pagination
   ========================================================================== */

.page-link       { color: #000; }
.page-link:hover { color: #000; }
.page-link:focus { color: #fff; }

.active > .page-link,
.page-link.active {
  background: #000;
  color: #fff !important;
  border-color: #fff;
}

/* ==========================================================================
   Nav pills
   ========================================================================== */

.nav-pills                   { background: rgb(248,249,250); }
.nav-pills .nav-link         { color: #000; transition: background 0.3s ease-out; background: rgb(232,232,232); }
.nav-pills .nav-link:hover   { background: rgb(248,249,250); color: #000; }
.nav-pills .nav-link.active  { color: #000; background: #c3c3c3; }
.nav-pills .nav-link.active:hover { color: #000; background: rgb(232,232,232); }

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar-collapse { justify-content: space-between; }

.navbar .navbar-toggler {
  cursor: pointer;
  height: 60px;
  transition: color 0.3s ease-out, background 0.3s ease-out;
}

.navbar .navbar-toggler:hover { background: #000; }

.brand-link span { transition: background 0.3s ease-out, color 0.3s ease-out; }
.brand-link:hover span { color: rgb(108,117,125) !important; }

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggler-icon:hover,
.navbar .navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar .navbar-nav .nav-link {
  transition: color 0.3s ease-out, background 0.3s ease-out;
}

.navbar .navbar-nav .active > .nav-link,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link:hover {
  color: #fff;
  background: #212121;
}

/* ==========================================================================
   Awesomplete
   ========================================================================== */

.awesomplete {
  width: 100%;
  font-size: .9rem;
  transition: box-shadow 0.3s ease-out;
}

.awesomplete:focus {
  box-shadow: 0 0 0 .2rem rgba(54,0,51,.25);
}

.awesomplete > ul {
  margin-top: 4px;
  padding: 4px 0;
  background: #fff;
  border: 1px solid #ccc;
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
  position: absolute;
  z-index: 9999;
}

.awesomplete li,
.awesomplete > ul > li { list-style: none; }

.awesomplete > ul > li {
  padding: 8px 20px !important;
  line-height: 24px !important;
  display: block !important;
  cursor: pointer !important;
  background: none !important;
  color: #000 !important;
  font-weight: 500 !important;
  transition: background 0.3s ease-out, color 0.3s ease-out;
}

/* Merged two conflicting aria-selected declarations — using rgb(51,51,61) */
.awesomplete > ul > li:hover,
.awesomplete > ul > li[aria-selected="true"] {
  color: #fff !important;
  background: rgb(51,51,61) !important;
  font-weight: 600 !important;
  padding-left: 17px !important;
}

.kino-label {
  background-color: #000;
  color: #fff;
  font-weight: bold;
  padding: 2px 5px;
  margin-right: 5px;
  font-size: 0.75rem;
}

/* ==========================================================================
   Page content
   ========================================================================== */

.page #page ul { margin: 30px 0 30px 30px; }
.page #page ul li { list-style-type: disc !important; padding: 0 0 0 1em; }

.page.page-id-5780 #page h3:first-of-type,
.page.page-id-5780 #page h3 { padding: 60px 0 10px; }

.verteiler-form p { margin: 2em 0; }
.verteiler-form p input[type="checkbox"] { margin: 0 5px 0 0; }


/* ==========================================================================
   Footer
   ========================================================================== */

.footer-nav li a { transition: background 0.3s ease-out; }

#footer a {
  color: #fff;
  transition: color 0.3s ease-out, background 0.3s ease-out;
}

#footer nav a:hover,
#footer nav a:focus,
#footer nav a:active,
#footer nav a.active {
  color: #fff !important;
  background: #000;
}

#footer ul li a:hover,
#footer ul li a:focus,
#footer ul li a:active {
  color: #fff !important;
  background: #000;
}

#footer ul.social li a.social-link {
  transition: color 0.3s ease-out, background 0.3s ease-out;
  height: 50px;
  line-height: 30px;
}

#footer ul.social li a.social-link i { font-size: 1.7rem; }

#footer ul.social li a:hover,
#footer ul.social li a:focus,
#footer ul.social li a:active {
  color: #fff !important;
  background: #000;
}

/* ==========================================================================
   Media queries
   ========================================================================== */

@media (max-width: 767.98px) {
  .no-border-below-md { border-right: 0 !important; }
}

@media (min-width: 768px) {
  .search-masonry       { grid-template-columns: repeat(2, 1fr); }
  .archiv .letter-items { column-count: 2; }
}

@media (min-width: 768px) and (max-width: 992px) {
  #footer ul.social li a.social-link {
    height: 30px !important;
    padding: 0 4px !important;
  }
  #footer ul.social li a.social-link i { font-size: 1.20rem !important; }
}

@media (min-width: 992px) {
  .search-masonry       { grid-template-columns: repeat(3, 1fr); }
  .archiv .letter-items { column-count: 4; }

  .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, max-content);
    column-gap: 0.45rem;
    row-gap: 0.25rem;
  }
}

@media (min-width: 1200px) {
  .archiv .letter-items { column-count: 5; }
}