/* Keyword Examples Component Styles */

.keyword-examples {
    padding: 60px 0;
}

.examples-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.example-card {
    flex: 0 1 540px;
    border-radius: 20px;
    padding: 40px;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
}

/* Themes */
.example-card.theme-blue {
    background: #f0f7ff;
    border-color: #dbeafe;
}

.example-card.theme-purple {
    background: #f8f7ff;
    border-color: #ede9fe;
}

.example-card.theme-orange {
    background: #fffaf2;
    border-color: #ffedd5;
}

.example-card.theme-green {
    background: #f2fcf5;
    border-color: #dcfce7;
}

.example-card h3 {
    font-weight: 800;
    margin-bottom: 24px;
    color: #0f172a;
}

.example-row {
    margin-bottom: 24px;
}

.example-row label {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.theme-blue .example-row label {
    color: #2563eb;
}

.theme-purple .example-row label {
    color: #7c3aed;
}

.theme-orange .example-row label {
    color: #ea580c;
}

.theme-green .example-row label {
    color: #16a34a;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-keyword,
.tag-role {
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Tag Styles based on Theme */
.theme-blue .tag-keyword {
    background: #dbeafe;
    color: #1e40af;
}

.theme-blue .tag-role {
    background: #dcfce7;
    color: #15803d;
}

.theme-purple .tag-keyword {
    background: #ede9fe;
    color: #5b21b6;
}

.theme-purple .tag-role {
    background: #dcfce7;
    color: #15803d;
}

.theme-orange .tag-keyword {
    background: #ffedd5;
    color: #9a3412;
}

.theme-orange .tag-role {
    background: #dcfce7;
    color: #15803d;
}

.theme-green .tag-keyword {
    background: #dcfce7;
    color: #15803d;
}

.theme-green .tag-role {
    background: #dcfce7;
    color: #15803d;
}

.example-result {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
}

.example-result strong {
    font-weight: 800;
    color: #0f172a;
}

@media (max-width: 991px) {
    .example-card {
        flex: 0 1 100%;
    }
}

@media (max-width: 768px) {
    .example-card {
        padding: 30px 24px;
    }
}