/**
 * Startseite (index.php) — Social-Feed & kleine Viewports
 * Wird per MRLEXX_INJECT_CUSTOM_CSS eingebunden; Cache-Bust via ?v=filemtime.
 */

/* Neue-Mitglieder: wie mitglieder.php (global.css body.mrlexx-public-page), aber auf der Startseite */
.mrlexx-new-members-section {
  position: relative;
  overflow: hidden;
}

.mrlexx-new-members-section .gt-section-title-2 h6.subtitle::before,
.mrlexx-new-members-section .gt-section-title-2 h6.tx-subTitle::before {
  background: linear-gradient(90deg, #0a0514 0%, #c084fc 100%) !important;
}
.mrlexx-new-members-section .gt-section-title-2 h6.subtitle::after,
.mrlexx-new-members-section .gt-section-title-2 h6.tx-subTitle::after {
  background: linear-gradient(90deg, #c084fc 0%, #0a0514 100%) !important;
}
.mrlexx-new-members-section .gt-section-title-2 h6.subtitle,
.mrlexx-new-members-section .gt-section-title-2 h6.tx-subTitle {
  color: #a970ff !important;
}
.mrlexx-new-members-section .mrlexx-home-team-col-text a.text-white.fw-bold {
  transition: color 0.18s ease;
}
.mrlexx-new-members-section .mrlexx-home-team-col-text a.text-white.fw-bold:hover,
.mrlexx-new-members-section .mrlexx-home-team-col-text a.text-white.fw-bold:focus-visible {
  color: #a970ff !important;
}

/* Team-Karten: 1:1 wie body.mrlexx-public-page in assets/css/custom/global.css */
.mrlexx-new-members-section .gt-team-wrapper.gt-style-2 .gt-team-card-item {
  background-color: #121212;
  border: 1px solid rgba(145, 70, 255, 0.45);
  box-sizing: border-box;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.mrlexx-new-members-section .gt-team-wrapper.gt-style-2 .gt-team-card-item:hover {
  border-color: #a970ff;
  box-shadow: 0 10px 36px rgba(145, 70, 255, 0.3);
}
.mrlexx-new-members-section .gt-team-wrapper.gt-style-2 .gt-team-card-item .gt-team-image::before {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 22%, rgba(145, 70, 255, 0.92) 100%);
}
.mrlexx-new-members-section .gt-team-wrapper.gt-style-2 .gt-team-card-item:hover .gt-team-image::before {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 12%, rgba(169, 112, 255, 0.96) 100%);
}
/* Social-Buttons: siehe assets/css/custom/global.css (.member-page .member-card .gt-social-icon) */
.mrlexx-new-members-section .gt-team-wrapper.gt-style-2 .gt-team-card-item .gt-team-image .gt-team-content h3 a:hover {
  color: #fff !important;
  background-image: linear-gradient(180deg, #c9a3ff 0%, #c9a3ff 100%) !important;
}

/* Bis 4 Mitglieder: festes 2x2-Raster in der linken Spalte */
.mrlexx-new-members-section.mrlexx-home-team-layout-grid .mrlexx-home-team-grid > [class*="col-"] {
  display: flex;
}
.mrlexx-new-members-section.mrlexx-home-team-layout-grid .mrlexx-home-team-grid > [class*="col-"] > .gt-team-card-item,
.mrlexx-new-members-section.mrlexx-home-team-layout-grid .mrlexx-home-team-grid > [class*="col-"] > .member-card {
  width: 100%;
}
@media (min-width: 992px) {
  .mrlexx-new-members-section.mrlexx-home-team-layout-grid .mrlexx-home-team-col .mrlexx-home-team-grid {
    max-width: 100%;
  }
}

/* Social-Feed-Sektion: animierte Linien am Untertitel (Theme-Default: rot) → lila */
.mrlexx-social-feed-section .gt-section-title-2 h6.subtitle::before,
.mrlexx-social-feed-section .gt-section-title-2 h6.tx-subTitle::before {
  background: linear-gradient(90deg, #0a0514 0%, #c084fc 100%) !important;
}
.mrlexx-social-feed-section .gt-section-title-2 h6.subtitle::after,
.mrlexx-social-feed-section .gt-section-title-2 h6.tx-subTitle::after {
  background: linear-gradient(90deg, #c084fc 0%, #0a0514 100%) !important;
}
@media (max-width: 575.98px) {
  .mrlexx-social-feed-section .gt-section-title-2 h6.subtitle::before,
  .mrlexx-social-feed-section .gt-section-title-2 h6.tx-subTitle::before,
  .mrlexx-social-feed-section .gt-section-title-2 h6.subtitle::after,
  .mrlexx-social-feed-section .gt-section-title-2 h6.tx-subTitle::after {
    display: block !important;
  }
}

/* ——— Social-Feed: Sektionskopf (Untertitel + Titel) ——— */
@media (max-width: 575.98px) {
  .mrlexx-social-feed-section .gt-section-title-area {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    z-index: 1;
  }

  .mrlexx-social-feed-section .gt-section-title-2 h6.subtitle,
  .mrlexx-social-feed-section .gt-section-title-2 h6.tx-subTitle {
    font-size: 0.65rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.25rem !important;
  }

  .mrlexx-social-feed-section .gt-section-title-2 h2.tx-title,
  .mrlexx-social-feed-section .gt-section-title-2 h2.sec_title {
    font-size: 1.125rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
  }
}

/* ——— Social-Feed: sehr schmal (einspaltig) ——— */
@media (max-width: 575.98px) {
  #social-feed-list.row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  #social-feed-list > .mrlexx-social-feed-card {
    min-width: 0;
  }

  #social-feed-list .mrlexx-social-feed__card {
    min-width: 0;
    padding: 14px 16px;
  }

  #social-feed-list .gt-news-content {
    min-width: 0;
    margin-top: 12px;
  }

  #social-feed-list .gt-news-content .gt-list {
    margin-bottom: 8px;
    padding-bottom: 10px;
    font-size: 0.875rem;
  }

  #social-feed-list .mrlexx-social-feed__posted {
    font-size: 0.8125rem;
    margin-bottom: 8px;
  }

  /* Höhere Spezifität als #social-feed-list .gt-news-content h4 in main.css */
  #social-feed-list .gt-news-card-item .gt-news-content h4.mrlexx-social-feed__title {
    font-size: 0.875rem !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #social-feed-list .gt-news-card-item .gt-news-content p.mrlexx-social-feed__excerpt {
    font-size: 0.75rem !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #social-feed-list .mrlexx-social-feed__actions {
    padding-top: 12px;
  }

  #social-feed-list a.mrlexx-social-feed__watch-btn {
    width: 100%;
    min-height: 44px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #social-feed-list a.mrlexx-social-feed__watch-btn:hover {
    transform: none;
  }
}

