/* News: Icons statt Font Awesome, Überschriften behalten die Optik der Originale */
.postbox__meta span .hfp-ico { color: var(--tp-theme-1); margin-right: 8px; width: 16px; height: 12px; vertical-align: -1px; }
.postbox__meta span a { color: inherit; }
.hfp-flip { transform: scaleX(-1); }
.basic-pagination ul li a .hfp-ico { font-size: 16px; vertical-align: middle; }

/* Seitenleiste: h2 statt h3, gleiche Optik */
.sidebar__widget-title { font-size: 24px; }

/* Kacheln Rundschreiben/Presse/Publikationen */
.tp-team__info .tp-team-name { font-size: 20px; }
.tp-team__thumb img { width: 100%; height: auto; }

/* Links im Beitragstext wie auf hfp.at */
.postbox__text a { text-decoration: underline; color: #c71748; }

/* Bestellformular Publikationen */
.hfp-order-form { margin-top: 40px; }
.hfp-order-title { font-size: 24px; }
.hfp-order-form .ff-fieldtype-radio fieldset { display: flex; gap: 50px; }

/* Kontaktformular unter Beiträgen */
.postbox__comment-form-title { font-size: 20px; line-height: 22px; }

/* Suche */
.hfp-search-form { display: flex; gap: 15px; flex-wrap: wrap; }
.hfp-search-form input { flex: 1 1 280px; height: 60px; padding: 0 20px; border: 1px solid #e5e5e5; background: #f5f5f3; }
.hfp-wp-pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* Sidebar: lesbarer als das Original */
.sidebar__wrapper .hfp-sb {
  background: #fff;
  border: 1px solid #ececec;
  padding: 28px 28px 22px;
}
.sidebar__wrapper .hfp-sb__title {
  font-size: 20px;
  line-height: 1.3;
  color: #171717;
  margin: 0 0 16px;
  padding-bottom: 14px;
  position: relative;
  border: 0;
}
.sidebar__wrapper .hfp-sb__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--tp-common-black);
}
.hfp-sb__list { list-style: none; margin: 0; padding: 0; }
.hfp-sb__list li { margin: 0; padding: 0; border: 0; }
.hfp-sb__list li + li a { border-top: 1px solid #f0f0f0; }
.hfp-sb__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 4px;
  color: #2b2b2b;
  font-size: 15px;
  line-height: 1.4;
  background: none;
  transition: color 0.2s, padding 0.2s;
}
.hfp-sb__list a:hover { color: var(--tp-common-black); padding-left: 8px; }
.hfp-sb__list a.is-active { color: var(--tp-common-black); font-weight: 700; box-shadow: inset 3px 0 0 var(--tp-common-black); padding-left: 12px; }
.hfp-sb__count {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 2px 9px;
  border-radius: 12px;
  background: #f3f3f1;
  color: #4a4a4a;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}
.hfp-sb__list a:hover .hfp-sb__count,
.hfp-sb__list a.is-active .hfp-sb__count { background: var(--tp-common-black); color: #fff; }
.hfp-sb__chev {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}
.hfp-sb__toggle {
  margin-top: 12px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--tp-common-black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.hfp-sb__toggle:hover { text-decoration: underline; text-underline-offset: 4px; }
.hfp-sb__posts { list-style: none; margin: 0; padding: 0; }
.hfp-sb__posts li { padding: 12px 0; margin: 0; }
.hfp-sb__posts li + li { border-top: 1px solid #f0f0f0; }
.hfp-sb__posts time {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #767676;
  margin-bottom: 4px;
}
.hfp-sb__post-title { font-size: 15px; line-height: 1.45; margin: 0; font-weight: 700; }
.hfp-sb__post-title a { color: #171717; }
.hfp-sb__post-title a:hover { color: var(--tp-common-black); }

/* Template-Regeln für .sidebar__widget ul li … neutralisieren */
.sidebar__widget.hfp-sb .hfp-sb__title { display: block; }
.sidebar__widget.hfp-sb ul li { position: static; margin: 0; }
.sidebar__widget.hfp-sb ul li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; font-size: 15px; font-weight: 400; color: #2b2b2b; padding: 11px 4px; }
.sidebar__widget.hfp-sb ul li + li a { border-top: 1px solid #f0f0f0; }
.sidebar__widget.hfp-sb ul li a:hover { color: var(--tp-common-black); padding-left: 8px; }
.sidebar__widget.hfp-sb ul li a.is-active { color: var(--tp-common-black); font-weight: 700; padding-left: 12px; }
.sidebar__widget.hfp-sb ul li span { position: static; transform: none; right: auto; top: auto; }
.sidebar__widget.hfp-sb ul li span.hfp-sb__chev { display: inline-block; flex: 0 0 7px; transform: rotate(45deg); margin-right: 4px; }
.sidebar__widget.hfp-sb ul li:hover span.hfp-sb__label { color: inherit; }
.sidebar__widget.hfp-sb .hfp-sb__posts li { padding: 12px 0; }
.sidebar__widget.hfp-sb .hfp-sb__posts li + li { border-top: 1px solid #f0f0f0; }
.sidebar__widget.hfp-sb .hfp-sb__posts li a { border: 0; padding: 0; font-size: 15px; font-weight: 700; color: #171717; display: inline; }
.sidebar__widget.hfp-sb .hfp-sb__posts li a:hover { color: var(--tp-common-black); padding: 0; }
.hfp-wp-pagination { margin: 10px 0 40px; }
.hfp-wp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 6px;
  border: 2px solid #f1f1f1; font-size: 15px; font-weight: 500; color: var(--tp-common-black);
}
.hfp-wp-pagination .page-numbers.dots { border-color: transparent; min-width: 20px; }
.hfp-wp-pagination a.page-numbers:hover,
.hfp-wp-pagination .page-numbers.current { background: var(--tp-theme-1); border-color: var(--tp-theme-1); color: var(--tp-common-white); }
.hfp-wp-pagination .page-numbers .hfp-ico { font-size: 16px; }
