@charset "UTF-8";
/*
Theme Name: UND Generationentandem Thema
Site styles compiled to assets/css/main.compiled.css.
Load after global-base.compiled.css (inc/enqueue.php).

Import graph (active only):
  1) Silent tokens: base/variables, base/typography-vars
  2) Legacy leftovers: base/legacy
  3) Components used on multiple templates
  4) Page-specific partials

Block CSS is NOT imported here. Each ACF block compiles from
blocks/{slug}/style.scss → blocks/{slug}/style.css (enqueued conditionally).
*/
/* ==========================================================================
   #ROOT VARIABLES
   ========================================================================== */
/* Colors */
/* Adjust comment area margins */
@media (max-width: 480px) {
  .carousel {
    height: 600px;
  }
  .carousel-caption {
    font-size: 1rem;
    bottom: 15%;
  }
  .carousel p {
    font-size: 1rem;
  }
  .event-section {
    padding: 10px 0px 5px 10px;
  }
  a .user-name {
    display: inline-block !important;
  }
  .user-name {
    font-size: 0.2rem;
  }
}
#comments-section .d-flex {
  padding-left: 0 !important;
}

/* Fade Animation */
#upcoming-events,
#past-events,
#einblick-posts {
  transition: opacity 0.2s ease-in-out;
}

#upcoming-events.loading,
#past-events.loading,
#einblick-posts.loading {
  opacity: 0.7;
}

/* ==========================================================================
# SNAP PAGINATION LOADING ANIMATION (.swiper-pagination legacy class names)
========================================================================== */
.swiper-pagination.loading .swiper-pagination-bullet {
  background-color: #007bff;
  animation: swiper-pagination-loading 1s infinite;
}

@keyframes swiper-pagination-loading {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}
/* ==========================================================================
# HORIZONTAL SNAP STRIPS — GPU hints (legacy .swiper-* markup; no Swiper CDN)
========================================================================== */
.swiper,
.swiper-slide {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.swiper-slide img,
.swiper-slide picture {
  transform: translateZ(0);
  will-change: opacity, transform;
}

.toggle-content-wrapper {
  transition: none !important;
  overflow: hidden;
}

.toggle-content-wrapper.collapsing {
  transition: none !important;
}

.toggle-content {
  overflow: hidden;
}

.toggle-box-container {
  max-width: 800px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* Social Media Buttons */
.social-share-icons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  margin: 0 10px;
  font-size: 24px;
  color: #333;
  text-decoration: none;
}

.social-icon:hover {
  color: #0073e6;
}

/* Share Button Container */
.share-button-container {
  position: relative;
  display: inline-block;
}

/* Override font-family for dropdown menu and button inside artikel-content (to use sans-serif instead of serif) */
.artikel-content .share-button-container .btn,
.artikel-content .dropdown-menu,
.artikel-content .dropdown-menu .dropdown-item {
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
}

/* Social Share Dropdown */
.social-share-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-width: 200px;
  z-index: 9999;
  display: none; /* Hidden by default */
  margin-top: 5px;
  transform-origin: top left;
  animation: dropdownFadeIn 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.social-icon-item {
  padding: 10px 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #343a40;
}

.social-icon-item:hover {
  background-color: #f8f9fa;
  color: #7f1109;
}

.social-icon-item i {
  width: 20px;
  margin-right: 10px;
}

/* Share Button */
#shareToggleBtn {
  position: relative;
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 1px solid #dee2e6;
}

#shareToggleBtn:hover {
  background-color: #7f1109;
  color: white;
  border-color: #7f1109;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .d-flex.justify-content-between {
    flex-direction: column;
    gap: 1rem;
  }
  .social-share-dropdown {
    left: 0;
    right: 0;
    width: 100%;
  }
  /* Limit single-line height on mobile */
  .d-md-none.flex-column .mb-3 {
    margin-bottom: 0.5rem;
  }
  /* Reduce date text size on mobile */
  .d-md-none .fw-lighter {
    font-size: 1rem;
  }
  /* Adjust mobile dropdown position */
  .d-md-none .social-share-dropdown {
    position: absolute;
    top: 100%;
    left: -50px; /* Daha merkezi bir konum için */
    right: auto;
    min-width: 220px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 9999;
  }
  /* Mobil dropdown üçgen ok işareti */
  .d-md-none .social-share-dropdown:before {
    content: "";
    position: absolute;
    top: -8px;
    left: 70px; /* Butonla hizalamak için */
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
  }
  /* Mobil dropdown animasyonu */
  .d-md-none .social-share-dropdown {
    transform-origin: top left;
    animation: mobileDropdownFadeIn 0.25s ease;
  }
  @keyframes mobileDropdownFadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  /* Mobil düzen satır hizalama */
  .d-md-none .d-flex.align-items-center {
    flex-wrap: wrap;
  }
  /* Tarih stilleri */
  .d-md-none .fw-lighter {
    font-size: 1.1rem;
    margin-left: auto;
  }
  /* Küçük ekranlarda buton boyutları */
  .d-md-none .btn-sm {
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
  }
  /* Çok küçük ekranlar için ek düzenleme */
}
@media (max-width: 768px) and (max-width: 390px) {
  .d-md-none .social-share-dropdown {
    left: -70px;
  }
  .d-md-none .social-share-dropdown:before {
    left: 85px;
  }
  .d-md-none .fw-lighter {
    font-size: 1.1rem;
  }
}
/* Social Sharing Styles */
.social-icon-item {
  transition: background-color 0.3s ease;
  border-radius: 3px;
}

.social-icon-item:hover {
  background-color: #f8f9fa;
}

/* Sosyal medya ikon stilleri */
.social-icon {
  font-size: 1.5rem;
  margin: 0 8px;
  color: #343a40;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.social-icon:hover {
  color: #7f1109;
  transform: scale(1.1);
}

.social-icon.comment {
  color: #343a40;
}

.social-icon.comment:hover {
  color: #7f1109;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#shareToggleBtn:focus,
#shareToggleBtn:active {
  box-shadow: none;
  outline: none;
}

/* Mobile responsive for share buttons */
@media (max-width: 576px) {
  .social-share-dropdown {
    min-width: 180px !important;
    left: -70px !important;
  }
  .social-share-dropdown:before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
  }
}
.btn.btn-sm.btn-outline-secondary,
#shareToggleBtn.btn-outline-secondary {
  border-color: #dee2e6;
  color: #343a40;
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn.btn-sm.btn-outline-secondary:hover,
#shareToggleBtn.btn-outline-secondary:hover {
  background-color: #7f1109 !important;
  color: #fff !important;
  border-color: #7f1109 !important;
  opacity: 1;
}

/* Event Participation Buttons */
.event-participation-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-participation-btn .participant-count {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25em 0.5em;
  border-radius: 1rem;
  font-size: 0.8em;
  transition: all 0.3s ease;
}

.btn-success .participant-count {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-danger .participant-count {
  background-color: rgba(255, 255, 255, 0.2);
}

.event-participation-btn:hover .participant-count {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .event-participation-btn .participant-count {
    font-size: 0.7em;
    padding: 0.2em 0.4em;
  }
}
.article-wrapper {
  /* Make images full width on mobile */
}
.article-wrapper .artikel-content img {
  max-width: 100%;
  height: auto;
}

.artikel-title {
  text-align: left;
  max-width: 100%;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .artikel-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .single-post-meta-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 0.5rem;
  }
  .single-post-meta-mobile__date {
    min-width: 0;
    overflow: hidden;
  }
  .single-post-meta-mobile__date .mobile-date {
    font-size: clamp(0.72rem, 2.9vw, 0.95rem);
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .single-post-meta-mobile__date .mobile-date i {
    font-size: 1em;
    margin-right: 0.15rem;
  }
  .single-post-meta-mobile__authors {
    min-width: 0;
    overflow: hidden;
    position: relative;
    justify-self: end;
    width: 100%;
  }
  .single-post-meta-mobile__author-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
  }
  .single-post-meta-mobile__author-link {
    position: relative;
    min-width: 0;
    gap: 0.3rem;
    flex-shrink: 1;
  }
  .single-post-meta-mobile__author-link .img-user {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }
  .single-post-meta-mobile--one-author .single-post-meta-mobile__author-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    justify-content: flex-end;
  }
  .single-post-meta-mobile--one-author .single-post-meta-mobile__author-link .user-name {
    display: inline;
    font-size: clamp(0.7rem, 2.8vw, 0.9rem);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    min-width: 0;
  }
  .single-post-meta-mobile--many-authors .single-post-meta-mobile__author-link {
    flex-shrink: 0;
  }
  .single-post-meta-mobile--many-authors .single-post-meta-mobile__author-link .user-name {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    display: none;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 10;
  }
  .single-post-meta-mobile--many-authors .single-post-meta-mobile__author-link:hover .user-name,
  .single-post-meta-mobile--many-authors .single-post-meta-mobile__author-link:focus-visible .user-name {
    display: block;
  }
}
.artikel-lead {
  text-align: left;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .artikel-lead {
    padding-right: 15px;
    padding-left: 0;
    font-size: 1.2rem;
    line-height: 1.3;
  }
}
@media (max-width: 576px) {
  .artikel-lead {
    padding-right: 10px;
    padding-left: 0;
    font-size: calc(1rem * 1.3);
    line-height: 1.25;
    hyphens: auto;
    hyphenate-limit-chars: 10 3 3;
    overflow-wrap: break-word;
  }
}

.artikel-content {
  font-family: "Crimson Text", "Times New Roman", Times, serif;
  font-size: 1.44rem;
  font-weight: 400;
  line-height: 1.8;
}
.artikel-content img {
  max-width: 100%;
  height: auto;
}
.artikel-content p {
  margin-bottom: 0.9rem;
  font-size: 2rem;
  line-height: 1.5;
}
.artikel-content h1, .artikel-content h2, .artikel-content h4, .artikel-content h5, .artikel-content h6,
.artikel-content h3:not(.card-title) {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  color: #333;
}
.artikel-content h3:not(.card-title) {
  font-size: 1.5rem;
  font-weight: 400;
  color: #000;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.artikel-content blockquote {
  font-family: "Crimson Text", "Times New Roman", Times, serif;
  font-style: italic;
  color: #555;
  background-color: rgba(0, 0, 0, 0.02);
  padding: 1rem 1.5rem;
  border-radius: 0.25rem;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.artikel-content blockquote p:last-child {
  margin-bottom: 0;
}
.artikel-content blockquote cite {
  display: block;
  font-size: 90%;
  margin-top: 0.5rem;
  text-align: right;
  font-weight: 600;
}
.artikel-content li {
  font-family: "Crimson Text", "Times New Roman", Times, serif;
  font-size: 1.26rem;
  font-weight: 400;
  line-height: 1.8;
}
.artikel-content {
  /* Responsive adjustments */
}
@media (max-width: 991px) {
  .artikel-content {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 0;
  }
}
@media (max-width: 767px) {
  .artikel-content {
    padding-right: 10px;
    padding-left: 0;
  }
  .artikel-content h3:not(.card-title) {
    font-size: 1.5rem;
  }
}
@media (max-width: 576px) {
  .artikel-content {
    padding-right: 5px !important;
    padding-left: 0 !important;
    line-height: 1.9;
  }
  .artikel-content h1, .artikel-content h2, .artikel-content h4, .artikel-content h5, .artikel-content h6,
  .artikel-content h3:not(.card-title) {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
  }
  .artikel-content p {
    margin-bottom: 1rem;
    line-height: 1.9;
  }
  .artikel-content h3:not(.card-title) {
    font-size: 1.4rem;
  }
  .artikel-content blockquote {
    padding: 0.75rem 1rem;
    margin: 1.25rem 0;
    line-height: 1.85;
  }
  .artikel-content li {
    line-height: 1.9;
  }
}

/* Content area adjusted for mobile */
@media (max-width: 576px) {
  .single-post .row {
    margin-left: 0;
    margin-right: 0;
  }
  .single-post .col-12 {
    padding-left: 5px;
    padding-right: 5px;
  }
}
/* Special styles for event page */
.single-event .artikel-content {
  margin: 0 auto;
  text-align: left;
  font-size: 1rem;
}

.single-event .article-wrapper {
  padding-bottom: 1.25rem;
}

/* Content Text Styles */
body, p, .entry-content, article, .card-text, .lead, blockquote, li, td, th, input, textarea, button, select, label {
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
}

/* Paymatic Pro form override - allow browser default styles */
.wppayform-form input, .wppayform-form textarea, .wppayform-form button, .wppayform-form select, .wppayform-form label {
  all: revert;
}

/* Article Content Styles */
.artikel-content,
.artikel-content p,
.artikel-content li {
  font-family: "Crimson Text", "Times New Roman", Times, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.8;
}

/* Reduce spacing between paragraphs */
.artikel-content p {
  margin-bottom: 0.9rem;
}

/* Style for subheadings (exclude post-card titles) */
.artikel-content h3:not(.card-title) {
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #000;
}

p, .entry-content p {
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

/* Responsive Typography */
@media (min-width: 992px) {
  .artikel-content,
  .artikel-content p,
  .artikel-content blockquote,
  .artikel-content li {
    font-size: 1.375rem;
  }
  .artikel-content h3:not(.card-title) {
    font-size: 1.75rem;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .artikel-content,
  .artikel-content p,
  .artikel-content blockquote,
  .artikel-content li {
    font-size: 19px;
  }
  .artikel-content h3:not(.card-title) {
    font-size: 1.6rem;
  }
}
@media (max-width: 767px) {
  .artikel-content,
  .artikel-content p,
  .artikel-content blockquote,
  .artikel-content li {
    font-size: 1.25rem;
    line-height: 1.85;
  }
  .artikel-content h3:not(.card-title) {
    font-size: 1.5rem;
  }
}
@media (max-width: 576px) {
  .artikel-content,
  .artikel-content p,
  .artikel-content blockquote,
  .artikel-content li {
    font-size: 1.2rem;
    line-height: 1.9;
  }
  .artikel-content h3:not(.card-title) {
    font-size: 1.4rem;
  }
  .artikel-content p {
    margin-bottom: 1rem;
  }
  .artikel-content blockquote {
    padding: 0.75rem 1rem;
    margin: 1.25rem 0;
    line-height: 1.85;
  }
}
.event-meta,
.event-meta .event-date,
.event-meta .event-time,
.event-meta .event-location {
  font-family: "Source Sans Pro", sans-serif;
}

/* Calendar add-to section styles */
.event-datetime {
  cursor: pointer;
  transition: all 0.3s ease;
}

.event-datetime:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(127, 17, 9, 0.2);
  background-color: #f8f9fa;
}

.event-datetime-group--multi {
  border-radius: 0.5rem;
  padding: 0.75rem !important;
  gap: 0;
}
.event-datetime-group--multi .event-datetime-group-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.75rem !important;
}
.event-datetime-group--multi .event-datetime-group-icon {
  color: #000000;
  padding: 0.75rem !important;
  font-size: inherit;
}
.event-datetime-group--multi .event-datetime--multi {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  width: auto;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}
.event-datetime-group--multi .event-datetime--multi .event-datetime-content {
  padding: 0.2rem 0.1rem !important;
}
.event-datetime-group--multi .event-datetime--multi .event-datetime-content .event-datetime-label {
  margin: 0;
  white-space: nowrap;
  font-size: 1.5rem;
  line-height: 1.2;
}

@media (max-width: 575.98px) {
  .event-datetime-group--multi {
    gap: 0 !important;
    padding: 0.5rem !important;
  }
  .event-datetime-group--multi .event-datetime-group-icon {
    font-size: inherit;
    padding: 0.35rem !important;
  }
  .event-datetime-group--multi .event-datetime-group-text {
    padding: 0.35rem !important;
  }
  .event-datetime-group--multi .event-datetime--multi {
    flex: 0 1 auto;
    max-width: 100%;
  }
  .event-datetime-group--multi .event-datetime--multi .event-datetime-content {
    padding: 0.2rem 0.1rem !important;
    line-height: 1.2;
  }
  .event-datetime-group--multi .event-datetime--multi .event-datetime-content .event-datetime-label {
    font-size: 1rem;
  }
}
.event-icon {
  color: #7f1109;
}

#calendarModal[inert] {
  pointer-events: none;
}
#calendarModal[inert] * {
  pointer-events: none;
}
#calendarModal + .modal-backdrop[inert] {
  pointer-events: none;
}
#calendarModal .calendar-modal-header {
  background-color: #7f1109;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#calendarModal .calendar-btn {
  border-color: #7f1109;
  color: #7f1109;
  transition: all 0.3s ease;
}
#calendarModal .calendar-btn:hover {
  background-color: #7f1109;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(127, 17, 9, 0.2);
}
#calendarModal .calendar-detail-icon {
  color: #7f1109;
}
#calendarModal .calendar-card {
  transition: all 0.3s ease;
}
#calendarModal .calendar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
@media (min-width: 576px) {
  #calendarModal .calendar-modal {
    max-width: 400px;
    margin: 1.75rem auto;
  }
}

