/*
Theme Name: TechAnswersHQ
Theme URI: https://techanswershq.com/
Author: TechAnswersHQ
Description: Clear Newsroom — a fast, readable tech-answers magazine theme for TechAnswersHQ. Near-black header with a red accent, a lead story with a "Top answers" column, a homepage H1 intro band, quick answer boxes, an automatic table of contents, answer components (check this setting, what you should remember, myth or fact, sources), Rank Math breadcrumbs and FAQ styling, a theme view counter, custom widgets and locally served fonts. No jQuery.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techanswershq
Tags: news, blog, two-columns, right-sidebar, left-sidebar, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, accessibility-ready, wide-blocks
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--tahq-ink: #121417;
	--tahq-text: #1b1f24;
	--tahq-soft: #3d4552;
	--tahq-muted: #4a5361;
	--tahq-accent: #d7262e;
	--tahq-accent-text: #c4202a;
	--tahq-link: #b01e27;
	--tahq-logo-accent: #ff4d55;
	--tahq-surface: #f4f5f7;
	--tahq-border: #e3e6ea;
	--tahq-border-strong: #d9dde3;
	--tahq-on-dark: #ffffff;
	--tahq-on-dark-muted: #c9ced6;
	--tahq-dark-line: #2a2f36;
	--tahq-dark-field: #1e2228;
	--tahq-white: #ffffff;

	--tahq-ph-phone-bg: #e8eef6;
	--tahq-ph-phone-fg: #3b4b63;
	--tahq-ph-shield-bg: #f6e8e9;
	--tahq-ph-shield-fg: #8a2a31;
	--tahq-ph-answer-bg: #eceef1;
	--tahq-ph-answer-fg: #4a5361;

	--tahq-good-bg: #e3f1e8;
	--tahq-good-fg: #14532d;
	--tahq-warn-bg: #fff1cc;
	--tahq-warn-fg: #6b4a00;
	--tahq-info-bg: #e8eef6;
	--tahq-info-fg: #1e3a5f;

	--tahq-font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--tahq-font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--tahq-container: 1200px;
	--tahq-measure: 760px;
	--tahq-gutter: clamp(16px, 3vw, 32px);
	--tahq-radius: 8px;
	--tahq-radius-sm: 6px;
	--tahq-shadow: 0 6px 24px rgba(18, 20, 23, 0.12);
	--tahq-header-h: 64px;
}

.tahq-system-fonts {
	--tahq-font-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--tahq-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--tahq-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--tahq-white);
	color: var(--tahq-text);
	font-family: var(--tahq-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

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

img,
video {
	height: auto;
}

a {
	color: var(--tahq-ink);
	text-decoration: none;
}

a:hover {
	color: var(--tahq-accent-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--tahq-font-head);
	color: var(--tahq-ink);
	line-height: 1.2;
	margin: 0 0 0.5em;
	font-weight: 800;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

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

:focus-visible {
	outline: 3px solid var(--tahq-accent);
	outline-offset: 2px;
	border-radius: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.newsletter :focus-visible,
.tahq-remember :focus-visible {
	outline-color: var(--tahq-logo-accent);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	left: 12px;
	top: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--tahq-white);
	color: var(--tahq-ink);
	font-weight: 700;
	border-radius: var(--tahq-radius-sm);
	box-shadow: var(--tahq-shadow);
}

.tahq-container {
	width: 100%;
	max-width: var(--tahq-container);
	margin-inline: auto;
	padding-inline: var(--tahq-gutter);
}

.tahq-icon {
	flex-shrink: 0;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header {
	background: var(--tahq-ink);
	color: var(--tahq-on-dark);
	border-bottom: 3px solid var(--tahq-accent);
	z-index: 50;
}

.tahq-sticky-header .site-header {
	position: sticky;
	top: 0;
}

.admin-bar.tahq-sticky-header .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar.tahq-sticky-header .site-header {
		top: 0;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
	min-height: var(--tahq-header-h);
	display: flex;
	align-items: center;
	gap: 24px;
	padding-block: 8px;
}

.site-branding {
	flex-shrink: 0;
}

.site-title {
	margin: 0;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 25px;
	line-height: 1;
	letter-spacing: -0.02em;
}

.site-title a {
	color: var(--tahq-on-dark);
}

.site-title__hl,
.footer-logo .site-title__hl {
	color: var(--tahq-logo-accent);
}

.site-branding--image img {
	display: block;
	max-height: 44px;
	width: auto;
}

.main-nav {
	flex: 1 1 auto;
}

.main-nav__list,
.main-nav__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	font-weight: 600;
	font-size: 15px;
}

.main-nav__list > li {
	position: relative;
	display: flex;
	align-items: center;
}

.main-nav__list a {
	display: block;
	padding: 10px 0;
	color: var(--tahq-on-dark);
}

.main-nav__list a:hover,
.main-nav__list .current-menu-item > a,
.main-nav__list .current-cat > a,
.main-nav__list .current-menu-parent > a {
	color: var(--tahq-on-dark);
	box-shadow: inset 0 -3px 0 var(--tahq-accent);
}

.sub-toggle {
	background: none;
	border: 0;
	color: var(--tahq-on-dark-muted);
	padding: 6px;
	cursor: pointer;
	line-height: 1;
}

.main-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--tahq-ink);
	border: 1px solid var(--tahq-dark-line);
	border-top: 3px solid var(--tahq-accent);
	padding: 8px 0;
	z-index: 60;
	box-shadow: var(--tahq-shadow);
}

.main-nav .sub-menu a {
	padding: 8px 16px;
	font-weight: 500;
}

.main-nav .sub-menu a:hover {
	box-shadow: none;
	background: var(--tahq-dark-field);
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu {
	display: block;
}

.icon-btn {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: var(--tahq-on-dark);
	border: 1px solid #3a3f47;
	border-radius: var(--tahq-radius-sm);
	cursor: pointer;
}

.icon-btn:hover {
	background: var(--tahq-dark-field);
}

.menu-toggle {
	display: none;
	order: 3;
}

.search-panel {
	background: var(--tahq-dark-field);
	border-top: 1px solid var(--tahq-dark-line);
	padding-block: 16px;
}

.search-panel .search-form {
	max-width: 720px;
}

.search-panel .search-form__input {
	background: var(--tahq-white);
}

.read-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 3px;
	background: transparent;
	pointer-events: none;
}

.site-header {
	position: relative;
}

.tahq-sticky-header .site-header {
	position: sticky;
}

.read-progress__bar {
	display: block;
	height: 100%;
	background: var(--tahq-logo-accent);
	transform-origin: 0 50%;
	transform: scaleX(0);
}

@media (max-width: 900px) {
	.menu-toggle {
		display: inline-flex;
	}

	.site-header__inner {
		flex-wrap: wrap;
		gap: 12px;
	}

	.site-branding {
		flex: 1 1 auto;
	}

	.search-toggle {
		order: 2;
	}

	.main-nav {
		display: none;
		order: 4;
		flex-basis: 100%;
		border-top: 1px solid var(--tahq-dark-line);
		padding-block: 6px 10px;
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav__list {
		flex-direction: column;
		gap: 0;
		font-size: 17px;
	}

	.main-nav__list > li {
		flex-wrap: wrap;
		justify-content: space-between;
		border-bottom: 1px solid var(--tahq-dark-line);
	}

	.main-nav__list a {
		padding: 12px 0;
	}

	.main-nav__list a:hover,
	.main-nav__list .current-menu-item > a,
	.main-nav__list .current-cat > a {
		box-shadow: none;
		color: var(--tahq-logo-accent);
	}

	.main-nav .sub-menu {
		position: static;
		flex-basis: 100%;
		box-shadow: none;
		border: 0;
		padding: 0 0 8px 12px;
	}

	.main-nav li:hover > .sub-menu {
		display: none;
	}

	.main-nav li.is-open > .sub-menu {
		display: block;
	}
}

/* What's hot strip */
.hot-strip {
	background: var(--tahq-white);
	border-bottom: 1px solid var(--tahq-border);
}

