/*
Theme Name: Mission News Child
Theme URI: https://www.competethemes.com/mission-news/
Description: Child theme for Mission News with custom front-page featured section and style overrides.
Author: Site Owner
Template: mission-news
Version: 1.3.7
Text Domain: mission-news-child
*/

/* Link color overrides: global black, hero rotating banner white */
a,
a:link,
a:visited {
  color: #000000;
}

a:hover,
a:active,
a:focus {
  color: #0b1f4f;
}

.rfhb a,
.rfhb a:link,
.rfhb a:visited,
.rfhb__link,
.rfhb__link:link,
.rfhb__link:visited {
  color: #ffffff;
}

.rfhb a:hover,
.rfhb a:active,
.rfhb a:focus,
.rfhb__link:hover,
.rfhb__link:active,
.rfhb__link:focus {
  color: #0b1f4f;
}

/* Light editorial polish: keep Mission News look, improve rhythm/readability */
body {
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

/* Mission News Pro latest-articles slider: improve text readability, not image darkness */
#mission-slider .image-container:after {
  background: rgba(0, 0, 0, 0.38);
}

#mission-slider .content {
  position: relative;
  z-index: 2;
  max-width: min(96%, 84ch);
  padding: 0.45em 0.65em 0.55em;
}

#mission-slider li {
  overflow: hidden;
}

/* Keep slider height stable across slide changes (prevents scroll-jump). */
#mission-slider ul.slides {
  min-height: 300px !important;
}

#mission-slider .content::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -0.55em;
  bottom: 0;
  left: -120vw;
  border-radius: 5px;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.30) 82%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
}

#mission-slider .title a,
#mission-slider .excerpt,
#mission-slider .date,
#mission-slider .author {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

#mission-slider .title {
  max-width: 100%;
}

#mission-slider .title a {
  display: -webkit-box;
  overflow: hidden;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#mission-slider .excerpt {
  max-width: min(100%, 74ch);
}

#mission-slider .excerpt p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media all and (min-width: 43.75em) {
  #mission-slider .image-container:after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.42)
    );
  }
}

@media all and (min-width: 37.5em) {
  #mission-slider ul.slides {
    min-height: 350px !important;
  }
}

@media all and (min-width: 50em) {
  #mission-slider ul.slides {
    min-height: 380px !important;
  }

  #mission-slider .title a {
    -webkit-line-clamp: 2;
  }

  #mission-slider .excerpt p {
    -webkit-line-clamp: 2;
  }
}

@media all and (min-width: 56.25em) {
  #mission-slider ul.slides {
    min-height: 410px !important;
  }
}

@media all and (min-width: 62.5em) {
  #mission-slider ul.slides {
    min-height: 440px !important;
  }
}

@media all and (min-width: 68.75em) {
  #mission-slider ul.slides {
    min-height: 470px !important;
  }
}

@media all and (min-width: 75em) {
  #mission-slider ul.slides {
    min-height: 500px !important;
  }
}

:root {
  --pl-editorial-blue: #151c2a;
  --pl-divider: #2f2f2f;
  --pl-content-divider: #d2d2d2;
}

@media all and (min-width: 50em) {
  .menu-primary-items a,
  .menu-unset > ul a {
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

.single .post-content {
  font-size: 1.03em;
  line-height: 1.72;
  max-width: 72ch;
}

.single .post-content > p {
  margin-top: 0;
  margin-bottom: 1.1em;
}

.single .post-content > p:first-child {
  font-size: 1.06em;
  line-height: 1.62;
}

.single .post-header .post-title {
  line-height: 1.28;
}

/* Content section heads: restore clear space under H2 before following text blocks */
.single .post-content h2 {
  margin: 1.95em 0 0.55em;
  line-height: 1.24;
}

.single .post-content h2:first-child {
  margin-top: 0.9em;
}

.single .post-content h2 + p,
.single .post-content h2 + ul,
.single .post-content h2 + ol,
.single .post-content h2 + blockquote {
  margin-top: 0.45em;
}

/* Content subheads: establish clear H3 hierarchy below H2 */
.post-content h3 {
  margin: 1.8em 0 0.65em;
  padding-top: 0.42em;
  border-top: 1px solid var(--pl-content-divider);
  font-family: "PT Serif", serif;
  font-size: clamp(1.08rem, 1.45vw, 1.2rem);
  line-height: 1.34;
  font-weight: 400;
  -webkit-text-stroke: 0.15px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.003em;
  text-transform: none;
  color: #1b2432;
}

.post-content h3:first-child {
  margin-top: 1.2em;
}

.post-content h3 + p {
  margin-top: 0.3em;
}

/* Headline system refinement: stronger newspaper-grade title presence */
body.page .post-title,
body.page .post-title a,
body.page .post-title a:link,
body.page .post-title a:visited {
  color: var(--pl-editorial-blue) !important;
  letter-spacing: -0.012em;
}

body.page .post-title {
  font-family: "PT Serif", serif;
  font-weight: 700;
  text-wrap: balance;
}

.single .post-title {
  font-size: clamp(1.58rem, 3.2vw, 2.2rem);
  line-height: 1.2;
}

@media all and (min-width: 50em) {
  .blog .post-title,
  .archive .post-title,
  .search .post-title {
    font-size: 1.85em;
    line-height: 1.22;
  }
}

.featured-home-intro {
  margin: 0 0 0.35em;
  padding: 0.25em 0 0.35em;
}

.featured-home-intro-title {
  margin: 0;
  text-align: center;
  font-family: "PT Serif", serif;
  font-size: 1.25em;
  line-height: 1.3;
}

.pl-top-tags {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 0.5em;
  padding: 0 0 2px;
  overflow: hidden;
  white-space: nowrap;
}

.pl-top-tag {
  flex: 0 0 auto;
  margin: 0;
  padding: 2px 7px;
  font-size: 0.64rem;
}

.widget-area-front-page-above-featured {
  margin: 0 0 1em;
}

#below-header {
  position: relative;
  background: #ffffff;
}

.below-header-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #000000;
  border-radius: 2px;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  line-height: 1;
}

