/* ============================================================================
   LESETIPP BOX (Frontend)
   ========================================================================== */

.lesetipp-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    position: relative;
    padding: 20px;
    margin: 3em 0 24px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.lesetipp-headline {
    position: absolute;
    top: 0;
    left: 20px;
    transform: translateY(-50%);
    background-color: #ffffff;
    color: #ff7518;
    padding: 0 8px;
    font-size: 1.1em;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
}

.lesetipp-thumb {
    flex-shrink: 0;
}

.lesetipp-thumb a {
    display: block;
}

.lesetipp-thumb-img {
    width: 150px;
    height: auto;
    display: block;
    border-radius: 6px;
}

.lesetipp-content {
    flex-grow: 1;
    min-width: 0;
}

.lesetipp-title {
    font-weight: 700;
    text-decoration: none;
    font-size: 1.25em;
    color: #1a1a1a;
    transition: color 0.2s ease-in-out;
    line-height: 1.3;
    display: block;
    margin-bottom: 0.5em;
    margin-top: 0;
}

.lesetipp-title:hover {
    color: #ff7518;
}

.lesetipp-description {
    margin-top: 0;
    font-size: 1em;
    color: #4a5568;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .lesetipp-box {
        flex-direction: column;
        padding: 20px;
        margin-top: 3em;
    }
    
    .lesetipp-headline {
        left: 15px;
    }

    .lesetipp-thumb-img {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
        margin-bottom: 0;
    }
}

/* ============================================================================
   LESETIPP MODAL (Backend/Editor)
   ========================================================================== */

#lesetipp-modal .lesetipp-modal-content {
    padding: 20px;
}

#lesetipp-results {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

#lesetipp-results li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

#lesetipp-results li:last-child {
    border-bottom: none;
}

#lesetipp-results li:hover {
    background: #f3f3f3;
}

#lesetipp-results li:empty {
    padding: 15px;
    text-align: center;
    color: #777;
}

.lesetipp-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.lesetipp-result-item span {
    flex-grow: 1;
    padding-right: 15px;
}

.lesetipp-result-item .button {
    flex-shrink: 0;
}