/* Декор не перехватывает клики */
.hero-v7-decor-layer {
    pointer-events: none;
}

/* Feature icon tile: fixed square (Tailwind w-12 h-12 rounded-lg) — Bootstrap без w/h растягивал блок */
.hero-v7-feature-icon {
    box-sizing: border-box;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-v7-feature-icon i {
    line-height: 1;
}

/* Background blur blobs — позиции как у Tailwind top-12 left-8 / bottom-12 right-8 */
.hero-v7-blob-nw {
    position: absolute;
    top: 3rem;
    left: 2rem;
    width: 18rem;
    height: 18rem;
    filter: blur(64px);
}

.hero-v7-blob-se {
    position: absolute;
    bottom: 3rem;
    right: 2rem;
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
}

/* Bootstrap: как max-w-3xl / max-w-2xl + mx-auto */
.hero-v7-subtitle-max {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-v7-desc-max {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* CTA pills (как hero v6) */
.hero-v7-cta-pill {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 7rem;
    min-height: 2.75rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-align: center;
}

.hero-v7-cta-secondary {
    max-width: min(100%, 28rem);
}

a.hero-v7-cta-pill.btn.btn-sm {
    padding: 0.5rem 1.5rem;
    min-height: 2.75rem;
    min-width: 7rem;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.hive-card {
    clip-path: polygon(18% 0%, 82% 0%, 100% 50%, 82% 100%, 18% 100%, 0% 50%);
    min-height: 22rem;
    padding: 3.75rem 3.25rem 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hive-card-icon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hive-card-glow,
.hive-card-accent {
    transition: transform 0.4s ease, opacity 0.3s ease, width 0.4s ease;
}

.hive-card:hover {
    transform: translateY(-0.4rem);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: rgba(var(--bs-primary-rgb), 0.35) !important;
}

.hive-card:hover .hive-card-glow {
    transform: translate(1rem, -1rem) scale(1.12);
}

.hive-card:hover .hive-card-icon {
    transform: rotate(10deg) scale(1.04);
    box-shadow: var(--bs-box-shadow);
}

.hive-card:hover .hive-card-accent {
    width: 70% !important;
}

@media (max-width: 767.98px) {
    .hive-card {
        clip-path: none;
        min-height: 0;
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}

.feature-card-surface {
    position: relative;
    isolation: isolate;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.feature-card-surface > * {
    position: relative;
    z-index: 1;
}

.feature-card-surface::before {
    content: "";
    position: absolute;
    inset: calc(var(--bs-gutter-y, 1rem) * 0.5) calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    border-radius: inherit;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
    box-shadow: var(--bs-box-shadow-sm);
    z-index: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.feature-card-surface:hover:before {
    box-shadow: var(--bs-box-shadow-lg);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* Лише hover scale — розміри в @sem (tw) та width/height на img (bs) */
.quote-author-media-hover {
  transition: transform 0.3s ease;
}

.quote-author-media-hover:hover {
  transform: scale(1.05);
}

.content-vertical-paper__layout {
    display: grid;
    grid-template-columns: minmax(5rem, 8rem) minmax(0, 1fr);
}

.content-vertical-paper__title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: -0.025em;
}

@media (max-width: 767.98px) {
    .content-vertical-paper__layout {
        grid-template-columns: 1fr;
    }

    .content-vertical-paper__title {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

.newsletter-card-solo__shell {
    max-width: 48rem;
}

.newsletter-card-solo__card {
    max-width: 32rem;
}


.action-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    min-height: 500px;
}

.action-boost__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

