/* =========================================================
   VHD Erfolg² – Articles / Content Views
   Lokal:
   - Beitragsnavigation
   - Content Views Karten (.pt-cv-*)
   Hinweis:
   - basiert auf vhd-global-ui.css
   ========================================================= */

/* =========================================
   Beitragsnavigation
   Vorheriger / Nächster Beitrag
   ========================================= */
.navigation.post-navigation {
  margin: 0;
  padding: 34px 0;
  background: #3E4C66;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.navigation.post-navigation .nav-links {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

.navigation.post-navigation .nav-previous,
.navigation.post-navigation .nav-next {
  flex: 1 1 0;
  display: flex;
}

.navigation.post-navigation .nav-previous {
  justify-content: flex-start;
}

.navigation.post-navigation .nav-next {
  justify-content: flex-end;
}

.navigation.post-navigation .nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 16px 22px;
  border-radius: 14px;
  background: transparent;
  color: #F59E0B;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.navigation.post-navigation .nav-previous a {
  justify-content: flex-start;
  text-align: left;
}

.navigation.post-navigation .nav-next a {
  justify-content: flex-end;
  text-align: right;
}

.navigation.post-navigation .nav-links a:hover {
  background: rgba(15, 23, 42, 0.16);
  color: #FDBA12;
  transform: translateY(-1px);
}

.navigation.post-navigation .nav-links a:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.16);
  background: rgba(15, 23, 42, 0.16);
}

.navigation.post-navigation .ast-left-arrow,
.navigation.post-navigation .ast-right-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: currentColor;
  transition: transform 0.22s ease;
}

.navigation.post-navigation .nav-previous a:hover .ast-left-arrow {
  transform: translateX(-2px);
}

.navigation.post-navigation .nav-next a:hover .ast-right-arrow {
  transform: translateX(2px);
}

.navigation.post-navigation .nav-links a span {
  vertical-align: middle;
}

/* =========================================
   Beiträge & Umsetzungen / Content Views Cards
   ========================================= */
.pt-cv-wrapper .pt-cv-content-item,
.pt-cv-wrapper .pt-cv-1-col,
.pt-cv-wrapper .pt-cv-2-col,
.pt-cv-wrapper .pt-cv-3-col,
.pt-cv-wrapper .pt-cv-4-col {
  margin-bottom: 28px;
}

.pt-cv-ifield {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid #DCE3EA;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.pt-cv-ifield::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.46) 0%,
    rgba(255,255,255,0.08) 22%,
    rgba(255,255,255,0) 55%
  );
  z-index: 1;
}

.pt-cv-ifield:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.18);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
}

.pt-cv-ifield > * {
  position: relative;
  z-index: 2;
}

.pt-cv-href-thumbnail {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid #E6EDF3;
}

.pt-cv-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.pt-cv-ifield:hover .pt-cv-thumbnail {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.pt-cv-taxoterm,
.pt-cv-title,
.pt-cv-content {
  padding-left: 24px;
  padding-right: 24px;
}

.pt-cv-taxoterm.above_title {
  padding-top: 22px;
  margin-bottom: 10px;
}

.pt-cv-taxoterm.above_title a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

/* Kategorie-Farbpills */
.pt-cv-taxoterm.above_title a.pt-cv-tax-cases-entscheidungen {
  background: rgba(245, 158, 11, 0.12);
  color: #92400E !important;
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.pt-cv-taxoterm.above_title a.pt-cv-tax-cases-entscheidungen:hover {
  background: rgba(245, 158, 11, 0.18);
  color: #78350F !important;
}

.pt-cv-taxoterm.above_title a.pt-cv-tax-conversion-sichtbarkeit {
  background: rgba(59, 130, 246, 0.12);
  color: #1D4ED8 !important;
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.pt-cv-taxoterm.above_title a.pt-cv-tax-conversion-sichtbarkeit:hover {
  background: rgba(59, 130, 246, 0.18);
  color: #1E40AF !important;
}

.pt-cv-taxoterm.above_title a.pt-cv-tax-klarheit-angebot {
  background: rgba(15, 118, 110, 0.10);
  color: #0F766E !important;
  border: 1px solid rgba(15, 118, 110, 0.16);
}

.pt-cv-taxoterm.above_title a.pt-cv-tax-klarheit-angebot:hover {
  background: rgba(15, 118, 110, 0.16);
  color: #115E59 !important;
}

.pt-cv-taxoterm.above_title a.pt-cv-tax-system-struktur {
  background: rgba(15, 23, 42, 0.08);
  color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.pt-cv-taxoterm.above_title a.pt-cv-tax-system-struktur:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #020617 !important;
}

.pt-cv-taxoterm.above_title a.pt-cv-tax-umsetzung-shopaufbau {
  background: rgba(139, 92, 246, 0.12);
  color: #6D28D9 !important;
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.pt-cv-taxoterm.above_title a.pt-cv-tax-umsetzung-shopaufbau:hover {
  background: rgba(139, 92, 246, 0.18);
  color: #5B21B6 !important;
}

.pt-cv-taxoterm.above_title a {
  background: rgba(15, 118, 110, 0.08);
  color: #0F766E !important;
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.pt-cv-title {
  margin: 0 0 12px;
  padding-bottom: 0;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 700;
}

.pt-cv-title a {
  color: #0F172A !important;
  text-decoration: none;
  transition: color 0.22s ease;
}

.pt-cv-ifield:hover .pt-cv-title a {
  color: #0F766E !important;
}

.pt-cv-content {
  padding-bottom: 24px;
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
  flex: 1 1 auto;
}

.pt-cv-rmwrap {
  margin-top: 18px;
}

.pt-cv-readmore.btn,
.pt-cv-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 12px;
  background: #0F172A !important;
  border: 1px solid #0F172A !important;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.pt-cv-readmore.btn:hover,
.pt-cv-readmore:hover {
  transform: translateY(-1px);
  background: #13213D !important;
  border-color: #13213D !important;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
  color: #FFFFFF !important;
}

.pt-cv-ifield a {
  word-break: normal;
}

.pt-cv-wrapper [class*="pt-cv-col"] {
  display: flex;
}

.pt-cv-wrapper [class*="pt-cv-col"] .pt-cv-ifield {
  width: 100%;
}

@media (max-width: 767px) {
  .navigation.post-navigation {
    padding: 22px 0;
  }

  .navigation.post-navigation .nav-links {
    width: calc(100% - 32px);
    flex-direction: column;
    gap: 12px;
  }

  .navigation.post-navigation .nav-previous,
  .navigation.post-navigation .nav-next {
    justify-content: stretch;
  }

  .navigation.post-navigation .nav-links a,
  .navigation.post-navigation .nav-next a,
  .navigation.post-navigation .nav-previous a {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    padding: 15px 18px;
    font-size: 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.12);
  }

  .pt-cv-ifield {
    border-radius: 16px;
  }

  .pt-cv-taxoterm,
  .pt-cv-title,
  .pt-cv-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pt-cv-taxoterm.above_title {
    padding-top: 18px;
  }

  .pt-cv-title {
    font-size: 22px;
  }

  .pt-cv-content {
    font-size: 15px;
    line-height: 1.65;
    padding-bottom: 20px;
  }

  .pt-cv-readmore.btn,
  .pt-cv-readmore {
    width: 100%;
    text-align: center;
  }
}
