/* Geburtshaus Kurse Plugin Styles */

.geburtshaus-kurse-container {
    margin: 40px 0;
}

.ghms-course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.ghms-course-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #EAA3A9;
    /* Default GHMS Pink */
}

.ghms-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ghms-course-card.ghms-source-wp {
    border-top-color: #A3C9EA;
    /* Different color for info items */
}

.ghms-course-header {
    margin-bottom: 20px;
}

.ghms-badge {
    display: inline-block;
    background: #f4f4f4;
    color: #555;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.ghms-course-card.ghms-source-miya .ghms-badge {
    background: rgba(234, 163, 169, 0.15);
    color: #D3747C;
}

.ghms-course-title {
    font-size: 20px;
    line-height: 1.3;
    color: #333;
    margin: 0;
    font-weight: 700;
}

.ghms-course-body {
    flex-grow: 1;
}

.ghms-course-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.ghms-course-meta i {
    width: 20px;
    color: #EAA3A9;
    font-style: normal;
}

.ghms-spots-free {
    color: #27ae60;
    font-weight: 600;
}

.ghms-spots-full {
    color: #e74c3c;
    font-weight: 600;
}

.ghms-course-description {
    margin-top: 15px;
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

.ghms-course-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.ghms-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #EAA3A9;
    /* GHMS Pink */
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.ghms-btn:hover {
    background: #D3747C;
    color: white;
}

.ghms-source-wp .ghms-btn {
    background: #f4f4f4;
    color: #333;
}

.ghms-source-wp .ghms-btn:hover {
    background: #e0e0e0;
}

/* Very basic pseudo-icons without external libraries */
.ghms-icon-calendar::before {
    content: "📅";
    font-size: 12px;
    margin-right: 5px;
}

.ghms-icon-clock::before {
    content: "⏰";
    font-size: 12px;
    margin-right: 5px;
}

.ghms-icon-user::before {
    content: "👤";
    font-size: 12px;
    margin-right: 5px;
}

.ghms-icon-location::before {
    content: "📍";
    font-size: 12px;
    margin-right: 5px;
}

.ghms-icon-check::before {
    content: "✓";
    font-size: 12px;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .ghms-course-list {
        grid-template-columns: 1fr;
    }
}