.hot-strip__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 44px;
}

.hot-strip__label {
	margin: 0;
	flex-shrink: 0;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tahq-accent-text);
}

.hot-strip__nav {
	min-width: 0;
	flex: 1 1 auto;
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
}

.hot-strip__list li:last-child {
	padding-right: 48px;
}

.hot-strip__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 22px;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
	font-size: 14px;
	font-weight: 600;
}

.hot-strip__list::-webkit-scrollbar {
	display: none;
}

.hot-strip__list a {
	display: inline-block;
	padding: 11px 0;
	color: var(--tahq-text);
}

.hot-strip__list a:hover {
	color: var(--tahq-accent-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.below-header {
	padding-block: 16px;
	border-bottom: 1px solid var(--tahq-border);
}

/* ==========================================================================
   4. Shared pieces
   ========================================================================== */
.post-label {
	margin: 0 0 6px;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tahq-accent-text);
	line-height: 1.3;
}

.post-label a {
	color: var(--tahq-accent-text);
}

.post-label a:hover {
	color: var(--tahq-ink);
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	border-bottom: 3px solid var(--tahq-ink);
	padding-bottom: 8px;
	margin-bottom: 20px;
}

.section-head--accent {
	border-bottom-color: var(--tahq-accent);
}

.section-title {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
}

.more-link {
	font-weight: 700;
	font-size: 14px;
	color: var(--tahq-accent-text);
}

.more-link:hover {
	color: var(--tahq-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-thumb {
	position: relative;
	overflow: hidden;
	border-radius: var(--tahq-radius-sm);
	background: var(--tahq-ph-answer-bg);
	aspect-ratio: 3 / 2;
}

.post-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

a:hover .post-thumb img {
	transform: scale(1.03);
}

.post-thumb--ph {
	display: flex;
	align-items: center;
	justify-content: center;
}

.post-thumb--phone {
	background: var(--tahq-ph-phone-bg);
	color: var(--tahq-ph-phone-fg);
}

.post-thumb--shield {
	background: var(--tahq-ph-shield-bg);
	color: var(--tahq-ph-shield-fg);
}

.post-thumb--answer {
	background: var(--tahq-ph-answer-bg);
	color: var(--tahq-ph-answer-fg);
}

.byline {
	font-size: 14px;
	color: var(--tahq-muted);
}

.byline a {
	font-weight: 700;
	color: var(--tahq-ink);
}

.byline .sep {
	margin-inline: 2px;
}

.byline__updated {
	color: var(--tahq-text);
	font-weight: 700;
}

/* Layout: main + sidebar */
.layout {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 48px;
	padding-block: 40px 56px;
	align-items: flex-start;
}

.layout__main {
	flex: 1 1 620px;
	min-width: 0;
}

.layout__sidebar {
	flex: 0 1 320px;
	min-width: 0;
	width: 100%;
}

.layout--left .layout__sidebar {
	order: -1;
}

.layout--none .layout__main {
	flex-basis: 100%;
}

@media (max-width: 1000px) {
	.layout__sidebar {
		flex: 1 1 100%;
	}

	.layout--left .layout__sidebar {
		order: 2;
	}
}

/* Card grid */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
	gap: 32px 24px;
}

.card-grid--3 {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
}

.card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.card__thumb-link {
	display: block;
	margin-bottom: 12px;
}

.card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.005em;
}

.card__title a {
	color: var(--tahq-ink);
}

.card__title a:hover {
	color: var(--tahq-ink);
	text-decoration: underline;
	text-decoration-color: var(--tahq-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.card__meta {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--tahq-muted);
}

/* Phones: compact rows instead of tall cards */
@media (max-width: 600px) {
	.card-grid,
	.card-grid--3 {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.card {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		grid-template-rows: auto auto 1fr;
		column-gap: 14px;
		padding: 14px 0;
		border-bottom: 1px solid var(--tahq-border);
	}

	.card__thumb-link {
		grid-row: 1 / span 3;
		margin: 0;
		align-self: start;
	}

	.card .post-label,
	.card__title,
	.card__meta {
		grid-column: 2;
	}

	.card .post-label {
		font-size: 11px;
		margin-bottom: 3px;
	}

	.card__title {
		font-size: 17px;
	}

	.card .post-thumb--ph .tahq-icon {
		width: 28px;
		height: 28px;
	}
}

/* Pagination */
.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--tahq-border-strong);
	border-radius: var(--tahq-radius-sm);
	font-weight: 700;
	color: var(--tahq-ink);
}

.pagination .page-numbers.current {
	background: var(--tahq-ink);
	border-color: var(--tahq-ink);
	color: var(--tahq-on-dark);
}

.pagination a.page-numbers:hover {
	border-color: var(--tahq-ink);
}

/* Search form */
.search-form {
	display: flex;
	gap: 8px;
	max-width: 640px;
}

.search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border: 2px solid var(--tahq-ink);
	border-radius: var(--tahq-radius-sm);
	background: var(--tahq-white);
	color: var(--tahq-text);
	font-size: 16px;
}