/* Vorschaubild: Theme setzt .gt-news-image img { height:100% } ohne feste Hoehe — hier 9:16 + cover */
#social-feed-list .gt-news-card-item.mrlexx-social-feed__card > .gt-news-image.mrlexx-social-feed__thumb {
  aspect-ratio: 9 / 16;
  max-height: 320px;
  min-height: 160px;
  width: 100%;
}
#social-feed-list .gt-news-card-item.mrlexx-social-feed__card > .gt-news-image.mrlexx-social-feed__thumb a {
  display: block;
  width: 100%;
  height: 100%;
}
#social-feed-list .gt-news-card-item.mrlexx-social-feed__card > .gt-news-image.mrlexx-social-feed__thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}
#social-feed-list .gt-news-card-item.mrlexx-social-feed__card > .gt-news-image.mrlexx-social-feed__thumb.mrlexx-social-feed__thumb--missing {
  background: linear-gradient(145deg, #1a0f2e 0%, #2d1b4e 50%, #12081f 100%);
}

/* ——— Social-Feed: Tablet (zwei Spalten) ——— */
@media (min-width: 576px) and (max-width: 991.98px) {
  #social-feed-list > .mrlexx-social-feed-card {
    min-width: 0;
  }

  #social-feed-list .mrlexx-social-feed__card {
    min-width: 0;
    padding: 18px;
  }

  #social-feed-list .gt-news-card-item .gt-news-content h4.mrlexx-social-feed__title {
    font-size: 1rem !important;
    line-height: 1.35 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #social-feed-list .gt-news-card-item .gt-news-content p.mrlexx-social-feed__excerpt {
    font-size: 0.875rem !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Brand / Quick-Links (unter Neue Mitglieder) */