.below-header-toggle-icon {
  display: block;
  width: 1em;
  line-height: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.below-header-content {
  transition: opacity 0.2s ease;
}

#below-header.is-collapsed {
  min-height: 18px;
  padding-top: 0;
  padding-bottom: 0;
}

#below-header.is-collapsed .below-header-content {
  display: none;
}

#below-header.is-collapsed .below-header-toggle {
  top: 0;
  right: 0;
}

#front-page-above-featured {
  position: relative;
  background: #ffffff;
  transition: min-height 0.2s ease, padding 0.2s ease;
}

.front-page-above-featured-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #000000;
  border-radius: 2px;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  line-height: 1;
}

.front-page-above-featured-toggle-icon {
  display: block;
  width: 1em;
  line-height: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.front-page-above-featured-content {
  transition: opacity 0.2s ease;
}

#front-page-above-featured.is-collapsed {
  min-height: 18px;
  margin-bottom: 0.35em;
  padding-top: 0;
  padding-bottom: 0;
}

#front-page-above-featured.is-collapsed .front-page-above-featured-content {
  display: none;
}

#front-page-above-featured.is-collapsed .front-page-above-featured-toggle {
  top: 0;
  right: 0;
}

.featured-home-section {
  border-top: none;
  border-bottom: none;
  margin: 0 0 1.25em;
  padding: 0.75em 0 0;
}

.featured-home-title {
  margin: 0 0 1em;
  font-family: "PT Sans", sans-serif;
  font-size: 0.875em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.featured-home-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
}

.featured-home-item {
  border-top: 1px solid #000000;
  margin: 0;
  padding: 0.75em 0 0;
  position: relative;
}

/* Remove line between Neueste Artikel title and the list */
.loop-container {
  border-top: none !important;
}

/* Update color for existing theme dividing lines only */
.archive-header,
.infinite-wrap,
.pagination,
.post-author,
.post-meta,
.widget-area-after-first-post,
.widget-area-front-page-below-posts,
.widget-area-below-header,
.loop-container > article,
.more-from-category .category-container,
.search-box.bottom,
.sidebar-left .inner,
.comment-list .comment,
.widget,
th,
td,
.wp-block-table th,
.wp-block-table td,
.entry,
.site-header,
.site-footer,
.menu-primary-container,
.menu-secondary-items ul,
.main,
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=search],
input[type=tel],
input[type=url],
textarea {
  border-color: var(--pl-divider) !important;
}

/* Specific fix for below-header border and menu bottom border */
.widget-area-below-header,
.menu-primary-container,
.site-header {
  border-bottom-color: var(--pl-divider) !important;
}

/* Target vertical layout lines and specific layout dividers */
/* Vertical dividers between sidebars and content */
.content-container:before,
.content-container:after,
.sidebar-left:before,
.sidebar-right:before,
.sidebar-primary:before,
.sidebar-secondary:before {
  background-color: var(--pl-divider) !important;
  top: 1em !important;
  bottom: 1em !important;
}

/* Refine layout-specific borders (like between double columns) */
.blog.layout-double .loop-container .double,
.widget-area .widget {
  border-color: var(--pl-divider) !important;
}

/* Softer separators inside article content */
.single .entry,
.single .post-meta,
.single .post-author,
.single .post-tags,
.single .post-content hr,
.single .comments {
  border-color: var(--pl-content-divider) !important;
}

/* Grid layout overrides */
@media all and (min-width: 50em) {
  .featured-home-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5em;
    row-gap: 1.25em;
  }

  .featured-home-item:nth-child(-n + 2) {
    border-top: none;
    padding-top: 0;
  }
}

.featured-home-item:first-child {
  border-top: none;
  padding-top: 0;
}