/* Related Post */
.related-posts {
  position: relative;
}

.related-posts .section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: #7f1109;
}

.related-posts .section-title:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #7f1109;
}

.related-posts .card-title {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.related-posts .row {
  margin-left: -10px;
  margin-right: -10px;
}

.related-posts .col-md-3 {
  padding-left: 10px;
  padding-right: 10px;
}

@media (max-width: 767px) {
  .related-posts {
    padding: 2rem 0;
  }
  .related-posts .section-title {
    font-size: 1.5rem;
  }
  .related-posts .col-12 {
    margin-bottom: 1.5rem;
  }
}
/* Responsive Slider Styles */
#homeMainSlider {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 600px;
  width: 100%;
}

.h-600 {
  height: 600px;
}

.slider-img-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.slider-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 10%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 100%);
  padding: 20px 0;
}

.slider-excerpt {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 100%;
  color: white;
}

#homeMainSlider .carousel-control-prev-icon,
#homeMainSlider .carousel-control-next-icon,
#homeMainSliderMobile .carousel-control-prev-icon,
#homeMainSliderMobile .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-image: none !important;
  position: relative;
}

#homeMainSlider:hover .carousel-control-prev,
#homeMainSlider:hover .carousel-control-next {
  opacity: 1;
}

#homeMainSlider .carousel-control-prev-icon,
#homeMainSlider .carousel-control-next-icon,
#homeMainSliderMobile .carousel-control-prev-icon,
#homeMainSliderMobile .carousel-control-next-icon {
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.8));
}

#homeMainSlider .carousel-control-prev-icon::after,
#homeMainSlider .carousel-control-next-icon::after,
#homeMainSliderMobile .carousel-control-prev-icon::after,
#homeMainSliderMobile .carousel-control-next-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  box-sizing: border-box;
  transform-origin: center;
}

#homeMainSlider .carousel-control-prev-icon::after,
#homeMainSliderMobile .carousel-control-prev-icon::after {
  transform: translate(-42%, -50%) rotate(-135deg);
}

#homeMainSlider .carousel-control-next-icon::after,
#homeMainSliderMobile .carousel-control-next-icon::after {
  transform: translate(-58%, -50%) rotate(45deg);
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
  #homeMainSlider,
  .h-600 {
    height: 500px !important;
  }
  .carousel-control-prev,
  .carousel-control-next {
    opacity: 0.8;
  }
}
@media (max-width: 480px) {
  #homeMainSlider,
  .h-600 {
    height: 500px !important;
  }
}
/* Special class for slider and images */
.full-width-content {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ratio #homeMainSliderMobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-img-container:hover img {
  transform: scale(1.05);
}

.event-list {
  margin-bottom: 1rem;
}

.event-card {
  cursor: pointer;
}

.single-event-card {
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  transform: translateY(0);
  cursor: pointer;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
}
.single-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.single-event-card-link {
  z-index: 5;
  cursor: pointer;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}
.single-event-card-link:focus {
  outline: 2px solid #7f1109;
  outline-offset: 2px;
}

.single-event-card-content {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.single-event-card-content * {
  pointer-events: none;
}

.single-event-card > div.d-flex.justify-content-end,
.single-event-card .event-category-badge-container {
  pointer-events: auto !important;
  z-index: 10;
}

.event-category-link {
  position: relative;
  z-index: 11;
  pointer-events: auto !important;
}
.event-category-link * {
  pointer-events: auto !important;
}

.event-category-badge {
  position: relative;
  display: inline-block;
  padding: 0.2rem 0.4rem;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}
.event-category-badge i {
  margin-right: 0.25rem;
  font-size: 0.75rem;
}
.event-category-badge:hover {
  background-color: #7f1109;
  color: #ffffff;
  border-color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-template-page-generationenfestival .event-category-badge:hover,
.page-template-page-generationenfestival .category-badge:hover,
.is-generationenfestival-family .event-category-badge:hover,
.is-generationenfestival-family .category-badge:hover {
  background-color: #ffad29;
}

.is-magazin-family .event-category-badge:hover,
.is-magazin-family .category-badge:hover {
  background-color: #2F528F;
}

.is-digitales-wissen-family .event-category-badge:hover,
.is-digitales-wissen-family .category-badge:hover {
  background-color: #50702a;
}

.event-box {
  padding: 0.3rem;
}

.event-title {
  font-size: 1.3rem !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-left: 0;
  margin-right: 0;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  line-height: 1.4;
  padding-right: 110px;
}

.single-event-card > .d-flex.justify-content-between {
  gap: 0.5rem;
}
.single-event-card > .d-flex.justify-content-between .single-event-card-content {
  flex: 1 1 0;
  min-width: 0;
}
.single-event-card > .d-flex.justify-content-between .event-category-badge-container {
  flex: 0 0 auto;
  max-width: 42%;
}
.single-event-card > .d-flex.justify-content-between .event-title {
  padding-right: 0;
  hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (min-width: 769px) and (max-width: 991px) {
  .single-event-card > .d-flex.justify-content-between {
    flex-direction: column;
    align-items: stretch;
  }
  .single-event-card > .d-flex.justify-content-between .event-category-badge-container {
    order: -1;
    align-self: flex-end;
    max-width: 100%;
  }
  .single-event-card > .d-flex.justify-content-between .single-event-card-content {
    flex: 1 1 auto;
    width: 100%;
  }
}
.event-date {
  font-size: 0.9rem;
  font-family: "Source Sans Pro", sans-serif !important;
  color: #666;
}

.event-time,
.event-location {
  font-size: 0.9rem;
  color: #666;
}

.event-info {
  flex-wrap: wrap;
  gap: 1rem;
}

.event-meta {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.75rem;
  row-gap: 0.05rem;
  margin-top: 0.35rem;
  line-height: 1.2;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 0.95rem;
  max-width: 100%;
  min-width: 0;
}
.event-meta span {
  display: flex;
  align-items: center;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}
.event-meta .event-card__datetime {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.35rem;
  row-gap: 0.1rem;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
}
.event-meta .event-card__date {
  display: inline-flex;
  min-width: 0;
  white-space: normal;
}
.event-meta .event-card__time {
  display: inline-block;
  white-space: nowrap;
}

.event-card__time {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .event-list {
    margin: 0;
    padding: 0.5rem;
  }
  .single-event-card {
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  .single-event-card:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  .single-event-card > .d-flex.justify-content-between {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
  }
  .single-event-card > .d-flex.justify-content-between .single-event-card-content {
    flex: 1 1 auto;
    min-width: 0;
  }
  .single-event-card > .d-flex.justify-content-between .event-category-badge-container {
    flex: 0 0 auto;
  }
  .event-box {
    padding: 0.5rem;
  }
  .event-title {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    line-height: 1.3;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .single-event-card > .d-flex.justify-content-between .event-title {
    padding-right: 0;
  }
  .event-date,
  .event-time,
  .event-location {
    font-size: 0.85rem;
    margin: 0.2rem 0;
    display: flex;
    align-items: center;
  }
  .event-info {
    gap: 0.5rem;
    padding: 0.3rem 0;
    margin: 0;
    flex-direction: column;
  }
  .event-category-badge {
    font-size: 0.65rem;
    padding: 2px 5px;
    background-color: #fff;
    border: 1px solid #ddd;
  }
  .event-category-badge:hover {
    background-color: #7f1109;
    color: #fff;
    border-color: #7f1109;
  }
  .event-time i,
  .event-location i {
    margin-right: 4px;
    font-size: 0.9rem;
    color: #7f1109;
  }
  .event-meta {
    flex-direction: row !important;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
  }
  .event-meta span {
    font-size: 0.8rem;
  }
}
.post-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  width: 100%;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-thumbnails {
  position: relative;
  overflow: hidden;
  height: 200px;
  margin: 0;
  padding: 0;
}
.card-thumbnails img {
  transition: transform 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card:hover .card-thumbnails img {
  transform: scale(1.05);
}

.post-date-container {
  margin: 0;
  font-size: 0.85rem;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  max-width: 100%;
}
.post-date-container small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  white-space: nowrap;
}
.post-date-container small.event-card__datetime {
  flex-wrap: wrap;
  white-space: normal;
  row-gap: 0.1rem;
}
.post-date-container i {
  margin-right: 0.3rem;
}

.card-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: #ffffff;
  position: relative;
  min-height: 150px;
  justify-content: space-between;
}

.card-title {
  color: #000000;
  margin: 0 0 0.75rem 0;
  padding: 0;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  line-clamp: 3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.05em;
  text-overflow: ellipsis;
  word-break: break-word;
  position: relative;
}

.category-badge {
  display: inline-block;
  top: 3px;
  right: 10px;
  z-index: 1;
  padding: 0.25rem 0.5rem;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  text-decoration: none;
}
.category-badge:hover {
  background-color: #7f1109;
  color: #ffffff;
  border-color: #ffffff;
  text-decoration: none;
}
.category-badge i {
  margin-right: 0.25rem;
  font-size: 0.75rem;
}

.page-template-page-generationenfestival .category-badge:hover,
.is-generationenfestival-family .category-badge:hover {
  background-color: #ffad29;
}

.page-template-magazin .category-badge:hover {
  background-color: #2F528F;
}

.page-template-page-digital-teilhabe .category-badge:hover {
  background-color: #50702a;
}

.authors-section {
  padding-top: 0.75rem;
  margin-top: auto;
  background-color: #fff;
  overflow: hidden;
  position: relative;
  min-height: 48px;
}
.authors-section:has(.link-user.author-hover-active) {
  overflow: visible;
}
.authors-section .link-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  position: relative;
  transition: transform 0.2s ease;
}
.authors-section .author-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.authors-section .link-user:first-child:last-child .author-name {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.9rem;
  font-weight: 300;
  color: #333;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
}
.authors-section .link-user:first-child:last-child:hover .author-avatar {
  transform: scale(1.3);
}

.authors-stack {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 3px;
  gap: 0rem;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.25s ease;
}
.authors-stack .link-user {
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: margin-right 0.2s ease, transform 0.2s ease;
}
.authors-stack .author-avatar {
  margin-right: -0.4rem;
  transition: transform 0.2s ease;
}
.authors-stack .link-user:last-child .author-avatar {
  margin-right: 0;
}
.authors-stack .link-user.author-hover-active .author-avatar {
  transform: scale(1.2);
}
.authors-stack .author-name {
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  overflow: hidden;
  transition: max-width 0.25s ease, opacity 0.2s ease, margin-left 0.2s ease;
}
.authors-stack .link-user.author-hover-active .author-name {
  max-width: 220px;
  opacity: 1;
  margin-left: 0;
}
.authors-stack .tooltip.author-tooltip .tooltip-inner {
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  text-transform: none;
}

.event-location {
  color: #666;
  display: flex;
  align-items: center;
}
.event-location i {
  margin-right: 0.5rem;
}

.location-name {
  font-weight: 400;
}

.post-cards-desktop-wrap,
.post-cards-mobile-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.post-cards-mobile-wrap {
  overflow: hidden;
}

@media (max-width: 768px) {
  .post-swiper:not(.post-swiper--snap) {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  .post-swiper:not(.post-swiper--snap) .swiper-wrapper {
    gap: 0 !important;
  }
  .post-swiper:not(.post-swiper--snap) .swiper-slide {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }
  .swiper-pagination,
  #mobile-container .swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
  }
  .swiper-pagination-bullet,
  #mobile-container .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #ccc;
    opacity: 0.5;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .swiper-pagination-bullet-active,
  #mobile-container .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #333;
    width: 10px;
    height: 10px;
  }
  /* Programm / Festival Einblicke & News: allow multi-author name reveal on hover */
  #einblicke-section .authors-section,
  #festival-news-section .authors-section {
    overflow: visible;
  }
  #einblicke-section .authors-stack .link-user.author-hover-active,
  #festival-news-section .authors-stack .link-user.author-hover-active {
    z-index: 3;
  }
  /* Programm Einblicke / News: horizontal snap + dots outside scroll strip */
  .einblicke-mobile-wrap {
    width: 100%;
  }
  #einblicke-mobile-container.post-swiper--snap,
  #festival-news-mobile-container.post-swiper--snap {
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    display: block;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    padding-bottom: 28px;
  }
  #einblicke-mobile-container.post-swiper--snap::-webkit-scrollbar,
  #festival-news-mobile-container.post-swiper--snap::-webkit-scrollbar {
    display: none;
  }
  #einblicke-mobile-container.post-swiper--snap .swiper-wrapper,
  #festival-news-mobile-container.post-swiper--snap .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    transform: none;
    gap: 0;
  }
  #einblicke-mobile-container.post-swiper--snap .swiper-slide,
  #festival-news-mobile-container.post-swiper--snap .swiper-slide {
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    height: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  #einblicke-mobile-container.post-swiper--snap .post-card,
  #festival-news-mobile-container.post-swiper--snap .post-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  #einblicke-mobile-container.post-swiper--snap .ratio.ratio-16x9,
  #festival-news-mobile-container.post-swiper--snap .ratio.ratio-16x9 {
    width: 100%;
  }
  #einblicke-mobile-container.post-swiper--snap .card-title,
  #festival-news-mobile-container.post-swiper--snap .card-title {
    margin-left: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  #einblicke-mobile-container.post-swiper--snap .swiper-slide-active .post-card,
  #festival-news-mobile-container.post-swiper--snap .swiper-slide-active .post-card {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  /* Category / festival archive — posts horizontal snap (events stay stacked elsewhere) */
  #category-posts-mobile.post-swiper--snap,
  #festival-posts-mobile.post-swiper--snap {
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    display: block;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    padding-bottom: 24px;
  }
  #category-posts-mobile.post-swiper--snap::-webkit-scrollbar,
  #festival-posts-mobile.post-swiper--snap::-webkit-scrollbar {
    display: none;
  }
  #category-posts-mobile.post-swiper--snap .swiper-wrapper,
  #festival-posts-mobile.post-swiper--snap .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    transform: none;
    gap: 0;
  }
  #category-posts-mobile.post-swiper--snap .swiper-slide,
  #festival-posts-mobile.post-swiper--snap .swiper-slide {
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    height: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  #category-posts-mobile.post-swiper--snap .post-card,
  #festival-posts-mobile.post-swiper--snap .post-card {
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
  }
  #category-posts-mobile.post-swiper--snap .ratio.ratio-16x9,
  #festival-posts-mobile.post-swiper--snap .ratio.ratio-16x9 {
    width: 100%;
  }
  #category-posts-mobile.post-swiper--snap .card-title,
  #festival-posts-mobile.post-swiper--snap .card-title {
    margin-left: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  #category-posts-mobile.post-swiper--snap .swiper-slide-active .post-card,
  #festival-posts-mobile.post-swiper--snap .swiper-slide-active .post-card {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .snap-pagination[data-pagination-for=category-posts-mobile],
  .snap-pagination[data-pagination-for=festival-posts-mobile],
  .snap-pagination[data-pagination-for=festival-news-mobile-container],
  .snap-pagination[data-pagination-for=einblicke-mobile-container] {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
  }
  .snap-pagination[data-pagination-for=category-posts-mobile] span,
  .snap-pagination[data-pagination-for=festival-posts-mobile] span,
  .snap-pagination[data-pagination-for=festival-news-mobile-container] span,
  .snap-pagination[data-pagination-for=einblicke-mobile-container] span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .snap-pagination[data-pagination-for=category-posts-mobile] span.active,
  .snap-pagination[data-pagination-for=festival-posts-mobile] span.active,
  .snap-pagination[data-pagination-for=festival-news-mobile-container] span.active,
  .snap-pagination[data-pagination-for=einblicke-mobile-container] span.active {
    background-color: #7f1109;
    transform: scale(1.2);
  }
  .snap-pagination.einblicke-snap-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
  }
  .snap-pagination.einblicke-snap-pagination span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .snap-pagination.einblicke-snap-pagination span.active {
    opacity: 1;
    background-color: #333;
    width: 10px;
    height: 10px;
    transform: scale(1.05);
  }
  .snap-pagination.einblicke-snap-pagination.snap-pagination--compact {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  .snap-pagination.einblicke-snap-pagination.snap-pagination--compact .snap-pagination-compact__label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    letter-spacing: 0.02em;
  }
  .snap-pagination.einblicke-snap-pagination.snap-pagination--compact .snap-pagination-compact__track {
    height: 4px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.12);
    overflow: hidden;
  }
  .snap-pagination.einblicke-snap-pagination.snap-pagination--compact .snap-pagination-compact__fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    background-color: #333;
    transition: width 0.2s ease;
  }
  .post-card {
    margin: 0;
    width: 100%;
  }
  .card-thumbnails {
    height: 180px;
  }
  .card-body {
    padding: 0.75rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
  }
  .card-title {
    min-height: 4.05em;
    margin-bottom: 0.5rem;
  }
  .swiper-slide-active .post-card {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  .similar-posts-slider.js-snap-slider .swiper-wrapper,
  .related-posts .similar-posts-slider.js-snap-slider .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    transform: none;
    gap: 0;
  }
  .similar-posts-slider.js-snap-slider .swiper-slide,
  .related-posts .similar-posts-slider.js-snap-slider .swiper-slide {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .similar-posts-slider.js-snap-slider,
  .related-posts .similar-posts-slider.js-snap-slider {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: block;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }
  .similar-posts-slider.js-snap-slider::-webkit-scrollbar,
  .related-posts .similar-posts-slider.js-snap-slider::-webkit-scrollbar {
    display: none;
  }
  .snap-pagination[data-pagination-for],
  .related-posts .snap-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: 2;
  }
  .snap-pagination[data-pagination-for] span,
  .related-posts .snap-pagination span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .snap-pagination[data-pagination-for] span.active,
  .related-posts .snap-pagination span.active {
    background-color: #7f1109;
    transform: scale(1.2);
  }
  .post-cards-mobile-wrap .snap-pagination[data-pagination-for] span.active {
    background-color: #7f1109;
  }
  .is-magazin-family .post-cards-mobile-wrap .snap-pagination[data-pagination-for] span.active {
    background-color: #2F528F;
  }
  .is-digitales-wissen-family .post-cards-mobile-wrap .snap-pagination[data-pagination-for] span.active {
    background-color: #50702a;
  }
  .is-generationenfestival-family .post-cards-mobile-wrap .snap-pagination[data-pagination-for] span.active {
    background-color: #ffad29;
  }
  .page-template-page-multimedia .post-cards-mobile-wrap .snap-pagination[data-pagination-for] span.active,
  .single-multimedia .post-cards-mobile-wrap .snap-pagination[data-pagination-for] span.active {
    background-color: #343a40;
  }
}
@media (max-width: 576px) {
  .custom-container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
  .card-thumbnails {
    height: 150px;
  }
  .card-body {
    padding: 0.5rem;
    gap: 0.3rem;
  }
  .card-title {
    max-height: 4.5em;
    padding: 0.3rem 0;
  }
  .post-date-container {
    padding: 0.3rem;
    font-size: 0.75rem;
  }
  .authors-section {
    padding: 0.25rem;
  }
  .author-avatar {
    width: 30px;
    height: 30px;
  }
  .link-user {
    gap: 0.3rem;
    padding: 0.15rem 0;
  }
}
.related-posts {
  background-color: #ffffff;
  padding: 1rem 1rem;
  margin-top: 2rem;
  width: 100%;
}
.related-posts .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.related-posts .section-title {
  font-size: 2rem;
  font-weight: 600;
  position: relative;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.5rem;
  color: #333;
  text-align: left;
}
.related-posts .section-title:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #7f1109;
}
.related-posts .row {
  margin-left: -10px;
  margin-right: -10px;
}
.related-posts .col-md-3 {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}
.related-posts .post-card {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-posts .post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.related-posts .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  max-height: 4.2em;
}
.related-posts .card-thumbnails {
  height: 160px;
}
.related-posts .authors-section {
  padding-top: 0.5rem;
}

