/*
 * Core heading block used as the page H1 (hero on the solar and storage pages).
 * The block editor writes its spacing as an inline style, so !important is the
 * only way to override it. On phones the padding takes width that long
 * Lithuanian words ("nepriklausomybės") need to stay on one line.
 * No hyphens: auto, it would hyphenate words that fit on the next line.
 */

.entry-content h1.wp-block-heading {
  font-size: var(--gyla-text-display);
}

/* 8vw keeps "nepriklausomybės" on one line down to 320px screens (30px at 375px) */
@media (max-width: 600px) {
  .entry-content h1.wp-block-heading {
    padding-right: 0 !important;
    font-size: min(var(--gyla-text-display), 8vw);
  }
}
