/* ---------------- Perspektiven Container ---------------- */
.perspektiven-container {
    display: flex;
    align-items: flex-start;
    gap: 75px; /* Abstand zwischen den Spalten */
}

.perspektiven-list {
    flex: 1 1 70%;
    max-width: none;
    margin-bottom: 100px;
}

.sidebar {
    flex: 0 0 30%;
    max-width: 300px;
    border-left: 1px solid #ddd;
    padding-left: 20px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    margin-bottom: 100px;
}

.info-box { margin-bottom: 50px; }

/* ---------------- Liste: Kartenlayout ---------------- */
.perspektiven-list .perspektive-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    flex-wrap: nowrap; /* nie umbrechen */
}

.perspektiven-list .perspektive-card__img {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.perspektiven-list .perspektive-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perspektiven-list .perspektive-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.perspektiven-list .perspektive-card__body h2 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.perspektiven-list .perspektive-card__body .teaser {
    font-size: 1rem;
    margin-bottom: 5px;
}

.perspektiven-list .perspektive-card__body .autor {
    font-size: 0.9rem;
    color: #555;
}

/* ---------------- Detailseite ---------------- */
.perspektive-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 30px;
}

.perspektive-detail .perspektive-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.perspektive-detail .perspektive-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perspektive-detail  .autor {
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center; /* Vertikal mittig */
    gap: 6px; /* Abstand zwischen Icon/Name und Datum */
}

.perspektive-detail  .autor .linkedin-link {
    display: inline-flex;
    align-items: center; /* Icon vertikal mittig zum Namen */
    text-decoration: none;
    color: #0A66C2; /* LinkedIn-Blau */
    font-weight: 500;
}

.perspektive-detail  .autor .linkedin-link img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.perspektive-detail .artikeltext {
    font-size: 1rem;
    line-height: 1.6;
}

.perspektive-detail a {
    margin: 50px 0;
}

/* ---------------- Buttons ---------------- */
.perspektiven-btn {
    background-color: #007bff;
    color: white;
    border: #007bff solid 1px;
    border-radius: 5px;
    padding: 7px 15px;
    text-decoration: none;
    margin-top: 20px; /* Abstand nach oben */
    display: inline-block; /* sicherstellen, dass margin funktioniert */
}

.perspektiven-btn:hover {
    background-color: white;
    color: #007bff;
}

/* Suche */
.perspektiven-search {
    display: flex;
    margin-bottom: 10px;
}

.perspektiven-search input[type="text"] {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 0.9em;
}

.perspektiven-search-icon {
    position: relative;
    max-width: 400px;
    margin: 1rem auto;
}

.perspektiven-search-icon input {
    width: 100%;
    padding: 0.6rem 3rem 0.6rem 0.9rem; /* rechts mehr Platz für die größere Lupe */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.perspektiven-search-icon button {
    position: absolute;
    right: 10px; /* weiter vom rechten Rand entfernt */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0073e6;
    padding: 0;
}

.perspektiven-search-icon button:hover {
    color: #005bb5;
}

.perspektiven-search-icon svg {
    width: 22px;  /* Lupe etwas größer */
    height: 22px;
}

/* ---------------- Tags ---------------- */
.tags { margin: 1rem 0; }
.tag {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: .3rem .6rem;
    border-radius: 12px;
    margin: 0 .3rem .3rem 0;
    font-size: .85rem;
}

/* ---------------- LinkedIn ---------------- */
.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}
.linkedin-link img {
    width: 25px;
    height: 25px;
    display: block;
}

.color-007bff {
    color: #007bff;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
    .content {
        padding: 0 25px;
    }
    .heading-box h1 {
        font-size: 2rem;
    }
    .perspektiven-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .perspektiven-list,
    .sidebar {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .perspektiven-list .perspektive-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .perspektiven-list .perspektive-card__img {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
}