/*
Theme Name: ESK Blog
Description: Blog Theme der Europaschule Köln Community
Author: Studio Orange
Author URI: https://www.studioorange.de
Template: uncode
Version: 1.0.0
Text Domain: eskblog
*/

/* ========================================
   CSS Custom Properties (Design System)
   ======================================== */
:root {
    /* Brand Colors - Europaschule */
    --brand-primary: #145e7e;
    --brand-secondary: #f49c00;
    --brand-dark: #0b0b0b;
    --brand-light: #f7f7f7;
    --brand-white: #ffffff;

    /* Typography */
    --font-family-primary: "Lato", sans-serif;
    --font-family-thin: "Lato Thin", sans-serif;
    --font-family-bold: "Lato Bold", sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --font-size-h1: 32px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.45, 0.4, 1);
}

/* ========================================
   Fonts
   ======================================== */

/* lato-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Lato Thin";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/lato-v24-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/lato-v24-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Lato Bold";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/lato-v24-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Hide Service on Desktop */

@media (min-width: 960px) {
  #menu-item-132761 {
    display: none;
  }
}

.site-footer a {
  border-bottom: none !important;
}

/* Tabs */

.uncode-accordion:not(.default-typography) .panel-title > a > span {
  font-size: 20px;
}

/* Deactivate Border Shadow Frame */
.body-borders .body-border-shadow {
  box-shadow: none;
}

/* Logo */

#menu-primary-menu,
.menu-smart {
  margin-top: 0px;
}

.top-menu a {
  color: #fff !important;
}

/* Links */

.btn-link {
  position: relative;
}

.btn-link:before {
  content: "";
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.25, 0.45, 0.4, 1);
  position: absolute;
  width: 100%;
  height: 0.075em;
  background: currentColor;
  top: 120%;
  left: 0;
  pointer-events: none;
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}
.btn-link:hover:before {
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
}

.btn-link:hover,
.btn-link:active {
  color: #0b0b0b !important;
}

/* News */

.tmb .t-entry p.t-entry-meta span,
.tmb .t-entry p.t-entry-comments,
.tmb .t-entry p.t-entry-author span.tmb-username-wrap {
  font-size: 14px;
}

.t-entry .fa-plus2 {
  display: none;
}

/* Buttons */

a.custom-link:hover,
a.custom-link:active {
  color: #0b0b0b !important;
}

/* Footer */

.site-footer a:hover,
.site-footer a:active,
.site-footer a.custom-link:hover,
.site-footer a.custom-link:active {
  color: #fff !important;
}

/* Blog */

.t-entry-author {
  display: none;
}

.t-entry hr {
  display: none;
}

/* Links */
.uncode_text_column a {
  color: #145e7e !important;
  margin: 0;
  display: inline-block;
}
.uncode_text_column a:after {
  display: block;
  content: "";
  border-bottom: solid 2px #145e7e;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
  transform-origin: 0% 50%;
}

.uncode_text_column a:hover:after {
  transform: scaleX(1);
}

.mat-footer a {
  color: #fff !important;
  margin: 0;
  display: inline-block;
}
.mat-footer a:after {
  display: block;
  content: "";
  border-bottom: solid 1px #fff;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
  transform-origin: 0% 50%;
}

.mat-footer a:hover:after {
  transform: scaleX(1);
}

.tmb-dark.tmb .t-entry-text .t-entry-title a:hover,
.tmb-dark.tmb .t-entry-text .t-entry-title a:active {
  color: #f49c00;
}

.green .tmb-light.tmb .t-entry-text p a {
  color: #145e7e;
}

/* Liste */

.uncode_text_column li {
  margin-left: 18px;
}

ul.icons {
  list-style-position: outside !important;
}

@media (min-width: 960px) {
  .submenu-dark .menu-sub-enhanced .menu-smart ul a {
    color: rgba(255, 255, 255, 1);
  }
}

/* Submenu */