.featured-home-image-link {
  display: block;
  margin-bottom: 0.75em;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.featured-home-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Prevent content from stretching to full screen width on mobile */
@media all and (max-width: 49.99em) {
  .featured-home-section {
    padding-left: 1em;
    padding-right: 1em;
  }

  .featured-home-image-link {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .featured-home-image {
    border-radius: 3px;
  }

  .newest-home-title {
    padding-left: 1em;
    padding-right: 1em;
  }
}

.featured-home-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 0.65em;
}

.featured-home-category-chip,
.featured-home-category-chip:link,
.featured-home-category-chip:visited {
  display: inline-block;
  padding: 3px 8px;
  background: #000000;
  color: #ffffff;
  border-radius: 2px;
  font-family: "PT Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

.featured-home-category-chip:hover,
.featured-home-category-chip:focus {
  background: #262626;
  color: #ffffff;
}

.featured-home-item-title {
  margin: 0;
}

.featured-home-link {
  display: block;
  width: 100%;
  font-family: "PT Serif", serif;
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  font-weight: 700;
  line-height: 1.28;
  text-wrap: pretty;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-decoration: none;
}

.featured-home-secondary-title {
  margin: 0.45em 0 0.5em;
  font-family: "PT Sans", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #2f2f2f;
}

.featured-home-byline {
  margin-top: 0.5em;
  font-family: "PT Sans", sans-serif;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #666666;
}

.featured-home-author {
  font-weight: 600;
}

.featured-home-date {
  font-weight: 400;
}

.newest-home-title {
  margin: 0 0 1em;
  font-family: "PT Sans", sans-serif;
  font-size: 0.875em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Advertising widget styling - Below Logo */
.widget-area-below-logo {
  margin: 0.75em 0 0.5em;
  padding: 0;
  border: none !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both !important;
}

.widget-area-below-logo .widget {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both !important;
}

.widget-area-below-logo .textwidget {
  border: none !important;
  width: 100% !important;
  max-width: none !important;
}

.widget-area-below-logo .pl-advertising-banner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
  float: none !important;
  clear: both !important;
}

/* Desktop styling - Horizontal layout (matches menu breakpoint) */
@media all and (min-width: 50em) {
  .widget-area-below-logo .pl-advertising-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5em !important;
    padding: 0.9em 2em !important;
    text-align: center !important;
    border-radius: 5px !important;
  }

  .widget-area-below-logo .pl-advertising-banner p {
    flex: 0 1 auto !important;
    margin: 0 !important;
    max-width: 600px !important;
  }

  .widget-area-below-logo .pl-advertising-banner a {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 0.5em 1.25em !important;
    font-size: 0.85em !important;
  }
}

.widget-area-below-logo .textwidget a {
  transition: all 0.25s ease;
  font-weight: 700 !important;
}

.widget-area-below-logo .textwidget a:hover,
.widget-area-below-logo .textwidget a:focus {
  background: #f8f8f8 !important;
  color: #0a1a3d !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}

/* Mobile styling - Stacked vertical */
@media all and (max-width: 49.99em) {
  .widget-area-below-logo .pl-advertising-banner {
    padding: 0.9em 1.25em !important;
    text-align: center !important;
    border-radius: 5px !important;
  }

  .widget-area-below-logo .textwidget p {
    font-size: 0.9em !important;
    line-height: 1.45 !important;
    margin-bottom: 0.75em !important;
  }

  .widget-area-below-logo .textwidget p strong {
    font-size: 1.05em !important;
    margin-bottom: 0.25em !important;
  }

  .widget-area-below-logo .textwidget a {
    padding: 0.5em 1.15em !important;
    font-size: 0.85em !important;
    display: inline-block !important;
  }
}

/* NordVPN Affiliate Banner Styling */
.nordvpn-affiliate-banner a:hover {
  background: #f5f5f5 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}

@media all and (max-width: 49.99em) {
  .nordvpn-affiliate-banner {
    padding: 1.25em !important;
  }

  .nordvpn-affiliate-banner h3 {
    font-size: 1.05em !important;
  }

  .nordvpn-affiliate-banner p {
    font-size: 0.9em !important;
  }

  .nordvpn-affiliate-banner a {
    font-size: 0.85em !important;
    padding: 0.6em 1.5em !important;
  }

  .nordvpn-affiliate-banner svg {
    width: 28px !important;
    height: 28px !important;
  }
}

/* Keep visible gap in byline separator format: " | Category" */
.post-byline .post-categories {
  margin-left: 0.35em;
}

/* Keep Chronologie/archive preview byline on one line under the image */
.archive .post-header .post-byline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main page "Neueste Artikel": remove vertical divider lines in double grid */
@media all and (min-width: 37.5em) {
  .home.layout-double:not(.bbpress) .loop-container .double,
  .front-page.layout-double:not(.bbpress) .loop-container .double {
    border-left: none !important;
    border-right: none !important;
    margin-left: 0 !important;
  }
}

/* Mobile header nav: keep both menus visible and horizontally scrollable */
@media all and (max-width: 799px) {
  body.mobile-menu-open #toggle-navigation {
    display: none;
  }

  body.mobile-menu-open .site-header {
    padding-top: 0;
  }

  body.mobile-menu-open .top-nav #menu-secondary-container,
  body.mobile-menu-open .top-nav #menu-secondary-container.moved {
    position: static;
    top: auto;
    display: block;
    float: none;
    clear: none;
    width: auto;
    margin: 0;
    border: 0;
    transform: none !important;
  }

  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary {
    padding: 0;
  }

  body.mobile-menu-open .top-nav {
    display: flex;
    align-items: center;
    gap: 0;
    width: calc(100% + 11.112%);
    margin: 0 -5.556% 0.4em;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
  }

  body.mobile-menu-open .top-nav .search-toggle {
    float: none;
    flex: 0 0 auto;
    border: 0;
    border-right: 1px solid #dcdcdc;
    border-radius: 0;
    margin: 0;
    padding: 0.38em 0.5em;
    line-height: 1.2;
  }

  body.mobile-menu-open .top-nav .search-toggle i {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  body.mobile-menu-open .top-nav #menu-secondary-container {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.mobile-menu-open #menu-primary-container {
    position: static;
    top: auto !important;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% + 11.112%);
    max-width: none !important;
    margin: 0.5em -5.556% 0;
    opacity: 1;
    visibility: visible;
    background: #ffffff;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    box-shadow: none;
    transform: none !important;
    overflow: visible;
  }

  body.mobile-menu-open #menu-primary-container .menu-primary {
    padding: 0;
    transform: none !important;
  }

  body.mobile-menu-open #menu-primary-container .menu-secondary-container,
  body.mobile-menu-open #menu-primary-container .menu-secondary-container.moved {
    display: none !important;
  }

  body.mobile-menu-open #menu-primary-container .menu-secondary {
    padding: 0;
  }

  body.mobile-menu-open #menu-primary-container .dropdown-navigation {
    display: none !important;
  }

  /* Submenu toggle: compact caret button attached to items that have children */
  body.mobile-menu-open #menu-primary-container .toggle-dropdown {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2em;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid #dcdcdc;
    background: transparent;
    font-size: 0.65rem;
    color: #000000;
    cursor: pointer;
  }

  body.mobile-menu-open #menu-primary-container .toggle-dropdown i {
    transition: transform 0.15s ease;
  }

  body.mobile-menu-open #menu-primary-container li.mobile-submenu-open > .toggle-dropdown i {
    transform: rotate(90deg);
  }

  body.mobile-menu-open #menu-primary-container .menu-primary-items,
  body.mobile-menu-open #menu-primary-container .menu-primary .menu-unset > ul,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary-items,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary .menu-unset > ul {
    position: static;
    top: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.mobile-menu-open #menu-primary-container .menu-primary-items::-webkit-scrollbar,
  body.mobile-menu-open #menu-primary-container .menu-primary .menu-unset > ul::-webkit-scrollbar,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary-items::-webkit-scrollbar,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary .menu-unset > ul::-webkit-scrollbar {
    display: none;
  }

  body.mobile-menu-open #menu-primary-container .menu-primary-items li,
  body.mobile-menu-open #menu-primary-container .menu-primary .menu-unset > ul li,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary-items li,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary .menu-unset > ul li {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    margin: 0;
    border-bottom: none;
  }

  body.mobile-menu-open #menu-primary-container .menu-primary-items li + li,
  body.mobile-menu-open #menu-primary-container .menu-primary .menu-unset > ul li + li,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary-items li + li,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary .menu-unset > ul li + li {
    border-left: 1px solid #dcdcdc;
  }

  body.mobile-menu-open #menu-primary-container .menu-primary-items a,
  body.mobile-menu-open #menu-primary-container .menu-primary .menu-unset > ul a {
    display: flex;
    align-items: center;
    padding: 0.72em 0.72em;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 700;
    color: #000000;
  }

  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary-items a,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary .menu-unset > ul a {
    display: block;
    padding: 0.38em 0.5em;
    font-size: 0.65rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #111111;
  }

  body.mobile-menu-open #menu-primary-container .menu-primary-items li.current-menu-item > a,
  body.mobile-menu-open #menu-primary-container .menu-primary-items li.current-menu-ancestor > a,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary-items li.current-menu-item > a,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary-items li.current-menu-ancestor > a {
    background: #f3f3f3;
    text-decoration: none;
  }

  body.mobile-menu-open #menu-primary-container .menu-primary-items ul,
  body.mobile-menu-open #menu-primary-container .menu-primary .menu-unset > ul ul,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary-items ul,
  body.mobile-menu-open .top-nav #menu-secondary-container .menu-secondary .menu-unset > ul ul {
    display: none !important;
  }

  /* Submenu panel: holds the tapped item's children below the scrollable bar.
     Lives outside the horizontally-scrolling <ul> (which clips vertical overflow)
     so the dropdown isn't cut off; js/mobile-header.js moves the sub-menu into it. */
  body.mobile-menu-open #menu-primary-container .mobile-submenu-panel {
    display: none;
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    background: #ffffff;
    border-top: 1px solid #dcdcdc;
  }

  body.mobile-menu-open #menu-primary-container .mobile-submenu-panel.open {
    display: block;
  }

  body.mobile-menu-open #menu-primary-container .mobile-submenu-panel ul.sub-menu {
    display: block !important;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: normal;
  }

  body.mobile-menu-open #menu-primary-container .mobile-submenu-panel ul.sub-menu li {
    display: block;
    border-bottom: 1px solid #eeeeee;
  }

  body.mobile-menu-open #menu-primary-container .mobile-submenu-panel ul.sub-menu li:last-child {
    border-bottom: none;
  }

  body.mobile-menu-open #menu-primary-container .mobile-submenu-panel ul.sub-menu a {
    display: block;
    padding: 0.6em 1em;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000000;
  }

  /* "<Title> Portal": links back to the page/category the parent item used
     to link to directly, set apart as the overview entry for that section. */
  body.mobile-menu-open #menu-primary-container .mobile-submenu-panel ul.sub-menu li.submenu-landing-item {
    border-bottom: 1px solid #dcdcdc;
  }

  body.mobile-menu-open #menu-primary-container .mobile-submenu-panel ul.sub-menu li.submenu-landing-item a {
    font-weight: 700;
    font-style: italic;
  }
}

