/* Центральное свечение (Tailwind: top-1/2 left-1/2 -translate w-96 blur) */
.hero-v12-glow-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    pointer-events: none;
    filter: blur(64px);
}

/* Иконки в ряду key-benefits (w-12 h-12 rounded-lg) */
.hero-v12-benefit-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-v12-benefit-icon i {
    line-height: 1;
}

/* Описание: как max-w-2xl в Bootstrap */
.hero-v12-desc-max {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* -- 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);
}
.backdrop-grid-min-h { min-height: 30vh; }

.backdrop-sq-12 { width: 3rem; height: 3rem; flex-shrink: 0; }

.backdrop-card-hover {
    transition: transform 0.3s ease;
}

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

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

.content-img-fill {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    min-width: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.writeup-document__text-panel-inset {
    padding: 4rem;
}

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

.features-marquee-list__scroll {
    animation: features-marquee-list-scroll-kf 10s linear infinite;
}
@keyframes features-marquee-list-scroll-kf {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* -- 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);
}
.masonry-offset-cards-quote__track {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 2rem;
}

@media (min-width: 768px) {
    .masonry-offset-cards-quote__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .masonry-offset-cards-quote__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.5rem 1.5rem;
    }
}

.masonry-offset-cards-quote__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.masonry-offset-cards-quote__surface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .masonry-offset-cards-quote__surface {
        gap: 1.25rem;
    }
}

/* faq v27 — dark quote wall (static grid) */
.faq-quote-wall__grid {
  align-items: stretch;
}

.faq-quote-wall__col {
  min-width: 0;
}

.faq-quote-wall__card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.faq-quote-wall__card:hover {
  transform: translateY(-0.25rem);
}

.faq-quote-wall__mark--open {
  z-index: 1;
}

.faq-quote-wall__cite {
  min-height: 3rem;
}

/* Featured: высота превью и заполнение колонки на md+ (без цветов) */
.journal-tag-feature__lead {
    min-height: 16rem;
}

@media (min-width: 768px) {
    .journal-tag-feature__lead {
        min-height: 18rem;
        align-self: stretch;
    }
}

.journal-tag-feature__hero-shot {
    display: block;
    width: 100%;
    min-height: 16rem;
}

@media (min-width: 768px) {
    .journal-tag-feature__hero-shot {
        height: 100%;
        min-height: 100%;
    }
}

/* Карточки сетки: фиксированное соотношение превью 4:3 */
.journal-tag-feature__tile-frame {
    aspect-ratio: 4 / 3;
}

.journal-tag-feature__tile-frame .journal-tag-feature__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.optin-bullet-row__shell {
    max-width: 48rem;
}

.optin-bullet-row__mark {
    width: 1.5rem;
    height: 1.5rem;
}

