/* Editorial headings always read top-to-bottom: label/title, subtitle, then action. */
.shm-heading-stack {
    align-items: start !important;
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

.shm-heading-stack > * {
    grid-column: 1 !important;
    max-width: none;
}

.shm-heading-stack h2 {
    inline-size: 100%;
    max-inline-size: none;
    text-wrap: balance;
}

.shm-heading-stack p {
    max-width: 68ch;
}

.shm-heading-stack .shm-text-link-button {
    align-self: start;
    display: inline-flex;
    justify-self: start;
    width: fit-content !important;
}

/* Keep the commercial disclosure legible and centered in its capsule. */
.shm-speaker-placement-meta .shm-sponsored-badge {
    align-items: center;
    color: #fff !important;
    display: inline-flex !important;
    line-height: 1;
    min-height: 34px;
    padding: 0 12px;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .shm-heading-stack h2 {
        text-wrap: pretty;
    }
}
