/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.rotating-badge-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Badge: w-12 = 3rem — lift above card (bs had top-0) */
.philosophy-v4-badge-decor {
    top: -2.25rem;
}

.philosophy-rotate-badge {
    width: 3rem;
    height: 3rem;
}

.tour-panel-hover {
    transition: box-shadow 0.2s ease;
}

.tour-panel-hover:hover {
    box-shadow: var(--bs-box-shadow);
}

details[open] .tour-open-icon {
    transform: scale(1.05);
}

details[open] .tour-chevron {
    transform: rotate(180deg);
}

.tour-open-icon,
.tour-chevron {
    transition: transform 0.3s ease;
}

.stacked-shadow-deck__portrait {
    width: 7rem;
    height: 7rem;
}

@media (min-width: 768px) {
    .stacked-shadow-deck__portrait {
        width: 8rem;
        height: 8rem;
    }
}

.stacked-shadow-deck__beacon {
    width: 1.5rem;
    height: 1.5rem;
}

.stacked-shadow-deck__layer:nth-child(1) {
    z-index: 10;
}

.stacked-shadow-deck__layer:nth-child(2) {
    z-index: 9;
}

.stacked-shadow-deck__layer:nth-child(3) {
    z-index: 8;
}

.stacked-shadow-deck__layer:nth-child(4) {
    z-index: 7;
}

.stacked-shadow-deck__layer:nth-child(5) {
    z-index: 6;
}

.stacked-shadow-deck__layer:nth-child(6) {
    z-index: 5;
}

