/* =====================================================
 * components/education-card.css
 * Education card and optional subtitle link.
 * ===================================================== */

.edu-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.edu-title-block {
    min-width: 0;
}

.edu-title {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #18181b;
    line-height: 1.3;
}

.edu-title-icon {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    color: #3b82f6;
    font-size: 0.95rem;
}

.dark .edu-title-icon { color: #f59e0b; }

.dark .edu-title { color: #ffffff; }

.edu-subtitle {
    font-size: 0.75rem;
    color: #52525b;
    margin-top: 0.15rem;
}

.dark .edu-subtitle { color: #a1a1aa; }

.edu-subtitle-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.edu-subtitle-link:hover { color: #2563eb; }
.dark .edu-subtitle-link:hover { color: #fbbf24; }

.edu-subtitle-link i {
    color: #3b82f6;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.dark .edu-subtitle-link i { color: #f59e0b; }
.edu-subtitle-link:hover i { transform: scale(1.1); }

.edu-subtitle-link span {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
    text-decoration-color: rgba(0, 0, 0, 0.20);
    transition: text-decoration-color 0.2s ease;
}

.dark .edu-subtitle-link span {
    text-decoration-color: rgba(255, 255, 255, 0.20);
}

.edu-subtitle-link:hover span { text-decoration-color: #2563eb; }
.dark .edu-subtitle-link:hover span { text-decoration-color: #fbbf24; }

.edu-badge {
    font-size: 11px;
    color: #52525b;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.dark .edu-badge {
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.10);
}

.edu-desc {
    font-size: 0.75rem;
    color: #3f3f46;
    line-height: 1.625;
    margin-bottom: 0.5rem;
}

.dark .edu-desc { color: rgba(212, 212, 216, 0.80); }

.edu-desc--highlight {
    color: #2563eb;
    font-weight: 500;
}

.dark .edu-desc--highlight { color: #fbbf24; }

.edu-bullets {
    list-style: disc;
    list-style-position: outside;
    padding-left: 1rem;
    font-size: 0.75rem;
    color: #3f3f46;
    line-height: 1.625;
}

.dark .edu-bullets { color: rgba(212, 212, 216, 0.80); }

.edu-bullets li + li {
    margin-top: 0.375rem;
}