.folio-grid-bg {
    background-image:
        linear-gradient(rgba(var(--bs-emphasis-color-rgb, 33, 37, 41), 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--bs-emphasis-color-rgb, 33, 37, 41), 0.06) 1px, transparent 1px);
    background-size: 1.5rem 1.5rem;
}

.dark .folio-grid-bg {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.folio-glow {
    width: 24rem;
    height: 24rem;
    filter: blur(3rem);
    bottom: 0;
    left: -6rem;
}

.folio-cap {
    border-color: rgba(var(--bs-emphasis-color-rgb), 0.12);
}

.folio-sq-9 {
    width: 2.25rem;
    height: 2.25rem;
}

/* Вертикальний tagline на md+ */
@media (min-width: 768px) {
    .folio-rail-tagline {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        text-orientation: mixed;
        max-height: 22rem;
    }
}

.folio-rail-bs {
    width: min(100%, 16rem);
    min-height: min(22rem, 50vh);
    padding-right: 1.75rem;
    border-color: rgba(var(--bs-emphasis-color-rgb), 0.15) !important;
}

.folio-title-rule-bs {
    width: 4rem;
    height: 0.25rem;
    background-color: var(--bs-primary);
}

.folio-tile-bs {
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.12);
    border-radius: var(--bs-border-radius-xl, 0.75rem);
    background-color: var(--bs-body-bg);
    padding: 1rem;
    box-shadow: var(--bs-box-shadow-sm);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.folio-tile-bs:hover {
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35) !important;
    box-shadow: var(--bs-box-shadow);
}

.folio-cta {
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.folio-cta:hover {
    transform: translateY(-2px);
}

.folio-cta-bs {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    background-color: transparent !important;
}

.folio-cta-bs:hover {
    color: #fff !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.values-simple__thumb {
    width: 5rem;
    height: 5rem;
}

.timeline-bubble-row__portrait {
    width: 10rem;
    height: 10rem;
}

.timeline-bubble-row__beacon {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes pull-quote-monocle-timeline__fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pull-quote-monocle-timeline__visible {
    animation: pull-quote-monocle-timeline__fade-up 0.7s ease forwards;
}

.pull-quote-monocle-timeline__quote-decor {
    font-size: 160px;
    line-height: 1;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.pull-quote-monocle-timeline__quote-decor--left {
    top: 6rem;
    left: 2rem;
}

.pull-quote-monocle-timeline__quote-decor--right {
    bottom: 6rem;
    right: 2rem;
}

.pull-quote-monocle-timeline__title-size {
    font-size: clamp(1.5rem, 4vw, 3rem);
    letter-spacing: 0.15em;
}

.pull-quote-monocle-timeline__media-width {
    width: 12rem;
}

.pull-quote-monocle-timeline__thumb-square {
    aspect-ratio: 1;
}

.pull-quote-monocle-timeline__serif-font {
    font-family: Georgia, 'Times New Roman', serif;
}

.pull-quote-monocle-timeline__media-sm {
    max-width: 10rem;
}

