/*
 * Theme Name:  Reactor Child - FootGearLab
 * Template:    mts_reactor
 * Description: Child theme for Reactor - soft, feminine editorial look.
 * Version:     2.7.0
 * Text Domain: reactor-child
 */

/* ---------- Design tokens ---------- */
:root {
	--fgl-bg: #f9f3f2;           /* blush page background */
	--fgl-surface: #ffffff;      /* cards */
	--fgl-text: #3a3433;
	--fgl-muted: #8a7f7d;
	--fgl-accent: #c08d84;       /* dusty rose: labels, links */
	--fgl-accent-dark: #a5736a;
	--fgl-accent-soft: #eadcd9;  /* deeper blush */
	--fgl-line: #eee3e0;
	--fgl-serif: "Forum", Georgia, serif;
	--fgl-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--fgl-label: "Montserrat", "Hanken Grotesk", sans-serif;
	--fgl-header-h: 64px;
}

/* ---------- Font safety net ----------
 * Reactor's Oswald/Roboto fonts are no longer loaded (faster pages).
 * These are the places Reactor's settings still name them, so point them
 * at the child theme fonts instead of falling back to Times New Roman.
 */
body,
body #sidebar .widget a, body #sidebar .widget li, body #sidebar .widget p,
body .postauthor p, body #copyright-note, body #copyright-note a,
body .related-posts .post-info, body .related-posts .front-view-content,
body .single-subscribe .widget #wp-subscribe p.text,
body .widget #wp-subscribe input.email-field, body .widget #wp-subscribe input.name-field {
	font-family: var(--fgl-sans);
}
body #logo a,
body .postauthor h4, body .postauthor h5, body .postauthor h5 a,
body .footer #logo a,
body #sidebar .widget .vertical-small a, body #sidebar .widget .review_thumb_large .entry-title a,
body .f-widget .widget .vertical-small a,
body .related-posts .title a,
body .widget #wp-subscribe .title,
body blockquote { font-family: var(--fgl-serif); }
body .footer-nav li a,
body .footer-widgets h3, body .brands-title,
body .footer-widgets, body .f-widget a,
body footer .meta,
body #sidebar .widget .post-info, body #sidebar .widget .post-info a,
body .reply, body #comments .ago,
body .widget #wp-subscribe input.submit, body #mtscontact_submit {
	font-family: var(--fgl-label);
}

/* ---------- New header ---------- */
.fgl-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--fgl-line);
	font-family: var(--fgl-sans);
}
.admin-bar .fgl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fgl-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .fgl-header { top: 0; } }

.fgl-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	height: var(--fgl-header-h);
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	gap: 8px;
}

.fgl-header .logo-wrap { justify-self: center; float: none; margin: 0; padding: 0; }
.fgl-header #logo { margin: 0; padding: 0; line-height: 0; float: none; }
.fgl-header #logo img { height: 46px !important; max-height: none; width: auto; max-width: 170px; object-fit: contain; }
.fgl-header #logo a { color: var(--fgl-text); font-family: var(--fgl-serif); font-size: 26px; line-height: 1; }

.fgl-icon-btn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--fgl-text);
	cursor: pointer;
	transition: background .2s;
}
.fgl-icon-btn:hover,
.fgl-icon-btn:focus-visible { background: var(--fgl-accent-soft); outline: none; }
.fgl-icon-btn svg { width: 22px; height: 22px; }

/* Search + social icons (icons show on desktop only) */
.fgl-header__tools { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.fgl-social { display: none; align-items: center; gap: 2px; margin-right: 4px; }
.fgl-social a {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--fgl-text);
	transition: color .2s;
}
.fgl-social a:hover { color: var(--fgl-accent); }
.fgl-social svg { width: 16px; height: 16px; }
.fgl-social .fa { font-size: 15px; }

/* Social icons in the mobile drawer */
.fgl-drawer__social .fgl-social { display: flex; gap: 12px; }
.fgl-drawer__social .fgl-social a { background: var(--fgl-accent-soft); border-radius: 50%; width: 44px; height: 44px; }