@media (max-width: 991px) {
  .related-posts {
    padding: 2rem 0.75rem;
  }
  .related-posts .section-title {
    font-size: 1.75rem;
  }
  .related-posts .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 20px;
  }
  .related-posts .card-thumbnails {
    height: 180px;
  }
}
@media (max-width: 576px) {
  .related-posts {
    padding: 1.5rem 0.5rem;
  }
  .related-posts .section-title {
    font-size: 1.5rem;
  }
  .related-posts .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .related-posts .card-thumbnails {
    height: 180px;
  }
}
.post-cards-container {
  max-width: 100%;
  padding: 0.5rem;
}

/* ==========================================================================
   #FORM STYLES
   Modern, accessible form styling for Contact Form 7 and general forms
   ========================================================================== */
.custom-form-container {
  max-width: 1000px;
  margin: 2rem auto;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
}

.col-full {
  flex: 1 1 100%;
}

.col-half {
  flex: 1 1 calc(50% - 0.625rem);
}
@media (max-width: 768px) {
  .col-half {
    flex: 1 1 100%;
  }
}

.col-anrede {
  flex: 0 0 120px;
}
@media (max-width: 768px) {
  .col-anrede {
    flex: 1 1 100%;
  }
}

.col-name {
  flex: 1 1 200px;
}
@media (max-width: 768px) {
  .col-name {
    flex: 1 1 100%;
  }
}

.col-adresse {
  flex: 2 1 300px;
}
@media (max-width: 768px) {
  .col-adresse {
    flex: 1 1 100%;
  }
}

.col-plz {
  flex: 0 0 100px;
}
@media (max-width: 768px) {
  .col-plz {
    flex: 1 1 100%;
  }
}

.col-ort {
  flex: 1 1 200px;
}
@media (max-width: 768px) {
  .col-ort {
    flex: 1 1 100%;
  }
}

.custom-form-container label {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
}

.custom-form-container .wpcf7-form-control:not([type=submit]):not([type=checkbox]):not([type=radio]) {
  width: 100%;
  padding: 0.75rem 0.9375rem;
  font-size: 1.0625rem;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.custom-form-container .wpcf7-form-control:not([type=submit]):not([type=checkbox]):not([type=radio]):focus {
  border-color: #7f1109;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(127, 17, 9, 0.25);
}
.custom-form-container .wpcf7-form-control:not([type=submit]):not([type=checkbox]):not([type=radio])::placeholder {
  color: #6c757d;
  opacity: 0.7;
}
.custom-form-container textarea.wpcf7-form-control {
  min-height: 120px;
  resize: vertical;
}
.custom-form-container input[type=checkbox],
.custom-form-container input[type=radio] {
  width: auto;
  margin-right: 0.5rem;
  cursor: pointer;
}

.wpcf7-form input[type=radio],
.wpcf7-form input[type=checkbox] {
  width: auto;
  height: auto;
  appearance: auto;
  -webkit-appearance: auto;
  display: inline-block;
  visibility: visible;
  opacity: 1;
  margin-right: 0.5rem;
  cursor: pointer;
  flex-shrink: 0;
}

.custom-form-container #absenden,
.custom-form-container input[type=submit].wpcf7-form-control,
.custom-form-container button[type=submit] {
  background-color: #7f1109;
  color: #ffffff;
  padding: 0.9375rem 3.75rem;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
}
.custom-form-container #absenden:hover,
.custom-form-container input[type=submit].wpcf7-form-control:hover,
.custom-form-container button[type=submit]:hover {
  background-color: #5a0c06;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(127, 17, 9, 0.3);
}
.custom-form-container #absenden:active,
.custom-form-container input[type=submit].wpcf7-form-control:active,
.custom-form-container button[type=submit]:active {
  transform: translateY(0);
}
.custom-form-container #absenden:disabled,
.custom-form-container input[type=submit].wpcf7-form-control:disabled,
.custom-form-container button[type=submit]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ok,
.wpcf7-mail-sent-ng {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  font-weight: 500;
}

.wpcf7-validation-errors {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.wpcf7-mail-sent-ok {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.wpcf7-mail-sent-ng {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.wpcf7-spinner {
  margin-left: 0.5rem;
}

@media (max-width: 576px) {
  .custom-form-container {
    margin: 1rem auto;
    padding: 0 0.5rem;
  }
  .custom-form-container label {
    font-size: 1rem;
  }
  .custom-form-container .wpcf7-form-control:not([type=submit]):not([type=checkbox]):not([type=radio]) {
    font-size: 1rem;
    padding: 0.625rem 0.75rem;
  }
  .custom-form-container #absenden,
  .custom-form-container input[type=submit].wpcf7-form-control {
    width: 100%;
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
  }
}
/* ==========================================================================
   Reservierungsformular «Online Reservation Pizzaabend»
   Kompaktes Layout. Absenden entspricht .btn-program.
   ========================================================================== */
.reservation-pizzaabend {
  max-width: 580px;
  margin: 2rem auto;
  padding: 1.25rem 1.5rem;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  color: #212529;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.reservation-pizzaabend h2 {
  margin-top: 0;
  margin-bottom: 14px;
}
.reservation-pizzaabend p {
  margin: 0 0 10px 0;
}
.reservation-pizzaabend br {
  display: none;
}
.reservation-pizzaabend .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0 !important;
}
.reservation-pizzaabend .form-row,
.reservation-pizzaabend .formular-gruppe,
.reservation-pizzaabend .reservation-datum-zeit,
.reservation-pizzaabend .reservation-infobox {
  margin-bottom: 10px !important;
}
.reservation-pizzaabend .form-row-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px !important;
}
.reservation-pizzaabend .form-row-group .half {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 768px) {
  .reservation-pizzaabend .form-row-group {
    flex-direction: column;
  }
}
.reservation-pizzaabend .reservation-datum-zeit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 768px) {
  .reservation-pizzaabend .reservation-datum-zeit {
    grid-template-columns: 1fr;
  }
}
.reservation-pizzaabend .reservation-infobox {
  padding: 0.75rem 1rem;
  background-color: #f8f9fa;
  border: 1px solid rgba(127, 17, 9, 0.35);
  border-left: 4px solid #7f1109;
  border-radius: 5px;
  line-height: 1.5;
}
.reservation-pizzaabend label {
  display: block;
  margin-bottom: 3px !important;
  line-height: 1.2;
  font-size: 13.5px;
  font-weight: 600;
  color: #222;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
}
.reservation-pizzaabend .wpcf7-form-control:not([type=submit]):not([type=checkbox]):not([type=radio]):not(.wpcf7-acceptance):not(.wpcf7-checkbox) {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  color: #212529;
  background-color: #ffffff;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.reservation-pizzaabend .wpcf7-form-control:not([type=submit]):not([type=checkbox]):not([type=radio]):not(.wpcf7-acceptance):not(.wpcf7-checkbox):focus {
  border-color: #7f1109;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(127, 17, 9, 0.25);
}
.reservation-pizzaabend textarea.wpcf7-form-control {
  height: 55px;
  min-height: 55px;
  resize: vertical;
}
.reservation-pizzaabend .wpcf7-acceptance,
.reservation-pizzaabend .wpcf7-list-item,
.reservation-pizzaabend .acceptance-row label,
.reservation-pizzaabend .wpcf7-acceptance label,
.reservation-pizzaabend .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.4;
}
.reservation-pizzaabend .acceptance-row {
  margin-top: 6px !important;
  margin-bottom: 12px !important;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
.reservation-pizzaabend .acceptance-row input[type=checkbox],
.reservation-pizzaabend .wpcf7-acceptance input[type=checkbox],
.reservation-pizzaabend .wpcf7-list-item input[type=checkbox] {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0.15rem 0 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  accent-color: #7f1109;
  flex: 0 0 auto;
  cursor: pointer;
}
.reservation-pizzaabend .wpcf7-list-item-label {
  border: none;
  background: transparent;
  padding: 0;
}
.reservation-pizzaabend .wpcf7-not-valid:not(.wpcf7-acceptance) {
  border-color: #721c24;
}
.reservation-pizzaabend .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  color: #721c24;
  font-size: 0.9rem;
  font-weight: 600;
}
.reservation-pizzaabend {
  /* Absenden: Maße und Hover wie .btn-program */
}
.reservation-pizzaabend .btn-reservation-submit,
.reservation-pizzaabend .btn-reservation-absenden {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 200px;
  margin-top: 12px;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #7f1109;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}
.reservation-pizzaabend .btn-reservation-submit:hover, .reservation-pizzaabend .btn-reservation-submit:focus,
.reservation-pizzaabend .btn-reservation-absenden:hover,
.reservation-pizzaabend .btn-reservation-absenden:focus {
  color: #ffffff;
  background-color: #e5d1d0;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  outline: none;
}
.reservation-pizzaabend .btn-reservation-submit:focus-visible,
.reservation-pizzaabend .btn-reservation-absenden:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(127, 17, 9, 0.25);
}
.reservation-pizzaabend .btn-reservation-submit:disabled,
.reservation-pizzaabend .btn-reservation-absenden:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
@media (max-width: 768px) {
  .reservation-pizzaabend .btn-reservation-submit,
  .reservation-pizzaabend .btn-reservation-absenden {
    font-size: 1rem;
    padding: 10px 16px;
    min-width: 180px;
  }
}
@media (max-width: 576px) {
  .reservation-pizzaabend .btn-reservation-submit,
  .reservation-pizzaabend .btn-reservation-absenden {
    width: 100%;
    font-size: 0.95rem;
    padding: 8px 12px;
    min-width: 0;
  }
}
.reservation-pizzaabend .wpcf7-response-output,
.reservation-pizzaabend .wpcf7-validation-errors,
.reservation-pizzaabend .wpcf7-mail-sent-ok,
.reservation-pizzaabend .wpcf7-mail-sent-ng {
  margin: 12px 0 0;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: 500;
}
.reservation-pizzaabend .wpcf7-response-output,
.reservation-pizzaabend .wpcf7-validation-errors {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}
.reservation-pizzaabend form.sent .wpcf7-response-output,
.reservation-pizzaabend .wpcf7-mail-sent-ok {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}
.reservation-pizzaabend form.failed .wpcf7-response-output,
.reservation-pizzaabend form.aborted .wpcf7-response-output,
.reservation-pizzaabend .wpcf7-mail-sent-ng {
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
}
.reservation-pizzaabend .wpcf7-spinner {
  margin-left: 0.5rem;
}

