/* ============================================================
   ratgeber.css — Layout fuer Ratgeber-/Artikelseiten
   Quelle: theme/blog-details.html + theme/assets/css/main.css
   Enthaelt NUR die Regeln, die im Live-main.css fehlen.
   Wird routebasiert nur unter /ratgeber/ geladen (_header.php).
   ============================================================ */

.tj-page-link {
  margin-top: 25px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  border-radius: 50px;
  background: rgba(247, 247, 247, 0.1);
  padding: 8px 15px;
  z-index: 2;
}

.tj-page-link span {
  color: var(--tj-color-common-white);
  font-size: 16px;
  position: relative;
  display: inline-block;
  line-height: 1;
}

.tj-page-link span a:hover span {
  color: var(--tj-color-theme-primary);
}

.tj-post-wrapper {
  -webkit-padding-end: 25px;
          padding-inline-end: 25px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px){
.tj-post-wrapper {
    -webkit-padding-end: 0;
            padding-inline-end: 0;
  }
}

.tj-post-thumb {
  position: relative;
  overflow: hidden;
}

.tj-post-thumb a.play-btn {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 85px;
  height: 85px;
  font-size: 20px;
  color: var(--tj-color-theme-dark);
  background-color: var(--tj-color-common-white);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 50%;
  -webkit-animation: pulse 2s ease infinite;
          animation: pulse 2s ease infinite;
}

.tj-post-title {
  margin-bottom: 10px;
}

.tj-post-title:hover a {
  color: var(--tj-color-theme-primary);
}

/* !END: Blog CSS */
/* START: Blog Details CSS */
.tj-post-single-post {
  margin-bottom: 50px;
  overflow: hidden;
}

.tj-post-single-post .tj-post-thumb {
  margin-bottom: 25px;
}

.tj-post-single-post .tj-entry-content img {
  margin: 30px 0;
}

.tj-post-single-post .tj-post-title {
  margin-bottom: 25px;
}

.tj-post-single-post .tj-post-meta {
  margin-bottom: 30px;
}

.tj-check-list {
  margin-top: 35px;
}
@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px){
.tj-check-list {
    margin-top: 25px;
  }
}

.tj-check-list h4 {
  margin-bottom: 20px;
}

.tj-check-list ul {
  list-style: none;
  -webkit-padding-start: 30px;
          padding-inline-start: 30px;
}
@media (max-width: 575px){
.tj-check-list ul {
    -webkit-padding-start: 0;
            padding-inline-start: 0;
  }
}

.tj-check-list ul li {
  font-family: var(--tj-ff-heading);
  font-weight: 600;
  color: var(--tj-color-text-body);
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.tj-check-list ul li i {
  font-size: 24px;
  color: var(--tj-color-theme-primary);
  -webkit-margin-end: 8px;
          margin-inline-end: 8px;
}

.blog-category-two {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid var(--tj-color-border-2);
  margin-bottom: 25px;
  margin-top: 25px;
  padding: 22px;
}
@media only screen and (min-width: 576px) and (max-width: 767px){
.blog-category-two {
    padding: 20px;
  }
}

.blog-category-two .category-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
  -webkit-border-end: 1px solid var(--tj-color-border-2);
          border-inline-end: 1px solid var(--tj-color-border-2);
  padding: 0 50px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px){
.blog-category-two .category-item {
    padding: 0 28px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px){
.blog-category-two .category-item {
    padding: 0 24px;
  }
}
@media only screen and (min-width: 576px) and (max-width: 767px){
.blog-category-two .category-item {
    padding: 0 20px;
  }
}

.blog-category-two .category-item:first-child {
  -webkit-padding-start: 0;
          padding-inline-start: 0;
}

.blog-category-two .category-item:last-child {
  -webkit-border-end: none;
          border-inline-end: none;
  -webkit-padding-end: 0;
          padding-inline-end: 0;
}

.blog-category-two .category-item .cate-images {
  width: 52px;
  height: 52px;
}

.blog-category-two .category-item .cate-images img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}

.blog-category-two .category-item .cate-text .degination {
  display: block;
  font-size: 14px;
  line-height: 1;
  color: var(--tj-color-text-body);
  margin-bottom: 10px;
}

.blog-category-two .category-item .cate-text .title:hover a {
  color: var(--tj-color-theme-primary);
}

.blog-category-two .category-item .cate-text h6 {
  margin-bottom: 10px;
}

.blog-category-two .category-item .cate-icons {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 24px;
  width: 52px;
  height: 52px;
  line-height: 1;
  color: var(--tj-color-theme-primary);
  background-color: var(--tj-color-theme-bg-2);
  border-radius: 50%;
}

