/* ==========================================================================
   Heading block — custom block styles
   Jewelry Studio
   ========================================================================== */
.section-opener {
    gap: 0;
}

.section-heading, .subtitle-heading {
    line-height: 1;
    text-transform: uppercase;
}

/* Section Heading style
 * Applied via the "Section Heading" Gutenberg block style.
 * The render_block filter in functions.php adds .section-heading to the
 * heading element when the is-style-section-heading class is present.
 */

.section-heading {
    font-size: var(--wp--preset--font-size--30);
    font-weight: 500;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: currentColor;
    letter-spacing: 2.4px;
}

.section-heading mark {
    display: inline-block;
}

/* Subtitle style
 * Eyebrow/label treatment: uppercase, letter-spaced, primary gold.
 * Applied via the "Subtitle" Gutenberg block style.
 * The render_block filter in functions.php adds .subtitle-heading to the
 * heading element when the is-style-subtitle class is present.
 */
.subtitle-heading {
    font-family: var(--wp--preset--font-family--zeitung);
    font-size: var(--wp--preset--font-size--20);
    font-weight: 400;
    color: var(--wp--preset--color--primary);
}

.section-opener .subtitle-heading {
    margin-bottom: 0.938rem;
}

.section-opener .section-heading {
    margin-bottom: 0;
}