/*
 * hunters.gr base layer (Phase 1): reset + global element defaults, matching the live rendering
 * (computed styles of https://www.hunters.gr/, see _project/design/design-tokens.json).
 * Components (assets/css/components/*.css) style everything else with hg- classes.
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font: var(--hg-fw-light) var(--hg-fs-base) / var(--hg-lh-base) var(--hg-font);
	color: var(--hg-text);
	background: var(--hg-bg);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	overflow-y: scroll;
}

body {
	margin: 0;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote, fieldset, address, pre {
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

ul,
ol {
	padding: 0;
}

img,
svg,
iframe {
	max-width: 100%;
	border: 0;
}

img {
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--hg-link);
	text-decoration: none;
}

/* Live: every link turns brown + underlined on hover/focus (components may opt out explicitly). */
a:hover,
a:focus {
	color: var(--hg-link-hover);
	text-decoration: underline;
	outline: 0;
}

button,
input,
select,
textarea {
	margin: 0;
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

/* Accessible hidden text (WordPress convention). */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Superscript / subscript as on the live site (normalize): they do not make their line taller (Phase 5 QA). */
sub,
sup {
	position: relative;
	font-size: 75%;
	line-height: 0;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}
