/* ============================================
   GESUCHE ROTATOR - Featured Box
============================================ */

.gesuche-rotator-card {
    width: 280px;
    background: #14151C;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gesuche-rotator-card:hover {
    border-color: rgba(143,34,29,0.3);
}

/* Ecke oben-links horizontal */
.gesuche-rotator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 4px;
    background: #8F221D;
    z-index: 2;
}

/* Ecke oben-links vertikal */
.gesuche-rotator-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 24px;
    background: #8F221D;
    z-index: 2;
}

.gesuche-rotator-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    padding: 16px;
    flex: 1;
}

.gesuche-rotator-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12px;
    color: #8F221D;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.gesuche-rotator-avatarwrap {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    border: 1px solid rgba(143,34,29,0.3);
    background: rgba(143,34,29,0.1);
    overflow: hidden;
}

.gesuche-rotator-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gesuche-rotator-wantedname {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0px;
    background: linear-gradient(180deg, #d4524d 0%, #8F221D 40%, #3d0f0d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gesuche-rotator-subject {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #c0c0c0;
	font-weight:bold;
    text-align: center;
    margin-bottom: 0px;
}

.gesuche-rotator-infos {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #c0c0c0;
    margin-bottom: 8px;
}

.gr-sep {
    color: #8F221D;
}

.gesuche-rotator-fc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    text-align: center;
    color: #c0c0c0;
    margin-bottom: 16px;
}

.gesuche-rotator-fc span {
    color: #d4524d;
}

.gesuche-rotator-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143,34,29,0.3), transparent);
    margin-top: auto;
}

/* Footer mit Ecken unten-rechts */
.gesuche-rotator-footer {
    position: relative;
    font-size: 12px;
    text-align: center;
    color: #6b7280;
    padding: 12px 16px 16px;
}

.gesuche-rotator-footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 4px;
    background: #8F221D;
}

.gesuche-rotator-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 4px;
    height: 24px;
    background: #8F221D;
}

.gr-user {
    color: #d4524d;
    text-decoration: none;
}

.gr-user:hover {
    color: #f87171;
}

.gesuche-rotator-empty {
    text-align: center;
    color: #6b7280;
    font-size: 12px;
    padding: 40px 16px;
}


/* ============================================
   GESUCHE KATEGORIE LAYOUT
============================================ */

/* Default: versteckt */
.gesuche-grid {
    display: contents;
}

.gesuche-feature {
    display: none;
}

.gesuche-forums {
    display: contents;
}

/* Kategorie 5: 2-Spalten Layout */
.category-5 .gesuche-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: stretch;
}

.category-5 .gesuche-feature {
    display: flex;
}

/* Featured Box mitwachsen lassen */
.category-5 .gesuche-feature .gesuche-rotator-card {
    width: 100%;
    flex: 1;
}

.category-5 .gesuche-forums {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* ============================================
   GESUCHE FOREN BOXEN - KOMPLETT NEU
============================================ */

.category-5 .gesuche-forums .forum-box {
    flex: 1;
    display: flex;
    background: #14151C;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: all 0.3s ease;
}

.category-5 .gesuche-forums .forum-box:hover {
    border-color: rgba(143,34,29,0.3);
}

/* Ecke oben-links horizontal */
.category-5 .gesuche-forums .forum-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 4px;
    background: #8F221D;
    z-index: 5;
}

/* Ecke oben-links vertikal */
.category-5 .gesuche-forums .forum-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 24px;
    background: #8F221D;
    z-index: 5;
}

/* Inner Container */
.category-5 .gesuche-forums .forum-box-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    padding-left: 24px;
    position: relative;
}

/* Sidebar Linie - startet unter der Ecke */
.category-5 .gesuche-forums .forum-box-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 0;
    width: 4px;
    transition: all 0.3s ease;
    z-index: 1;
	background: none;
}

/* Sidebar hovert NICHT mehr */
.category-5 .gesuche-forums .forum-box:hover .forum-box-inner::before {
    background: none;
}

/* Ecke unten-rechts - KEINE ::after auf inner, nutzen lastpost-box */
.category-5 .gesuche-forums .forum-box-inner::after {
    display: none;
}

/* Ecke unten rechts auf lastpost-box */
.category-5 .gesuche-forums .lastpost-box {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-left: none;
    padding-left: 0;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.category-5 .gesuche-forums .lastpost-box::before {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 24px;
    height: 4px;
    background: #8F221D;
    z-index: 5;
}

.category-5 .gesuche-forums .lastpost-box::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 4px;
    height: 24px;
    background: #8F221D;
    z-index: 5;
}

/* Header: Icon + Titel */
.category-5 .gesuche-forums .forum-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 8px;
}

.category-5 .gesuche-forums .forum-icon {
    display: flex;
    width: 40px;
    height: 40px;
}

.category-5 .gesuche-forums .forum-title-row {
    flex: 1;
    justify-content: flex-start;
}

.category-5 .gesuche-forums .forum-title {
    font-size: 18px;
}

.category-5 .gesuche-forums .forum-title-line {
    display: none;
}

/* Stats rechts oben */
.category-5 .gesuche-forums .forum-stats {
    position: absolute;
    top: 16px;
    right: 16px;
    text-align: right;
}

/* Beschreibung anzeigen */
.category-5 .gesuche-forums .forum-desc {
    display: block;
    margin-top: 5px;
}

/* Forum Main - keine Pseudo-Elemente */
.category-5 .gesuche-forums .forum-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-5 .gesuche-forums .forum-main::before,
.category-5 .gesuche-forums .forum-main::after {
    display: none;
}

/* Lastpost Info */
.category-5 .gesuche-forums .lastpost-info {
    flex: 1;
}

.category-5 .gesuche-forums .lastpost-subject {
    margin-bottom: 4px;
}

.category-5 .gesuche-forums .lastpost-user,
.category-5 .gesuche-forums .lastpost-date {
    display: inline;
}

.category-5 .gesuche-forums .lastpost-user::before {
    content: 'von ';
    color: #6b7280;
}

.category-5 .gesuche-forums .lastpost-date::before {
    content: ' · ';
    color: #6b7280;
}

.category-5 .gesuche-forums .lastpost-avatar {
    width: 50px;
    height: 50px;
    margin-left: auto;
}