/**
 * gudfind Styles
 * Neurodivergenz-freundlich, ruhig, klar
 */

.gudfind-search {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.gudfind-search-field {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.gudfind-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.gudfind-input:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.gudfind-submit {
    padding: 0.75rem 1.5rem;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.gudfind-submit:hover {
    background: #0052a3;
}

.gudfind-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gudfind-result-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    background: white;
    transition: box-shadow 0.2s;
}

.gudfind-result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gudfind-logo img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.gudfind-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.gudfind-title a {
    color: #0066cc;
    text-decoration: none;
}

.gudfind-title a:hover {
    text-decoration: underline;
}

.gudfind-teaser {
    color: #666;
    margin-bottom: 1rem;
}

.gudfind-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 1rem;
}

.gudfind-buzzwords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.gudfind-buzzword {
    padding: 0.25rem 0.5rem;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.875rem;
}

.gudfind-social {
    display: flex;
    gap: 0.5rem;
}

.gudfind-social a {
    font-size: 1.5rem;
    text-decoration: none;
}

.gudfind-loading {
    text-align: center;
    padding: 2rem;
    display: none;
}

.gudfind-loading[aria-hidden="false"] {
    display: block;
}

.gudfind-no-results {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Detail-Ansicht */
.gudfind-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.gudfind-detail-header {
    margin-bottom: 2rem;
}

.gudfind-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.875rem;
}

.gudfind-back-link:hover {
    text-decoration: underline;
}

.gudfind-detail-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    background: white;
}

.gudfind-detail-logo {
    margin-bottom: 1.5rem;
}

.gudfind-detail-logo img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
}

.gudfind-detail-title {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gudfind-featured-badge {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    background: #ffd700;
    border-radius: 4px;
    color: #333;
}

.gudfind-detail-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.gudfind-detail-teaser {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.gudfind-detail-content-full {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.gudfind-detail-content-full h2,
.gudfind-detail-content-full h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.gudfind-detail-buzzwords {
    margin-bottom: 2rem;
}

.gudfind-detail-buzzwords h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.gudfind-detail-actions {
    margin-bottom: 2rem;
}

.gudfind-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.gudfind-detail-link:hover {
    background: #0052a3;
}

.gudfind-detail-social {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.gudfind-detail-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.875rem;
}

.gudfind-detail-social a:hover {
    background: #f5f5f5;
    border-color: #0066cc;
}

.gudfind-error {
    text-align: center;
    padding: 3rem;
    color: #dc2626;
}

.gudfind-error a {
    color: #0066cc;
    text-decoration: none;
}

.gudfind-error a:hover {
    text-decoration: underline;
}