.mrlexx-home-brand-section .gt-section-title-2 h6.subtitle::before,
.mrlexx-home-brand-section .gt-section-title-2 h6.tx-subTitle::before {
  background: linear-gradient(90deg, #0a0514 0%, #c084fc 100%) !important;
}
.mrlexx-home-brand-section .gt-section-title-2 h6.subtitle::after,
.mrlexx-home-brand-section .gt-section-title-2 h6.tx-subTitle::after {
  background: linear-gradient(90deg, #c084fc 0%, #0a0514 100%) !important;
}
.mrlexx-home-brand-section .gt-section-title-2 h6.subtitle,
.mrlexx-home-brand-section .gt-section-title-2 h6.tx-subTitle {
  color: #a970ff !important;
}
.mrlexx-home-brand-section__empty {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.mrlexx-home-brand-section .gt-section-title-area.mrlexx-home-brand-section__titles {
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}
.mrlexx-home-brand-section .mrlexx-home-brand-title {
  display: flex !important;
  flex-flow: row wrap;
  align-items: baseline;
  gap: 0.35em 0.5em;
  margin-bottom: 0 !important;
  line-height: 1.15;
}
.mrlexx-home-brand-section .mrlexx-home-brand-title__part {
  display: inline;
  white-space: nowrap;
}
.mrlexx-home-brand-section .mrlexx-home-brand-title__part--hi {
  color: inherit;
}
@media (max-width: 575.98px) {
  .mrlexx-home-brand-section .mrlexx-home-brand-title__part {
    white-space: normal;
  }
}
.mrlexx-home-brand-section .mrlexx-home-brand-card,
.mrlexx-home-brand-section .gt-brand-box {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.mrlexx-home-brand-section .mrlexx-home-brand-card {
  border: 1px solid rgba(145, 70, 255, 0.45);
  background: #121212;
  padding: 1.35rem 1.25rem;
  height: 100%;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  color: #fff;
  transform: none;
}
.mrlexx-home-brand-section .mrlexx-home-brand-card:hover,
.mrlexx-home-brand-section .mrlexx-home-brand-card:focus-visible,
.mrlexx-home-brand-section .gt-brand-box:hover,
.mrlexx-home-brand-section .gt-brand-box:focus-visible {
  border-color: #a970ff;
  box-shadow: 0 10px 36px rgba(145, 70, 255, 0.28);
  transform: none !important;
  color: #fff;
}
.mrlexx-home-brand-section .mrlexx-home-brand-card__label-fallback {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
  max-width: 100%;
  word-break: break-word;
}
.mrlexx-home-brand-section .mrlexx-home-brand-card__logo img,
.mrlexx-home-brand-section .gt-brand-box .gt-brand-image img {
  max-height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.15);
  opacity: 0.82;
  transition: filter 0.22s ease, opacity 0.22s ease;
  transform: none !important;
}
.mrlexx-home-brand-section .mrlexx-home-brand-card:hover .mrlexx-home-brand-card__logo img,
.mrlexx-home-brand-section .mrlexx-home-brand-card:focus-visible .mrlexx-home-brand-card__logo img,
.mrlexx-home-brand-section .gt-brand-box:hover .gt-brand-image img,
.mrlexx-home-brand-section .gt-brand-box:focus-visible .gt-brand-image img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: none !important;
}
.mrlexx-home-brand-section .gt-brand-box {
  padding: 1.25rem 1.5rem;
  min-height: 100px;
}
.mrlexx-home-brand-section .gt-brand-box .gt-brand-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* About: dekorativer Seitentext „streamerbase.de“ — nur innerhalb der Section, nicht in die nächste */
.gt-about-section.fix {
  overflow: hidden;
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.gt-about-section .mrlexx-about-side-text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 75px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.gt-about-section .mrlexx-about-side-text .text {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  display: block;
  font-size: 75px;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  transform: none;
  opacity: 0.35;
  pointer-events: none;
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgb(255, 255, 255);
  animation: strokeColorChange 4s linear infinite;
}
@media (max-width: 1600px) {
  .gt-about-section .mrlexx-about-side-text {
    width: clamp(40px, 7vw, 75px);
  }
  .gt-about-section .mrlexx-about-side-text .text {
    display: block;
    font-size: clamp(40px, 7vw, 75px);
    transform: none;
  }
}
@media (max-width: 991px) {
  .gt-about-section .mrlexx-about-side-text {
    width: clamp(28px, 11vw, 48px);
  }
  .gt-about-section .mrlexx-about-side-text .text {
    display: block;
    font-size: clamp(28px, 11vw, 48px);
    transform: none;
    opacity: 0.28;
  }
}
/* Nächste Section darüber — kein Durchscheinen des About-Textes */
.gt-game-bg-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
}
/* Beide Banner-Textspalten gleich breit — style-2 hatte margin-left: 120px → enger → 3 Zeilen */
.gt-game-bg-section .gt-gaming-bg-wrapper .gt-games-content.style-2 {
  margin-left: 0;
}
.gt-game-bg-section .gt-gaming-bg-wrapper .gt-games-content h6 {
  white-space: nowrap;
}
.gt-game-bg-section .gt-gaming-bg-wrapper .gt-games-content h2 .split-line {
  white-space: nowrap;
}
@media (max-width: 767px) {
  .gt-game-bg-section .gt-gaming-bg-wrapper .gt-games-content h6 {
    white-space: normal;
  }
  .gt-game-bg-section .gt-gaming-bg-wrapper .gt-games-content h2 .split-line {
    white-space: normal;
  }
}
.gt-about-section .left-shape.mrlexx-about-deco {
  z-index: 0;
  pointer-events: none;
}
.gt-about-section .container {
  position: relative;
  z-index: 1;
}
.gt-about-section .mrlexx-about-deco__img {
  display: block;
  max-width: min(420px, 40vw);
  width: 100%;
  height: auto;
  opacity: 0.2;
  transform: rotate(-45deg);
  transform-origin: center center;
  filter: saturate(0.75) brightness(1.05);
  mix-blend-mode: screen;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 1399px) {
  .gt-about-section .mrlexx-about-deco__img {
    max-width: min(320px, 36vw);
    opacity: 0.16;
  }
}

/* About: user-left / user-right — 320px, zur Mitte hin (margin, kein float — sonst bricht row g-4) */
.gt-about-section .mrlexx-about-user-col--left .mrlexx-about-user-photo {
  margin-left: auto;
  margin-right: 0;
}
.gt-about-section .mrlexx-about-user-col--right .mrlexx-about-user-photo {
  margin-left: 0;
  margin-right: auto;
}
.gt-about-section .mrlexx-about-user-photo {
  position: relative;
  width: 320px;
  max-width: 320px;
  height: 556px;
}
.gt-about-section .gt-about-wrapper .mrlexx-about-user-photo.gt-about-image,
.gt-about-section .gt-about-wrapper .mrlexx-about-user-photo.gt-about-image-2 {
  width: 320px;
  max-width: 320px;
}
.gt-about-section .mrlexx-about-user-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.gt-about-section .gt-about-image.gt-about-image-2.mrlexx-about-user-photo::before {
  display: none;
  content: none;
}
@media (max-width: 1199px) {
  .gt-about-section .mrlexx-about-user-photo,
  .gt-about-section .gt-about-wrapper .mrlexx-about-user-photo.gt-about-image,
  .gt-about-section .gt-about-wrapper .mrlexx-about-user-photo.gt-about-image-2 {
    max-width: 100%;
    height: 350px;
  }
}
@media (max-width: 991px) {
  .gt-about-section .mrlexx-about-user-photo {
    height: 320px;
  }
  .gt-about-section .mrlexx-about-user-col--left .mrlexx-about-user-photo,
  .gt-about-section .mrlexx-about-user-col--right .mrlexx-about-user-photo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* About-Feature-Kästen: gleiche Breite/Höhe pro Zeile, Text passt sich an */
.gt-about-wrapper .gt-about-content .gt-about-box-wrapper .gt-about-box-item {
  align-items: stretch;
}

.gt-about-wrapper .gt-about-content .gt-about-box-wrapper .gt-about-box-item .gt-about-box {
  flex: 1 1 0;
  min-width: 0;
  align-items: flex-start;
  align-self: stretch;
}

.gt-about-wrapper .gt-about-content .gt-about-box-wrapper .gt-about-box-item .gt-about-box .icon {
  flex: 0 0 auto;
  align-self: flex-start;
}

.gt-about-wrapper .gt-about-content .gt-about-box-wrapper .gt-about-box-item .gt-about-box .content {
  flex: 1 1 auto;
  min-width: 0;
}

.gt-about-wrapper .gt-about-content .gt-about-box-wrapper .gt-about-box-item .gt-about-box .content h5 {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
}

.gt-about-wrapper .gt-about-content .gt-about-box-wrapper .gt-about-box-item .gt-about-box .content p {
  margin-bottom: 0;
  font-size: clamp(0.78rem, 1.55vw, 0.92rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

@media (min-width: 992px) {
  .gt-about-wrapper .gt-about-content .gt-about-box-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gt-about-wrapper .gt-about-content .gt-about-box-wrapper .gt-about-box-item {
    display: contents;
  }

  .gt-about-wrapper .gt-about-content .gt-about-box-wrapper .gt-about-box-item .gt-about-box {
    height: 100%;
    min-height: 100%;
  }

  .gt-about-wrapper .gt-about-content .gt-about-box-wrapper .gt-about-box-item:nth-child(2) .gt-about-box {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}