.search-form__btn,
.newsletter__form button,
.comment-form .submit,
.wp-block-button__link {
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--tahq-radius-sm);
	background: var(--tahq-accent);
	color: var(--tahq-white);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}

.search-form__btn:hover,
.newsletter__form button:hover,
.comment-form .submit:hover {
	background: var(--tahq-accent-text);
}

/* ==========================================================================
   5. Homepage
   ========================================================================== */
.home-intro {
	background: var(--tahq-surface);
	border-bottom: 1px solid var(--tahq-border);
}

.home-intro__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	padding-block: 22px;
}

.home-intro__title {
	margin: 0;
	font-size: clamp(23px, 2.6vw, 28px);
	line-height: 1.2;
}

.home-intro__text {
	margin: 0;
	color: var(--tahq-muted);
	font-size: 16px;
}

.hero {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 40px;
	padding-block: 32px 8px;
}

.hero__lead {
	flex: 2 1 560px;
	min-width: 0;
}

.hero__thumb-link {
	display: block;
}

.hero__thumb {
	aspect-ratio: 16 / 9;
	border-radius: var(--tahq-radius);
}

.hero .post-label {
	margin-top: 18px;
	font-size: 13px;
}

.hero__title {
	margin: 0;
	font-size: clamp(26px, 3.2vw, 38px);
	line-height: 1.12;
	letter-spacing: -0.015em;
}