/* Primary menu: subtle per-category background tint (top-level items only) */
#menu-primary-container .menu-primary-items li.pl-menu-cat-budapest {
  background-color: #c9dbf2; /* dark blue family — Budapest: institutional, capital */
}

#menu-primary-container .menu-primary-items li.pl-menu-cat-nachrichten {
  background-color: #f6c9cc; /* red family — Nachrichten: hard news urgency */
}

#menu-primary-container .menu-primary-items li.pl-menu-cat-wirtschaft {
  background-color: #f7d8b3; /* orange family — Wirtschaft: business, energy */
}

#menu-primary-container .menu-primary-items li.pl-menu-cat-kultur {
  background-color: #f7c7bd; /* salmon family — Kultur: warm, artistic */
}

#menu-primary-container .menu-primary-items li.pl-menu-cat-interview {
  background-color: #efc2e0; /* magenta family — Interview: personal, expressive */
}

#menu-primary-container .menu-primary-items li.pl-menu-cat-veranstaltungen {
  background-color: #b7e5df; /* teal family — Veranstaltungen: lively, social */
}

#menu-primary-container .menu-primary-items li.pl-menu-cat-newsletter {
  background-color: #cec2ef; /* indigo family — Newsletter: calm, communicative */
}

#menu-primary-container .menu-primary-items li.pl-menu-cat-umfragen {
  background-color: #f5df9f; /* gold family — Umfragen: opinion, choice */
}

