/* Frontend styles — premium clean look */
.sotrane-frontend-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    font-family: Inter, system-ui, Arial, Helvetica, sans-serif;
}

.sotrane-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    align-items: center;
}

.sotrane-controls input,
.sotrane-controls select {
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.sotrane-controls button {
    padding: 8px 12px;
    border-radius: 8px;
    background: #0ea5a4;
    color: #fff;
    border: 0;
    cursor: pointer;
}

.sotrane-results .sotrane-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sotrane-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.04);
    align-items: flex-start;
}

.sotrane-card-left img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.sotrane-card-right {
    flex: 1;
}

.sotrane-card-title {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
}

.sotrane-card-meta {
    font-size: 13px;
    color: #6b7280;
    margin: 6px 0;
}

.sotrane-card-excerpt {
    color: #374151;
}

.sotrane-card-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.sotrane-open-btn {
    padding: 8px 12px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    border: 0;
    cursor: pointer;
}

.sotrane-download {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111827;
}

.sotrane-loadmore-wrap {
    text-align: center;
    margin-top: 18px;
}

.sotrane-loadmore-wrap button {
    padding: 10px 14px;
    border-radius: 10px;
    background: #0ea5a4;
    color: #fff;
    border: 0;
    cursor: pointer;
}

/* Modal */
.sotrane-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.sotrane-modal-inner {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

.sotrane-modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: #ef4444;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
}

.sotrane-modal-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

@media (max-width: 800px) {
    .sotrane-results .sotrane-grid {
        grid-template-columns: 1fr;
    }

    .sotrane-card-left img {
        width: 100%;
        height: 180px;
    }
}