.submenu-dark .menu-horizontal.menu-sub-enhanced .menu-smart ul a:hover,
.submenu-dark .menu-horizontal.menu-sub-enhanced .menu-smart ul a:focus,
.submenu-dark .menu-horizontal.menu-sub-enhanced .menu-smart ul li.active > a {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Sitemenu */

#menu-sitemenu li {
  display: inline;
  padding-right: 9px;
}

/* Formulare */

.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 14px;
  font-weight: 600;
}

.webkit input[type="checkbox"],
.webkit input[type="radio"],
.android input[type="checkbox"],
.android input[type="radio"] {
  background-color: #f7f7f7 !important;
  width: 20px;
  height: 20px;
}

/* Veranstaltungen */

@media (min-width: 768px) {
  .tribe-events-meta-group {
    padding: 10px;
    width: auto;
  }
}

dl {
  margin: 18px 18px 0px 18px;
}

.hp-events .tmb-light.tmb .t-entry-text p {
  color: #0b0b0b;
  font-size: 18px;
}

/* Taeser */

.icon-absolut-right .icon-box-icon {
  bottom: 10px;
  right: 0px;
}

@media (max-width: 1100px) {
  .fontsize-117537 {
    font-size: 46px;
  }
}

@media (max-width: 959px) {
  .menu-container .logo-container {
    position: relative;
    padding: 27px 18px 27px 18px !important;
  }

  body.menu-mobile-centered
    .main-menu-container
    .menu-horizontal
    .menu-horizontal-inner
    ul.menu-smart:not(.menu-primary-inner)
    li.menu-item-link
    > a {
    font-size: 6.5vw !important;
  }
}

@media (max-width: 768px) {
  .body-borders[data-border="27"] .top-border {
    height: 18px !important;
  }

  .mobile-additional-icons,
  .mobile-menu-button {
    margin-top: 30px;
  }

  .menu-close-search {
    margin-top: 0px !important;
  }

  .mobile-additional-icon i,
  #masthead .overlay .mobile-menu-button.menu-close-search::after {
    font-size: 22px;
  }

  .column-background .background-wrapper .background-inner {
    background-image: none;
  }

  .text-lead > * {
    font-size: 18px;
  }
}

@media (max-width: 959px) {
  .top-menu.top-menu-enhanced
    .row-menu-inner
    .menu-smart
    > li.social-icon
    > a
    i {
    font-size: 20px;
    padding: 3px;
  }
}

/* ========================================
   CTA Button in Header (alle Auflösungen)
   ======================================== */