#menu-primary-container .menu-primary-items li.pl-menu-cat-service {
  background-color: #bce6ca; /* sage green family — Service: practical, dependable */
}

/* Custom floating support button + wpDiscuz black/white stack */
#wpd-bubble-wrapper {
  position: fixed !important;
  left: 16px !important;
  right: auto !important;
  bottom: 60px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 2147483647 !important;
}

#wpd-bubble-wrapper.wpd-left-content,
#wpd-bubble-wrapper.wpd-left-corner,
#wpd-bubble-wrapper.wpd-right-corner {
  left: 16px !important;
  right: auto !important;
}

iframe[src*="ko-fi.com"],
iframe[src*="storage.ko-fi.com"],
[class*="kofi"],
[id*="kofi"],
[class*="ko-fi"],
[id*="ko-fi"],
.floatingchat-container-wrap,
.floating-chat-container-wrap {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#pl-support-floating-btn {
  position: fixed;
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  z-index: 2147483646;
  display: inline-block;
  padding: 10px 14px;
  font-family: "PT Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 3px !important;
}

#pl-support-floating-btn:hover,
#pl-support-floating-btn:focus {
  background: #ffffff !important;
  color: #000000 !important;
}

#wpd-bubble,
#wpd-bubble-count {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  background: #000000 !important;
  border: 1px solid #000000 !important;
}

#wpd-bubble svg,
#wpd-bubble-count svg {
  width: 18px !important;
  height: 18px !important;
}

#wpd-bubble svg .wpd-bubble-plus-first,
#wpd-bubble-count svg .wpd-bubble-count-first {
  fill: #ffffff !important;
}

#wpd-bubble svg .wpd-bubble-plus-second,
#wpd-bubble-count svg .wpd-bubble-count-second {
  fill: transparent !important;
}

#wpd-bubble .wpd-new-comments-count,
#wpd-bubble-count .wpd-new-comments-count {
  font-size: 11px !important;
  color: #ffffff !important;
}

/* Native Mission News scroll-to-top button: align with floating controls */
#scroll-to-top.scroll-to-top {
  right: 16px !important;
  left: auto !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  bottom: -40px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 3px;
}

#scroll-to-top.scroll-to-top.visible {
  transform: translateY(-56px) !important;
}

#scroll-to-top.scroll-to-top:hover,
#scroll-to-top.scroll-to-top:focus {
  background: #ffffff !important;
  color: #000000 !important;
}

#scroll-to-top.scroll-to-top i {
  font-size: 16px !important;
}

/* Non-default language notice: clearly point to the German main version. */
.pl-de-main-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 12px auto 10px;
  padding: 12px 14px;
  max-width: 1280px;
  background: #fff4cf;
  border: 1px solid #9b7c1f;
  border-radius: 4px;
}

