/*
Theme Name: GTT 2026
Theme URI: https://github.com/wpcomvip/gtt-net
Author: Human Made Limited
Author URI: https://humanmade.com
Description: Modern block theme developed for GTT Communications, Inc.
Tested up to: 6.9
Requires PHP: 8.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gtt-2026
*/

/* Superscripts and subscripts
--------------------------------------------- */

/*
 * A superscript is raised with `vertical-align: super`, which lifts the glyph but leaves it
 * contributing its own full line box to the line it sits on. The line then grows to contain
 * it: measured in a resource body, lines carrying a footnote marker came out at 31–32px
 * against the paragraph's 28px, so the leading visibly opened up on just those lines.
 *
 * Taking the raise off `vertical-align` and doing it with a relative offset instead means
 * the glyph no longer affects alignment, and `line-height: 0` stops it contributing any
 * height at all, so a marker costs the paragraph nothing. The font size is left to the
 * browser default of `smaller`, which is already what these render at.
 *
 * Global rather than per-block: footnote markers appear in paragraphs, list items, headings
 * and table cells alike, and the fix is the same wherever the element is.
 */
sup,
sub {
	position: relative;
	line-height: 0;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}