.blog-category-two .category-item .text {
  margin-bottom: 10px;
}
@media (max-width: 575px){
.blog-category-two {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    row-gap: 15px;
  }

.blog-category-two .category-item {
    padding: 0;
    padding-bottom: 15px;
    -webkit-border-end: 0;
            border-inline-end: 0;
    border-bottom: 1px solid var(--tj-color-border-2);
    width: 100%;
  }

.blog-category-two .category-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

.blog-category-two .category-item .cate-text .degination {
    margin-bottom: 6px;
  }
}

.tj-post-details_tags_share {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 25px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-top: 1px solid var(--tj-color-border-2);
  border-bottom: 1px solid var(--tj-color-border-2);
  padding-top: 25px;
  padding-bottom: 25px;
  margin-bottom: 30px;
}

.tj-post-details_tags_share .tag__title {
  display: inline-block;
  color: var(--tj-color-heading-primary);
  font-weight: var(--tj-fw-bold);
  font-size: 16px;
  line-height: 1;
  text-transform: capitalize;
}

.tj-post-details_tags_share .tagcloud {
  width: calc(100% - 238px);
}

.tj-post-details_tags_share .tagcloud a {
  font-size: 16px !important;
}

.tj-post-details_tags_share.no-social-share .tagcloud {
  width: 100%;
}
@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px){
.tj-post-details_tags_share .tagcloud {
    width: 100%;
  }
}

.tj-sidebar-widget {
  padding: 35px 30px;
  border: 1px solid var(--tj-color-border-2);
}

.tj-sidebar-widget:not(:last-child) {
  margin-bottom: 30px;
}

.tj-sidebar-widget-title {
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 14px;
}

.tj-sidebar-widget-title::before, .tj-sidebar-widget-title::after {
  position: absolute;
  content: "";
  bottom: 0;
  height: 3px;
  background: var(--tj-color-theme-primary);
}

.tj-sidebar-widget-title::before {
  inset-inline-start: 0;
  width: 40px;
}

.tj-sidebar-widget-title::after {
  inset-inline-start: 45px;
  width: 10px;
}

.tj-sidebar-widget .sidebar-search form {
  position: relative;
}