.pl-de-main-notice-text {
  margin: 0;
  color: #141414;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 700;
}

.pl-de-main-notice-button,
.pl-de-main-notice-button:link,
.pl-de-main-notice-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #141414;
  color: #ffffff;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.pl-de-main-notice-button:hover,
.pl-de-main-notice-button:focus {
  background: #ffffff;
  color: #141414;
  outline: 1px solid #141414;
}

/* ---------------------------------------------------------------------
   Beitragslisten („Neueste Nachrichten“, Archive, Suche) typografisch an
   Featured-/Kurznachrichten-Sektionen angeglichen. */
.blog .loop-container .post-title,
.archive .loop-container .post-title,
.search .loop-container .post-title {
  margin: 0;
  font-family: "PT Serif", serif;
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  font-weight: 700;
  line-height: 1.28;
  text-wrap: pretty;
}

.blog .loop-container .post-title a,
.archive .loop-container .post-title a,
.search .loop-container .post-title a {
  text-decoration: none;
}

.loop-container .pl-card-header .featured-home-categories {
  margin: 0.1em 0 0.6em;
}

.loop-container .pl-card-header .featured-home-secondary-title {
  margin: 0.45em 0 0;
}

.loop-container .pl-card-header .featured-home-byline {
  margin-top: 0.45em;
}

/* Below-header ad spot: single Reisefroh banner, centered with sane width */
.widget-area-below-header .rfhb {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Top news row above the Featured section */
.top-news-section {
  margin-bottom: 1em;
}

.top-news-section .top-news-list {
  border-top: none !important;
  padding-top: 0;
}

.top-news-list:after {
  content: "";
  display: table;
  clear: both;
}

/* Below-logo banner rotator: sponsorship <-> donation appeal, 7s each (pure CSS) */
.widget-area-below-logo .pl-rotator {
  display: grid !important;
  padding: 0 !important;
  background: none !important;
  gap: 0 !important;
}

.widget-area-below-logo .pl-rotator .pl-rot-panel {
  grid-area: 1 / 1;
  box-sizing: border-box;
  width: 100%;
  border-radius: 5px;
  padding: 0.9em 1.25em;
  text-align: center;
  animation: pl-rot-swap 14s linear infinite;
}

.widget-area-below-logo .pl-rotator .pl-rot-panel-donate {
  animation-delay: -7s;
}

@keyframes pl-rot-swap {
  0%, 46% { opacity: 1; visibility: visible; }
  50%, 96% { opacity: 0; visibility: hidden; }
  100% { opacity: 1; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
  .widget-area-below-logo .pl-rotator .pl-rot-panel {
    animation-duration: 20s;
    animation-timing-function: steps(1, end);
  }
  .widget-area-below-logo .pl-rotator .pl-rot-panel-donate {
    animation-delay: -10s;
  }
}

@media all and (min-width: 50em) {
  .widget-area-below-logo .pl-rotator .pl-rot-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    padding: 0.9em 2em;
  }
  .widget-area-below-logo .pl-rotator .pl-rot-panel p {
    flex: 0 1 auto !important;
    margin: 0 !important;
    max-width: 640px !important;
    text-align: left;
  }
  .widget-area-below-logo .pl-rotator .pl-rot-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5em;
  }
  .widget-area-below-logo .pl-rotator .pl-rot-panel a {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    text-align: center;
    padding: 0.5em 1.25em !important;
    font-size: 0.85em !important;
  }
}

@media all and (max-width: 49.99em) {
  .widget-area-below-logo .pl-rotator .pl-rot-panel a {
    margin: 0.25em 0.2em;
  }
}

/* ------------------------------------------------------------------
   2026-08-18 Mobile: Startseite ohne linke Sidebar
   ("Nachrichten aus Ungarn" & Co. doppeln den Hauptstrom; die rechte
   Widget-Spalte soll direkt nach dem Hauptinhalt folgen).
   ------------------------------------------------------------------ */
@media all and (max-width: 49.99em) {
  #sidebar-left {
    display: none !important;
  }
}

/* ------------------------------------------------------------------
   2026-08-18 Mobile: dezenter Hinweis, dass das Hauptmenü horizontal
   scrollbar ist (Verlauf + langsam nickender Pfeil am rechten Rand).
   Wird per JS eingeblendet und nach dem ersten Scroll ausgeblendet.
   ------------------------------------------------------------------ */
