/**
 * COMPONENT STYLESHEET
 * ---------------------
 * File: components.css
 * Description:
 *   This file contains scoped styles for all custom frontend components
 *   used throughout the theme. Each component is namespaced with the
 *   `.comp-*` prefix to avoid global collisions and ensure modularity.
 *
 * Structure:
 *   - comp-hierarchy-cards
 *
 * Usage:
 *   Styles are strictly scoped to component blocks (use BEM).
 *   Do not use generic class names like `.card`, `.header`, `.btn`, etc.
 */


/* ===================================================
 * Component: Hierarchy Cards
 * =================================================== */
.comp-hierarchy-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
    background: #fafafa;
}

.comp-hierarchy-cards__card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    transition: transform 0.3s;
}

.comp-hierarchy-cards__card:hover {
    transform: translateY(-5px);
}

.comp-hierarchy-cards__icon {
    text-align: center;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #f97316;
    margin: 0 auto 1rem auto!important;
    border-radius: 50%;
}

.comp-hierarchy-cards__icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 10px;
    background: #ececee;
}

.comp-hierarchy-cards__title {
    text-align: center;
    color: #1a1a1a;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.comp-hierarchy-cards__desc {
    text-align: center;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.comp-hierarchy-cards__link {
    display: block;
    text-align: center;
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.comp-hierarchy-cards__link span {
    font-size: 1rem;
}

.comp-hierarchy-cards__specializations {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.comp-hierarchy-cards__spec-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comp-hierarchy-cards__spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 10px;
}

.comp-hierarchy-cards__spec-icon {
    font-size: 1.5rem;
    color: #f97316;
    flex-shrink: 0;
}

.comp-hierarchy-cards__spec-item p {
    margin: 0.3rem 0 0;
    color: #475569;
    font-size: 0.9rem;
}

.comp-hierarchy-cards__spec-list-items {
    margin-left: 1rem;
}

@media (max-width:570px) {
    .comp-hierarchy-cards{
        background: transparent;
    }
}