/* Layout / motion — colors stay in Blade / @sem */
/* Grid + gap here only: @sem output may obfuscate class names, so Tailwind gap/grid on the wrapper is unreliable */

.philosophy-cards-row {
    display: grid;
    width: 100%;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .philosophy-cards-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.philosophy-decor {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.philosophy-numbered-badge {
    width: 4rem;
    height: 4rem;
}

.philosophy-card {
    transition: transform 0.5s ease;
}

.philosophy-card:hover {
    transform: scale(1.05);
}

.philosophy-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.philosophy-card:hover .philosophy-card-accent {
    opacity: 1;
}

.philosophy-bg__img {
    object-fit: cover;
}

.roster-skills-reveal__portrait {
    width: 6rem;
    height: 6rem;
}

.roster-skills-reveal__grid-cell:nth-child(2) {
    animation-delay: 0.1s;
}

.roster-skills-reveal__grid-cell:nth-child(3) {
    animation-delay: 0.2s;
}

.roster-skills-reveal__grid-cell:nth-child(4) {
    animation-delay: 0.3s;
}

.roster-skills-reveal__grid-cell:nth-child(5) {
    animation-delay: 0.4s;
}

.roster-skills-reveal__grid-cell:nth-child(6) {
    animation-delay: 0.5s;
}

.roster-skills-reveal__min-shrink {
  min-width: 0;
}