@media all and (max-width: 799px) {
  body.mobile-menu-open #menu-primary-container .menu-primary {
    position: relative;
  }

  body.mobile-menu-open #menu-primary-container .pl-scroll-hint {
    position: absolute;
    top: 0;               /* top/height werden per JS exakt auf die Menüzeile gesetzt */
    right: 0;
    height: 2.4em;
    width: 2.4em;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5em;
    box-sizing: border-box;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92) 70%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0s linear 0.9s;
    z-index: 2;
  }

  body.mobile-menu-open #menu-primary-container .pl-scroll-hint.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0s;
  }

  body.mobile-menu-open #menu-primary-container .pl-scroll-hint::before {
    content: "";
    display: block;
    width: 0.36em;
    height: 0.36em;
    border-top: 1.5px solid #b5b5b5;
    border-right: 1.5px solid #b5b5b5;
    transform: rotate(45deg);
    animation: pl-scroll-hint-nudge 2.4s ease-in-out infinite;
  }

  @keyframes pl-scroll-hint-nudge {
    0%, 100% { transform: translateX(0) rotate(45deg); }
    50%      { transform: translateX(3px) rotate(45deg); }
  }

  @media (prefers-reduced-motion: reduce) {
    body.mobile-menu-open #menu-primary-container .pl-scroll-hint::before {
      animation: none;
    }
  }
}

/* ------------------------------------------------------------------
   2026-08-18 Sidebar-Kategorienliste (block-9, unter den Wechselkursen)
   als kompakte, umbrechende Chip-Wolke statt 38 Zeilen – Desktop & Mobil.
   ------------------------------------------------------------------ */
.sidebar .widget_categories .wp-block-categories-list,
.sidebar .widget_categories .wp-block-categories-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar .widget_categories .wp-block-categories-list ul {
  margin: 0;
}

.sidebar .widget_categories .wp-block-categories-list li {
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
}

