/* =========================================================
   Parkinson Journal – Enfold Child CSS (repariert)
   Ziel: keine CSS-Fehler + bessere Lesbarkeit auf Smartphone
   ========================================================= */

/* Widgets */
.widget {
  font-size: 16px !important;
  font-family: 'Lato' !important;
}

/* Suche: Ergebnisse */
#top.search-results #main p,
#top.search-results #main .post-meta-infos * {
  font-size: 18px;
  font-family: 'Lato' !important;
}

/* Single Post: Footer/Meta ausblenden */
#top.single-post .template-single-blog .entry-footer,
#top.single-post .template-single-blog .related_posts,
#top.single-post .template-single-blog .comment-entry,
#top.single-post .template-single-blog .post-meta-infos {
  display: none;
}

#top.single-post .template-single-blog .entry-content-wrapper {
  padding-left: 10px;
}

#top.single-post .template-single-blog .entry-content-wrapper > .entry-content {
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 23%);
  padding: 2%;
  font-family: 'Lato' !important;
  font-size: 18px;
}

/* Post-Titel */
#top.single-post .template-single-blog .post-title {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
  color: #222222;
  font-size: 28px;
  line-height: 1.1em;
  text-align: center;
}

#top.single-post .template-single-blog .post-title:after {
  content: url(https://parkinson-journal.de/wp-content/uploads/2022/06/Blueline-with-red-icon.jpg);
  display: inline-block;
  margin-top: 30px;
}

/* Header-Bild als Background (Single) */
#top.single-post .container_wrap_first:before {
  content: "";
  background-image: url(https://i0.wp.com/parkinson-journal.de/wp-content/uploads/2022/11/Small-Header1.jpg);
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}

#top.single-post .container_wrap_first > .template-single-blog > .content {
  margin-top: 12%;
}

/* RSS */
.rssSummary { font-size: 14px; }
a.rsswidget { font-size: 16px; }

/* Header-Bild als Background (Search) */
#top.search-results .container_wrap_first:before {
  content: "";
  background-image: url(https://i0.wp.com/parkinson-journal.de/wp-content/uploads/2022/11/Small-Header1.jpg);
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}

#top.search-results .container_wrap_first .template-search {
  margin-top: 12%;
}

/* Menü Hover */
#top #header #avia-menu > li:hover > a {
  background: #fff !important;
  border: 0 !important;
}

#top #header #avia-menu > li:hover > a span.avia-menu-text {
  color: #b3241d !important;
  border: 0 !important;
}

/* Lightbox Bildgröße */
img.mfp-img {
  width: 800px !important;
  max-width: 800px !important;
  height: 1000px !important;
  max-height: 1000px !important;
}

/* Menüschrift */
.avia-menu-text {
  font-size: 16px !important;
}

/* Bestimmte Seiten: Menü ausblenden (Syntax repariert!) */
.page-id-52588 .main_menu,
.page-id-52566 .main_menu,
.postid-52566 .main_menu,
.page-id-52546 .main_menu,
.page-id-52535 .main_menu,
.page-id-52460 .main_menu {
  display: none !important;
}

/* Kategorie-Spalten */
.category-columns {
  display: flex;
  flex-wrap: wrap;
}

.category-column {
  width: 50%;
  padding: 10px;
  box-sizing: border-box;
}

.category-posts-list {
  list-style: disc inside;
  padding-left: 20px;
}

/* Tabs: nicht aktive Reiter */
.avia-tab-inactive {
  background-color: #FFFFFF;
}

/* TablePress */
.tablepress { font-size: 16px; }
.tablepress thead th { font-size: 18px; }
.tablepress tbody td { font-size: 16px; }

/* Footer/Content Hintergrund */
#content { background-color: white !important; }
#footer { background-color: white !important; }

/* Parkinson-result Layout */
.parkinson-result { margin-bottom: 20px; }
.parkinson-result img {
  float: left;
  margin-right: 15px;
  border-radius: 10px;
}
.parkinson-result h3 { margin-top: 0; }

/* Ivory Search Styling */
.ivory-search .is-search-results {
  text-align: left;
  width: 100%;
  margin: 0 auto;
}

/* Defaultbild falls fehlt */
.ivory-search .is-search-content .is-image img {
  background-image: url('https://parkinson-journal.de/wp-content/uploads/2024/07/roboterkopf-parkinson-berater-768x768-1.webp');
  background-size: cover;
  min-height: 150px;
}

/* Excerpt kürzen */
.ivory-search .is-search-content .is-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Alternierende Hintergründe */
.ivory-search .is-search-results article:nth-child(odd) {
  background-color: #f0f8ff;
}
.ivory-search .is-search-results article:nth-child(even) {
  background-color: #ffffff;
}

/* Card-Rahmen */
.ivory-search .is-search-results article {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px;
  overflow: hidden;
}

.ivory-search .is-pagination { margin-top: 20px; }

/* Seitenleiste ausblenden */
.is-search-main #secondary { display: none; }
.is-search-main #primary { width: 100% !important; }

/* =========================================================
   RESPONSIVE – HIER WAR BEI DIR DER FEHLER:
   du hattest Mobile auf 14px runtergesetzt.
   Wir machen Mobile größer, nicht kleiner.
   ========================================================= */

/* Kleinste Phones */
@media only screen and (max-width: 479px) {
  .responsive #top #wrap_all #main h1.av-special-heading-tag {
    font-size: 30px !important;
  }

  /* Fließtext größer */
  #top #main .entry-content,
  #top #main .entry-content p,
  #top #main .entry-content li {
    font-size: 20px !important;
    line-height: 1.85 !important;
  }
}

/* Tablets/Phones */
@media only screen and (max-width: 767px) {
  #top #main .entry-content,
  #top #main .entry-content p,
  #top #main .entry-content li {
    font-size: 20px !important;
    line-height: 1.85 !important;
  }

  /* Optional: Menüschrift minimal größer */
  .avia-menu-text {
    font-size: 17px !important;
  }
}
