/* ====================================================
   OIT Knowledge Base – Archive Enhancements
   Tag Bubbles + Load More
   ===================================================== */

/* TAG BUBBLES */
.oit-ka-tag-bubbles:where(:not(#oit-home-host *),[slot],[slot] *){
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 6px;
  margin-bottom: 12px;
}

.oit-ka-bubble:where(:not(#oit-home-host *),[slot],[slot] *){
  background: transparent;
  border: 1px solid #444;
  color: #aaa;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  font-family: inherit;
  white-space: nowrap;
  outline: none;
}

.oit-ka-bubble:hover:where(:not(#oit-home-host *),[slot],[slot] *){
  border-color: #e87722;
  color: #e87722;
}

.oit-ka-bubble.active:where(:not(#oit-home-host *),[slot],[slot] *){
  background: #e87722;
  border-color: #e87722;
  color: #000;
  font-weight: 600;
}

/* LOAD MORE */
.oit-ka-load-more-wrap:where(:not(#oit-home-host *),[slot],[slot] *){
  text-align: center;
  padding: 32px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.oit-ka-load-more-btn:where(:not(#oit-home-host *),[slot],[slot] *){
  background: #e87722;
  color: #000;
  border: none;
  border-radius: 4px;
  padding: 12px 36px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.oit-ka-load-more-btn:hover:where(:not(#oit-home-host *),[slot],[slot] *){
  background: #cf6a1c;
}

.oit-ka-load-more-btn:disabled:where(:not(#oit-home-host *),[slot],[slot] *){
  opacity: 0.55;
  cursor: not-allowed;
}

.oit-ka-load-more-count:where(:not(#oit-home-host *),[slot],[slot] *){
  color: #666;
  font-size: 13px;
}

/* ÄHNLICHE ARTIKEL */
.oit-similar-articles:where(:not(#oit-home-host *),[slot],[slot] *){
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #2a2a2a;
}

.oit-similar-articles h3:where(:not(#oit-home-host *),[slot],[slot] *){
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

.oit-similar-grid:where(:not(#oit-home-host *),[slot],[slot] *){
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .oit-similar-grid:where(:not(#oit-home-host *),[slot],[slot] *){
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .oit-similar-grid:where(:not(#oit-home-host *),[slot],[slot] *){
    grid-template-columns: 1fr;
  }
}

.oit-similar-card:where(:not(#oit-home-host *),[slot],[slot] *){
  display: flex;
  flex-direction: column;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 20px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.oit-similar-card:hover:where(:not(#oit-home-host *),[slot],[slot] *){
  border-color: #e87722;
  transform: translateY(-2px);
  text-decoration: none;
}

.oit-similar-cat:where(:not(#oit-home-host *),[slot],[slot] *){
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e87722;
  margin-bottom: 8px;
}

.oit-similar-card h4:where(:not(#oit-home-host *),[slot],[slot] *){
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.4;
}

.oit-similar-card p:where(:not(#oit-home-host *),[slot],[slot] *){
  font-size: 13px;
  color: #888;
  margin: 0 0 auto;
  line-height: 1.5;
  flex: 1;
}

.oit-similar-read:where(:not(#oit-home-host *),[slot],[slot] *){
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #e87722;
}

/* ── Tag-Bubble Größenskalierung ──────────────────────────────────────────────── */
.oit-ka-bubble.oit-bubble-xs:where(:not(#oit-home-host *),[slot],[slot] *){ font-size: 0.70rem; padding: 4px 10px; }
.oit-ka-bubble.oit-bubble-sm:where(:not(#oit-home-host *),[slot],[slot] *){ font-size: 0.80rem; padding: 5px 12px; }
.oit-ka-bubble.oit-bubble-md:where(:not(#oit-home-host *),[slot],[slot] *){ font-size: 0.90rem; padding: 6px 14px; }
.oit-ka-bubble.oit-bubble-lg:where(:not(#oit-home-host *),[slot],[slot] *){ font-size: 1.00rem; padding: 7px 16px; font-weight: 600; }
.oit-ka-bubble.oit-bubble-xl:where(:not(#oit-home-host *),[slot],[slot] *){ font-size: 1.12rem; padding: 8px 20px; font-weight: 700; }


/* ── Ähnliche Artikel: Heading-Größe + Thumbnail ───────────────────────────────── */
.oit-similar-articles .oit-similar-heading:where(:not(#oit-home-host *),[slot],[slot] *){
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 0 0 16px 0;
  padding: 0;
}
.oit-similar-thumb:where(:not(#oit-home-host *),[slot],[slot] *){
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 10px;
}
.oit-similar-thumb img:where(:not(#oit-home-host *),[slot],[slot] *){
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* oit-leistungen-icon-tint */
.oit-lstg-ic svg:where(:not(#oit-home-host *),[slot],[slot] *), .oit-lstg-ic svg *:where(:not(#oit-home-host *),[slot],[slot] *), .oit-tg-svc-chip .oit-lstg-ic svg:where(:not(#oit-home-host *),[slot],[slot] *), .oit-tg-svc-chip .oit-lstg-ic svg *:where(:not(#oit-home-host *),[slot],[slot] *){ fill: currentColor !important; }
.oit-lstg-ic svg [stroke]:not([stroke="none"]):where(:not(#oit-home-host *),[slot],[slot] *), .oit-tg-svc-chip .oit-lstg-ic svg [stroke]:not([stroke="none"]):where(:not(#oit-home-host *),[slot],[slot] *){ stroke: currentColor !important; }

/* oit-hc-fullbleed */
@media (min-width:1200px){
.oit-tg-wrap:where(:not(#oit-home-host *),[slot],[slot] *){width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:max(28px,calc(50vw - 720px))!important;padding-right:max(28px,calc(50vw - 720px))!important;box-sizing:border-box!important;overflow-x:hidden;}
}


/* OIT 2026-08-02: Card-Titel kleiner + auf 2 Zeilen begrenzen */
.oit-similar-articles .oit-similar-card h4:where(:not(#oit-home-host *),[slot],[slot] *){
  font-size:14px !important;
  line-height:1.35 !important;
  font-weight:600 !important;
  margin:0 0 8px !important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