.sidebar .widget_categories .wp-block-categories-list li a,
.sidebar .widget_categories .wp-block-categories-list li a:link,
.sidebar .widget_categories .wp-block-categories-list li a:visited {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  background: #f6f6f6;
  color: #333333;
  font-family: "PT Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.sidebar .widget_categories .wp-block-categories-list li a:hover,
.sidebar .widget_categories .wp-block-categories-list li a:focus {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.sidebar .widget_categories .wp-block-categories-list li .count {
  font-weight: 400;
  color: #888888;
}

/* Mobil: etwas größere Tippfläche bei gleicher Kompaktheit */
@media all and (max-width: 49.99em) {
  .sidebar .widget_categories .wp-block-categories-list li a {
    padding: 5px 10px;
    font-size: 0.82rem;
  }
}

/* Kategorien-Chips: Farbfamilien wie das Hauptmenü (Klassen via functions.php) */
.sidebar .widget_categories li.pl-cat-fam-budapest a        { background: #c9dbf2; border-color: #c9dbf2; }
.sidebar .widget_categories li.pl-cat-fam-nachrichten a     { background: #f6c9cc; border-color: #f6c9cc; }
.sidebar .widget_categories li.pl-cat-fam-wirtschaft a      { background: #f7d8b3; border-color: #f7d8b3; }
.sidebar .widget_categories li.pl-cat-fam-kultur a          { background: #f7c7bd; border-color: #f7c7bd; }
.sidebar .widget_categories li.pl-cat-fam-interview a       { background: #efc2e0; border-color: #efc2e0; }
.sidebar .widget_categories li.pl-cat-fam-veranstaltungen a { background: #b7e5df; border-color: #b7e5df; }
.sidebar .widget_categories li.pl-cat-fam-newsletter a      { background: #cec2ef; border-color: #cec2ef; }
.sidebar .widget_categories li.pl-cat-fam-umfragen a        { background: #f5df9f; border-color: #f5df9f; }
.sidebar .widget_categories li.pl-cat-fam-service a         { background: #bce6ca; border-color: #bce6ca; }
.sidebar .widget_categories li[class*="pl-cat-fam-"] a      { color: #1a1a1a; }
.sidebar .widget_categories li[class*="pl-cat-fam-"] a:hover,
.sidebar .widget_categories li[class*="pl-cat-fam-"] a:focus { background: #000000; border-color: #000000; color: #ffffff; }

/* ------------------------------------------------------------------
   2026-08-18 Startseite: Bereich unter der Pagination (Reisefroh-Rotator,
   Inserate, Tag-Wolke = #front-page-below-posts). Auf Mobil per JS ans
   Ende der rechten Widget-Spalte verschoben (js/mobile-header.js) und mit
   Seitenrand versehen (lag bisher randlos an der Bildschirmkante).
   ------------------------------------------------------------------ */
@media all and (max-width: 49.99em) {
  .widget-area-front-page-below-posts {
    box-sizing: border-box;
    padding-left: 5.556%;
    padding-right: 5.556%;
  }
}
@media all and (min-width: 37.5em) and (max-width: 49.99em) {
  .widget-area-front-page-below-posts {
    padding-left: 2.778%;
    padding-right: 2.778%;
  }
}
/* Am Ende der rechten Spalte: Abstand nach unten, Trennlinie oben behalten */
.sidebar-right > .widget-area-front-page-below-posts {
  margin-bottom: 1.5em;
}

/* Tag-Wolke: ruhige, einheitliche Chips statt Größen-/Serifen-Mix */
.widget_tag_cloud .wp-block-tag-cloud,
.widget_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 6px;
  margin: 0;
  line-height: 1;
}
.widget_tag_cloud .wp-block-tag-cloud a,
.widget_tag_cloud .tagcloud a {
  display: inline-block;
  font-size: 0.8rem !important;
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  line-height: 1.25;
  padding: 4px 10px;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  background: #ffffff;
  color: #333333;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.widget_tag_cloud .wp-block-tag-cloud a:hover,
.widget_tag_cloud .wp-block-tag-cloud a:focus,
.widget_tag_cloud .tagcloud a:hover,
.widget_tag_cloud .tagcloud a:focus {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

/* Inserate (Latest-Posts-Liste im Bereich unter den Beiträgen): dezente Karten */
.widget-area-front-page-below-posts .wp-block-latest-posts__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.widget-area-front-page-below-posts .wp-block-latest-posts__list li {
  margin: 0;
  padding: 12px 14px 13px;
  background: linear-gradient(160deg, #fcfcfd 0%, #f0f3f8 100%);
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(20, 30, 60, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.widget-area-front-page-below-posts .wp-block-latest-posts__list li:hover {
  box-shadow: 0 4px 16px rgba(20, 30, 60, 0.11);
  transform: translateY(-1px);
}
.widget-area-front-page-below-posts .wp-block-latest-posts__list li::before {
  content: "Inserat";
  display: block;
  margin-bottom: 4px;
  font-family: "PT Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a90a0;
}
.widget-area-front-page-below-posts .wp-block-latest-posts__list li a.wp-block-latest-posts__post-title {
  display: block;
  font-family: "PT Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
  text-decoration: none;
}
.widget-area-front-page-below-posts .wp-block-latest-posts__list li a.wp-block-latest-posts__post-title:hover {
  color: #b3121b;
}

/* ============================================================================
   Featured-Karussell auf der Startseite (2026-08-21)
   Horizontal scrollbar wie das mobile Hauptmenue, mit Scroll-Snap und einem
   sehr langsamen Autoplay. Alles unter .featured-carousel gekapselt, damit die
   gleichnamigen Klassen der Kurznachrichten-Sektion unberuehrt bleiben.
   ========================================================================== */

.featured-carousel .featured-carousel-head {
  display: block;
}

.featured-carousel .featured-home-title {
  margin-bottom: 1em;
}


/* Die Spur: aus dem Grid wird eine horizontale Leiste. */
.featured-carousel .featured-home-list {
  display: flex;
  grid-template-columns: none;
  gap: 1.5em;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.featured-carousel .featured-home-list::-webkit-scrollbar {
  display: none;
}

.featured-carousel .featured-home-list:focus-visible {
  outline: 2px solid var(--pl-divider, #000);
  outline-offset: 3px;
}

.featured-carousel .featured-home-item {
  /* Volle Breite: ein angeschnittener Nachbar wirkte wie ein Fehler.
     Den Hinweis "es geht weiter" geben die Punkte unter der Spur. */
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  /* In der Reihe bekommt jede Karte dieselbe Oberkante - die Ausnahmen aus
     dem gestapelten Grid-Layout wuerden hier inkonsistent aussehen. */
  border-top: 1px solid var(--pl-divider, #000);
  padding-top: 0.75em;
}

.featured-carousel .featured-home-item:first-child {
  border-top: 1px solid var(--pl-divider, #000);
  padding-top: 0.75em;
}

@media all and (min-width: 50em) {
  .featured-carousel .featured-home-list {
    grid-template-columns: none;
    column-gap: 1.5em;
    row-gap: 0;
  }

  /* Zwei Karten pro Ansicht - wie im bisherigen Zwei-Spalten-Layout. */
  .featured-carousel .featured-home-item,
  .featured-carousel .featured-home-item:nth-child(-n + 2) {
    flex: 0 0 calc((100% - 1.5em) / 2);
    border-top: 1px solid var(--pl-divider, #000);
    padding-top: 0.75em;
  }
}

/* Punkte-Navigation */
.featured-carousel .featured-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45em;
  margin: 1em 0 0;
  /* Platz wird immer reserviert; erst das JS macht die Punkte sichtbar.
     Ein display-Wechsel wuerde die Sektion verschieben -> CLS. */
  visibility: hidden;
  pointer-events: none;
}

.featured-carousel.is-ready .featured-carousel-dots {
  visibility: visible;
  pointer-events: auto;
}

.featured-carousel .featured-carousel-dot {
  position: relative;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid var(--pl-divider, #000);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

/* Der sichtbare Punkt bleibt klein, die Trefferflaeche wird auf 24px
   vergroessert - sonst ist er auf dem Handy kaum zu treffen. */
.featured-carousel .featured-carousel-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
}

/* Die aktive Folie wird zum Balken: zeigt Position UND Richtung. */
.featured-carousel .featured-carousel-dot.is-active {
  width: 20px;
  background: #000;
  border-color: #000;
}

/* Wer Bewegung reduziert haben will, bekommt kein Autoplay (siehe JS) und
   keine weichen Sprunge. */
@media (prefers-reduced-motion: reduce) {
  .featured-carousel .featured-home-list {
    scroll-behavior: auto;
  }

  .featured-carousel .featured-carousel-dot {
    transition: none;
  }
}