.hero__title a {
	color: var(--tahq-ink);
}

.hero__title a:hover {
	color: var(--tahq-ink);
	text-decoration: underline;
	text-decoration-color: var(--tahq-accent);
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
}

.hero__dek {
	margin: 12px 0 10px;
	font-size: 18px;
	line-height: 1.55;
	color: var(--tahq-soft);
	max-width: 62ch;
}

.hero__meta {
	margin: 0;
}

.hero__rail {
	flex: 1 1 300px;
	min-width: 0;
}

.hero__rail-title {
	font-size: 20px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--tahq-ink);
	margin-bottom: 4px;
}

.rail-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rail-item {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--tahq-border);
}

.rail-item__thumb {
	flex: 0 0 104px;
	width: 104px;
}

.rail-item__thumb .post-thumb {
	aspect-ratio: 3 / 2;
}

.rail-item__body {
	min-width: 0;
}

.rail-item .post-label {
	font-size: 11px;
	margin-bottom: 3px;
}

.rail-item__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.rail-item__title a {
	color: var(--tahq-ink);
}

.rail-item__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--tahq-accent);
	text-underline-offset: 3px;
	color: var(--tahq-ink);
}

.home-topics {
	background: var(--tahq-surface);
	border-top: 1px solid var(--tahq-border);
}

.home-topics__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 40px;
	padding-block: 40px 48px;
}

.topic-block__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.topic-block__list li {
	padding: 12px 0;
	border-bottom: 1px solid var(--tahq-border-strong);
}

.topic-block__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.topic-block__title a {
	color: var(--tahq-ink);
}

.topic-block__title a:hover {
	color: var(--tahq-ink);
	text-decoration: underline;
	text-decoration-color: var(--tahq-accent);
	text-underline-offset: 3px;
}

.topic-block__meta {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--tahq-muted);
}

/* ==========================================================================
   6. Widgets and sidebar
   ========================================================================== */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.sidebar .widget-title {
	font-size: 20px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--tahq-ink);
	margin-bottom: 6px;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar .widget > ul > li,
.sidebar .wp-block-latest-posts li {
	padding: 10px 0;
	border-bottom: 1px solid var(--tahq-border);
}

.numbered-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.numbered-list li {
	display: flex;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--tahq-border);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.35;
}

.numbered-list__n {
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 28px;
	line-height: 1;
	color: var(--tahq-accent);
	min-width: 24px;
}

.numbered-list--plain .numbered-list__n {
	display: none;
}

.numbered-list a {
	color: var(--tahq-ink);
}

.numbered-list a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.quick-list li {
	border-bottom: 1px solid var(--tahq-border);
}

.quick-list a {
	display: block;
	padding: 12px 0;
}

.quick-list__q {
	display: block;
	font-family: var(--tahq-font-head);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	color: var(--tahq-ink);
	margin-bottom: 4px;
}

.quick-list__a {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: var(--tahq-soft);
}

.quick-list a:hover .quick-list__q {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tahq-newsletter .newsletter,
.newsletter {
	background: var(--tahq-ink);
	color: var(--tahq-on-dark);
	border-radius: var(--tahq-radius);
	padding: 24px;
}

.newsletter .widget-title,
.sidebar .newsletter .widget-title {
	color: var(--tahq-on-dark);
	border: 0;
	padding: 0;
	font-size: 21px;
	line-height: 1.2;
	margin-bottom: 6px;
}

.newsletter__text {
	color: var(--tahq-on-dark-muted);
	font-size: 15px;
	margin-bottom: 16px;
}

.newsletter__notice {
	font-size: 13px;
	color: #ffd2d4;
}

.newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.newsletter__form label {
	font-size: 13px;
	font-weight: 600;
	color: var(--tahq-border);
}

.newsletter__form input {
	height: 46px;
	border-radius: var(--tahq-radius-sm);
	border: 1px solid #3a3f47;
	background: var(--tahq-dark-field);
	color: var(--tahq-on-dark);
	padding: 0 14px;
}

.newsletter__form input::placeholder {
	color: #9aa2ae;
}

.about-box {
	border: 1px solid var(--tahq-border);
	border-radius: var(--tahq-radius);
	padding: 22px;
	font-size: 15px;
	color: var(--tahq-soft);
}

.sidebar .about-box .widget-title {
	border: 0;
	padding: 0;
	font-size: 18px;
}

.author-mini {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding-top: 10px;
}

.author-mini__photo {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--tahq-surface);
}

