/* MinimalistiCards Frontend Styles */

.minimalisticards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.minimalisticards-container.minimalisticards-list .minimalisticards-row {
    display: block;
    margin-bottom: 20px;
}

.minimalisticards-container.minimalisticards-single {
    justify-content: center;
}

.minimalisticards-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.minimalisticards-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
}

.minimalisticards-photo {
    width: 290px;
    height: 290px;
    object-fit: contain;
    border-radius: 5px;
    margin: 0 auto 10px auto;
}

.minimalisticards-info {
    flex: 1;
}

.minimalisticards-name {
    margin: 0 0 5px 0;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}

.minimalisticards-title {
    margin: 0 0 10px 0;
    font-style: italic;
    color: #666;
    text-align: center;
}

.minimalisticards-details {
    margin-bottom: 15px;
}

.minimalisticards-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.minimalisticards-table td {
    padding: 8px 5px;
    border: none;
    text-align: left;
    hyphens: auto;
    word-wrap: break-word;
}

.minimalisticards-label {
    font-weight: bold;
    width: 40%;
    padding-right: 10px;
    border-right: 2px solid transparent;
}

.minimalisticards-value {
    width: 60%;
    padding-left: 10px;
    border-left: 2px solid transparent;
}

.minimalisticards-table a {
    color: #007cba;
    text-decoration: none;
}

.minimalisticards-table a:hover {
    text-decoration: underline;
}

.minimalisticards-toggle-details {
    background: #007cba;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.minimalisticards-toggle-details:hover {
    background: #005a87;
}

.minimalisticards-toggle-details .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.minimalisticards-icon-email,
.minimalisticards-icon-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #007cba;
    color: white;
    border-radius: 3px;
    margin-right: 10px;
    text-decoration: none;
    cursor: pointer;
}

.minimalisticards-icon-email:hover,
.minimalisticards-icon-phone:hover {
    background: #005a87;
}

.minimalisticards-icon-email .dashicons,
.minimalisticards-icon-phone .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.minimalisticards-spacer {
    flex: 1;
}

/* Responsive Design für Mobile Geräte */
@media (max-width: 768px) {
    .minimalisticards-row {
        flex-direction: column;
        align-items: center;
    }

    .minimalisticards-card {
        width: 100%;
        max-width: 300px;
    }
}