/* Desktop nav (hidden on mobile) */
.fgl-nav { display: none; }
.fgl-nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.fgl-nav a {
	font-family: var(--fgl-label);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--fgl-text);
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	transition: color .2s, border-color .2s;
}
.fgl-nav a:hover,
.fgl-nav .current-menu-item > a { color: var(--fgl-accent); border-color: var(--fgl-accent); }
.fgl-nav .sub-menu { display: none; }

@media (min-width: 900px) {
	.fgl-header__inner { grid-template-columns: auto 1fr auto; height: 76px; padding: 0 32px; }
	.fgl-header .logo-wrap { grid-column: 1; grid-row: 1; justify-self: start; }
	.fgl-nav { display: block; grid-column: 2; justify-self: center; }
	.fgl-menu-btn { display: none; }
	.fgl-header__tools { grid-column: 3; }
	.fgl-social { display: flex; }
	.fgl-header #logo img { height: 62px !important; max-width: 220px; }
}

/* ---------- Mobile drawer ---------- */
.fgl-drawer {
	position: fixed;
	inset: 0;
	z-index: 10000;
	visibility: hidden;
	pointer-events: none;
}
.fgl-drawer.is-open { visibility: visible; pointer-events: auto; }
.fgl-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(43, 37, 35, .4);
	opacity: 0;
	transition: opacity .3s;
}
.fgl-drawer__panel {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(86vw, 340px);
	background: var(--fgl-bg);
	padding: 16px 24px 32px;
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform .3s ease;
	overflow-y: auto;
	font-family: var(--fgl-sans);
}
.fgl-drawer.is-open .fgl-drawer__backdrop { opacity: 1; }
.fgl-drawer.is-open .fgl-drawer__panel { transform: none; }
.fgl-drawer__top { display: flex; justify-content: flex-end; margin-bottom: 8px; }

.fgl-drawer__menu ul { margin: 0; padding: 0; list-style: none; }
.fgl-drawer__menu li { border-bottom: 1px solid var(--fgl-line); }
.fgl-drawer__menu a {
	display: block;
	padding: 16px 0;
	font-family: var(--fgl-serif);
	font-size: 22px;
	color: var(--fgl-text);
	text-decoration: none;
}
.fgl-drawer__menu a:hover { color: var(--fgl-accent); }
.fgl-drawer__menu .sub-menu a { font-family: var(--fgl-sans); font-size: 16px; padding: 10px 0 10px 16px; }
.fgl-drawer__menu .sub-menu li { border: 0; }

.fgl-drawer__social { margin-top: auto; padding-top: 32px; }
.fgl-drawer__social .header-social-icons { display: flex; gap: 12px; float: none; margin: 0; padding: 0; }
.fgl-drawer__social a {
	width: 44px;
	height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--fgl-accent-soft) !important;
	color: var(--fgl-accent) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
}
.fgl-drawer__social a span { background: none !important; color: inherit !important; }

/* ---------- Search overlay ---------- */
.fgl-search {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 10001;
	background: var(--fgl-bg);
	padding: 16px;
	box-shadow: 0 10px 30px rgba(43, 37, 35, .12);
	transform: translateY(-100%);
	transition: transform .3s ease;
	visibility: hidden;
}
.fgl-search.is-open { transform: none; visibility: visible; }
.fgl-search__inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.fgl-search form { flex: 1; position: relative; }
.fgl-search input[type="search"],
.fgl-search input[type="text"] {
	width: 100%;
	height: 48px;
	padding: 0 20px;
	border: 1px solid var(--fgl-line);
	border-radius: 999px;
	background: var(--fgl-surface);
	font: 16px var(--fgl-sans); /* 16px stops iOS zoom */
	color: var(--fgl-text);
	box-sizing: border-box;
}
.fgl-search input:focus { border-color: var(--fgl-accent); outline: none; }
.fgl-search button[type="submit"],
.fgl-search input[type="submit"],
.fgl-search #s + button { display: none; }

body.fgl-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.fgl-drawer__panel, .fgl-drawer__backdrop, .fgl-search { transition: none; }
}