/* ==========================================================================
   #PAYREXX MODAL FIX
   ==========================================================================
   This file contains targeted fixes for Payrexx modals to ensure they
   display correctly despite Bootstrap's .fade:not(.show) opacity rules.
   ========================================================================== */
/**
 * Force Payrexx modals to be visible when they have the fade class
 * This specifically targets elements with 'payrexx' in their class name
 * and ensures they override Bootstrap's default fade behavior
 */
[class*=payrexx].fade,
[class*=payrexx] .fade,
.fade[class*=payrexx] {
  opacity: 1 !important;
  display: block !important;
}

/**
 * Ensure Payrexx modal dialogs are visible
 */
[class*=payrexx].modal,
[class*=payrexx] .modal,
.modal[class*=payrexx] {
  opacity: 1 !important;
  display: block !important;
}

/**
 * Ensure Payrexx modal backdrops are visible when needed
 */
[class*=payrexx].modal-backdrop,
[class*=payrexx] .modal-backdrop,
.modal-backdrop[class*=payrexx] {
  opacity: 0.5 !important;
  display: block !important;
}

/**
 * Force visibility for Payrexx modals even without .show class
 * This handles cases where the modal is shown but .show class isn't applied
 */
[class*=payrexx].fade:not(.show),
[class*=payrexx] .fade:not(.show),
.fade:not(.show)[class*=payrexx] {
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
}

/**
 * Ensure z-index is high enough for Payrexx modals
 * Using higher values to ensure Payrexx modals appear above all theme elements
 * including those with z-index 9999/99999
 */
[class*=payrexx].modal,
[class*=payrexx] .modal,
.modal[class*=payrexx] {
  z-index: 100000 !important;
}

[class*=payrexx].modal-backdrop,
[class*=payrexx] .modal-backdrop,
.modal-backdrop[class*=payrexx] {
  z-index: 99999 !important;
}

/* ==========================================================================
   #PAYMATTIC MODERN DESIGN FIX
   ========================================================================== */
/* Radio/checkbox: undo Bootstrap appearance:none + contents.scss all:revert */
.wppayform-form input[type=radio],
.wppayform-form input[type=checkbox],
.wppayform-form .form-check-input,
.form-check-input.wppayform-form {
  appearance: auto;
  display: inline-block;
  visibility: visible;
  opacity: 1;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  cursor: pointer;
  flex-shrink: 0;
}

.wppayform-form input[type=radio],
.form-check-input.wppayform-form[type=radio] {
  -webkit-appearance: radio;
  -moz-appearance: radio;
}

.wppayform-form input[type=checkbox],
.form-check-input.wppayform-form[type=checkbox] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
}

/* Radio-Buttons: Bootstrap-Design beibehalten und Sichtbarkeit garantieren */
#wpf_form_id_133599 .form-check-input.wppayform-form {
  appearance: auto;
  -webkit-appearance: radio;
  -moz-appearance: radio;
  display: inline-block;
  visibility: visible;
  opacity: 1;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  cursor: pointer;
}

/* Absende-Button: Doppelte Ebenen entfernen und Design glätten */
#wpf_form_id_133599 .wpf_submit_button {
  background-color: #9c0000;
  background-image: none;
  border: none;
  border-radius: 4px;
  padding: 15px;
  width: 100%;
  box-shadow: none;
}

/* Innerer Text: Hintergrund-Dopplung durch Transparenz verhindern */
#wpf_form_id_133599 .wpf_submit_button span.wpf_txt_normal {
  background: transparent;
  color: #ffffff;
  font-weight: bold;
  display: block;
}

/* Hover-Effekt für den gesamten Button */
#wpf_form_id_133599 .wpf_submit_button:hover {
  background-color: #7a0000;
}

/* Eingabefelder: Konsistentes modernes Design */
#wpf_form_id_133599 .wpf_form_control {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 10px;
  box-shadow: none;
}

/* ==========================================================================
   #TEAM PAGE STYLES
   ========================================================================== */
.team-section {
  padding: 20px 0;
}

.section-title {
  color: #7f1109;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 10px;
}

/* Add modern heading style */
.team-section .section-title-container {
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  border-left: 4px solid #7f1109;
}

.team-section .section-title-container .section-title {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

/* Teams toggle section */
.teams-toggle-header {
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.teams-toggle-header .section-title-container {
  transition: all 0.3s ease;
}

.teams-toggle-header:hover .section-title-container {
  background-color: #e9ecef;
  transform: translateX(3px);
}

.toggle-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #7f1109;
}

.teams-toggle-header[aria-expanded=true] .toggle-icon {
  transform: rotate(180deg);
}

/* Simple team member layout (no cards) */
.team-member {
  transition: all 0.3s ease;
  padding: 15px 5px;
  text-align: center;
}

.team-member:hover .avatar-wrapper {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Larger profile images as requested */
.avatar-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #343a40;
  text-align: center;
}

.team-name .age {
  font-weight: inherit;
  color: inherit;
  opacity: 1;
}

.team-member-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* Responsive adjustments for larger profile images */
@media (max-width: 1199px) {
  .avatar-wrapper {
    width: 180px;
    height: 180px;
  }
}
@media (max-width: 991px) {
  .avatar-wrapper {
    width: 160px;
    height: 160px;
  }
  .team-member {
    padding: 10px 5px;
  }
}
@media (max-width: 767px) {
  .avatar-wrapper {
    width: 150px;
    height: 150px;
  }
  .team-name {
    font-size: 0.95rem;
  }
}
@media (max-width: 575px) {
  .avatar-wrapper {
    width: 130px;
    height: 130px;
  }
  .team-name {
    font-size: 0.9rem;
  }
}
/* Team filters */
.btn-filter {
  background-color: #dee2e6;
  border: none;
  color: #343a40;
  transition: all 0.3s ease;
}

.btn-filter:hover,
.btn-filter.active {
  background-color: #7f1109;
  color: #ffffff;
}

.team-filter-description {
  max-width: 100%;
}
.team-filter-description p:last-child {
  margin-bottom: 0;
}

/* Team filters responsive adjustments */
@media (max-width: 767px) {
  .team-filters {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  .team-filters .d-flex {
    justify-content: flex-start !important;
  }
}
/* Mobile author display adjustments */
@media (max-width: 767.98px) {
  /* Multiple authors - add hover effect to show names */
  .col-6.text-end a.link-user:hover .user-name {
    display: block !important;
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 40px;
    margin-left: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }
}
/* Special style for mobile date */
@media (max-width: 767.98px) {
  .mobile-date {
    font-size: 16px;
  }
  .mobile-date i {
    font-size: 16px;
    margin-right: 3px;
  }
}
/* Share dropdown adjustments for mobile view */
@media (max-width: 576px) {
  /* Special style for mobile dropdown */
  #socialShareDropdownMobile {
    position: absolute;
    left: 0;
    min-width: 200px;
    width: auto;
    max-width: 90vw;
    right: auto;
    z-index: 9999;
  }
  /* Triangle arrow addition for mobile dropdown */
  #socialShareDropdownMobile:before {
    content: "";
    position: absolute;
    top: -8px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
  }
  /* Reduce text size inside dropdown */
  #socialShareDropdownMobile .social-icon-item {
    font-size: 0.9rem;
    padding: 8px 10px !important;
  }
  /* Positioning of dropdown button */
  .share-button-container {
    position: relative !important;
  }
}
/* Loading Spinner Styles */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.loading-spinner .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #7f1109;
}

@media (max-width: 767.98px) {
  .team-members-grid .col-6,
  .team-members-grid .col-xs-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/* ==========================================================================
   #AUTHOR PROFILE PAGE
   ========================================================================== */
.author-profile {
  padding-bottom: 3rem;
}

/* Author Profile Image */
.author-profile-image {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 4px solid #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-profile-image:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Author Info Section */
.author-info h1 {
  color: var(--bs-dark);
  line-height: 1.2;
}

.author-info .text-muted {
  color: var(--bs-secondary) !important;
}

/* Author Bio */
.author-bio {
  color: var(--bs-body-color);
  line-height: 1.7;
}

.author-bio p {
  margin: 0;
  font-size: 1.1rem;
}

/* Author Tags */
.author-tags .badge {
  font-weight: 500;
  color: var(--bs-dark);
  background-color: var(--bs-light);
  border: 1px solid var(--bs-border-color);
  transition: all 0.3s ease;
}

.author-tags .badge:hover {
  background-color: var(--bs-primary);
  color: white;
  transform: translateY(-1px);
}

/* Author Social Media Links */
.author-social-links {
  margin: 1.5rem 0;
}

.author-social-links .btn-outline-secondary {
  transition: all 0.3s ease;
  margin: 0.25rem;
  border-color: var(--bs-secondary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.author-social-links .btn-outline-secondary:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

.author-social-links .bi {
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .author-profile-image {
    width: 250px !important;
    height: 250px !important;
  }
  .author-info h1 {
    font-size: 1.75rem;
    text-align: center;
  }
  .author-bio {
    text-align: center;
  }
  .author-tags {
    text-align: center;
  }
  .author-tags .d-flex {
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  .author-profile-image {
    width: 200px !important;
    height: 200px !important;
  }
  .author-info h1 {
    font-size: 1.5rem;
  }
  .author-bio p {
    font-size: 1rem;
  }
  .author-social-links .btn-outline-secondary {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
  .author-social-links .bi {
    font-size: 1rem;
  }
  .author-social-links .d-flex {
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .author-profile-image {
    width: 180px !important;
    height: 180px !important;
  }
  .author-info h1 {
    font-size: 1.25rem;
  }
  .author-social-links .btn-outline-secondary {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
  .author-social-links .bi {
    font-size: 0.9rem;
  }
}
/* Author Profile Pagination styling */
.pagination-container .page-numbers {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-container .page-numbers li {
  margin: 0 5px;
}

.pagination-container .page-numbers a,
.pagination-container .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  text-align: center;
  line-height: 38px;
  color: #7f1109;
  background-color: var(--bs-white);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-container .page-numbers a:hover {
  background-color: var(--bs-light);
  border-color: #7f1109;
  color: #7f1109;
}

.pagination-container .page-numbers .current {
  background-color: #7f1109;
  border-color: #7f1109;
  color: white;
}

@media (max-width: 767.98px) {
  .pagination-container .page-numbers a,
  .pagination-container .page-numbers span {
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 0.9rem;
  }
}
/* Legacy styles for backward compatibility */
.img-user {
  width: 40px;
  height: 40px;
  margin-left: 5px;
}

.user-name {
  font-size: 1rem;
  display: none;
}

.show-single-author {
  display: inline-block !important;
}

.img-user {
  transition: transform 0.6s ease;
}

.link-user {
  display: flex;
  align-items: center;
}

.link-user:hover .user-name {
  display: inline-block !important;
}

.link-user:hover .img-user {
  transform: scale(1.3);
}

/* Author archive — mobile post carousel (native scroll-snap, no Swiper) */
.author-posts-mobile-wrap #author-posts-slider.post-swiper--snap {
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  padding-bottom: 12px;
}
.author-posts-mobile-wrap #author-posts-slider.post-swiper--snap::-webkit-scrollbar {
  display: none;
}
.author-posts-mobile-wrap #author-posts-slider.post-swiper--snap .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  transform: none;
  gap: 0;
}
.author-posts-mobile-wrap #author-posts-slider.post-swiper--snap .swiper-slide {
  flex: 0 0 100vw;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  height: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
.author-posts-mobile-wrap #author-posts-slider.post-swiper--snap .post-card {
  height: 100%;
}
.author-posts-mobile-wrap .snap-pagination[data-pagination-for=author-posts-slider] {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.author-posts-mobile-wrap .snap-pagination[data-pagination-for=author-posts-slider] span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}
.author-posts-mobile-wrap .snap-pagination[data-pagination-for=author-posts-slider] span.active {
  background-color: #7f1109;
  opacity: 1;
  transform: scale(1.2);
}
.author-posts-mobile-wrap .snap-pagination--compact[data-pagination-for=author-posts-slider] {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.author-posts-mobile-wrap .snap-pagination--compact[data-pagination-for=author-posts-slider] .snap-pagination-compact__label {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  letter-spacing: 0.02em;
}
.author-posts-mobile-wrap .snap-pagination--compact[data-pagination-for=author-posts-slider] .snap-pagination-compact__track {
  height: 4px;
  border-radius: 4px;
  background-color: rgba(var(--bs-primary-rgb), 0.15);
  overflow: hidden;
}
.author-posts-mobile-wrap .snap-pagination--compact[data-pagination-for=author-posts-slider] .snap-pagination-compact__fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background-color: #7f1109;
  transition: width 0.2s ease;
}

@media (max-width: 767px) {
  .col-6.text-end .link-user {
    display: inline-flex;
    margin-left: 2px;
  }
  .col-6.text-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .col-6.text-start .fw-lighter {
    font-size: 1rem;
    white-space: nowrap;
  }
  .col-6.text-end .img-user {
    width: 35px;
    height: 35px;
    transition: transform 0.6s ease;
  }
  .col-6.text-end .link-user:hover .img-user {
    transform: scale(1.3);
  }
  .col-6.text-end .user-name {
    display: none;
    font-size: 1rem;
    white-space: nowrap;
  }
  .col-6.text-end .link-user:hover .user-name {
    display: inline-block !important;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    padding: 2px 5px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
}
/* ==========================================================================
   # PAGE STYLES
   ========================================================================== */
.aktuell-featured-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.aktuell-featured-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aktuell-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.page-template-page-generationenfestival .aktuell-featured-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.55) 100%);
}
.page-template-page-generationenfestival .aktuell-featured-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-template-page-generationenfestival .festival-hero-logo {
  width: clamp(170px, 24vw, 300px);
  height: auto;
  margin-bottom: 1rem;
}

.aktuell-featured-content {
  max-width: 600px;
  padding: 1rem;
}

.aktuell-featured-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.aktuell-featured-content p {
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.aktuell-section {
  padding: 1rem;
  width: 100%;
}

.aktuell-section-title {
  color: #7f1109;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.aktuell-section-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #7f1109;
}

.aktuell-section .event-list .single-event-card {
  position: relative;
}
.aktuell-section .event-list .single-event-card > .d-flex.justify-content-end {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  margin-bottom: 0;
  width: auto;
}
.aktuell-section .event-list .single-event-card .event-title {
  padding-right: 5.5rem;
  hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (min-width: 769px) and (max-width: 991px) {
  .aktuell-section .event-list .single-event-card .event-title {
    padding-right: 6rem;
  }
}
@media (max-width: 768px) {
  .aktuell-section .event-list .single-event-card .event-title {
    padding-right: 4.5rem;
  }
}
/* Responsive adjustments */
@media (max-width: 991px) {
  .aktuell-featured-section {
    height: 400px;
  }
  .aktuell-featured-content h1 {
    font-size: 2.5rem;
  }
  .aktuell-featured-content p {
    font-size: 1.2rem;
  }
}
@media (max-width: 767px) {
  .aktuell-featured-section {
    height: 300px;
  }
  .aktuell-featured-content {
    padding: 1rem;
  }
  .aktuell-featured-content h1 {
    font-size: 2rem;
  }
  .aktuell-featured-content p {
    font-size: 1rem;
  }
  .aktuell-section {
    padding: 1rem 0;
  }
  .aktuell-events-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .aktuell-section .swiper-diese-woche.post-swiper--snap {
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    display: block;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }
  .aktuell-section .swiper-diese-woche.post-swiper--snap::-webkit-scrollbar {
    display: none;
  }
  .aktuell-section .swiper-diese-woche.post-swiper--snap .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    transform: none;
    gap: 0;
  }
  .aktuell-section .swiper-diese-woche.post-swiper--snap .swiper-slide {
    width: 100vw;
    min-width: 100vw;
    flex: 0 0 100vw;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding-left: 15px;
    padding-right: 15px;
  }
  .aktuell-section .snap-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
  }
  .aktuell-section .snap-pagination span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .aktuell-section .snap-pagination span.active {
    background-color: #7f1109;
    transform: scale(1.2);
  }
}
/* Category Header Styles */
.category-header {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.category-header-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.category-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
  padding: 2rem;
}

.category-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.category-description-wrapper {
  max-width: 900px;
}

.category-description p {
  font-weight: 400;
  font-size: 1.5rem;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .category-header-img {
    height: 350px;
  }
  .category-header-overlay {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }
  .category-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
  }
  .category-description-wrapper {
    padding: 0 1rem;
  }
  .category-description p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0;
  }
}
@media (max-width: 575px) {
  .category-header-img {
    height: 300px;
  }
  .category-header-overlay {
    padding: 1rem;
  }
  .category-title {
    font-size: 1.8rem;
    margin-top: 1.5rem;
  }
  .category-description-wrapper {
    padding: 0 0.5rem;
  }
  .category-description p {
    font-size: 1rem;
  }
}
@media (max-width: 767px) {
  .category-description-wrapper {
    padding: 1rem;
  }
  .category-description {
    line-height: 1.6;
  }
}
@media (max-width: 768px) {
  .post-carousel-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 16px;
  }
  .post-carousel {
    display: flex;
    flex-direction: row;
    gap: 16px;
  }
  .post-carousel .col-md-6 {
    flex: 0 0 80%;
    min-width: 80%;
    max-width: 80%;
    scroll-snap-align: start;
  }
}
/* Mobile Swiper Styles */
@media (max-width: 767px) {
  .genforum-swiper {
    width: 100%;
    padding: 0 15px;
    margin: 0;
  }
  .genforum-swiper .swiper-slide {
    width: 100%;
  }
  .genforum-swiper .swiper-button-next,
  .genforum-swiper .swiper-button-prev {
    width: 30px;
    height: 30px;
    background: transparent;
    color: #7f1109;
  }
  .genforum-swiper .swiper-button-next {
    right: 0;
  }
  .genforum-swiper .swiper-button-prev {
    left: 0;
  }
  .genforum-swiper .swiper-button-next:after,
  .genforum-swiper .swiper-button-prev:after {
    font-size: 16px;
  }
}
@media (max-width: 576px) {
  .filter-btn {
    margin-bottom: 8px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 576px) {
  .programm-nav-row {
    display: flex;
    flex-wrap: wrap;
  }
  .programm-nav-row > .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
  }
}
#events-container .single-event-card {
  position: relative;
  overflow: visible;
}
#events-container .single-event-card-link {
  z-index: 5;
  cursor: pointer;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}
