/* Декор не перехватывает клики */
.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);
}
/* intro v21 — Loewe fold: vertical heading, watercolor blob, sketch figure, load rise */

/* Rotated 90° vertical heading */
.intro-fold__vtitle {
    writing-mode: vertical-rl;
    white-space: nowrap;
    line-height: 1;
}
@media (max-width: 767.98px) {
    .intro-fold__vtitle { writing-mode: horizontal-tb; }
}

/* Wax-seal / watercolor blob */
.intro-fold__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(56px);
    opacity: 0.4;
    border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
}

/* Drop-cap lead (framework-agnostic ::first-letter, no TW variant dependency) */
.intro-fold__lead::first-letter {
    font-size: 3rem;
    font-weight: 900;
    float: left;
    line-height: 0.9;
    margin-right: 0.75rem;
}

/* Like button fixed size (no BS w-N/h-N utility) */
.intro-fold__like {
    width: 2.25rem;
    height: 2.25rem;
}

/* Hand-drawn sketch treatment on the figure */
.intro-fold [data-figure] { aspect-ratio: 16 / 9; }
.intro-fold__img {
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.12) saturate(0.9);
}

/* Subtle scale-up on load (0.92 → 1) */
.intro-fold__rise {
    opacity: 0;
    transform: scale(0.92);
    animation: intro-fold-rise 620ms ease forwards;
}
@keyframes intro-fold-rise {
    to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-fold__rise { opacity: 1; transform: none; animation: none; }
}

/* Layout — colors stay in Blade / @sem */

.spine-bookmark__cover {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 380px;
  min-height: 360px;
}

.spine-bookmark__margin {
  width: 36px;
  flex-shrink: 0;
  align-self: stretch;
}

.spine-bookmark__box {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.spine-bookmark__media {
  flex: 1 1 auto;
  min-height: 12rem;
  overflow: hidden;
}

.spine-bookmark__tag {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.spine-bookmark__img {
    object-fit: cover;
}
.spine-bookmark__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

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

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

.tips-detailed__cta-thumb {
    width: 2rem;
    height: 2rem;
}

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

/* faq v30 — full-width horizontal index lines */
.faq-index__row:last-child {
  border-bottom-width: 0;
}

.faq-index__headline {
  letter-spacing: -0.03em;
}

.faq-index__line {
  display: grid;
  width: 100%;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 1rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    'num'
    'question'
    'answer'
    'media';
}

.faq-index__cell--num {
  grid-area: num;
}

.faq-index__cell--question {
  grid-area: question;
  min-width: 0;
}

.faq-index__cell--answer {
  grid-area: answer;
  min-width: 0;
}

.faq-index__cell--media {
  grid-area: media;
  min-width: 0;
}

.faq-index__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 768px) {
  .faq-index__line {
    column-gap: 2rem;
    row-gap: 0;
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr) minmax(12rem, 26%);
    grid-template-areas: 'num question answer media';
  }

  .faq-index__photo {
    min-height: 10rem;
  }
}

@media (min-width: 1200px) {
  .faq-index__line {
    column-gap: 3rem;
    grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.35fr) minmax(14rem, 24%);
  }
}

.subscription-inline-bar__shell {
    max-width: 48rem;
}

