.hero-v27-block {
    max-width: 48rem;
}

.hero-v27-media {
    max-width: 64rem;
}

.hero-v27-glow {
    top: -1rem;
    left: 4rem;
    right: 4rem;
    height: 6rem;
    filter: blur(48px);
}

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

.writeup-document__accent-trail {
    margin-bottom: 2rem;
    width: 4rem;
    height: 0.25rem;
}

.writeup-document__title-trail { margin-bottom: 2rem; }

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

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

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

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

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

.glossary-grid__card {
    width: 100%;
}

@media (min-width: 576px) {
    .glossary-grid__card {
        width: calc(50% - 0.75rem); /* For gap-4 (1.5rem) -> half is 0.75rem */
    }
}

@media (min-width: 992px) {
    .glossary-grid__card {
        width: calc(33.33333% - 1rem); /* For gap-4 (1.5rem) -> 2 gaps = 3rem / 3 = 1rem */
    }
}

.glossary-grid__accent {
    height: 4px;
}

.glossary-grid__icon {
    width: 56px;
    height: 56px;
}

/* subscribe v27 — gradient-mesh hero: geometry shared by both CSS frameworks, no colors */
.mailing-hero-mesh__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

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

.mxw-md {
    max-width: 28rem !important;
}

@keyframes mailing-hero-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.5rem);
    }
}

.mailing-hero-mesh__blob {
    filter: blur(64px);
    will-change: transform;
}

.mailing-hero-mesh__blob--one {
    top: -2.5rem;
    inset-inline-start: -2.5rem;
    width: 18rem;
    height: 18rem;
}

.mailing-hero-mesh__blob--two {
    bottom: -4rem;
    inset-inline-end: -2.5rem;
    width: 20rem;
    height: 20rem;
}

.mailing-hero-mesh__blob--three {
    top: 33.333333%;
    inset-inline-end: 25%;
    width: 14rem;
    height: 14rem;
}

.mailing-hero-mesh__dot {
    width: 0.75rem;
    height: 0.75rem;
    animation: mailing-hero-float 4s ease-in-out infinite;
}

.mailing-hero-mesh__dot--a {
    top: 2.5rem;
    inset-inline-start: 25%;
    animation-delay: 0s;
}

.mailing-hero-mesh__dot--b {
    bottom: 6rem;
    inset-inline-start: 33.333333%;
    animation-delay: 1.3s;
}

.mailing-hero-mesh__dot--c {
    top: 50%;
    inset-inline-end: 20%;
    animation-delay: 2.6s;
}

.mailing-hero-mesh__title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1;
}

.mailing-hero-mesh__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.mailing-hero-mesh__row {
    flex-direction: column;
    gap: 0.75rem;
}

.mailing-hero-mesh__input,
.mailing-hero-mesh__cta {
    padding: 0.75rem 1rem;
}

.mailing-hero-mesh__cta {
    padding-inline: 1.5rem;
}

.mailing-hero-mesh__thanks {
    margin-top: 2rem;
}

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

@media (min-width: 768px) {
    .mailing-hero-mesh__title {
        font-size: 4.5rem;
    }

    .mailing-hero-mesh__subtitle {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mailing-hero-mesh__dot {
        animation: none;
    }
}

