.timeline-layout__card--hover {
    transition: transform 0.3s ease;
}
.timeline-layout__card--hover:hover {
    transform: scale(1.05);
}

.timeline-layout__img--zoom {
    transition: transform 0.5s ease;
}
.timeline-layout__row:hover .timeline-layout__img--zoom {
    transform: scale(1.1);
}

.timeline-layout__overlay--fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.timeline-layout__row:hover .timeline-layout__overlay--fade {
    opacity: 1;
}

.timeline-layout__panel--slide {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.timeline-layout__row:hover .timeline-layout__panel--slide {
    transform: translateY(0);
}

.timeline-layout__badge--zoom {
    transition: transform 0.3s ease;
}
.timeline-layout__row:hover .timeline-layout__badge--zoom {
    transform: scale(1.25);
}

.timeline-layout__slot {
    width: 3rem;
    height: 3rem;
}

.timeline-layout__badge {
    width: 2rem;
    height: 2rem;
}

.timeline-layout__line {
    width: 0.25rem;
}

.content-quote-panel__slash {
    transform: rotate(45deg);
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-grid-gap {
    gap: 2rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-img-fullheight {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 992px) {
    .content-img-fullheight {
        height: 100%;
        min-height: 16rem;
    }
}

/* 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;
}

.content-ledger__label {
    letter-spacing: 0.05em;
}

/* min-width: 0 — довгий текст/флекс у колонці не роздуває рядок */
.content-col-grow {
    min-width: 0;
}

.content-stack-col--text {
    overflow-wrap: anywhere;
}

.content-stack-col--text > :first-child {
    width: 100%;
    max-width: 65ch;
    margin-inline: auto;
}

/* gap лише для Tailwind (grid). У Bootstrap — відступи через g-* у component (row-cols + g-3), без CSS gap на .row */
.content-grid-gap:not(.row) {
    gap: 1rem;
}

.content-full-frame {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Третина рядка: стабільна висота прев’ю, без height:100% від сусіднього тексту */
.content-img-fullheight {
    display: block;
    width: 100%;
    max-width: min(100%, 28rem);
    margin-inline: auto;
    min-width: 0;
    aspect-ratio: 3 / 4;
    max-height: 28rem;
    height: auto;
    flex-shrink: 1;
    object-fit: cover;
    object-position: center;
}