.author-mini__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.author-mini__name {
	margin: 0 0 4px;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 17px;
}

.author-mini__bio {
	margin: 0;
	font-size: 14px;
	color: var(--tahq-soft);
	line-height: 1.5;
}

.topic-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid var(--tahq-border);
	font-weight: 600;
	color: var(--tahq-ink);
}

.topic-list a > span:first-child {
	flex: 1 1 auto;
}

.topic-list__count {
	font-size: 13px;
	color: var(--tahq-muted);
	font-weight: 500;
}

.topic-list__arrow {
	color: var(--tahq-accent-text);
}

.social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-list a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--tahq-border-strong);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tahq-ink);
}

.social-list--footer a,
.site-footer .social-list a {
	border-color: #3a3f47;
	color: var(--tahq-on-dark);
}

/* ==========================================================================
   7. Single post and pages
   ========================================================================== */
.entry {
	min-width: 0;
}

.layout__main > .entry,
.layout__main > .related,
.layout__main > .comments-area {
	max-width: var(--tahq-measure);
}

.layout--none .layout__main > .entry,
.layout--none .layout__main > .related,
.layout--none .layout__main > .comments-area {
	margin-inline: auto;
}

.site-main--single .layout {
	padding-top: 28px;
}

.breadcrumbs {
	font-size: 14px;
	line-height: 1.4;
	color: var(--tahq-muted);
	margin-bottom: 14px;
}

.breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.breadcrumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 6px;
	color: var(--tahq-muted);
}

.breadcrumbs a {
	color: var(--tahq-muted);
	text-decoration: underline;
	text-decoration-color: var(--tahq-border-strong);
	text-underline-offset: 3px;
}

.breadcrumbs a:hover {
	color: var(--tahq-ink);
}

.breadcrumbs .separator {
	margin-inline: 4px;
}

.entry-header .post-label {
	font-size: 13px;
	margin-bottom: 8px;
}

.entry-title {
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 14px;
}

.entry-dek {
	font-size: 21px;
	line-height: 1.5;
	color: var(--tahq-soft);
	margin: 0 0 22px;
}

.entry-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--tahq-border);
	border-bottom: 1px solid var(--tahq-border);
}

.entry-meta__avatar {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--tahq-surface);
}

.entry-meta__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry-meta__text {
	margin: 0;
	line-height: 1.5;
}

.entry-meta .byline {
	font-size: 15px;
}

.entry-thumb {
	margin: 26px 0 0;
}

.entry-thumb img {
	display: block;
	width: 100%;
	border-radius: var(--tahq-radius);
}

.entry-thumb figcaption {
	font-size: 14px;
	color: var(--tahq-muted);
	margin-top: 8px;
}

.entry--page {
	max-width: calc(var(--tahq-measure) + 2 * var(--tahq-gutter));
	padding-block: 32px 56px;
}

.entry--wide {
	padding-block: 32px 56px;
}

/* Quick answer */
.tahq-answer {
	margin: 28px 0;
	padding: 20px 24px;
	border: 2px solid var(--tahq-ink);
	border-radius: 10px;
	background: var(--tahq-white);
}

.tahq-answer__label {
	margin: 0 0 6px;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tahq-accent-text);
}

.tahq-answer__text {
	margin: 0;
	font-size: 20px;
	line-height: 1.55;
	font-weight: 500;
	color: var(--tahq-ink);
}

@media (max-width: 600px) {
	.tahq-answer {
		padding: 16px 18px;
	}

	.tahq-answer__text {
		font-size: 18px;
	}

	.entry-content {
		font-size: 18px;
	}

	.entry-dek {
		font-size: 19px;
	}
}

/* Table of contents */
.toc {
	background: var(--tahq-surface);
	border-radius: 10px;
	padding: 16px 22px;
	margin: 28px 0 32px;
}

.toc__title {
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 17px;
	color: var(--tahq-ink);
	cursor: pointer;
}

.entry-content .toc__list {
	margin: 10px 0 0;
	padding-left: 22px;
	font-size: 16px;
	line-height: 1.6;
}

.entry-content .toc__list li {
	margin: 0 0 6px;
}

.toc__item--h3 {
	margin-left: 16px !important;
	list-style-type: circle;
}

/* Article typography */
.entry-content {
	font-size: 19px;
	line-height: 1.72;
	color: var(--tahq-text);
	margin-top: 28px;
}

.entry-content > * {
	margin-block: 0 22px;
}