/* ==========================================================
 * Base: colors & typography
 * ======================================================== */
html body,
body.main {
	background: var(--fgl-bg);
	color: var(--fgl-text);
	font-family: var(--fgl-sans);
	font-size: 17px;
	line-height: 1.7;
}
body .main-container,
body #wrapper,
body #content_box,
body .article { background: transparent; }

body h1, body h2, body h3, body h4, body h5, body h6,
body .title,
body .single-title,
body .widget h3 {
	font-family: var(--fgl-serif);
	font-weight: 400;
	color: var(--fgl-text);
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.25;
}

body h1 a, body h2 a, body h3 a, body h4 a,
body .title a { font-family: inherit !important; font-weight: inherit; text-transform: none; }

body a { color: var(--fgl-text); transition: color .2s; }
body a:hover { color: var(--fgl-accent); }

/* Section labels ("Blog" etc.) - plain serif instead of tilted orange box */
body .title-container { text-align: center; margin: 32px 0 24px; }
body .featured-category-title {
	display: inline-block;
	margin: 0;
	padding: 0;
	background: none !important;
	box-shadow: none !important;
	transform: none !important;
}
body .featured-category-title::before,
body .featured-category-title::after { display: none !important; }
body .featured-category-title a {
	display: inline-block;
	padding: 0;
	background: none !important;
	color: var(--fgl-text) !important;
	font-family: var(--fgl-serif) !important;
	font-size: 34px;
	font-weight: 400;
	font-style: normal;
	letter-spacing: .04em;
	text-transform: uppercase;
	transform: none !important;
	box-shadow: none !important;
}

/* ==========================================================
 * Post cards (home + archives)
 * ======================================================== */
body #latest-posts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 16px;
}
body #latest-posts::before,
body #latest-posts::after { display: none; }

body .latestPost {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	box-sizing: border-box;
	min-width: 0;
	padding: 10px 10px 22px !important; /* white frame around the photo */
	background: var(--fgl-surface) !important;
	box-shadow: none !important;
	display: flex;
	flex-direction: column;
	text-align: center;
}
body .latestPost.big { grid-column: 1 / -1; }
body #latest-posts .pagination,
body #latest-posts .navigation,
body #latest-posts > nav { grid-column: 1 / -1; }

body .latestPost .post-image,
body .latestPost #featured-thumbnail {
	display: block;
	width: 100% !important;
	float: none !important;
	margin: 0 0 16px !important;
	border-radius: 0;
	overflow: hidden;
	position: relative;
}

/* Category label above the title */
body .fgl-card__cat {
	display: block;
	margin: 0 0 8px;
	font-family: var(--fgl-label);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--fgl-accent) !important;
	text-decoration: none;
}
body .fgl-card__cat:hover { color: var(--fgl-accent-dark) !important; }
body .latestPost .featured-thumbnail { margin: 0; }
body .latestPost .featured-thumbnail::after,
body .latestPost .post-image::after { display: none !important; } /* old dark overlay */
body .latestPost .featured-thumbnail img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5; /* Pinterest-friendly vertical crop */
	object-fit: cover;
	transition: transform .5s ease;
}
body .latestPost.big .featured-thumbnail img { aspect-ratio: 4 / 3; }
body .latestPost:hover .featured-thumbnail img { transform: scale(1.04); }

/* Title moves below the image instead of over it */
body .latestPost .wrapper {
	position: static !important;
	padding: 0 6px !important;
	background: none !important;
	width: auto !important;
}
body .latestPost header { padding: 0; }
body .latestPost .title,
body .latestPost .front-view-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	text-shadow: none;
}
body .latestPost.big .title { font-size: 26px; }
body .latestPost .title a { color: var(--fgl-text) !important; }
body .latestPost .title a:hover { color: var(--fgl-accent) !important; }
body .latestPost .post-info { font-size: 13px; color: var(--fgl-muted); margin-top: 6px; }
body .latestPost .front-view-content { font-size: 15px; color: var(--fgl-muted); margin-top: 6px; }