.mobile-cta-menu {
  display: flex;
  align-items: center;
  position: absolute;
  right: 95px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.mobile-cta-menu .mobile-cta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-cta-menu .mobile-cta-list li {
  margin: 0;
}

.mobile-cta-menu .mobile-cta-list a {
  display: inline-block;
  background-color: var(--brand-secondary, #f49c00);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.mobile-cta-menu .mobile-cta-list a:hover,
.mobile-cta-menu .mobile-cta-list a:active {
  background-color: var(--brand-primary, #145e7e);
  color: #fff !important;
}

/* Tablet: gleiche Einstellungen wie Desktop */
@media (max-width: 959px) {
  .mobile-cta-menu {
    right: 95px;
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-cta-menu .mobile-cta-list a {
    padding: 10px 20px;
    font-size: 16px;
  }
}

/* Kleines Tablet & Mobile: kompakter */
@media (max-width: 768px) {
  .mobile-cta-menu {
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-cta-menu .mobile-cta-list a {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Mobile: gleiche Werte wie kleines Tablet */
@media (max-width: 500px) {
  .mobile-cta-menu {
    right: 75px;
  }

  .mobile-cta-menu .mobile-cta-list a {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Sehr kleine Screens: CTA ausblenden */
@media (max-width: 400px) {
  .mobile-cta-menu {
    display: none;
  }
}

/* Burger-Menü vertikal zentrieren für alle Mobile-Viewports */
@media (max-width: 959px) {
  /* Container vertikal zentrieren - höchste Spezifität */
  .row-menu-inner .mmb-container,
  .row-brand .mmb-container,
  .menu-horizontal-inner .mmb-container,
  #masthead .mmb-container,
  body .mmb-container {
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
  }

  /* Button-Element zentrieren */
  .row-menu-inner .mmb-container .mobile-menu-button,
  body .mmb-container .mobile-menu-button,
  .mobile-menu-button.lines-button.trigger-overlay {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
  }

  /* Scale auf die Linien anwenden */
  .mmb-container .mobile-menu-button .lines,
  .mobile-menu-button.lines-button .lines {
    transform: scale(1.25) !important;
    transform-origin: center center !important;
  }
}

/* Vertikale Korrektur des Burger-Icons bei kleinen Viewports */
@media (max-width: 768px) {
  .mmb-container .mobile-menu-button .lines,
  .mobile-menu-button.lines-button .lines {
    position: relative !important;
    top: -15px !important;
  }
}

/* Mobile Header weiß halten */
#logo-container-mobile,
.logo-container-mobile,
.menu-container {
  background-color: #ffffff !important;
}

/* Off-Canvas Menü petrol */
body.menu-open-overlay .main-menu-container,
.main-menu-container {
  background-color: var(--brand-primary, #145e7e) !important;
}

/* Burger-Menü Icon schwarz + 25% größer */
.menu-mobile-button span,
.menu-mobile-button span::before,
.menu-mobile-button span::after,
.mobile-menu-button span,
.mobile-menu-button span::before,
.mobile-menu-button span::after,
.mmb-container .mobile-menu-button span {
  background-color: #0b0b0b !important;
}

/* Burger-Menü Button größer - nur für Desktop (>959px) */
@media (min-width: 960px) {
  .mobile-menu-button,
  .menu-mobile-button,
  .mmb-container .mobile-menu-button {
    transform: scale(1.25);
    transform-origin: center;
  }
}

/* Close-Button im Off-Canvas größer */
.menu-close-button,
.close-menu-button,
.overlay-close,
body.menu-open-overlay .menu-close-button {
  transform: scale(1.25);
  transform-origin: center;
}

/* Off-Canvas Menü: weiße Schrift auf blauem Hintergrund */
body.menu-open-overlay .menu-container .menu-horizontal .menu-smart li a,
body.menu-open-overlay .menu-container .menu-horizontal .menu-smart li button,
body.menu-open-overlay .menu-container .menu-horizontal .menu-smart > li > a,
body.menu-open-overlay .menu-container .menu-horizontal .menu-smart > li > a span,
body.menu-open-overlay .main-menu-container .menu-horizontal-inner .menu-smart li a,
body.menu-open-overlay .main-menu-container .menu-horizontal-inner .menu-smart li button,
body.menu-open-overlay .menu-smart li.menu-item a,
body.menu-open-overlay .menu-smart li.menu-item button,
body.menu-open-overlay #masthead .menu-smart li a,
body.menu-open-overlay #masthead .menu-smart li button {
  color: #ffffff !important;
}

body.menu-open-overlay .menu-smart li.menu-item a:hover,
body.menu-open-overlay .menu-smart li.menu-item button:hover,
body.menu-open-overlay #masthead .menu-smart li a:hover,
body.menu-open-overlay #masthead .menu-smart li button:hover {
  color: #f49c00 !important;
}

/* Geschichten posten Link im Overlay */
body.menu-open-overlay .menu-smart .menu-item-link a,
body.menu-open-overlay .menu-smart .menu-item-link a span {
  color: #ffffff !important;
}

/* ========================================
   User Submitted Posts Form Styling
   ======================================== */
#usp_form {
  max-width: 700px;
  margin: 0 auto;
}

/* Fieldsets */
#usp_form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px 0;
}

#usp_form fieldset.usp-content {
  margin-bottom: 24px;
}

/* Labels */
#usp_form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--brand-dark, #0b0b0b);
}

/* Text Inputs */
#usp_form .usp-input,
#usp_form input[type="text"],
#usp_form input[type="email"] {
  width: 100% !important;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 16px;
  font-family: inherit;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

#usp_form .usp-input:focus,
#usp_form input[type="text"]:focus,
#usp_form input[type="email"]:focus {
  outline: none;
  border-color: var(--brand-primary, #145e7e);
  box-shadow: 0 0 0 3px rgba(20, 94, 126, 0.15);
}

/* Select / Dropdown */
#usp_form .usp-select,
#usp_form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 16px;
  font-family: inherit;
  background-color: #fff;
  cursor: pointer;
  height: auto;
  min-height: unset;
}

#usp_form .usp-select:focus,
#usp_form select:focus {
  outline: none;
  border-color: var(--brand-primary, #145e7e);
  box-shadow: 0 0 0 3px rgba(20, 94, 126, 0.15);
}

/* Textarea / Content Editor */
#usp_form textarea,
#usp_form .wp-editor-area {
  width: 100%;
  min-height: 200px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}

#usp_form textarea:focus,
#usp_form .wp-editor-area:focus {
  outline: none;
  border-color: var(--brand-primary, #145e7e);
  box-shadow: 0 0 0 3px rgba(20, 94, 126, 0.15);
}

/* WP Editor Container */
#usp_form .wp-editor-wrap {
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: hidden;
}

#usp_form .wp-editor-container {
  border: none;
}

#usp_form .quicktags-toolbar {
  background: var(--brand-light, #f7f7f7);
  border-bottom: 1px solid #ddd;
  padding: 8px;
}

/* File Upload */
#usp_form fieldset.usp-images {
  background-color: var(--brand-light, #f7f7f7);
  border: 2px dashed #ddd;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.3s ease;
}

#usp_form fieldset.usp-images:hover {
  border-color: var(--brand-primary, #145e7e);
}

/* Bild-Upload Label und Text zentrieren */
#usp_form fieldset.usp-images label,
#usp_form fieldset.usp-images .usp-label {
  display: block;
  text-align: center;
  width: 100%;
}