.entry-content a {
	color: var(--tahq-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--tahq-ink);
	text-decoration-thickness: 2px;
}

.entry-content h2 {
	font-size: clamp(25px, 2.6vw, 29px);
	line-height: 1.2;
	margin: 44px 0 14px;
}

.entry-content h3 {
	font-size: 22px;
	line-height: 1.25;
	margin: 32px 0 10px;
}

.entry-content h4 {
	font-size: 19px;
	margin: 26px 0 8px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: 8px;
}

.entry-content li::marker {
	color: var(--tahq-accent);
	font-weight: 700;
}

.entry-content strong {
	font-weight: 700;
	color: var(--tahq-ink);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin: 32px 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--tahq-accent);
	font-size: 21px;
	line-height: 1.5;
	color: var(--tahq-ink);
}

.entry-content blockquote cite {
	display: block;
	margin-top: 8px;
	font-size: 15px;
	font-style: normal;
	color: var(--tahq-muted);
}

.entry-content img {
	border-radius: var(--tahq-radius-sm);
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	font-size: 14px;
	line-height: 1.5;
	color: var(--tahq-muted);
	margin-top: 8px;
}

.entry-content hr {
	border: 0;
	border-top: 1px solid var(--tahq-border-strong);
	margin: 40px 0;
}

.entry-content code {
	font-size: 0.88em;
	background: var(--tahq-surface);
	padding: 2px 6px;
	border-radius: 4px;
}

.entry-content pre {
	overflow-x: auto;
	background: var(--tahq-ink);
	color: var(--tahq-on-dark);
	padding: 18px 20px;
	border-radius: var(--tahq-radius);
	font-size: 15px;
	line-height: 1.6;
}

.entry-content pre code {
	background: none;
	padding: 0;
}

/* Tables */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
}

.entry-content .wp-block-table {
	overflow-x: auto;
}

.entry-content table caption,
.entry-content .wp-block-table figcaption {
	text-align: left;
}

.entry-content th,
.entry-content td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--tahq-border);
	text-align: left;
	vertical-align: top;
}

.entry-content thead th,
.entry-content table:not(:has(thead)) tr:first-child th {
	background: var(--tahq-ink);
	color: var(--tahq-on-dark);
	font-family: var(--tahq-font-head);
	font-weight: 700;
	font-size: 15px;
}

.entry-content tbody th {
	font-weight: 700;
}

.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--tahq-surface);
}

.entry-content .wp-block-table.is-style-stripes {
	border-bottom: 0;
}

/* Images and alignments */
.entry-content .alignwide {
	max-width: none;
}

.entry-content .aligncenter {
	margin-inline: auto;
}

@media (min-width: 700px) {
	.entry-content .alignleft {
		float: left;
		margin: 6px 24px 16px 0;
		max-width: 50%;
	}

	.entry-content .alignright {
		float: right;
		margin: 6px 0 16px 24px;
		max-width: 50%;
	}
}

.entry-content .wp-block-image img {
	display: block;
}

.entry-content .wp-block-embed iframe {
	width: 100%;
}

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	height: auto;
	min-height: 48px;
	text-decoration: none !important;
	color: var(--tahq-white) !important;
}

/* Answer components */
.tahq-setting {
	border: 1px solid var(--tahq-border-strong);
	border-radius: 10px;
	overflow: hidden;
}

.tahq-setting__title {
	margin: 0;
	padding: 12px 20px;
	background: var(--tahq-surface);
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 16px;
	color: var(--tahq-ink);
	display: flex;
	align-items: center;
	gap: 10px;
}

.tahq-setting__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.tahq-setting__device {
	padding: 16px 20px;
	border-top: 1px solid var(--tahq-border);
	font-size: 16px;
	line-height: 1.55;
}

.tahq-setting__device + .tahq-setting__device {
	border-left: 1px solid var(--tahq-border);
}

.tahq-setting__device p {
	margin: 0;
}

.tahq-setting__name {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
	color: var(--tahq-ink);
}

.tahq-setting__steps {
	display: block;
}

.tahq-remember {
	background: var(--tahq-ink);
	color: var(--tahq-on-dark);
	border-radius: 10px;
	padding: 24px 26px;
}

.tahq-remember__title {
	margin: 0 0 12px;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 22px;
	line-height: 1.2;
	color: var(--tahq-on-dark);
}

.entry-content .tahq-remember ul {
	margin: 0;
	padding-left: 22px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--tahq-border);
}

.tahq-remember li::marker {
	color: var(--tahq-logo-accent);
}

.tahq-remember li:last-child {
	margin-bottom: 0;
}

.entry-content .tahq-remember a {
	color: var(--tahq-on-dark);
}

.entry-content .tahq-remember strong {
	color: var(--tahq-on-dark);
}