@media (min-width: 768px) {
	body #latest-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
	body .latestPost.big { grid-column: span 3; }
	body .latestPost .title { font-size: 21px; }
	body .latestPost { padding: 14px 14px 28px !important; }
}
@media (min-width: 1024px) {
	body #latest-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	body .latestPost.big { grid-column: span 2; }
	body .latestPost.big .title { font-size: 30px; }
}

/* ==========================================================
 * Single post
 * ======================================================== */
body .single_post,
body .post-single-content { background: transparent; box-shadow: none; }
body .single-title { font-size: clamp(28px, 6vw, 44px); margin-bottom: 12px; }
body .breadcrumb,
body .breadcrumb a,
body .breadcrumb span {
	font-family: var(--fgl-sans) !important;
	font-size: 13px;
	text-transform: none;
	color: var(--fgl-muted) !important;
}
body .post-info,
body .post-info span,
body .post-info a {
	font-family: var(--fgl-sans) !important;
	font-size: 14px;
	font-weight: 400;
	text-transform: none !important;
	letter-spacing: 0;
	color: var(--fgl-muted) !important;
}
body .post-info .theauthor a { font-weight: 600; color: var(--fgl-text) !important; }
body .post-info .avatar { border-radius: 50%; }

body .thecontent { font-size: 18px; line-height: 1.8; }
body .thecontent p { margin-bottom: 1.3em; }
body .thecontent h2 { font-size: clamp(24px, 4.5vw, 32px); margin: 1.6em 0 .6em; }
body .thecontent h3 { font-size: clamp(20px, 3.8vw, 24px); margin: 1.4em 0 .5em; }
body .thecontent a {
	color: var(--fgl-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body .thecontent img { border-radius: 14px; }
body .thecontent ul li::marker,
body .thecontent ol li::marker { color: var(--fgl-accent); }

/* ---------- Page width: narrower outer margins, 300px sidebar ---------- */
@media (min-width: 960px) {
	body #wrapper > .container,
	body #wrapper .default-wrap,
	body .single-full-header .container {
		width: calc(100% - 40px) !important;
		max-width: 1240px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	body .container:has(> #sidebar) > .article,
	body .default-wrap:has(> #sidebar) > .article {
		width: calc(100% - 340px) !important;
		margin-right: 0 !important;
	}
	body .container > #sidebar,
	body .default-wrap > #sidebar { width: 300px !important; }
	.fgl-header__inner { max-width: 1240px; padding: 0 20px; }
}

/* ---------- Single post: white editorial panels (Margot style) ---------- */
body.single .single-full-header .full-header-wrapper {
	background: var(--fgl-surface);
	padding: 40px 20px 8px !important;
	text-align: center;
	box-sizing: border-box;
}
body.single .single-title {
	font-size: clamp(30px, 6vw, 44px) !important;
	line-height: 1.2 !important;
	text-align: left;
	margin: 0 !important;
	padding: 0 !important;
}
body.single { --fgl-pad: 20px; }
/* Each part (post, more posts, comments) is its own white panel with a blush gap between */
body.single article.article > #content_box {
	background: transparent !important;
	padding: 0 !important;
}
body.single #content_box .single_post,
body.single #content_box .related-posts,
body.single #content_box #commentsAdd,
body.single #content_box #comments {
	background: var(--fgl-surface);
	padding: 0 var(--fgl-pad) 40px !important;
	margin: 0 0 32px !important;
	box-sizing: border-box;
	float: none !important;
	width: auto !important;
	display: flow-root; /* contain the theme's floated children */
}
body.single #content_box .related-posts,
body.single #content_box #commentsAdd,
body.single #content_box #comments { padding-top: 36px !important; }
body.single .breadcrumb { margin-bottom: 8px; padding-top: 20px; }

/* Post header ("Content Size" option): image first, then meta, then title */
body.single .single_post > header {
	display: flex;
	flex-direction: column;
	float: none !important;
	width: auto !important;
	text-align: left;
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--fgl-line);
}
body.single .single_post > header .single-featured-image {
	order: -1;
	display: block;
	width: calc(100% + 2 * var(--fgl-pad)) !important;
	max-width: none !important;
	margin: 0 calc(-1 * var(--fgl-pad)) 28px !important;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
body.single .single_post > header .post-info.top,
body.single .single_post > header .post-info.bottom { order: 1; }
body.single .single_post > header .single-title { order: 2; }

/* Date / category line, small rose capitals */
body.single .single_post .post-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	float: none !important;
	width: auto !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
}
body.single .single_post .post-info:empty { display: none; }
body.single .single_post .post-info > * { float: none !important; margin: 0 !important; }
body.single .single_post .post-info span,
body.single .single_post .post-info a {
	font-family: var(--fgl-label) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: .18em !important;
	text-transform: uppercase !important;
	color: var(--fgl-accent) !important;
}
body.single .single_post .post-info .avatar,
body.single .single_post .post-info i { display: none; }

@media (min-width: 768px) {
	body.single { --fgl-pad: 48px; }
	body.single .single-full-header .full-header-wrapper { padding: 48px 48px 8px !important; }
}

/* Headings inside posts - some posts use h3/h4 as main sections */
body .thecontent h2 { font-size: clamp(26px, 4.6vw, 34px) !important; }
body .thecontent h3 { font-size: clamp(23px, 4vw, 28px) !important; margin: 1.6em 0 .6em; }
body .thecontent h4 { font-size: clamp(19px, 3.4vw, 22px) !important; margin: 1.3em 0 .4em; }
body .thecontent h5,
body .thecontent h6 { font-size: 18px !important; }
body .thecontent strong { font-weight: 600; color: var(--fgl-text); }

/* Bullets: small rose dots instead of orange squares */
body .post-single-content .thecontent ul li::before,
body .thecontent ul li::before {
	content: "" !important;
	position: absolute !important;
	width: 6px !important;
	height: 6px !important;
	border-radius: 50%;
	background: var(--fgl-accent) !important;
	top: 13px !important; /* px, not em: font-size is 0 here */
	left: 2px !important;
	margin: 0 !important;
	font-size: 0 !important;
}
body .thecontent ul { padding-left: 4px !important; margin-left: 0 !important; }
body .thecontent ul li { padding-left: 22px !important; position: relative; list-style: none; }

/* Quotes */
body .thecontent blockquote {
	font-family: var(--fgl-serif);
	font-style: normal !important;
	font-size: 24px;
	line-height: 1.5;
	text-align: center;
	padding: 24px 16px !important;
	border-top: 1px solid var(--fgl-line);
	border-bottom: 1px solid var(--fgl-line);
}
body .thecontent blockquote::before,
body .thecontent blockquote::after { display: none !important; }

/* Related posts under the article */
body .related-posts { margin-top: 0; }
body.single .related-posts-title { border: 0 !important; margin: 0 !important; padding: 0 !important; }
body.single .related-posts-title::before,
body.single .related-posts-title::after { display: none !important; }
body .related-posts .related-posts-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 !important; }
body .related-posts .latestPost { padding: 0 0 12px !important; width: auto !important; margin: 0 !important; }
body .related-posts .latestPost .title { font-size: 17px !important; padding: 0 8px; }
@media (min-width: 1024px) { body .related-posts .related-posts-container { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Comments */
body #respond .comment-reply-title,
body #comments .total-comments {
	font-family: var(--fgl-serif) !important;
	font-size: 30px !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	text-align: center;
	margin-bottom: 24px !important;
}
body #commentform textarea,
body #commentform input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]) {
	height: auto !important;
	padding: 14px 16px !important;
	width: 100%;
	box-sizing: border-box;
	background: var(--fgl-surface) !important;
	border: 1px solid var(--fgl-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: var(--fgl-sans) !important;
	font-size: 15px !important;
	color: var(--fgl-text);
}
body #commentform textarea:focus,
body #commentform input:focus { border-color: var(--fgl-accent) !important; outline: none; }
body #commentform ::placeholder { color: var(--fgl-muted); opacity: 1; }
body #commentform .form-submit { text-align: left; }
body #commentform input[type="submit"],
body #commentform #submit {
	background: var(--fgl-accent-soft) !important;
	color: var(--fgl-text) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 14px 30px !important;
	height: auto !important;
	line-height: 1.2 !important;
	width: auto !important;
	float: none !important;
	font-family: var(--fgl-label) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: .2em !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background .2s, color .2s;
}
body #commentform input[type="submit"]:hover { background: var(--fgl-accent) !important; color: #fff !important; }