.tj-sidebar-widget .sidebar-search form input[type=search] {
  border-radius: 0;
  width: 100%;
  height: 60px;
  padding: 16px 20px 16px 50px;
  border: 0;
  line-height: 1;
  color: var(--tj-color-body-text);
  background-color: var(--tj-color-theme-bg);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.tj-sidebar-widget .sidebar-search form input[type=search]::-webkit-input-placeholder {
  color: var(--tj-color-common-black-2);
}

.tj-sidebar-widget .sidebar-search form input[type=search]::-moz-placeholder {
  color: var(--tj-color-common-black-2);
}

.tj-sidebar-widget .sidebar-search form input[type=search]:-ms-input-placeholder {
  color: var(--tj-color-common-black-2);
}

.tj-sidebar-widget .sidebar-search form input[type=search]::-ms-input-placeholder {
  color: var(--tj-color-common-black-2);
}

.tj-sidebar-widget .sidebar-search form input[type=search]::placeholder {
  color: var(--tj-color-common-black-2);
}

.tj-sidebar-widget .sidebar-search form button {
  position: absolute;
  top: 50%;
  inset-inline-start: 20px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: var(--tj-color-common-black-2);
}

.tj-sidebar-widget .sidebar-search form button:hover {
  color: var(--tj-color-theme-primary);
}

.tagcloud {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.tagcloud a {
  position: relative;
  padding: 8px 10px;
  font-size: 16px;
  border: 1px solid var(--tj-color-border-2);
  background: transparent;
  line-height: 1;
  border-radius: 30px;
  z-index: 1;
}

.tagcloud a:hover {
  background-color: var(--tj-color-theme-primary);
  border-color: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
}

.tj-sidebar-cta {
  height: 450px;
  padding: 40px 26px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.tj-sidebar-cta::before {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(153.92deg, #051229 43.48%, #0075ff 124.42%);
  z-index: -1;
  opacity: 0.85;
}

.tj-sidebar-cta .icon {
  margin-bottom: 30px;
}

.tj-sidebar-cta h3 {
  color: var(--tj-color-common-white);
  margin-bottom: 15px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px){
.tj-sidebar-cta h3 {
    font-size: 22px;
  }
}

.tj-sidebar-cta p {
  color: var(--tj-color-common-white-2);
}

.tj-sidebar-cta .cta-btn {
  position: relative;
  display: inline-block;
  max-width: 295px;
}

.tj-sidebar-cta .cta-btn .shapes {
  position: absolute;
  bottom: 20px;
  inset-inline-end: 30px;
}


/* ------------------------------------------------------------
   Formilo-Ergaenzungen (nicht aus dem Theme, bewusst minimal)
   ------------------------------------------------------------ */

/* Kopfbereich des Artikels */
.tj-ratgeber-header { padding-top: 200px; padding-bottom: 85px; }
@media only screen and (min-width: 768px) and (max-width: 991px){
  .tj-ratgeber-header { padding-top: 150px; padding-bottom: 60px; }
}
@media only screen and (max-width: 767px){
  .tj-ratgeber-header { padding-top: 120px; padding-bottom: 55px; }
}

.tj-ratgeber-header .tj-page-title { max-width: 900px; margin-inline: auto; }

.tj-ratgeber-lead { max-width: 820px; margin: 22px auto 0; color: rgba(255,255,255,.82); }


/* Meta-Zeile ohne Autorenbild */
.blog-category-two .category-item .cate-text .text { margin-bottom: 0; }


/* Lesbarer Textkoerper */
.tj-entry-content { max-width: 760px; }

.tj-entry-content > p { margin-bottom: 20px; }

.tj-entry-content h2 { margin-top: 48px; margin-bottom: 16px; scroll-margin-top: 120px; }

.tj-entry-content h3 { margin-top: 32px; margin-bottom: 12px; }

.tj-entry-content > ul { margin: 0 0 24px; padding-inline-start: 0; list-style: none; }

.tj-entry-content > ul > li { position: relative; padding-inline-start: 26px; margin-bottom: 10px; }

.tj-entry-content > ul > li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--tj-color-theme-primary, #0d4c6e);
}

.tj-entry-content .tj-post-thumb,
.tj-entry-content .tj-ratgeber-figures { margin: 32px 0 36px; }

.tj-entry-content .tj-post-thumb img { border-radius: 10px; width: 100%; height: auto; }

.tj-ratgeber-figures { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }

.tj-ratgeber-figures.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media only screen and (max-width: 767px){
  .tj-ratgeber-figures, .tj-ratgeber-figures.cols-3 { grid-template-columns: 1fr; }

  .tj-entry-content { max-width: 100%; }
}


/* Kurzfassung als abgesetzter Kasten */
.tj-ratgeber-summary {
  background: var(--tj-color-grey-1, #f4f7fa);
  border-inline-start: 4px solid var(--tj-color-theme-primary, #0d4c6e);
  border-radius: 8px; padding: 26px 28px; margin: 0 0 36px;
}

.tj-ratgeber-summary h2 { margin-top: 0; }

.tj-ratgeber-summary > ul { margin-bottom: 0; }


/* Sidebar */
.tj-blog-sidebar { position: sticky; top: 110px; }
@media only screen and (max-width: 991px){ .tj-blog-sidebar { position: static; }
}

.tj-sidebar-widget.widget_toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }

.tj-sidebar-widget.widget_toc li { counter-increment: toc; position: relative; padding-inline-start: 30px; margin-bottom: 9px; line-height: 1.4; }

.tj-sidebar-widget.widget_toc a { color: inherit; }

.tj-sidebar-widget.widget_toc a:hover { color: var(--tj-color-theme-primary, #0d4c6e); }

.tj-sidebar-cta .content h3 { color: #fff; }

.tj-sidebar-cta .content p { color: rgba(255,255,255,.85); }

.tj-sidebar-widget.widget_toc li::before { content: counter(toc) "."; position: absolute; inset-inline-start: 0; top: 0; font-weight: 600; color: var(--tj-color-theme-primary, #0d4c6e); }

/* FAQ im Artikel: Fragen ohne blauen Hintergrund (Theme-Variante style-2),
   enger gesetzt als die 20px Standardabstand des Themes */
.tj-post-wrapper .tj-faq-style.style-2 .accordion-item {
  background: var(--tj-color-common-white, #f7f7f7);
  margin-bottom: 10px;
}
.tj-post-wrapper .tj-faq-style.style-2 .accordion-item .accordion-header .accordion-button:not(.collapsed) {
  border-color: var(--tj-color-border-2, #ced7e0);
}

/* Akkordeon-Fragen sind h3 im Artikeltext - die Fliesstext-Abstaende dort nicht anwenden */
.tj-entry-content .accordion-header {
  margin: 0;
}