.tahq-verdict {
	border: 1px solid var(--tahq-border-strong);
	border-left: 0;
	border-radius: 10px;
	padding: 20px 24px;
	background: var(--tahq-white);
	box-shadow: inset 6px 0 0 var(--tahq-ink);
}

.tahq-verdict__label {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tahq-muted);
}

.tahq-verdict__claim {
	margin: 0 0 12px;
	font-family: var(--tahq-font-head);
	font-weight: 700;
	font-size: 21px;
	line-height: 1.3;
	color: var(--tahq-ink);
}

.tahq-verdict__badge {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--tahq-ink);
	color: var(--tahq-on-dark);
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tahq-verdict__text {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
}

.tahq-note {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 20px;
	border-radius: 10px;
	font-size: 17px;
	line-height: 1.6;
}

.tahq-note .tahq-icon {
	margin-top: 3px;
}

.tahq-note--tip {
	background: var(--tahq-good-bg);
	color: var(--tahq-good-fg);
}

.tahq-note--warning {
	background: var(--tahq-warn-bg);
	color: var(--tahq-warn-fg);
}

.tahq-note--info {
	background: var(--tahq-info-bg);
	color: var(--tahq-info-fg);
}

.tahq-note__title {
	margin: 0 0 2px;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 16px;
}

.tahq-note__text {
	margin: 0;
	color: var(--tahq-text);
}

.tahq-sources {
	border-top: 1px solid var(--tahq-border);
	padding-top: 18px;
}

.tahq-sources__title {
	margin: 0 0 8px;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 18px;
	color: var(--tahq-ink);
}

.entry-content .tahq-sources ul {
	margin: 0;
	padding-left: 20px;
	font-size: 16px;
	line-height: 1.7;
}

.entry-content .tahq-sources li {
	margin-bottom: 4px;
}

/* Rank Math and Yoast FAQ blocks */
.entry-content .rank-math-block,
.entry-content .schema-faq {
	border-top: 1px solid var(--tahq-border-strong);
}

.entry-content .rank-math-list-item,
.entry-content .schema-faq-section {
	padding: 16px 0;
	border-bottom: 1px solid var(--tahq-border-strong);
	margin: 0;
}

.entry-content .rank-math-question,
.entry-content .schema-faq-question {
	display: block;
	margin: 0 0 6px;
	font-family: var(--tahq-font-head);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.35;
	color: var(--tahq-ink);
}

.entry-content .rank-math-answer,
.entry-content .schema-faq-answer {
	margin: 0;
	font-size: 18px;
}

.entry-content .rank-math-answer > :last-child {
	margin-bottom: 0;
}

/* Rank Math TOC block */
.entry-content .wp-block-rank-math-toc-block {
	background: var(--tahq-surface);
	border-radius: 10px;
	padding: 16px 22px;
}

.entry-content .wp-block-rank-math-toc-block h2 {
	font-size: 17px;
	margin: 0 0 8px;
}

.entry-content .wp-block-rank-math-toc-block nav ul,
.entry-content .wp-block-rank-math-toc-block nav ol {
	margin: 0;
	font-size: 16px;
}

/* Tags, after-post, author box, post nav */
.entry-tags {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.entry-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--tahq-surface);
	font-size: 14px;
	font-weight: 600;
	color: var(--tahq-ink);
}

.entry-tags a:hover {
	background: var(--tahq-border);
}

.after-post {
	margin-top: 32px;
}

.after-post .widget-title {
	font-size: 20px;
}

.author-box {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-top: 40px;
	padding: 22px;
	border: 1px solid var(--tahq-border);
	border-radius: 10px;
}

.author-box__photo {
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--tahq-surface);
}

.author-box__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-box__body {
	flex: 1 1 auto;
	min-width: 0;
}

.author-box__eyebrow {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tahq-muted);
}

.author-box__name {
	margin: 0 0 6px;
	font-size: 21px;
}

.author-box__bio {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--tahq-soft);
}

.author-box__link {
	font-size: 15px;
	font-weight: 700;
	color: var(--tahq-accent-text);
}

.author-box__link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 520px) {
	.author-box {
		flex-direction: column;
	}
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 16px;
	margin-top: 32px;
}

.post-nav__link {
	display: block;
	padding: 16px 18px;
	border: 1px solid var(--tahq-border);
	border-radius: 10px;
	color: var(--tahq-ink);
	line-height: 1.4;
}

.post-nav__link:hover {
	border-color: var(--tahq-ink);
	color: var(--tahq-ink);
}

.post-nav__link--next {
	text-align: right;
}

.post-nav__dir {
	display: block;
	font-size: 13px;
	color: var(--tahq-muted);
	margin-bottom: 4px;
}