#events-container .single-event-card-content {
  pointer-events: none;
  position: relative;
  z-index: 2;
}
#events-container .single-event-card-content * {
  pointer-events: none;
}
#events-container .event-category-link {
  pointer-events: auto;
  z-index: 11;
  position: relative;
}
#events-container .event-category-link * {
  pointer-events: auto;
}

.page-generationenfestival .festival-header {
  position: relative;
  text-align: center;
}
.page-generationenfestival .festival-header .festival-banner {
  width: 100%;
  height: 75vh;
  object-fit: cover;
}
.page-generationenfestival .festival-header .festival-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(251, 185, 37, 0.25);
}
.page-generationenfestival .festival-header .festival-overlay .festival-title {
  background-color: rgba(0, 0, 0, 0.25);
  padding: 1rem;
}
.page-generationenfestival .festival-header .festival-overlay .festival-title h1 {
  color: white;
  font-weight: bold;
  font-size: 3rem;
}
@media (max-width: 768px) {
  .page-generationenfestival .festival-header .festival-overlay .festival-title h1 {
    font-size: 2rem;
  }
}
.page-generationenfestival .festival-header .festival-overlay .festival-title p {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}
@media (max-width: 768px) {
  .page-generationenfestival .festival-header .festival-overlay .festival-title p {
    font-size: 1.2rem;
  }
}
.page-generationenfestival .festival-navigation {
  background-color: #ffad29;
  padding: 1rem 0;
}
.page-generationenfestival .festival-navigation .nav-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.page-generationenfestival .festival-navigation .nav-buttons .btn-outline-dark {
  border-color: #000;
  color: #000;
}
.page-generationenfestival .festival-navigation .nav-buttons .btn-outline-dark:hover {
  background-color: #000;
  color: #fff;
}
@media (max-width: 767.98px) {
  .page-generationenfestival #einblicke-section {
    overflow-x: hidden;
  }
  .page-generationenfestival #einblicke-section .einblicke-mobile-wrap {
    width: 100%;
    max-width: 100%;
  }
}
.page-generationenfestival .festival-section {
  margin: 3rem 0;
}
.page-generationenfestival .festival-section .section-title {
  border-bottom: 2px solid #fbb925;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}
.page-generationenfestival .festival-section .card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.page-generationenfestival .festival-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.page-generationenfestival .festival-section .card .card-img-top {
  height: 200px;
  object-fit: cover;
}
.page-generationenfestival .festival-section .card .card-body {
  padding: 1rem;
}
.page-generationenfestival .festival-section .card .card-body .card-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.page-generationenfestival .lineup-buttons .btn {
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}
.page-generationenfestival .lineup-buttons .btn:hover {
  transform: scale(1.05);
}
.page-generationenfestival .program-schedule .day-header {
  background-color: #ffad29;
  color: #000000;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}
.page-generationenfestival .program-schedule .day-header h3 {
  background-color: #ffad29;
  color: #000000;
  margin: 0;
  font-weight: bold;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: 600;
}
@media (max-width: 576px) {
  .page-generationenfestival .program-schedule .day-header h3 {
    font-size: 1.2rem;
  }
}
.page-generationenfestival .program-schedule .schedule-content h4, .page-generationenfestival .program-schedule .schedule-content h5 {
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}
.page-generationenfestival .program-schedule .schedule-content .list-unstyled li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}
.page-generationenfestival .program-schedule .schedule-content .list-unstyled li:last-child {
  border-bottom: none;
}
.page-generationenfestival .btn-festivalevent {
  color: #fff;
  font-size: 0.8rem;
  margin: 10px;
}
.page-generationenfestival .festival-event-cards {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.page-generationenfestival .img-festival-program {
  height: 200px;
  object-fit: cover;
}
.page-generationenfestival .list-text li {
  font-size: 1.3rem;
  text-decoration: none;
  list-style: none;
  padding: 10px;
}
.page-generationenfestival hr {
  border: black;
  border-top: #000 solid 3px;
}

.event-modal-overlay {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.event-modal-wrapper {
  position: relative;
  max-width: 700px;
  width: 95vw;
}

.event-modal-container {
  background: transparent;
  max-width: 700px;
  width: 95vw;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.event-modal-image {
  height: 300px;
  overflow: hidden;
}

.event-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-modal-title-overlay {
  top: 40%;
}

.event-modal-title {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.event-modal-meta {
  font-size: 1.1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.event-modal-content {
  background: #fff;
}

.event-modal-description {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-modal-link {
  text-decoration: none !important;
}
.event-modal-link:hover, .event-modal-link:focus, .event-modal-link:focus-visible {
  text-decoration: none !important;
}

.event-modal-close {
  position: absolute;
  top: -40px;
  right: -15px;
  z-index: 1060;
  width: 40px;
  height: 40px;
  background: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 576px) {
  .event-modal-image {
    height: 180px;
    position: relative;
  }
  .event-modal-title-overlay-mobile {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    pointer-events: none;
  }
  .event-modal-title-mobile {
    font-size: 1.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    width: auto;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.01em;
    margin-bottom: 0;
  }
  .event-modal-meta-mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 1rem 0.5rem 1rem;
    background: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
  }
  .event-modal-date-mobile {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 4px;
    padding: 0.15rem 0.7rem;
    margin-bottom: 0.25rem;
    width: auto;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    display: inline-block;
  }
  .event-modal-meta-mobile .d-flex {
    width: 100%;
    margin: 0;
  }
  .event-modal-time-mobile, .event-modal-location-mobile {
    padding: 0.15rem 0.5rem;
    font-size: 0.97rem;
    width: 100%;
    text-align: left;
    font-weight: 400;
    display: flex;
    align-items: center;
    margin-bottom: 0;
  }
  .event-modal-time-mobile {
    justify-content: flex-start;
  }
  .event-modal-location-mobile {
    justify-content: flex-start;
  }
  .event-modal-mobile-info .event-modal-datetime-mobile, .event-modal-mobile-info .event-modal-location-mobile {
    padding: 0.15rem 0.5rem;
    font-size: 0.97rem;
    width: 100%;
    text-align: left;
    font-weight: 400;
    display: flex;
    align-items: center;
  }
}
.title-color {
  color: #ffad29;
}

.page-festival-content .page-festival-content__body {
  max-width: 100%;
  overflow-x: hidden;
}
.page-festival-content .wp-block-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 2.5rem;
  gap: 0.75rem;
}
.page-festival-content .wp-block-button {
  margin: 0;
}
.page-festival-content iframe,
.page-festival-content .wp-block-embed,
.page-festival-content .wp-block-embed__wrapper,
.page-festival-content .wp-block-html {
  width: 100%;
  max-width: 100%;
}
.page-festival-content iframe {
  display: block;
  border: 0;
  min-height: 320px;
}
.page-festival-content .envira-gallery-wrap,
.page-festival-content .envira-gallery-public,
.page-festival-content .envira-gallery-wrap img {
  max-width: 100%;
}
@media (max-width: 767.98px) {
  .page-festival-content .page-festival-content__body {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .page-festival-content iframe {
    min-height: 280px;
  }
}

/**
 * Search Styles for UND Generationentandem
 */
/* Search Box Styles */
.search-wrapper {
  position: relative;
  width: 100%;
}

.search-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(51, 51, 51, 0.1);
  border-color: #333;
}

/* Search Suggestions Dropdown */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 500px;
  overflow-y: auto;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 4px 4px;
  z-index: 1050;
  margin-top: 2px;
}

.search-suggestions-content {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.suggestions-loading {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

/* Suggestion Item Styles */
.suggestion-item {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background-color: #f8f9fa;
  text-decoration: none;
}

.suggestion-thumbnail {
  width: 80px;
  height: 60px;
  margin-right: 15px;
  flex-shrink: 0;
}

.suggestion-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.suggestion-content {
  min-width: 0;
}

.suggestion-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 4px;
  color: #666;
}

.suggestion-type,
.suggestion-date {
  font-size: 0.85em;
  color: #666;
}

.suggestion-excerpt {
  font-size: 0.9em;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* Highlight Styles */
mark {
  background-color: #fff3cd;
  padding: 0 2px;
  border-radius: 2px;
}

/* Footer Styles */
.suggestions-footer {
  padding: 8px 15px;
  background-color: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

/* Error and No Results Styles */
.error,
.no-results {
  color: #666;
  text-align: center;
}

/* Search Results Page Styles */
.search-title span {
  color: #333;
  font-weight: 600;
}

.search-results-count {
  color: #666;
  margin-bottom: 2rem;
}

/* Empty search alert styles */
.alert-warning {
  background-color: #fff3cd;
  border-color: #ffecb5;
  color: #664d03;
  border-radius: 4px;
}

.alert-heading {
  font-size: 1.2rem;
  color: #664d03;
}

/* Pagination Styles */
body.search .pagination-wrapper .page-numbers {
  display: inline-block;
  min-width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  margin: 0 0.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

body.search .pagination-wrapper .page-numbers.current {
  background-color: #7f1109;
  color: #fff;
  border-color: #7f1109;
  font-weight: 600;
}

body.search .pagination-wrapper .page-numbers:hover:not(.current) {
  color: #7f1109;
}

body.search .pagination .page-link {
  color: inherit;
  text-decoration: none;
}

body.search .pagination .page-link:hover {
  color: #7f1109;
}

body.search .pagination .page-item.active .page-link {
  background-color: #7f1109;
  color: #fff;
  font-weight: 600;
  border-color: #7f1109;
}

/* Responsive Styles */
@media (max-width: 576px) {
  .suggestion-thumbnail {
    width: 60px;
    height: 45px;
    margin-right: 10px;
  }
  .suggestion-excerpt {
    -webkit-line-clamp: 1;
  }
  .suggestion-meta {
    flex-wrap: wrap;
    gap: 5px;
  }
}
/* Search results — mobile snap slider (same pattern as category archives) */
@media (max-width: 768px) {
  body.search .search-results-swiper.post-swiper--snap {
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    display: block;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    padding-bottom: 24px;
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
    max-width: calc(100% + 24px);
  }
  body.search .search-results-swiper.post-swiper--snap::-webkit-scrollbar {
    display: none;
  }
  body.search .search-results-swiper.post-swiper--snap .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    transform: none;
    gap: 0;
  }
  body.search .search-results-swiper.post-swiper--snap .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    height: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  body.search .search-results-swiper.post-swiper--snap .post-card,
  body.search .search-results-swiper.post-swiper--snap .multimedia-post-card {
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
  }
  body.search .search-results-swiper.post-swiper--snap .ratio.ratio-16x9 {
    width: 100%;
  }
  body.search .search-results-swiper.post-swiper--snap .card-title {
    margin-left: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  body.search .snap-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
  }
  body.search .snap-pagination span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  body.search .snap-pagination span.active {
    background-color: #7f1109;
    transform: scale(1.2);
  }
  body.search .snap-pagination.snap-pagination--compact {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  body.search .snap-pagination.snap-pagination--compact .snap-pagination-compact__label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
  }
  body.search .snap-pagination.snap-pagination--compact .snap-pagination-compact__track {
    height: 4px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.12);
    overflow: hidden;
  }
  body.search .snap-pagination.snap-pagination--compact .snap-pagination-compact__fill {
    display: block;
    height: 100%;
    width: 0;
    background-color: #7f1109;
    border-radius: 4px;
  }
}
.page-template-page-multimedia {
  background-color: #212529;
}
.page-template-page-multimedia body {
  background: #212529 !important;
}
.page-template-page-multimedia #page, .page-template-page-multimedia #content {
  background-color: #212529;
}
.page-template-page-multimedia .main-header {
  margin-top: -80px;
}
@media (max-width: 767px) {
  .page-template-page-multimedia .main-header {
    margin-top: 0 !important;
  }
}
.page-template-page-multimedia {
  /* Mobile header background to avoid white overlay */
}
@media (max-width: 767px) {
  .page-template-page-multimedia .main-header {
    background-color: #212529;
    box-shadow: none;
  }
  .page-template-page-multimedia .main-header .container {
    margin-bottom: 0;
  }
}
.page-template-page-multimedia .multimedia-wrapper {
  background-color: #212529;
}
.page-template-page-multimedia .multimedia-wrapper #wpadminbar {
  position: fixed;
  z-index: 99999;
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider {
  position: relative;
  overflow: hidden;
  width: 100vw;
  min-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  height: 60vh;
  min-height: 700px;
  margin-top: 0;
  border-radius: 0;
  left: 0;
  right: 0;
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-item {
  height: 60vh;
  min-height: 700px;
  background-color: #212529;
  position: relative;
  z-index: 1;
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-item img {
  object-fit: cover;
  object-position: center top;
  height: 100%;
  width: 100%;
  filter: brightness(0.7);
  transition: all 8s ease;
  transform-origin: center center;
  transform: scale(1);
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-item.active img {
  filter: brightness(0.9);
  transform: scale(1.1);
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgb(33, 37, 41) 0%, rgba(33, 37, 41, 0.8) 20%, rgba(33, 37, 41, 0.4) 50%, rgba(33, 37, 41, 0) 100%);
  z-index: 1;
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-caption {
  bottom: 10%;
  z-index: 2;
  text-align: left;
  color: white;
  background: none;
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-caption .hero-content {
  max-width: 800px;
  padding: 0;
  border-radius: 0;
  background: none;
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-caption .hero-content .display-6 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-caption .hero-content .lead {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-caption .hero-buttons .btn-light {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-caption .hero-buttons .btn-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #7f1109;
  transition: all 0.4s ease;
  z-index: -1;
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-caption .hero-buttons .btn-light:hover {
  color: white;
  border-color: #7f1109;
}
.page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-caption .hero-buttons .btn-light:hover::before {
  left: 0;
}
.page-template-page-multimedia .multimedia-wrapper .content-area {
  padding: 1rem 0;
  position: relative;
  z-index: 2;
  margin-top: 1rem;
}
.page-template-page-multimedia .multimedia-wrapper .section-title {
  margin-bottom: 1.2rem;
  color: #f8f9fa;
  font-weight: 400;
  position: relative;
}
@media (max-width: 767px) {
  .page-template-page-multimedia .multimedia-wrapper .content-section > .d-flex {
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.35rem;
    justify-content: space-between;
  }
  .page-template-page-multimedia .multimedia-wrapper .content-section > .d-flex .section-title {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .page-template-page-multimedia .multimedia-wrapper .content-section > .d-flex .multimedia-heading-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
.page-template-page-multimedia .multimedia-wrapper .content-section {
  margin-bottom: 2rem;
  position: relative;
  padding: 0.5rem 0;
  overflow: hidden;
}
.page-template-page-multimedia .multimedia-wrapper .content-section:first-child {
  margin-top: -1rem;
}
.page-template-page-multimedia .multimedia-wrapper .content-slider {
  width: 100%;
  padding: 10px 0;
  position: relative;
  overflow: visible;
}
.page-template-page-multimedia .multimedia-wrapper .content-slider .swiper-wrapper {
  display: flex;
  transition-property: transform;
  height: auto;
}
.page-template-page-multimedia .multimedia-wrapper .content-slider .swiper-slide {
  width: auto;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-template-page-multimedia .multimedia-wrapper .content-slider-shell {
  position: relative;
  width: 100%;
  --multimedia-snap-card-width: 220px;
}
.page-template-page-multimedia .multimedia-wrapper .content-slider-shell .swiper-nav-btn {
  position: absolute;
  top: calc(var(--multimedia-snap-card-width) * 9 / 16 / 2);
  transform: translateY(-50%);
  z-index: 220;
}
.page-template-page-multimedia .multimedia-wrapper .content-slider-shell .swiper-button-next {
  right: 0;
}
.page-template-page-multimedia .multimedia-wrapper .content-slider-shell .swiper-button-prev {
  left: 0;
}
.page-template-page-multimedia .multimedia-wrapper .content-slider-shell .swiper-button-prev::after,
.page-template-page-multimedia .multimedia-wrapper .content-slider-shell .swiper-button-next::after {
  content: none;
}
.page-template-page-multimedia .multimedia-wrapper .content-card {
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border-radius: 5px;
}
.page-template-page-multimedia .multimedia-wrapper .content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: #343a40;
}
.page-template-page-multimedia .multimedia-wrapper .content-card .card-image {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.page-template-page-multimedia .multimedia-wrapper .content-card .card-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.page-template-page-multimedia .multimedia-wrapper .content-card .card-image img.img-fluid {
  height: 100%;
}
.page-template-page-multimedia .multimedia-wrapper .content-card:hover .card-image img {
  transform: scale(1.2);
}
.page-template-page-multimedia .multimedia-wrapper .content-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.page-template-page-multimedia .multimedia-wrapper .content-card:hover .card-overlay {
  opacity: 1;
}
.page-template-page-multimedia .multimedia-wrapper .content-card .btn-play {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #f8f9fa;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
.page-template-page-multimedia .multimedia-wrapper .content-card:hover .btn-play {
  transform: scale(1);
}
.page-template-page-multimedia .multimedia-wrapper .content-card .card-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.page-template-page-multimedia .multimedia-wrapper .content-card .card-info h3 {
  font-size: 1rem;
  margin: 0;
  color: #fff;
  transition: all 0.3s ease;
  line-height: 1.4;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.2em;
  word-break: break-word;
}
.page-template-page-multimedia .multimedia-wrapper .content-card:hover .card-info h3 {
  color: #f8f9fa;
}
.page-template-page-multimedia .multimedia-wrapper .swiper-nav-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #000;
  border: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-template-page-multimedia .multimedia-wrapper .swiper-nav-btn .snap-nav-icon {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
}
.page-template-page-multimedia .multimedia-wrapper .swiper-nav-btn:after {
  font-size: 18px;
}
.page-template-page-multimedia .multimedia-wrapper .swiper-pagination {
  position: relative;
  margin-top: 15px;
}
.page-template-page-multimedia .multimedia-wrapper .swiper-pagination-progressbar {
  background: rgba(255, 255, 255, 0.2);
  height: 4px;
}
.page-template-page-multimedia .multimedia-wrapper .swiper-pagination-progressbar-fill {
  background: #7f1109;
}
.page-template-page-multimedia .multimedia-wrapper .banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin: 2rem 0;
  border-radius: 0.5rem;
}
.page-template-page-multimedia .multimedia-wrapper .banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.page-template-page-multimedia .multimedia-wrapper .banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1200px) {
  .page-template-page-multimedia .multimedia-wrapper .carousel-caption {
    bottom: 15%;
  }
}
@media (max-width: 992px) {
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-item {
    height: 70vh;
  }
  .page-template-page-multimedia .multimedia-wrapper .carousel-caption {
    bottom: 10%;
  }
}
@media (max-width: 768px) {
  .page-template-page-multimedia .multimedia-wrapper .content-area {
    padding: 1rem 0;
    margin-top: 1rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-item {
    height: 60vh;
  }
  .page-template-page-multimedia .multimedia-wrapper .carousel-caption {
    bottom: 5%;
    left: 0;
    right: 0;
    padding: 0 1rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-content {
    padding: 1rem;
    max-width: 100%;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-content .display-6 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-content .lead {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-buttons .btn-light {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-buttons .btn-text {
    display: inline-block;
    vertical-align: middle;
  }
  .page-template-page-multimedia .multimedia-wrapper .search-categories {
    margin-top: 2rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .category-card {
    padding: 0.75rem 1rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .category-name {
    font-size: 0.9rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .search-categories .row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .search-categories .col-6 {
    padding: 0.375rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .content-slider-shell {
    --multimedia-snap-card-width: min(85vw, 220px);
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap {
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap::-webkit-scrollbar {
    display: none;
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    transform: none;
    pointer-events: auto;
    gap: 12px;
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap .swiper-slide {
    flex: 0 0 auto;
    flex-shrink: 0;
    width: var(--multimedia-snap-card-width);
    min-width: var(--multimedia-snap-card-width);
    scroll-snap-align: start;
    pointer-events: auto;
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap .content-card {
    width: var(--multimedia-snap-card-width);
  }
  .page-template-page-multimedia .multimedia-wrapper .content-section {
    overflow: visible;
  }
}
@media (min-width: 769px) {
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap.is-dragging {
    scroll-snap-type: none;
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap::-webkit-scrollbar {
    display: none;
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    transform: none;
    gap: 15px;
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap .swiper-slide {
    flex: 0 0 auto;
    width: var(--multimedia-snap-card-width);
    min-width: var(--multimedia-snap-card-width);
    max-width: var(--multimedia-snap-card-width);
    scroll-snap-align: start;
  }
  .page-template-page-multimedia .multimedia-wrapper div.swiper.content-slider.content-slider--snap .content-card {
    width: var(--multimedia-snap-card-width);
    min-width: var(--multimedia-snap-card-width);
    max-width: var(--multimedia-snap-card-width);
  }
}
@media (max-width: 576px) {
  .page-template-page-multimedia .multimedia-wrapper .content-area {
    padding: 1rem 0;
    margin-top: 0.5rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-item {
    height: 50vh;
  }
  .page-template-page-multimedia .multimedia-wrapper .carousel-caption {
    bottom: 2%;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-content .display-6 {
    font-size: 1.25rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-content .lead {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }
  .page-template-page-multimedia .multimedia-wrapper .search-categories {
    margin-top: 1.5rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .category-card {
    padding: 0.625rem 0.875rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .category-name {
    font-size: 0.85rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .search-categories .row {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }
  .page-template-page-multimedia .multimedia-wrapper .search-categories .col-6 {
    padding: 0.25rem;
  }
}
.page-template-page-multimedia .multimedia-wrapper .offcanvas-top {
  height: 100vh !important;
  width: 100vw !important;
  max-width: 100% !important;
  transform: translateY(-100%);
}
.page-template-page-multimedia .multimedia-wrapper .offcanvas-top.show {
  transform: translateY(0);
}
.page-template-page-multimedia .multimedia-wrapper .offcanvas-body {
  background-color: rgba(33, 37, 41, 0.95);
  color: #f8f9fa;
  width: 100vw;
  max-width: 100%;
}
.page-template-page-multimedia .multimedia-wrapper .search-content {
  margin-top: 5vh;
}
.page-template-page-multimedia .multimedia-wrapper .search-form .form-control {
  background-color: transparent;
  border: none;
  color: #f8f9fa;
  font-size: 1.5rem;
  padding: 0.5rem 0;
  border-radius: 0;
}
.page-template-page-multimedia .multimedia-wrapper .search-form .form-control:focus {
  outline: none;
  box-shadow: none;
}
.page-template-page-multimedia .multimedia-wrapper .search-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.page-template-page-multimedia .multimedia-wrapper .search-categories {
  margin-top: 3rem;
}
.page-template-page-multimedia .multimedia-wrapper .search-categories h2 {
  color: #f8f9fa;
  margin-bottom: 2rem;
  font-weight: 500;
}
.page-template-page-multimedia .multimedia-wrapper .search-categories .category-card {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  color: #f8f9fa;
  text-decoration: none;
  height: 100%;
  border: 1px solid transparent;
}
.page-template-page-multimedia .multimedia-wrapper .search-categories .category-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: #f8f9fa;
  border-color: rgba(255, 255, 255, 0.3);
}
.page-template-page-multimedia .multimedia-wrapper .search-categories .category-card .category-name {
  font-size: 1rem;
  font-weight: 500;
}
.page-template-page-multimedia .multimedia-wrapper .search-categories .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}
.page-template-page-multimedia .multimedia-wrapper .search-categories .col-6, .page-template-page-multimedia .multimedia-wrapper .search-categories .col-md-4, .page-template-page-multimedia .multimedia-wrapper .search-categories .col-lg-3 {
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .page-template-page-multimedia .multimedia-wrapper .hero-slider {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16/9;
    position: relative;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel {
    height: 100% !important;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel::before {
    display: none;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-inner {
    height: 100% !important;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-item {
    height: 100% !important;
    min-height: 0 !important;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2%;
    top: auto;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-control-prev,
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-control-next,
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-indicators {
    height: 100%;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-control-prev,
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-control-next {
    display: none !important;
  }
  .page-template-page-multimedia .multimedia-wrapper .hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.9);
    transform: none;
    background-color: transparent;
  }
}
/* Admin Bar and Navbar adjustments */
#wpadminbar {
  position: fixed;
  z-index: 99999;
}

@media screen and (max-width: 782px) {
  .admin-bar .navbar {
    top: 50px;
  }
  .admin-bar .hero-slider {
    margin-top: 46px;
  }
}
.text-decoration-none {
  text-decoration: none !important;
  color: inherit;
}
.text-decoration-none:hover {
  color: inherit;
}

/* Timeline Slider */
.timeline-slider {
  width: 100%;
  padding: 20px 0;
  position: relative;
  overflow: visible;
  z-index: 10;
}

.timeline-slider .swiper-wrapper {
  display: flex;
  transition-property: transform;
  height: auto;
}

.timeline-slider .swiper-slide {
  width: auto;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
  opacity: 0.7;
}

.timeline-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
}

.timeline-slider .swiper-slide-next,
.timeline-slider .swiper-slide-prev {
  opacity: 0.85;
}

/* Content Card */
.timeline-slider .content-card {
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  transform: scale(0.95);
}

.timeline-slider .swiper-slide-active .content-card {
  transform: scale(1.1rem);
}

.timeline-slider .content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Navigation Buttons */
.timeline-slider .swiper-button-next,
.timeline-slider .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #000;
  z-index: 200;
  top: 90px;
}

.timeline-slider .swiper-button-next:after,
.timeline-slider .swiper-button-prev:after {
  font-size: 18px;
}

@media (max-width: 768px) {
  .timeline-slider .swiper-button-next,
  .timeline-slider .swiper-button-prev {
    display: none;
  }
}
/* Single Multimedia Page Styles */
.multimedia-single-page {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding-top: 0;
  margin-top: 0;
}

/* Video Player Styles - hero fills the first screen, then the page scrolls */
.video-player-wrapper {
  width: 100%;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
}

.video-container {
  width: 100%;
  position: relative;
  margin-top: 0;
  padding-top: 0;
}

.video-details {
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.8);
}

.video-title {
  margin-bottom: 1rem;
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 64px;
  font-weight: 600;
}

.video-meta {
  color: #ccc;
  font-size: 0.9rem;
}

.soundcloud-player {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.back-button {
  background: none;
  border: none;
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-button:hover {
  opacity: 0.8;
}

/* Responsive Styles for Single Page */
@media (max-width: 768px) {
  .video-title {
    font-size: 1.5rem;
  }
  .video-details,
  .podcast-section {
    padding: 1rem;
  }
}
@media (max-width: 576px) {
  .video-title {
    font-size: 1.25rem;
  }
}
/* Related Post */
.related-posts {
  padding: 3rem 0;
}

.related-posts .section-title {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 2rem;
}

.related-posts .card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  background: #212529;
  color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.related-posts .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.related-posts .card-img-wrapper {
  position: relative;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
}

.related-posts .card-img-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-posts .card:hover .card-img-top {
  transform: scale(1.1);
}

.related-posts .card-body {
  padding: 1.5rem;
}

.related-posts .card-title {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.related-posts .card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-posts .card-link:hover {
  color: #7f1109;
}

/* Social Share Icons */
.social-share .btn {
  transition: all 0.3s ease;
}

.social-share .btn:hover {
  transform: translateY(-2px);
}

.social-share .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  z-index: 1030;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.back-to-top-btn:hover {
  background-color: white;
  color: black;
  transform: translateY(-5px);
}

.back-to-top-btn i {
  font-size: 1.8rem;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 576px) {
  .back-to-top-btn {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
  .back-to-top-btn i {
    font-size: 1.5rem;
  }
}
/* Special styles only for Multimedia page */
.page-template-page-multimedia body {
  background: #212539 !important;
}
.page-template-page-multimedia .hero-slider {
  width: 100vw;
  min-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 0;
  left: 0;
  right: 0;
  position: relative;
}

@media (max-width: 576px) {
  .search-form .form-control {
    font-size: 1rem;
  }
  .search-form .form-control::placeholder {
    font-size: 0.85rem;
  }
  .search-categories .row {
    --bs-gutter-x: 0.25rem;
    --bs-gutter-y: 0.25rem;
  }
  .category-card {
    padding: 0.5rem 0.5rem;
    font-size: 0.9rem;
    border-radius: 6px;
  }
  .category-name {
    font-size: 0.8rem;
  }
  .search-categories .col-6 {
    padding: 0.15rem;
    flex: 0 0 50%;
    max-width: 50%;
  }
}
.search-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.search-header .search-form {
  flex-grow: 1;
}
.search-header .search-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-card {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 7px;
  min-width: 0;
}
.category-card .bi {
  margin-right: 0.4rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.category-card .category-name {
  font-size: 0.9rem;
  margin-left: 0;
  white-space: normal;
  word-break: break-word;
  line-height: 1.2;
  flex: 1 1 0%;
  min-width: 0;
}

@media (max-width: 576px) {
  .category-card {
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
  }
  .category-card .bi {
    margin-right: 0.25rem;
    font-size: 1rem;
  }
  .category-card .category-name {
    font-size: 0.8rem;
    line-height: 1.1;
  }
}
.multimedia-category-header {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.multimedia-category-header-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.multimedia-category-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
  padding: 2rem;
}

.multimedia-category-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.multimedia-category-description-wrapper {
  max-width: 900px;
}

.multimedia-category-description p {
  font-weight: 400;
  font-size: 1.5rem;
  color: white;
}

@media (max-width: 991px) {
  .multimedia-category-title {
    font-size: 3rem;
  }
  .multimedia-category-description p {
    font-size: 1.3rem;
  }
}
@media (max-width: 767px) {
  .multimedia-category-header-img {
    height: 350px;
  }
  .multimedia-category-header-overlay {
    padding: 1.5rem;
  }
  .multimedia-category-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  .multimedia-category-description-wrapper {
    padding: 0 1rem;
  }
  .multimedia-category-description p {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}
@media (max-width: 575px) {
  .multimedia-category-header-img {
    height: 300px;
  }
  .multimedia-category-header-overlay {
    padding: 1rem;
  }
  .multimedia-category-title {
    font-size: 1.8rem;
  }
  .multimedia-category-description-wrapper {
    padding: 0 0.5rem;
  }
  .multimedia-category-description p {
    font-size: 1rem;
  }
}
.multimedia-wrapper .multimedia-post-card {
  background-color: #343a40 !important;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.multimedia-wrapper .multimedia-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.multimedia-wrapper .multimedia-post-card .ratio {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.multimedia-wrapper .multimedia-post-card .ratio img {
  transition: transform 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.multimedia-wrapper .multimedia-post-card:hover .ratio img {
  transform: scale(1.05);
}

.multimedia-wrapper .multimedia-post-card .post-date-container {
  margin: 0;
  font-size: 0.85rem;
  background-color: #343a40;
}
.multimedia-wrapper .multimedia-post-card .post-date-container i {
  margin-right: 0.3rem;
}
.multimedia-wrapper .multimedia-post-card .post-date-container small {
  color: #adb5bd !important;
}

.multimedia-wrapper .multimedia-post-card .card-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: #343a40 !important;
  position: relative;
  min-height: 150px;
  justify-content: space-between;
}

.multimedia-wrapper .multimedia-post-card .card-title {
  color: white !important;
  margin: 0 0 0.75rem 0;
  padding: 0;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.05em;
  text-overflow: ellipsis;
  word-break: break-word;
  position: relative;
  min-height: 4.05em;
  font-size: 1.25rem;
}
.multimedia-wrapper .multimedia-post-card .card-title:hover {
  color: #adb5bd !important;
}

.multimedia-wrapper .multimedia-post-card .category-badge {
  display: inline-block;
  top: 3px;
  right: 10px;
  z-index: 1;
  padding: 0.25rem 0.5rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: #333 !important;
  border: none;
  transition: all 0.3s ease;
}
.multimedia-wrapper .multimedia-post-card .category-badge:hover {
  background-color: #adb5bd !important;
  color: #333 !important;
  border-color: #adb5bd;
  text-decoration: none;
}
.multimedia-wrapper .multimedia-post-card .category-badge i {
  margin-right: 0.25rem;
}

.multimedia-swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.multimedia-swiper .swiper-wrapper {
  gap: 0;
}

.multimedia-swiper .swiper-slide {
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.multimedia-swiper .multimedia-post-card {
  width: 100%;
}

.multimedia-swiper .multimedia-post-card .ratio {
  aspect-ratio: 16/9;
  min-height: 180px;
  max-height: 220px;
}

.multimedia-swiper .multimedia-post-card .ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.multimedia-swiper .swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.multimedia-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: #ccc;
  opacity: 0.5;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.multimedia-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #333;
  width: 10px;
  height: 10px;
}

@media (max-width: 768px) {
  .multimedia-swiper.content-slider--snap {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }
  .multimedia-swiper.content-slider--snap::-webkit-scrollbar {
    display: none;
  }
  .multimedia-swiper.content-slider--snap .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    transform: none;
    gap: 12px !important;
  }
  .multimedia-swiper.content-slider--snap .swiper-slide {
    flex: 0 0 auto;
    width: min(85vw, 260px);
    min-width: min(85vw, 260px);
    scroll-snap-align: start;
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 769px) {
  .multimedia-swiper.content-slider--snap .swiper-slide {
    flex: 0 0 260px;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    scroll-snap-align: start;
    padding-left: 0;
    padding-right: 0;
  }
  .multimedia-swiper.content-slider--snap .multimedia-post-card .ratio {
    height: 180px;
  }
}
@media (max-width: 768px) {
  .multimedia-wrapper .multimedia-post-card .ratio {
    height: 180px;
  }
  .multimedia-wrapper .multimedia-post-card .card-body {
    padding: 0.75rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
  }
  .multimedia-wrapper .multimedia-post-card .card-title {
    font-size: 1.25rem !important;
    min-height: 4.05em;
    max-height: 4.05em;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    word-break: break-word;
    text-overflow: ellipsis;
  }
}
@media (max-width: 576px) {
  .multimedia-wrapper .multimedia-post-card .ratio {
    height: 150px;
  }
  .multimedia-wrapper .multimedia-post-card .card-body {
    padding: 0.5rem;
    gap: 0.3rem;
  }
  .multimedia-wrapper .multimedia-post-card .card-title {
    font-size: 1.25rem !important;
    min-height: 4.05em;
    max-height: 4.05em;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0.3rem 0;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    word-break: break-word;
    text-overflow: ellipsis;
  }
  .multimedia-wrapper .multimedia-post-card .post-date-container {
    padding: 0.3rem;
    font-size: 0.75rem;
  }
}
.multimedia-single-page .video-player-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding-top: 0;
  overflow: visible;
}

.multimedia-single-page .video-container {
  width: 100%;
  position: relative;
  background-color: #000000;
  margin-bottom: 50px;
}
.multimedia-single-page .video-container .ratio.ratio-16x9 {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}
.multimedia-single-page .video-container .ratio.ratio-16x9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .multimedia-single-page .video-container {
    margin-bottom: 30px;
  }
  .multimedia-single-page .video-container .ratio.ratio-16x9 {
    padding-bottom: 56.25%;
    margin: 0;
  }
  .multimedia-single-page .video-container .ratio.ratio-16x9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 576px) {
  .multimedia-single-page .video-container {
    margin-bottom: 20px;
  }
  .multimedia-single-page .video-container .ratio.ratio-16x9 {
    padding-bottom: 56.25%;
  }
  .multimedia-single-page .back-button {
    font-size: 1rem !important;
    padding: 0.5rem 0.75rem;
  }
  .multimedia-single-page .back-button .fs-2 {
    font-size: 1rem !important;
  }
}
/* Special styles for Magazin page */
/* Magazin Category Layout Styles */
#magazin-archive-area {
  margin-top: 1rem;
}
@media (min-width: 768px) {
  #magazin-archive-area .desktop-container .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-left: 0.0625rem;
    padding-right: 0.0625rem;
  }
}
@media (min-width: 768px) {
  #magazin-archive-area .desktop-container {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}
#magazin-archive-area .mobile-container.post-swiper {
  padding-bottom: 30px;
}
#magazin-archive-area .mobile-container .swiper-slide {
  height: auto;
}
#magazin-archive-area .mobile-container .post-card {
  height: 100%;
}
#magazin-archive-area .mobile-container .swiper-pagination {
  position: relative;
  margin-top: 20px;
}
#magazin-archive-area .mobile-container .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #ccc;
  opacity: 0.5;
  margin: 0 4px;
}
#magazin-archive-area .mobile-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #2F528F;
  opacity: 1;
}
#magazin-archive-area {
  /* Mobile archive: native horizontal scroll + snap (no Swiper JS) */
}
#magazin-archive-area #mobile-container.post-swiper--snap {
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  padding-bottom: 30px;
}
#magazin-archive-area #mobile-container.post-swiper--snap::-webkit-scrollbar {
  display: none;
}
#magazin-archive-area #mobile-container.post-swiper--snap .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  transform: none;
  gap: 0;
}
#magazin-archive-area #mobile-container.post-swiper--snap .swiper-slide {
  flex: 0 0 100vw;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  height: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
#magazin-archive-area #mobile-container.post-swiper--snap .post-card {
  height: 100%;
}
#magazin-archive-area .snap-pagination[data-pagination-for=mobile-container] {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
#magazin-archive-area .snap-pagination[data-pagination-for=mobile-container] span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}
#magazin-archive-area .snap-pagination[data-pagination-for=mobile-container] span.active {
  background-color: #2F528F;
  opacity: 1;
  transform: scale(1.2);
}
#magazin-archive-area .snap-pagination--compact[data-pagination-for=mobile-container] {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
#magazin-archive-area .snap-pagination--compact[data-pagination-for=mobile-container] .snap-pagination-compact__label {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  letter-spacing: 0.02em;
}
#magazin-archive-area .snap-pagination--compact[data-pagination-for=mobile-container] .snap-pagination-compact__track {
  height: 4px;
  border-radius: 4px;
  background-color: rgba(47, 82, 143, 0.15);
  overflow: hidden;
}
#magazin-archive-area .snap-pagination--compact[data-pagination-for=mobile-container] .snap-pagination-compact__fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background-color: #2F528F;
  transition: width 0.2s ease;
}

/* Category Header Styles */
.category-header-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.category-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.category-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .category-title {
    font-size: 2rem;
  }
}

.category-description-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.category-description {
  font-size: 1.1rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .category-description {
    font-size: 1rem;
  }
}

/* Hero section styles */
.hero-section {
  min-height: 400px;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-image-container {
  height: 100%;
  width: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4));
}

.hero-content {
  z-index: 2;
  width: 80%;
  max-width: 800px;
}

.hero-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.hero-description {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
}
/* Menu styles */
.nav-link a:hover {
  color: #2F528F;
}

/* Buton Stilleri */
.btn-bar {
  background-color: #2F528F;
}

.btn-bar:hover {
  background-color: #708CBC;
}

.btn-magazin {
  color: white;
  background-color: #2F528F;
  border-radius: 5px;
  padding: 5px 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 20px 10px;
  font-size: 1.3rem;
  width: 50%;
}

.btn-magazin:hover {
  background-color: #708CBC;
  color: #ffffff;
}

.page-template-magazin .btn.active,
.page-template-magazin .btn.btn-outline-light.active,
.page-template-templates-template-abonnieren .btn.active,
.page-template-templates-template-abonnieren .btn.btn-outline-light.active,
.page-template-templates-template-abonnieren-php .btn.active,
.page-template-templates-template-abonnieren-php .btn.btn-outline-light.active,
.page-template-template-magazin-archiv .btn.active,
.page-template-template-magazin-archiv .btn.btn-outline-light.active,
.page-template-template-magazin-archiv-php .btn.active,
.page-template-template-magazin-archiv-php .btn.btn-outline-light.active,
.single-magazin .btn.active,
.single-magazin .btn.btn-outline-light.active,
.is-magazin-family .btn.active,
.is-magazin-family .btn.btn-outline-light.active {
  background-color: #ffffff;
  color: #2F528F !important;
  border-color: #ffffff;
}

.page-template-magazin .btn.btn-outline-light:hover,
.page-template-magazin .btn.btn-outline-light:focus,
.page-template-magazin .btn.btn-outline-light.text-white:hover,
.page-template-magazin .btn.btn-outline-light.text-white:focus,
.page-template-templates-template-abonnieren .btn.btn-outline-light:hover,
.page-template-templates-template-abonnieren .btn.btn-outline-light:focus,
.page-template-templates-template-abonnieren .btn.btn-outline-light.text-white:hover,
.page-template-templates-template-abonnieren .btn.btn-outline-light.text-white:focus,
.page-template-templates-template-abonnieren-php .btn.btn-outline-light:hover,
.page-template-templates-template-abonnieren-php .btn.btn-outline-light:focus,
.page-template-templates-template-abonnieren-php .btn.btn-outline-light.text-white:hover,
.page-template-templates-template-abonnieren-php .btn.btn-outline-light.text-white:focus,
.page-template-template-magazin-archiv .btn.btn-outline-light:hover,
.page-template-template-magazin-archiv .btn.btn-outline-light:focus,
.page-template-template-magazin-archiv .btn.btn-outline-light.text-white:hover,
.page-template-template-magazin-archiv .btn.btn-outline-light.text-white:focus,
.page-template-template-magazin-archiv-php .btn.btn-outline-light:hover,
.page-template-template-magazin-archiv-php .btn.btn-outline-light:focus,
.page-template-template-magazin-archiv-php .btn.btn-outline-light.text-white:hover,
.page-template-template-magazin-archiv-php .btn.btn-outline-light.text-white:focus,
.single-magazin .btn.btn-outline-light:hover,
.single-magazin .btn.btn-outline-light:focus,
.single-magazin .btn.btn-outline-light.text-white:hover,
.single-magazin .btn.btn-outline-light.text-white:focus,
.is-magazin-family .btn.btn-outline-light:hover,
.is-magazin-family .btn.btn-outline-light:focus,
.is-magazin-family .btn.btn-outline-light.text-white:hover,
.is-magazin-family .btn.btn-outline-light.text-white:focus {
  color: #2F528F !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

.page-template-magazin .btn.btn-light:hover,
.page-template-magazin .btn.btn-light:focus,
.page-template-templates-template-abonnieren .btn.btn-light:hover,
.page-template-templates-template-abonnieren .btn.btn-light:focus,
.page-template-templates-template-abonnieren-php .btn.btn-light:hover,
.page-template-templates-template-abonnieren-php .btn.btn-light:focus,
.page-template-template-magazin-archiv .btn.btn-light:hover,
.page-template-template-magazin-archiv .btn.btn-light:focus,
.page-template-template-magazin-archiv-php .btn.btn-light:hover,
.page-template-template-magazin-archiv-php .btn.btn-light:focus,
.single-magazin .btn.btn-light:hover,
.single-magazin .btn.btn-light:focus,
.is-magazin-family .btn.btn-light:hover,
.is-magazin-family .btn.btn-light:focus {
  color: #2F528F !important;
}

/* Fallback: Target top nav buttons by their href to work across templates */
a.btn.btn-outline-light[href*="/magazin/"]:hover,
a.btn.btn-outline-light[href*="/magazin/"]:focus,
a.btn.btn-outline-light[href*="/schwerpunkt/"]:hover,
a.btn.btn-outline-light[href*="/schwerpunkt/"]:focus,
a.btn.btn-outline-light[href*="/abonnieren/"]:hover,
a.btn.btn-outline-light[href*="/abonnieren/"]:focus,
a.btn.btn-outline-light[href*="/magazin-bestellen/"]:hover,
a.btn.btn-outline-light[href*="/magazin-bestellen/"]:focus {
  color: #2F528F !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

a.btn.btn-light[href*="/magazin/"]:hover,
a.btn.btn-light[href*="/magazin/"]:focus,
a.btn.btn-light[href*="/schwerpunkt/"]:hover,
a.btn.btn-light[href*="/schwerpunkt/"]:focus,
a.btn.btn-light[href*="/abonnieren/"]:hover,
a.btn.btn-light[href*="/abonnieren/"]:focus,
a.btn.btn-light[href*="/magazin-bestellen/"]:hover,
a.btn.btn-light[href*="/magazin-bestellen/"]:focus {
  color: #2F528F !important;
}

/* Active state alignment for the same buttons */
a.btn.active[href*="/magazin/"],
a.btn.active[href*="/schwerpunkt/"],
a.btn.active[href*="/abonnieren/"],
a.btn.active[href*="/magazin-bestellen/"] {
  color: #2F528F !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Generic fallback targeting the exact button structure used in headers */
.btn.btn-outline-light.p-2.fs-5.w-100:hover,
.btn.btn-outline-light.p-2.fs-5.w-100:focus {
  color: #2F528F !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

.btn.btn-light.p-2.fs-5.w-100:hover,
.btn.btn-light.p-2.fs-5.w-100:focus {
  color: #2F528F !important;
}

.btn.active.p-2.fs-5.w-100,
.btn.btn-light.active.p-2.fs-5.w-100,
.btn.btn-outline-light.active.p-2.fs-5.w-100 {
  color: #2F528F !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Comment Form */
.comment-form input[type=submit] {
  background-color: #2F528F;
}

.comment-form input[type=submit]:hover {
  background-color: #708CBC;
}

/* Related Posts */
.related-posts .card-link:hover {
  color: #2F528F;
}

/* Comments Area */
.existing-comments h3 {
  color: #2F528F;
}

.comments-scroll::-webkit-scrollbar-thumb {
  background: #708CBC;
}

.comments-scroll::-webkit-scrollbar-thumb:hover {
  background: #2F528F;
}

.comment-content h5 {
  color: #2F528F;
}

.social-icon:hover .comment-count {
  background-color: #2F528F;
}

/* Responsive design */
@media (max-width: 576px) {
  .card-thumbnails {
    height: 150px;
  }
  .card-title {
    font-size: 1.3rem;
    margin-left: 10px;
  }
}
/* Abonnieren page magazine cards */
.magazine-card {
  border: none;
  box-shadow: 0 4px 16px rgba(47, 82, 143, 0.1);
  transition: box-shadow 0.3s, transform 0.3s;
  background: #fff;
}

.magazine-card:hover {
  box-shadow: 0 8px 32px #2F528F;
  transform: translateY(-4px) scale(1.02);
}

.card-thumbnails {
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-img-container {
  overflow: hidden;
}

.magazine-card:hover .card-thumbnails {
  transform: scale(1.05);
}

.price-box {
  font-weight: 700;
  font-size: 1.2rem;
  color: #2F528F;
}

.price-box del {
  font-size: 0.9rem;
  color: #6c757d;
}

.price-box ins {
  text-decoration: none;
  color: #2F528F;
}

@media (min-width: 577px) and (max-width: 768px) {
  .card-thumbnails {
    height: 200px;
  }
}
/* Magazine Archive Page - New Minimalist Card Design */
.magazine-item {
  text-align: center;
}

.magazine-item .magazine-cover-image.has-border {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.magazine-item:hover .magazine-cover-image.has-border {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.magazine-item-content {
  padding: 0.5rem 0;
}

.magazine-issue-meta {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.magazine-schwerpunkt-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.magazine-schwerpunkt-title a {
  color: #2F528F;
  text-decoration: none;
  border-bottom: 2px solid #2F528F;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.magazine-schwerpunkt-title a:hover {
  color: #1a3b6b;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .magazine-schwerpunkt-title {
    font-size: 1rem;
  }
  .magazine-issue-meta {
    font-size: 0.9rem;
  }
}
@media (max-width: 576px) {
  .magazine-item-content {
    padding: 0.75rem 0;
  }
  .magazine-schwerpunkt-title {
    font-size: 0.95rem;
  }
}
/* Styling for the new magazine archive item design */
.magazine-item a {
  text-decoration: none;
  color: inherit; /* Inherit color from parent */
  transition: opacity 0.2s ease-in-out;
}

.magazine-item a:hover {
  opacity: 0.8;
}

.magazine-cover-image.has-border {
  display: block;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.magazine-issue-meta {
  font-size: 0.9rem; /* 14px */
  color: #6c757d; /* Bootstrap's text-muted color */
  margin: 0;
}

.magazine-schwerpunkt-title {
  font-size: 1.1rem; /* 18px */
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.25rem;
}

.magazine-schwerpunkt-title a {
  color: #212529; /* Dark text color */
}

.magazine-schwerpunkt-title a:hover {
  color: #708CBC; /* Bootstrap's primary blue on hover */
  text-decoration: none;
}

/* Wrapper keeps pagination outside the horizontal scroll area (magazin archiv mobile) */
.year-swiper-mobile-wrap {
  width: 100%;
}

/* Magazine archive by year (template-magazin-archiv): native horizontal scroll + snap */
.year-swiper.post-swiper--snap {
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  padding-bottom: 24px;
}
.year-swiper.post-swiper--snap::-webkit-scrollbar {
  display: none;
}
.year-swiper.post-swiper--snap .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  transform: none;
  gap: 15px;
}
.year-swiper.post-swiper--snap .swiper-slide {
  flex: 0 0 calc((100vw - 48px - 7.5px) / 1.5);
  min-width: calc((100vw - 48px - 7.5px) / 1.5);
  max-width: calc((100vw - 48px - 7.5px) / 1.5);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  height: auto;
  box-sizing: border-box;
}
@media (min-width: 576px) {
  .year-swiper.post-swiper--snap .swiper-wrapper {
    gap: 20px;
  }
  .year-swiper.post-swiper--snap .swiper-slide {
    flex: 0 0 calc((100vw - 48px - 40px) / 2.5);
    min-width: calc((100vw - 48px - 40px) / 2.5);
    max-width: calc((100vw - 48px - 40px) / 2.5);
  }
}

.snap-pagination.year-swiper-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.snap-pagination.year-swiper-pagination span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}
.snap-pagination.year-swiper-pagination span.active {
  background-color: #708CBC;
  opacity: 1;
  transform: scale(1.2);
}

.snap-pagination.year-swiper-pagination.snap-pagination--compact {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.snap-pagination.year-swiper-pagination.snap-pagination--compact .snap-pagination-compact__label {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  letter-spacing: 0.02em;
}
.snap-pagination.year-swiper-pagination.snap-pagination--compact .snap-pagination-compact__track {
  height: 4px;
  border-radius: 4px;
  background-color: rgba(47, 82, 143, 0.15);
  overflow: hidden;
}
.snap-pagination.year-swiper-pagination.snap-pagination--compact .snap-pagination-compact__fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background-color: #2F528F;
  transition: width 0.2s ease;
}

/**
 * 404 error page styles
 */
.error-404 {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 2rem 0 4rem;
}

.error-404__inner {
  width: 100%;
}

.error-404__code {
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: #7f1109;
  opacity: 0.15;
  margin: 0 0 0.5rem;
  user-select: none;
}

.error-404__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: #212529;
}

.error-404__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #343a40;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.error-404__subtitle {
  color: #212529;
  margin-bottom: 0.75rem;
}

.error-404__search {
  max-width: 32rem;
}

.error-404__search-hint {
  font-size: 0.95rem;
}

.error-404__search-form .form-control {
  border-color: #dee2e6;
}
.error-404__search-form .form-control:focus {
  border-color: #7f1109;
  box-shadow: 0 0 0 0.2rem rgba(127, 17, 9, 0.15);
}
.error-404__search-form .btn-primary {
  background-color: #7f1109;
  border-color: #7f1109;
}
.error-404__search-form .btn-primary:hover, .error-404__search-form .btn-primary:focus {
  background-color: #5a0c06;
  border-color: #5a0c06;
}

.error-404__btn.btn-primary {
  background-color: #7f1109;
  border-color: #7f1109;
}
.error-404__btn.btn-primary:hover, .error-404__btn.btn-primary:focus {
  background-color: #5a0c06;
  border-color: #5a0c06;
}

.error-404__btn.btn-outline-primary {
  color: #7f1109;
  border-color: #7f1109;
}
.error-404__btn.btn-outline-primary:hover, .error-404__btn.btn-outline-primary:focus {
  background-color: #7f1109;
  border-color: #7f1109;
  color: #ffffff;
}

.error-404__link-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background-color: #f8f9fa;
  color: #212529;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.error-404__link-chip:hover, .error-404__link-chip:focus {
  background-color: #7f1109;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 576px) {
  .error-404 {
    min-height: auto;
    padding: 1.5rem 0 3rem;
  }
  .error-404__lead {
    font-size: 1rem;
  }
}
.page-template-page-uber-und .artikel-content .post-card .card-title,
.uber-und-page .artikel-content .post-card .card-title {
  font-family: "Source Sans Pro", "Source Sans Pro Adjusted", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #000000;
}

.festival-navigation {
  background-color: #ffad29;
  padding: 0;
}
.festival-navigation a,
.festival-navigation a:hover,
.festival-navigation a:focus {
  text-decoration: none !important;
}
.festival-navigation .festival-nav-stack {
  width: 100%;
}
.festival-navigation .nav-buttons {
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.5rem 0.75rem;
}
.festival-navigation .festival-nav-subnav {
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 0.75rem 0.5rem;
}
.festival-navigation .festival-nav-btn {
  margin: 0.15rem 0;
}
.festival-navigation .festival-nav-sub-btn {
  padding: 0.28rem 0.65rem;
  font-size: 0.82rem;
  line-height: 1.2;
  border-width: 1.5px;
}
.festival-navigation .btn-outline-dark {
  border: 2px solid #000000;
  color: #000000;
  background-color: transparent;
}
.festival-navigation .btn-outline-dark:hover, .festival-navigation .btn-outline-dark:focus {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}
.festival-navigation .dropdown-menu .dropdown-item {
  color: #000000;
}
.festival-navigation .dropdown-menu .dropdown-item:hover, .festival-navigation .dropdown-menu .dropdown-item:focus {
  background-color: #000000;
  color: #ffffff;
}

.offenes-hochhus-nav {
  background-color: #7f1109;
  padding: 0;
}

.offenes-hochhus-nav-buttons {
  padding: 0.5rem 0.75rem;
}

.offenes-hochhus-nav-btn {
  margin: 0.15rem 0;
}

@media (max-width: 576px) {
  .festival-navigation .nav-buttons,
  .festival-navigation .festival-nav-subnav,
  .offenes-hochhus-nav-buttons {
    gap: 0.4rem !important;
    padding: 0.4rem 0.5rem;
  }
  .festival-navigation .festival-nav-btn,
  .offenes-hochhus-nav-btn {
    margin: 0.1rem 0;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.95rem;
    line-height: 1.2;
  }
  .festival-navigation .festival-nav-subnav {
    padding: 0 0.5rem 0.35rem;
    gap: 0.35rem;
  }
  .festival-navigation .festival-nav-sub-btn {
    padding: 0.22rem 0.5rem !important;
    font-size: 0.78rem !important;
  }
}

/*# sourceMappingURL=main.compiled.css.map */
