/* intro v22 — Lavazza brutalist: blueprint grid, aurora sweep, outlined heading, progressive stagger */

/* Blueprint engineering-paper grid (colour from Tailwind text-*, lines via currentColor) */
.intro-blue__grid {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 28px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 28px);
    opacity: 0.16;
}

/* Aurora wave sweep horizontal */
.intro-blue__aurora {
    background-size: 200% 100%;
    opacity: 0.3;
    animation: intro-blue-aurora 7s ease-in-out infinite;
}
@keyframes intro-blue-aurora {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 100% 0%; }
}

/* Text-stroke outlined heading (hollow fill, stroke = the element's Tailwind colour) */
.intro-blue__title {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px currentColor;
    text-stroke: 2px currentColor;
    letter-spacing: -0.02em;
}

/* Progressive stagger reveal — pure CSS on the reliable [data-lane-item] attribute; always ends visible */
@keyframes intro-blue-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}
.intro-blue [data-lane-item] { animation: intro-blue-rise 500ms ease both; }
.intro-blue [data-lane-item]:nth-child(2) { animation-delay: 120ms; }
.intro-blue [data-lane-item]:nth-child(3) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    .intro-blue__aurora { animation: none; }
    .intro-blue [data-lane-item] { animation: none; }
}

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

/* glossary ledger — icon tile sizes, footnote icon size, hover motion (matches stats-style sections) */
.glossary-ledger__icon-cell,
.glossary-ledger__index {
    width: 3.25rem;
    height: 3.25rem;
}

.glossary-ledger__index {
    min-width: 3.25rem;
}

.glossary-ledger__icon-fa {
    font-size: 1.25rem;
    line-height: 1;
}

.glossary-ledger__note-wrap {
    width: 3.5rem;
    height: 3.5rem;
}

.glossary-ledger__note-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.glossary-ledger__accent {
    height: 0.28rem;
}

.glossary-ledger__card {
    transition: transform 0.28s ease;
}

.glossary-ledger__card:hover .glossary-ledger__accent {
    transform: scaleX(1);
}

.glossary-ledger .glossary-ledger__accent {
    transform: scaleX(0.88);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.tips-cards__card {
    max-width: 24rem;
}

/* subscribe v16 — geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.mailing-counter__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.mxw-xl {
    max-width: 36rem !important;
}

/* decorative background blobs — fixed sizing, placement and blur */
.mailing-counter__blob {
    width: 16rem;
    height: 16rem;
    filter: blur(64px);
}

.mailing-counter__blob--a {
    top: -4rem;
    inset-inline-start: -4rem;
    width: 18rem;
    height: 18rem;
}

.mailing-counter__blob--b {
    bottom: -5rem;
    inset-inline-end: -2.5rem;
    width: 22rem;
    height: 22rem;
}

.mailing-counter__blob--c {
    top: 33.333333%;
    inset-inline-end: 25%;
    width: 12rem;
    height: 12rem;
}

.mailing-counter__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.mailing-counter__subtitle {
    margin-bottom: 2.5rem;
}

.mailing-counter__row {
    flex-direction: column;
    gap: 1rem;
}

.mailing-counter__input {
    width: 100%;
    max-width: 20rem;
    padding: 0.75rem 1rem;
}

.mailing-counter__cta {
    padding: 0.75rem 2rem;
}

.mailing-counter__cta--hover {
    transition: transform 0.2s ease;
}

.mailing-counter__cta--hover:hover {
    transform: scale(1.05);
}

.mailing-counter__panel {
    padding: 2rem;
}

.mailing-counter__panel-title {
    font-size: 1.5rem;
}

@media (min-width: 640px) {
    .mailing-counter__row {
        flex-direction: row;
    }

    .mailing-counter__input {
        width: auto;
        flex: 1 1 0%;
    }
}

@media (min-width: 768px) {
    .mailing-counter__title {
        font-size: 3rem;
    }

    .mailing-counter__panel-title {
        font-size: 1.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mailing-counter__cta--hover:hover {
        transform: none;
    }
}

