/**
 * Material overlay for GeneratePress.
 * Loads after core/dynamic CSS. Does not replace theme markup.
 */

body.gp-material {
	--md-primary: var(--accent, #1a56db);
	--md-on-primary: #ffffff;
	--md-primary-soft: rgba(26, 86, 219, 0.1);
	--md-primary-soft: color-mix(in srgb, var(--md-primary) 12%, #ffffff);
	--md-bg: #eef1f6;
	--md-surface: #ffffff;
	--md-surface-2: #f4f6fa;
	--md-outline: rgba(15, 23, 42, 0.08);
	--md-outline-strong: rgba(15, 23, 42, 0.14);
	--md-text: var(--contrast, #111827);
	--md-text-muted: var(--contrast-2, #5b6472);
	--md-radius: 16px;
	--md-radius-sm: 10px;
	--md-radius-pill: 999px;
	--md-shadow-1: 0 1px 2px rgba(17, 24, 39, 0.05), 0 8px 24px rgba(17, 24, 39, 0.04);
	--md-shadow-2: 0 4px 8px rgba(17, 24, 39, 0.06), 0 16px 32px rgba(17, 24, 39, 0.08);
	--md-shadow-3: 0 8px 28px rgba(17, 24, 39, 0.16);
	--md-header-h: 76px;
	background-color: var(--md-bg);
	color: var(--md-text);
	font-family: "Segoe UI", Roboto, system-ui, -apple-system, Helvetica, Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

body.gp-material button,
body.gp-material input,
body.gp-material select,
body.gp-material textarea {
	font-family: inherit;
}

/* -------------------------------------------------------------------------- */
/* Typography                                                                 */
/* -------------------------------------------------------------------------- */

body.gp-material h1,
body.gp-material h2,
body.gp-material h3,
body.gp-material h4,
body.gp-material h5,
body.gp-material h6 {
	color: var(--md-text);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.22;
	text-wrap: balance;
}

body.gp-material h1 {
	font-size: clamp(1.9rem, 2.4vw + 1rem, 2.6rem);
	margin-bottom: 0.55em;
}

body.gp-material h2 {
	font-size: clamp(1.45rem, 1.4vw + 1rem, 2rem);
}

body.gp-material h3 {
	font-size: 1.35rem;
}

body.gp-material h4 {
	font-size: 1.125rem;
}

body.gp-material .entry-title {
	margin-bottom: 0.4em;
	font-weight: 700;
}

body.gp-material.blog .entry-title,
body.gp-material.archive .entry-title,
body.gp-material.search .entry-title {
	font-size: clamp(1.35rem, 1vw + 1.1rem, 1.75rem);
}

body.gp-material .entry-title a {
	color: inherit;
	text-decoration: none;
}

body.gp-material .entry-title a:hover,
body.gp-material .entry-title a:focus {
	color: var(--md-primary);
}

body.gp-material .entry-content a,
body.gp-material .entry-summary a,
body.gp-material .comment-content a {
	color: var(--md-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

body.gp-material .entry-content a:hover,
body.gp-material .entry-summary a:hover {
	text-decoration-thickness: 2px;
}

body.gp-material .main-navigation a,
body.gp-material .site-branding a,
body.gp-material .main-title a,
body.gp-material .menu-toggle,
body.gp-material .button,
body.gp-material .wp-block-button__link,
body.gp-material .generate-back-to-top {
	text-decoration: none;
}

body.gp-material p {
	margin-bottom: 1.15em;
}

body.gp-material .entry-content,
body.gp-material .entry-summary {
	word-break: break-word;
}

body.gp-material :focus-visible {
	outline: 2px solid var(--md-primary);
	outline-offset: 3px;
}

body.gp-material.using-mouse :focus {
	outline: none;
}

body.gp-material.using-mouse :focus-visible {
	outline: 2px solid var(--md-primary);
	outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Header / wordmark                                                          */
/* -------------------------------------------------------------------------- */

body.gp-material .site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background-color: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	box-shadow: 0 1px 0 var(--md-outline);
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

body.gp-material .site-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--md-primary), color-mix(in srgb, var(--md-primary) 55%, #7c3aed));
	background: linear-gradient(90deg, var(--md-primary), #6366f1);
	pointer-events: none;
}

body.gp-material .site-header.is-scrolled {
	background-color: rgba(255, 255, 255, 0.97);
	box-shadow: var(--md-shadow-1);
}

body.admin-bar.gp-material .site-header {
	top: 32px;
}

body.gp-material .inside-header {
	position: relative;
	padding: 12px 28px;
	min-height: var(--md-header-h);
	gap: 20px;
}

body.gp-material .site-branding {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

body.gp-material .inside-header .main-title,
body.gp-material .site-header .main-title {
	margin: 0 !important;
	font-size: unset !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	text-transform: none !important;
	letter-spacing: -0.03em !important;
}

body.gp-material .gp-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: var(--md-text);
	text-decoration: none;
}

body.gp-material .gp-wordmark:hover,
body.gp-material .gp-wordmark:focus {
	color: var(--md-text);
}

body.gp-material .gp-wordmark-mark {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 14px;
	background: linear-gradient(160deg, var(--md-primary) 0%, #3b82f6 100%);
	color: #fff;
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--md-primary) 35%, transparent);
	box-shadow: 0 8px 18px rgba(26, 86, 219, 0.28);
}

body.gp-material .gp-wordmark-mark--icon {
	background: #fff;
	box-shadow: 0 1px 0 var(--md-outline), 0 8px 18px rgba(17, 24, 39, 0.08);
}

body.gp-material .gp-wordmark-mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.gp-material .gp-wordmark-text {
	display: block;
	min-width: 0;
	font-size: clamp(1.45rem, 1.2vw + 1.15rem, 1.95rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.045em;
	line-height: 1.12;
	color: var(--md-text);
}

body.gp-material .site-description {
	margin-top: 2px;
	color: var(--md-text-muted);
	font-size: 0.8125rem !important;
	font-weight: 500;
	letter-spacing: 0.01em;
}

body.gp-material .site-logo img,
body.gp-material .header-image {
	display: block;
	max-height: 52px;
	width: auto;
	border-radius: 10px;
}

body.gp-material .top-bar {
	background: #0f172a;
	color: #fff;
	font-size: 0.8125rem;
}

body.gp-material .top-bar .inside-top-bar {
	padding: 8px 28px;
}

/* -------------------------------------------------------------------------- */
/* Navigation                                                                 */
/* -------------------------------------------------------------------------- */

body.gp-material .main-navigation {
	background-color: transparent;
}

body.gp-material .site-header .main-navigation,
body.gp-material .site-header .main-navigation ul ul {
	background-color: transparent;
}

body.gp-material .inside-navigation {
	padding-left: 4px;
	padding-right: 4px;
}

body.gp-material .main-navigation .main-nav > ul > li > a {
	position: relative;
	padding: 0 14px;
	line-height: 48px;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	border-radius: 10px;
	color: var(--md-text);
}

body.gp-material .main-navigation .main-nav > ul > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 8px;
	height: 2px;
	border-radius: 2px;
	background: var(--md-primary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.18s ease;
}

body.gp-material .main-navigation .main-nav > ul > li > a:hover,
body.gp-material .main-navigation .main-nav > ul > li:hover > a,
body.gp-material .main-navigation .main-nav > ul > li.sfHover > a {
	background-color: var(--md-primary-soft);
	color: var(--md-primary);
}

body.gp-material .main-navigation .main-nav > ul > .current-menu-item > a,
body.gp-material .main-navigation .main-nav > ul > .current-menu-ancestor > a,
body.gp-material .main-navigation .main-nav > ul > .current_page_item > a {
	color: var(--md-primary);
	background-color: var(--md-primary-soft);
}

body.gp-material .main-navigation .main-nav > ul > .current-menu-item > a::after,
body.gp-material .main-navigation .main-nav > ul > .current-menu-ancestor > a::after,
body.gp-material .main-navigation .main-nav > ul > .current_page_item > a::after {
	transform: scaleX(1);
}

body.gp-material .main-navigation ul ul {
	border: 0;
	border-radius: 14px;
	box-shadow: var(--md-shadow-2);
	background: var(--md-surface);
	padding: 8px;
	margin-top: 6px;
}

body.gp-material .main-navigation ul ul a {
	padding: 10px 14px;
	font-size: 0.9375rem;
	line-height: 1.4;
	border-radius: 8px;
}

body.gp-material .main-navigation ul ul a:hover {
	background-color: var(--md-primary-soft);
	color: var(--md-primary);
}

body.gp-material button.menu-toggle {
	background: var(--md-surface-2);
	color: var(--md-text);
	border-radius: 12px;
	min-height: 44px;
	padding: 0 14px;
	font-weight: 600;
	box-shadow: none;
}

body.gp-material button.menu-toggle:hover,
body.gp-material button.menu-toggle:focus {
	background-color: var(--md-primary-soft);
	color: var(--md-primary);
}

body.gp-material .main-navigation.toggled {
	background: var(--md-surface);
	box-shadow: var(--md-shadow-2);
	border-radius: 16px;
	margin: 8px 12px 12px;
}

body.gp-material .main-navigation.toggled .main-nav > ul {
	padding: 8px;
}

body.gp-material .main-navigation.toggled .main-nav ul li a {
	border-radius: 10px;
}

body.gp-material .main-navigation.toggled .main-nav > ul > li > a::after {
	display: none;
}

/* -------------------------------------------------------------------------- */
/* Surfaces / cards                                                           */
/* -------------------------------------------------------------------------- */

body.gp-material.separate-containers .inside-article,
body.gp-material.separate-containers .comments-area,
body.gp-material.separate-containers .page-header,
body.gp-material.separate-containers .paging-navigation,
body.gp-material .inside-page-header,
body.gp-material.separate-containers .site-main > .no-results {
	background-color: var(--md-surface);
	border-radius: var(--md-radius);
	box-shadow: var(--md-shadow-1);
	padding: 28px;
	overflow: hidden;
	border: 1px solid var(--md-outline);
}

body.gp-material.separate-containers .site-main {
	margin: 28px 24px 28px 0;
}

body.gp-material.separate-containers.no-sidebar .site-main {
	margin-left: 0;
	margin-right: 0;
}

body.gp-material.separate-containers .inside-right-sidebar,
body.gp-material.separate-containers .inside-left-sidebar {
	margin-top: 28px;
	margin-bottom: 28px;
}

body.gp-material .sidebar .widget,
body.gp-material.separate-containers .site-main > * {
	margin-bottom: 20px;
}

body.gp-material.one-container .site-content {
	background: var(--md-surface);
	border-radius: var(--md-radius);
	box-shadow: var(--md-shadow-1);
	padding: 28px;
	margin-top: 28px;
	margin-bottom: 28px;
}

body.gp-material.blog .inside-article,
body.gp-material.archive .inside-article,
body.gp-material.search .inside-article,
body.gp-material.blog .no-results .inside-article {
	display: flex;
	flex-direction: column;
}

body.gp-material.blog .inside-article .post-image,
body.gp-material.archive .inside-article .post-image,
body.gp-material.search .inside-article .post-image {
	order: -1;
	margin: -28px -28px 18px;
}

body.gp-material .post-image img,
body.gp-material .featured-image img,
body.gp-material .page-header-image img {
	display: block;
	width: 100%;
	height: auto;
}

body.gp-material.blog .post-image img,
body.gp-material.archive .post-image img,
body.gp-material.search .post-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	max-height: 280px;
}

body.gp-material.blog .inside-article,
body.gp-material.archive .inside-article,
body.gp-material.search-results .inside-article {
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.gp-material.blog article:hover .inside-article,
body.gp-material.archive article:hover .inside-article,
body.gp-material.search-results article:hover .inside-article {
	box-shadow: var(--md-shadow-2);
	transform: translateY(-2px);
}

body.gp-material .page-header .page-title,
body.gp-material .archive-title {
	margin-bottom: 0.25em;
}

body.gp-material .taxonomy-description,
body.gp-material .entry-meta {
	color: var(--md-text-muted);
}

body.gp-material .entry-summary {
	color: var(--md-text-muted);
	font-size: 1rem;
}

body.gp-material .read-more-container {
	margin-top: 16px;
}

body.gp-material .read-more-container .read-more-button,
body.gp-material a.button,
body.gp-material .wp-block-button__link,
body.gp-material .more-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--md-radius-pill);
	background: var(--md-primary);
	color: var(--md-on-primary);
	font-weight: 600;
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(26, 86, 219, 0.22);
}

body.gp-material .read-more-container .read-more-button:hover,
body.gp-material a.button:hover,
body.gp-material .wp-block-button__link:hover,
body.gp-material .more-link:hover {
	filter: brightness(1.06);
	box-shadow: var(--md-shadow-2);
	color: var(--md-on-primary);
}

body.gp-material .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--md-primary);
	box-shadow: none;
	border: 1px solid var(--md-outline-strong);
}

/* -------------------------------------------------------------------------- */
/* Widgets / sidebar                                                          */
/* -------------------------------------------------------------------------- */

body.gp-material .widget-area .widget {
	background: var(--md-surface);
	border-radius: var(--md-radius);
	box-shadow: var(--md-shadow-1);
	border: 1px solid var(--md-outline);
	padding: 22px;
}

body.gp-material .widget-area .widget .gp-random-posts-widget {
	background: transparent;
	box-shadow: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
}

body.gp-material .widget-title {
	margin-bottom: 14px;
	padding-bottom: 10px;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--md-text-muted);
	border-bottom: 1px solid var(--md-outline);
}

body.gp-material .widget ul li {
	margin-bottom: 0;
	padding: 9px 0;
	border-bottom: 1px solid var(--md-outline);
}

body.gp-material .widget ul li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

body.gp-material .widget ul li ul {
	margin-top: 8px;
	border-top: 1px solid var(--md-outline);
}

body.gp-material .widget a {
	color: var(--md-text);
	text-decoration: none;
}

body.gp-material .widget a:hover,
body.gp-material .widget a:focus {
	color: var(--md-primary);
}

body.gp-material .widget .search-form {
	gap: 8px;
}

body.gp-material .entry-content .gp-random-posts-widget {
	background: var(--md-surface);
	border-radius: var(--md-radius);
	box-shadow: var(--md-shadow-1);
	padding: 20px;
}

body.gp-material .gp-random-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.gp-material .widget ul.gp-random-posts > li,
body.gp-material .gp-random-post {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	list-style: none;
}

body.gp-material .gp-random-post:last-child {
	margin-bottom: 0;
}

body.gp-material .gp-thumb {
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: var(--md-radius-sm);
	background: var(--md-surface-2);
}

body.gp-material .gp-thumb-img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--md-radius-sm);
	transition: transform 0.25s ease;
}

body.gp-material .gp-random-post:hover .gp-thumb-img {
	transform: scale(1.04);
}

body.gp-material .gp-title {
	display: block;
	margin-top: 8px;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.35;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: var(--md-text);
}

body.gp-material .gp-title:hover {
	color: var(--md-primary);
	text-decoration: none;
}

body.gp-material .gp-date {
	display: block;
	font-size: 0.75rem;
	color: var(--md-text-muted);
	margin-top: 4px;
}

/* -------------------------------------------------------------------------- */
/* Forms                                                                      */
/* -------------------------------------------------------------------------- */

body.gp-material button,
body.gp-material input[type="button"],
body.gp-material input[type="reset"],
body.gp-material input[type="submit"],
body.gp-material .search-submit {
	background: var(--md-primary);
	color: var(--md-on-primary);
	border: 0;
	border-radius: var(--md-radius-pill);
	padding: 10px 22px;
	min-height: 42px;
	font-weight: 600;
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	box-shadow: 0 6px 16px rgba(26, 86, 219, 0.22);
}

body.gp-material button:hover,
body.gp-material input[type="submit"]:hover,
body.gp-material .search-submit:hover {
	filter: brightness(1.05);
	box-shadow: var(--md-shadow-2);
}

body.gp-material input[type="text"],
body.gp-material input[type="email"],
body.gp-material input[type="url"],
body.gp-material input[type="password"],
body.gp-material input[type="search"],
body.gp-material input[type="tel"],
body.gp-material input[type="number"],
body.gp-material textarea,
body.gp-material select {
	border: 1px solid var(--md-outline-strong);
	border-radius: 12px;
	background: var(--md-surface);
	padding: 12px 14px;
	color: var(--md-text);
	max-width: 100%;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.gp-material input:hover,
body.gp-material textarea:hover,
body.gp-material select:hover {
	border-color: #93c5fd;
}

body.gp-material input:focus,
body.gp-material textarea:focus,
body.gp-material select:focus {
	border-color: var(--md-primary);
	box-shadow: 0 0 0 4px var(--md-primary-soft);
	outline: none;
}

body.gp-material .search-form {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

body.gp-material .search-form label {
	flex: 1;
}

body.gp-material .search-form .search-field {
	width: 100%;
}

body.gp-material .widget .search-form button.search-submit {
	box-shadow: none;
	padding: 0 14px;
	min-width: 44px;
}

/* -------------------------------------------------------------------------- */
/* Comments                                                                   */
/* -------------------------------------------------------------------------- */

body.gp-material .comments-title {
	font-size: 1.25rem;
	margin-bottom: 16px;
}

body.gp-material .comment-body {
	padding: 16px 0;
}

body.gp-material .comment-content {
	padding: 16px;
	border: 0;
	border-radius: 12px;
	background: var(--md-surface-2);
}

body.gp-material .comment-meta .avatar {
	border-radius: 50%;
}

body.gp-material .comment-respond {
	margin-top: 16px;
	padding-top: 8px;
}

body.gp-material .comment-form input,
body.gp-material .comment-form textarea {
	margin-bottom: 12px;
}

body.gp-material .form-submit input {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

body.gp-material .site-footer {
	background: #ffffff;
	color: #1e293b;
	box-shadow: 0 -1px 0 var(--md-outline);
	margin-top: 12px;
}

body.gp-material .site-footer a,
body.gp-material .footer-widgets a,
body.gp-material .site-info a,
body.gp-material .inside-site-info a {
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
}

body.gp-material .site-footer a:hover,
body.gp-material .footer-widgets a:hover,
body.gp-material .site-info a:hover,
body.gp-material .inside-site-info a:hover {
	color: var(--md-primary);
}

body.gp-material .footer-widgets-container {
	padding: 40px 28px 24px;
}

body.gp-material .footer-widgets .widget {
	background: transparent;
	box-shadow: none;
	border: 0;
	padding: 0;
}

body.gp-material .footer-widgets .widget-title {
	color: #334155;
	border-bottom-color: var(--md-outline);
}

body.gp-material .footer-widgets .widget ul li {
	border-bottom-color: var(--md-outline);
}

body.gp-material .inside-site-info {
	padding: 16px 28px;
	color: #475569;
	font-size: 0.8125rem;
	border-top: 1px solid var(--md-outline);
}

/* -------------------------------------------------------------------------- */
/* Pagination / post nav                                                      */
/* -------------------------------------------------------------------------- */

body.gp-material .paging-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding-left: 0;
}

body.gp-material .paging-navigation .nav-links > * {
	padding: 0;
}

body.gp-material .page-numbers,
body.gp-material .nav-links .prev,
body.gp-material .nav-links .next {
	min-width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border-radius: var(--md-radius-pill);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.875rem;
	background: var(--md-surface-2);
	color: var(--md-text);
}

body.gp-material .page-numbers:hover,
body.gp-material .nav-links a:hover {
	background: var(--md-primary-soft);
	color: var(--md-primary);
}

body.gp-material .page-numbers.current {
	background: var(--md-primary);
	color: var(--md-on-primary);
}

body.gp-material .post-navigation {
	background: var(--md-surface);
	border-radius: var(--md-radius);
	box-shadow: var(--md-shadow-1);
	padding: 16px 24px;
}

body.gp-material .post-navigation a {
	text-decoration: none;
	font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Content extras                                                             */
/* -------------------------------------------------------------------------- */

body.gp-material blockquote {
	border-left: 4px solid var(--md-primary);
	background: var(--md-surface-2);
	border-radius: 0 12px 12px 0;
	padding: 16px 20px;
	font-size: 1.05em;
	font-style: normal;
	color: var(--md-text-muted);
}

body.gp-material pre,
body.gp-material code {
	border-radius: 10px;
}

body.gp-material pre {
	background: var(--md-surface-2);
	padding: 16px;
}

body.gp-material table {
	border: 0;
	border-collapse: collapse;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 0 0 1px var(--md-outline);
}

body.gp-material th,
body.gp-material td {
	border: 0;
	border-bottom: 1px solid var(--md-outline);
	padding: 12px 14px;
}

body.gp-material th {
	background: var(--md-surface-2);
	font-weight: 600;
}

body.gp-material hr {
	background: var(--md-outline);
	height: 1px;
	margin: 32px 0;
}

body.gp-material .wp-caption {
	border-radius: 12px;
	overflow: hidden;
}

body.gp-material .wp-caption-text,
body.gp-material .wp-block-image figcaption {
	color: var(--md-text-muted);
	font-size: 0.8125rem;
	padding: 8px 4px 0;
}

/* -------------------------------------------------------------------------- */
/* Back to top FAB                                                            */
/* -------------------------------------------------------------------------- */

body.gp-material .generate-back-to-top {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--md-primary) !important;
	color: var(--md-on-primary) !important;
	box-shadow: var(--md-shadow-3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

body.gp-material .generate-back-to-top:hover,
body.gp-material .generate-back-to-top:focus {
	filter: brightness(1.06);
	color: var(--md-on-primary) !important;
}

/* -------------------------------------------------------------------------- */
/* 404 / empty                                                                */
/* -------------------------------------------------------------------------- */

body.gp-material.error404 .inside-article,
body.gp-material .no-results .inside-article {
	text-align: left;
}

body.gp-material.error404 .search-form,
body.gp-material .no-results .search-form {
	max-width: 28rem;
	margin-top: 16px;
}

/* -------------------------------------------------------------------------- */
/* Layout polish                                                              */
/* -------------------------------------------------------------------------- */

body.gp-material .grid-container.site-content {
	padding-left: 20px;
	padding-right: 20px;
}

@media (max-width: 782px) {
	body.admin-bar.gp-material .site-header {
		top: 46px;
	}
}

body.gp-material.gp-no-primary-menu .mobile-menu-control-wrapper,
body.gp-material.gp-no-primary-menu .menu-toggle,
body.gp-material.gp-no-primary-menu #site-navigation,
body.gp-material.gp-no-primary-menu .main-navigation {
	display: none !important;
}

@media (max-width: 768px) {
	body.gp-material .inside-header {
		flex-direction: row;
		align-items: center;
		text-align: left;
		padding: 8px 16px;
		min-height: 56px;
		gap: 12px;
	}

	body.gp-material.gp-no-primary-menu .inside-header {
		min-height: 56px;
	}

	body.gp-material .gp-wordmark {
		gap: 10px;
	}

	body.gp-material .gp-wordmark-mark {
		width: 40px;
		height: 40px;
		border-radius: 12px;
		font-size: 1.2rem;
	}

	body.gp-material .gp-wordmark-text {
		font-size: 1.2rem !important;
	}

	body.gp-material.separate-containers .inside-article,
	body.gp-material.separate-containers .comments-area,
	body.gp-material.separate-containers .page-header,
	body.gp-material.separate-containers .paging-navigation,
	body.gp-material .inside-page-header {
		padding: 18px;
	}

	body.gp-material.blog .inside-article .post-image,
	body.gp-material.archive .inside-article .post-image,
	body.gp-material.search .inside-article .post-image {
		margin: -18px -18px 14px;
	}

	body.gp-material.separate-containers .site-main {
		margin: 16px 0;
	}

	body.gp-material .widget-area .widget {
		padding: 16px;
	}

	body.gp-material .footer-widgets-container {
		padding: 28px 16px 20px;
	}

	body.gp-material h1 {
		font-size: 1.7rem;
	}

	body.gp-material.blog article:hover .inside-article,
	body.gp-material.archive article:hover .inside-article,
	body.gp-material.search-results article:hover .inside-article {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.gp-material *,
	body.gp-material *::before,
	body.gp-material *::after {
		animation: none !important;
		transition: none !important;
	}
}

@media print {
	body.gp-material,
	body.gp-material .site-header,
	body.gp-material .site-footer,
	body.gp-material .inside-article,
	body.gp-material .widget-area .widget {
		background: #fff;
		box-shadow: none;
		position: static;
		color: #000;
	}

	body.gp-material .widget-area,
	body.gp-material .generate-back-to-top,
	body.gp-material .main-navigation,
	body.gp-material .gp-wordmark-mark {
		display: none;
	}
}
