/**
 * Typography — core (headings, paragraphs, blockquote, responsive scale)
 *
 * @package Arsin_Storefront_Customizer
 */

h1 {
	font-size: var(--asc-font-size-h1);
	font-weight: var(--asc-font-weight-bold);
}

h2 {
	font-size: var(--asc-font-size-h2);
	font-weight: var(--asc-font-weight-bold);
}

h3 {
	font-size: var(--asc-font-size-h3);
	font-weight: var(--asc-font-weight-semibold);
}

h4 {
	font-size: var(--asc-font-size-h4);
}

h5 {
	font-size: var(--asc-font-size-h5);
}

h6 {
	font-size: var(--asc-font-size-h6);
}

p {
	font-size: 1em;
	line-height: 1.6;
}

a {
	font-size: inherit;
	text-decoration: none;
}

.site-main .entry-content blockquote,
.hentry .entry-content blockquote {
	margin: 1.25em 0;
	padding: 1em 1.25em;
	border: 1px solid var(--asc-color-border);
	border-inline-start-width: 4px;
	border-inline-start-color: var(--asc-color-primary);
	background-color: var(--asc-color-bg-alt);
	color: var(--asc-color-text);
	font-family: var(--asc-font-family);
	font-size: var(--asc-font-size-base);
	line-height: 1.6;
}

.site-main .entry-content blockquote p,
.hentry .entry-content blockquote p {
	margin: 0;
}

.site-main .entry-content blockquote p + p,
.hentry .entry-content blockquote p + p {
	margin-top: 0.75em;
}

.site-main .entry-content blockquote a,
.hentry .entry-content blockquote a {
	color: var(--asc-color-primary);
	text-decoration: none;
}

.site-main .entry-content blockquote a:hover,
.site-main .entry-content blockquote a:focus-visible,
.hentry .entry-content blockquote a:hover,
.hentry .entry-content blockquote a:focus-visible {
	color: var(--asc-color-primary-hover);
	text-decoration: underline;
}

@media (max-width: 768px) {
	h1 { font-size: 1.4em; }
	h2 { font-size: 1.25em; }
	h3 { font-size: 1.05em; }
	h4 { font-size: 0.95em; }
	h5 { font-size: var(--asc-font-size-h6); }
	h6 { font-size: 0.8em; }
	p { font-size: var(--asc-font-size-small); }
}

@media (max-width: 480px) {
	h1 { font-size: 1.3em; }
	h2 { font-size: 1.15em; }
	h3 { font-size: var(--asc-font-size-h4); }
	h4 { font-size: var(--asc-font-size-h5); }
	h5 { font-size: 0.8em; }
	h6 { font-size: 0.75em; }
	p { font-size: var(--asc-font-size-xsmall); }
}