/* Share buttons (Simple Share Buttons): no rose bullet dots */
body .thecontent .ssbp-list li { padding-left: 0 !important; }
body .thecontent .ssbp-list li::before { display: none !important; }
body .ssba { margin-top: 32px; }

/* Back-to-top button: soft rose instead of green */
body #move-to-top,
body .move-to-top {
	background: var(--fgl-accent) !important;
	color: #fff !important;
	box-shadow: none !important;
}

/* Related posts + sidebar widgets */
body .widget-title,
body .related-posts h4 {
	display: block;
	background: none !important;
	color: var(--fgl-text) !important;
	font-family: var(--fgl-label) !important;
	font-style: normal !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: .2em;
	text-align: center;
	text-transform: uppercase !important;
	transform: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 0 18px !important;
	border: 0;
}
body .widget-title *,
body .related-posts h4 * { transform: none !important; background: none !important; font: inherit !important; color: inherit !important; }
body .widget-title::before,
body .widget-title::after,
body .related-posts h4::before,
body .related-posts h4::after { display: none !important; }
body .sidebar .title,
body .sidebar .post-title { font-size: 16px; line-height: 1.35; }
body .sidebar .post-title a,
body .sidebar .post-data a,
body .sidebar li a {
	font-family: var(--fgl-serif) !important;
	font-weight: 400;
	font-size: 17px;
	text-transform: none !important;
	color: var(--fgl-text) !important;
}
body .sidebar img,
body .related-posts img { border-radius: 0; }
body #sidebar .widget,
body .sidebar .widget {
	background: var(--fgl-surface) !important;
	border: 0;
	border-radius: 0;
	padding: 28px 22px !important;
	margin-bottom: 24px;
	box-shadow: none;
	box-sizing: border-box;
}
body #sidebar .widget_custom_html { padding: 12px !important; } /* ad boxes */
body #sidebar .related-posts-widget li { margin-bottom: 16px; }
body #sidebar .related-posts-widget .horizontal-container-inner { display: flex; gap: 14px; align-items: center; }
body #sidebar .related-posts-widget .post-img { flex: 0 0 76px; float: none !important; margin: 0 !important; }
body #sidebar .related-posts-widget .post-img img { width: 76px; height: 96px; object-fit: cover; }
body #sidebar .related-posts-widget .post-data { flex: 1; min-width: 0; float: none !important; margin: 0 !important; padding: 0 !important; }
body #sidebar .widget-title { display: block !important; width: auto !important; }
body #sidebar .related-posts-widget li:last-child { margin-bottom: 0; }

/* Buttons & inputs */
body .button,
body button[type="submit"],
body input[type="submit"],
body .wpcf7-submit {
	display: inline-block;
	background: var(--fgl-accent-soft);
	color: var(--fgl-text) !important;
	border: 0;
	border-radius: 0;
	padding: 13px 28px;
	font-family: var(--fgl-label);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s, color .2s;
}
body .button:hover,
body input[type="submit"]:hover { background: var(--fgl-accent); color: #fff !important; }
body input[type="text"],
body input[type="email"],
body input[type="search"],
body textarea {
	border: 1px solid var(--fgl-line);
	border-radius: 0;
	background: var(--fgl-surface);
	font-family: var(--fgl-sans);
	font-size: 16px;
}

/* Footer */
body #site-footer { background: var(--fgl-accent-soft); color: var(--fgl-text); }
body #site-footer a { color: var(--fgl-text); }
body #site-footer .widget-title { color: var(--fgl-text) !important; }