.post-nav__title {
	display: block;
	font-family: var(--tahq-font-head);
	font-weight: 700;
	font-size: 16px;
}

.related {
	margin-top: 48px;
}

.related .section-title {
	font-size: 22px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--tahq-ink);
	margin-bottom: 20px;
}

.page-links {
	margin-top: 24px;
	font-weight: 700;
}

/* Comments */
.comments-area {
	margin-top: 48px;
}

.comments-area .section-title {
	margin-bottom: 16px;
}

.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 24px;
}

.comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--tahq-border);
	font-size: 16px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-metadata {
	font-size: 13px;
	margin: 4px 0 8px;
}

.comment-metadata a {
	color: var(--tahq-muted);
}

.comment-reply-title {
	font-size: 22px;
}

.comment-form label {
	display: block;
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--tahq-border-strong);
	border-radius: var(--tahq-radius-sm);
	background: var(--tahq-white);
}

.comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

/* ==========================================================================
   8. Archives, search, 404
   ========================================================================== */
.archive-header {
	background: var(--tahq-surface);
	border-bottom: 1px solid var(--tahq-border);
	padding-block: 26px 28px;
}

.archive-header .breadcrumbs {
	margin-bottom: 10px;
}

.archive-header__eyebrow {
	margin: 0 0 4px;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tahq-accent-text);
}

.archive-header__title {
	margin: 0;
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.12;
}

.archive-header__page {
	color: var(--tahq-muted);
	font-weight: 700;
}

.archive-header__desc {
	margin-top: 10px;
	max-width: 70ch;
	color: var(--tahq-soft);
	font-size: 17px;
}

.archive-header__desc p:last-child {
	margin-bottom: 0;
}

.no-results__title {
	font-size: 26px;
}

.no-results .search-form {
	margin-top: 16px;
}

.error-404 {
	max-width: calc(var(--tahq-measure) + 2 * var(--tahq-gutter));
	padding-block: 48px 64px;
}

.error-404__code {
	margin: 0;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 72px;
	line-height: 1;
	color: var(--tahq-accent);
}

.error-404__text {
	font-size: 18px;
	color: var(--tahq-soft);
	margin-bottom: 20px;
}

.error-404__popular {
	margin-top: 44px;
}

.error-404__popular .section-title {
	padding-bottom: 8px;
	border-bottom: 3px solid var(--tahq-ink);
	margin-bottom: 4px;
	font-size: 22px;
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
.site-footer {
	background: var(--tahq-ink);
	color: var(--tahq-on-dark-muted);
	font-size: 15px;
	margin-top: 0;
}

.site-footer a {
	color: var(--tahq-on-dark-muted);
}

.site-footer a:hover {
	color: var(--tahq-on-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 32px;
	padding-block: 48px 36px;
}

.site-footer__col {
	min-width: 0;
}

.site-footer .widget-title {
	margin: 0 0 12px;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tahq-on-dark);
}

.site-footer .widget + .widget {
	margin-top: 24px;
}

.footer-logo {
	margin: 0 0 10px;
	font-family: var(--tahq-font-head);
	font-weight: 800;
	font-size: 22px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.footer-logo a,
.site-footer .footer-logo a:hover {
	color: var(--tahq-on-dark);
	text-decoration: none;
}

.footer-about {
	margin: 0 0 16px;
}

.footer-links,
.site-footer .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.site-footer__bar {
	border-top: 1px solid var(--tahq-dark-line);
}

.site-footer__bar-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding-block: 18px;
	font-size: 14px;
}

.site-footer__copy {
	margin: 0;
}

.site-footer__bar .widget {
	margin: 0;
}

.back-to-top {
	position: fixed;
	right: 16px;
	bottom: 16px;
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var(--tahq-ink);
	color: var(--tahq-on-dark);
	box-shadow: var(--tahq-shadow);
	cursor: pointer;
	z-index: 40;
}

.back-to-top[hidden] {
	display: none;
}

.back-to-top:hover {
	background: var(--tahq-accent);
}

/* ==========================================================================
   10. WordPress core classes
   ========================================================================== */
.sticky {
	position: relative;
}

.bypostauthor {
	display: block;
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 14px;
	color: var(--tahq-muted);
}

.has-text-align-center {
	text-align: center;
}

/* ==========================================================================
   11. Motion and print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.site-header,
	.hot-strip,
	.below-header,
	.sidebar,
	.site-footer,
	.back-to-top,
	.post-nav,
	.related,
	.comments-area,
	.toc {
		display: none !important;
	}

	.entry-content {
		font-size: 12pt;
	}

	.entry-content a::after {
		content: " (" attr(href) ")";
		font-size: 10pt;
	}
}