#usp_form #usp-upload-message {
  margin-bottom: 12px;
  color: #666;
  text-align: center;
}

#usp_form input[type="file"] {
  margin-bottom: 10px;
}

/* Upload-Feld Container auf volle Breite */
#usp_form #user-submitted-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#usp_form #user-submitted-image input[type="file"] {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

#usp_form #usp_add-another {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-primary, #145e7e);
  text-decoration: none;
  font-weight: 500;
}

#usp_form #usp_add-another:hover {
  text-decoration: underline;
}

/* Submit Button */
#usp_form .usp-submit,
#usp_form input[type="submit"] {
  background-color: var(--brand-secondary, #f49c00);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

#usp_form .usp-submit:hover,
#usp_form input[type="submit"]:hover {
  background-color: var(--brand-primary, #145e7e);
  transform: translateY(-1px);
}

/* Submit Container */
#usp_form #usp-submit {
  margin-top: 24px;
  text-align: left;
}

/* Error Messages */
#usp_form .usp-callout-failure,
#usp_form #usp-error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

/* Success Messages */
.usp-success,
.usp-callout-success {
  background-color: #d4edda;
  color: #155724;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

/* Hidden Elements */
#usp_form .usp-hidden,
#usp_form #user-submitted-verify {
  display: none !important;
}

/* Placeholder Styling */
#usp_form input::placeholder,
#usp_form textarea::placeholder {
  color: #999;
  opacity: 1;
}

/* Required Field Indicator */
#usp_form input[type="text"][required],
#usp_form input[type="email"][required],
#usp_form select[required],
#usp_form textarea[required],
#usp_form #user-submitted-captcha,
#usp_form .user-submitted-captcha {
  border-left: 3px solid var(--brand-secondary, #f49c00);
}

/* Exclude checkbox from required border styling */
#usp_form input[type="checkbox"][required] {
  border-left: none;
}

/* Responsive */
@media (max-width: 600px) {
  #usp_form {
    padding: 0 15px;
  }

  #usp_form .usp-submit,
  #usp_form input[type="submit"] {
    width: 100%;
  }
}

