/* Декор: pointer-events (Bootstrap pe-none — не то свойство) */
.hero-v20-decor-layer {
    pointer-events: none;
}

.hero-v20-center-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18rem;
    height: 18rem;
    filter: blur(40px);
}

/* Как Tailwind: top-1/4 left-1/4 w-96 h-96 blur-3xl */
.hero-v20-blob-tl {
    position: absolute;
    width: 24rem;
    height: 24rem;
    top: 25%;
    left: 25%;
    filter: blur(64px);
}

/* bottom-1/4 right-1/4 w-80 h-80 blur-3xl */
.hero-v20-blob-br {
    position: absolute;
    width: 20rem;
    height: 20rem;
    bottom: 25%;
    right: 25%;
    filter: blur(64px);
}

.hero-v20-dot {
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
}

.hero-v20-shadow-a {
    position: absolute;
    z-index: -10;
    top: 1rem;
    left: 1rem;
    width: 100%;
    height: 100%;
}

.hero-v20-icon-sm {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.5rem;
}

.hero-v20-icon-xs {
    line-height: 1;
}

.hero-v20-shadow-b {
    position: absolute;
    z-index: -10;
    top: 1.5rem;
    right: 1.5rem;
    width: 100%;
    height: 100%;
}

.hero-v20-shadow-c {
    position: absolute;
    z-index: -5;
    top: 0.75rem;
    right: 0.75rem;
    width: 100%;
    height: 100%;
}

/* Hover scale как sm:hover:scale-105 (общий для TW и BS) */
@media (min-width: 576px) {
    .hero-v20-benefit-item:hover,
    .hero-v20-cta-pill:hover,
    .hero-v20-media-card:hover {
        transform: scale(1.05);
    }
}

.hero-v20-benefit-item,
.hero-v20-cta-pill,
.hero-v20-media-card {
    transition: transform 150ms ease;
}

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

.storyblock-chapter__bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.storyblock-chapter__heading-row-trail { margin-bottom: 2rem; }

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

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

/* Bootstrap: explicit grid + gap (row gutters often collapse) */
.tips-grid__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.tips-grid__min-shrink {
    min-width: 0;
}

@media (min-width: 768px) {
    .tips-grid__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tips-grid__subtitle {
    max-width: 42rem;
}

.tips-grid__thumb {
    width: 3rem;
    height: 3rem;
}

/* glossary gazette — multi-column flow (not CSS grid), brick avoid breaks, footnote icon */
.glossary-gazette__columns {
    column-count: 1;
    column-gap: 1.25rem;
}

@media (min-width: 768px) {
    .glossary-gazette__columns {
        column-count: 2;
        column-gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .glossary-gazette__columns {
        column-count: 3;
    }
}

.glossary-gazette__brick {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.glossary-gazette__note-ico {
    width: 3.25rem;
    height: 3.25rem;
}

.glossary-gazette__note-icon {
    font-size: 1.25rem;
    line-height: 1;
}

/* subscribe v21 — bento grid: geometry shared by both CSS frameworks (Bootstrap has no grid-template utilities) */
.mailing-bento-benefits__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.mailing-bento-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mailing-bento-benefits__panel {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    min-height: 14rem;
    padding: 1.5rem;
}

.mailing-bento-benefits__title {
    font-size: 1.5rem;
}

.mailing-bento-benefits__card {
    padding: 1.25rem;
}

.mailing-bento-benefits__dot {
    top: 0.5rem;
    inset-inline-end: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
}

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

.mailing-bento-benefits__input {
    padding: 0.75rem 1rem;
}

.mailing-bento-benefits__cta {
    width: 100%;
    padding: 0.75rem 1.5rem;
}

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

    .mailing-bento-benefits__cta {
        width: auto;
    }
}

@media (min-width: 768px) {
    .mailing-bento-benefits__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mailing-bento-benefits__panel {
        padding: 2rem;
    }

    .mailing-bento-benefits__title {
        font-size: 1.875rem;
    }
}