/* Two-Step Form */
.usp-form-step {
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.usp-step-hidden {
  display: none !important;
}

.usp-step-active {
  display: block;
}

#usp-step-1 {
  background: var(--brand-light, #f7f7f7);
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
}

#usp-step-1::before {
  content: "Schritt 1: Verifizierung";
  display: block;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--brand-primary, #145e7e);
}

#usp-step-2::before {
  content: "Schritt 2: Beitrag erstellen";
  display: block;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--brand-primary, #145e7e);
}

#usp-continue-btn {
  width: 100%;
  margin-top: 16px;
}

#usp-back-btn {
  background: transparent;
  color: var(--brand-primary, #145e7e);
  border: 1px solid var(--brand-primary, #145e7e);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#usp-back-btn:hover {
  background-color: var(--brand-primary, #145e7e);
  color: #fff;
}

/* Error state for fields */
#usp_form .usp-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

/* Captcha error message */
.usp-captcha-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 4px;
  margin: 16px 0;
  border: 1px solid #f5c6cb;
  font-weight: 500;
}

.usp-captcha-error.usp-hidden {
  display: none;
}

/* Disabled button state */
#usp-continue-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Custom Checkbox (Image Rights) */
#usp_form fieldset.usp-checkbox {
  background: #fff8e6;
  border: 1px solid var(--brand-secondary, #f49c00);
  border-radius: 0;
  padding: 20px 24px;
  margin-top: 16px;
}

div#user-submitted-posts fieldset.usp-checkbox {
  padding: 20px 0 20px 20px;
}

#usp_form .usp-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}

#usp_form .usp-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 0;
  cursor: pointer;
  accent-color: var(--brand-primary, #145e7e);
  appearance: auto;
  -webkit-appearance: checkbox;
  background-color: #fff !important;
  border: 2px solid #666 !important;
  border-radius: 3px;
}

/* ========================================
   Sidebar Search Button - Petrol Background
   ======================================== */
.wp-block-search__button,
.search-form button[type="submit"],
.widget_search button[type="submit"] {
  background-color: var(--brand-primary, #145e7e);
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}

.wp-block-search__button:hover,
.search-form button[type="submit"]:hover,
.widget_search button[type="submit"]:hover {
  background-color: var(--brand-secondary, #f49c00);
  color: #fff;
}

/* ========================================
   Sidebar Headings - Spacing
   ======================================== */
.widget .wp-block-heading,
.widget h2,
aside h2 {
  margin-bottom: 18px;
}

/* ========================================
   Sidebar Links - Hover Effect (Orange)
   ======================================== */
.widget a,
aside a,
.sidebar a,
.wp-block-latest-posts a,
.wp-block-archives a,
.wp-block-categories a {
  transition: color 0.2s ease;
}

.widget a:hover,
aside a:hover,
.sidebar a:hover,
.wp-block-latest-posts a:hover,
.wp-block-archives a:hover,
.wp-block-categories a:hover {
  color: var(--brand-primary, #145e7e) !important;
}

/* ========================================
   Category Page - Entry Text White Background
   Only on category archive pages
   ======================================== */
.category .t-entry-text,
.archive.category .t-entry-text {
  background-color: #fff;
  padding: 15px 20px;
}

/* Category Page - Hide default title wrapper (using Uncode title instead) */
.category .post-title-wrapper,
.archive.category .post-title-wrapper {
  display: none;
}

/* ========================================
   Related Posts - Translate and Resize Heading
   ======================================== */
/* Hide original text and show German translation */
.heading-text h5.h5 span {
  visibility: hidden;
  position: relative;
}

.heading-text h5.h5 span::after {
  content: "Mehr Geschichten";
  visibility: visible;
  position: absolute;
  left: 0;
}

/* Make heading larger (h2 size instead of h5) */
.heading-text h5.h5 {
  font-size: 1.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Related Posts - Equal Height Cards */
.post-after .t-inside {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.post-after .t-entry-text {
  flex-grow: 1;
  min-height: 120px;
}
