/*
Theme Name: Health Clarity Notes
Theme URI: https://healthclaritynotes.com/
Author: Health Clarity Notes Editorial Team
Author URI: https://healthclaritynotes.com/about/
Description: A clean, calm editorial WordPress theme for Health Clarity Notes, an informational health website. Plain language health guides checked against official sources, with an automatic disclaimer below every post, related posts, reading time, breadcrumbs, and Article and FAQ schema. Mobile first, fast, and free of heavy frameworks and jQuery.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
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: health-clarity-notes
Tags: blog, news, one-column, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ---------------------------------------------------------------
   Health Clarity Notes
   Palette: deep teal #0E6B62, slate #1F2937, warm accent #E8A33D,
   white and very light warm grey backgrounds.
   Type: Playfair Display (Georgia fallback) for headings,
   Inter (system fallback) for body text.
   --------------------------------------------------------------- */

:root {
	--hcn-teal: #0e6b62;
	--hcn-teal-dark: #0a4f48;
	--hcn-teal-soft: #e6f2f0;
	--hcn-slate: #1f2937;
	--hcn-slate-soft: #4b5563;
	--hcn-accent: #e8a33d;
	--hcn-bg: #ffffff;
	--hcn-bg-warm: #faf8f5;
	--hcn-bg-grey: #f5f3f0;
	--hcn-border: #e5e0d8;
	--hcn-radius: 14px;
	--hcn-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
	--hcn-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--hcn-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--hcn-bg);
	color: var(--hcn-slate);
	font-family: var(--hcn-font-body);
	font-size: 18px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	word-wrap: break-word;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--hcn-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--hcn-teal-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--hcn-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--hcn-font-heading);
	color: var(--hcn-slate);
	line-height: 1.25;
	margin: 0 0 0.6em;
	font-weight: 700;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; font-family: var(--hcn-font-body); font-weight: 600; }

p { margin: 0 0 1.2em; }

ul,
ol { margin: 0 0 1.2em; padding-left: 1.4em; }

li { margin-bottom: 0.4em; }

blockquote {
	margin: 0 0 1.4em;
	padding: 1em 1.2em;
	border-left: 4px solid var(--hcn-teal);
	background: var(--hcn-teal-soft);
	border-radius: 0 var(--hcn-radius) var(--hcn-radius) 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
	font-size: 0.95em;
}

th,
td {
	border: 1px solid var(--hcn-border);
	padding: 0.6em 0.8em;
	text-align: left;
}

th { background: var(--hcn-bg-grey); }

::selection {
	background: var(--hcn-teal-soft);
}

/* Accessibility helpers */
.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;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--hcn-teal);
	clip: auto !important;
	clip-path: none;
	color: #fff;
	display: block;
	font-size: 1rem;
	height: auto;
	left: 8px;
	padding: 10px 18px;
	position: absolute;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	text-decoration: none;
}

/* Layout */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1 0 auto;
}

.wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.wrap-narrow {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Top bar */
.top-bar {
	background: var(--hcn-teal-dark);
	color: #fff;
	font-size: 0.88rem;
	text-align: center;
	padding: 8px 20px;
	letter-spacing: 0.01em;
}

.top-bar p {
	margin: 0;
}

/* Header */
.site-header {
	background: var(--hcn-bg);
	border-bottom: 1px solid var(--hcn-border);
	position: sticky;
	top: 0;
	z-index: 50;
}

.header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.site-branding {
	flex: 1 1 auto;
	min-width: 210px;
}

.site-title {
	font-family: var(--hcn-font-heading);
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1.15;
	margin: 0;
}

.site-title a {
	color: var(--hcn-teal);
	text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
	color: var(--hcn-teal-dark);
}

.site-title .title-accent {
	color: var(--hcn-accent);
}

.site-description {
	margin: 2px 0 0;
	font-size: 0.92rem;
	color: var(--hcn-slate-soft);
}

.custom-logo {
	max-height: 56px;
	width: auto;
}

/* Navigation */
.main-navigation {
	flex: 0 1 auto;
}

.main-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	margin: 0;
}

.main-navigation a {
	color: var(--hcn-slate);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.98rem;
	padding: 6px 2px;
	border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--hcn-teal);
	border-bottom-color: var(--hcn-accent);
}

.header-search {
	flex: 0 1 240px;
	min-width: 180px;
}

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

.search-form label {
	flex: 1 1 auto;
}

.search-field {
	width: 100%;
	font: inherit;
	font-size: 0.95rem;
	padding: 9px 12px;
	border: 1px solid var(--hcn-border);
	border-radius: 999px;
	background: var(--hcn-bg-warm);
	color: var(--hcn-slate);
}

.search-submit,
.button,
.wp-block-button__link {
	display: inline-block;
	background: var(--hcn-teal);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}

.search-submit:hover,
.search-submit:focus,
.button:hover,
.button:focus {
	background: var(--hcn-teal-dark);
	color: #fff;
}

.button-accent {
	background: var(--hcn-accent);
	color: var(--hcn-slate);
}

.button-accent:hover,
.button-accent:focus {
	background: #d18f26;
	color: var(--hcn-slate);
}

.button-outline {
	background: transparent;
	color: var(--hcn-teal);
	border: 2px solid var(--hcn-teal);
}

.button-outline:hover,
.button-outline:focus {
	background: var(--hcn-teal);
	color: #fff;
}

/* Hero */
.hero {
	background: linear-gradient(180deg, var(--hcn-bg-warm) 0%, var(--hcn-teal-soft) 100%);
	border-bottom: 1px solid var(--hcn-border);
	padding: 56px 0 48px;
	text-align: center;
}

.hero-inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 20px;
}

.eyebrow {
	display: inline-block;
	background: #fff;
	color: var(--hcn-teal-dark);
	border: 1px solid var(--hcn-teal);
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hcn-accent);
	margin-right: 8px;
	vertical-align: 1px;
}

.hero h1 {
	font-size: 2.6rem;
	margin-bottom: 0.45em;
}

.hero-sub {
	font-size: 1.15rem;
	color: var(--hcn-slate-soft);
	max-width: 640px;
	margin: 0 auto 1.4em;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
}

.hero .search-form {
	max-width: 480px;
	margin: 0 auto;
	background: #fff;
	padding: 6px;
	border-radius: 999px;
	box-shadow: var(--hcn-shadow);
}

.hero .search-field {
	border: 0;
	background: transparent;
}

.hero-points {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	justify-content: center;
	padding: 0;
	margin: 26px 0 0;
	font-size: 0.95rem;
	color: var(--hcn-slate-soft);
}

.hero-points li {
	margin: 0;
}

.hero-points li::before {
	content: "✓";
	color: var(--hcn-teal);
	font-weight: 700;
	margin-right: 7px;
}

/* Sections */
.section {
	padding: 52px 0;
}

.section-alt {
	background: var(--hcn-bg-warm);
	border-top: 1px solid var(--hcn-border);
	border-bottom: 1px solid var(--hcn-border);
}

.section-head {
	max-width: 720px;
	margin: 0 auto 34px;
	text-align: center;
}

.section-head .eyebrow {
	margin-bottom: 14px;
}

.section-head p {
	color: var(--hcn-slate-soft);
	margin-bottom: 0;
}

.section-head-left {
	margin-left: 0;
	text-align: left;
}

/* Topic cards */
.topic-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.topic-card {
	background: #fff;
	border: 1px solid var(--hcn-border);
	border-radius: var(--hcn-radius);
	padding: 24px;
	height: 100%;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.topic-card:hover {
	box-shadow: var(--hcn-shadow);
	transform: translateY(-3px);
}

.topic-card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.4em;
}

.topic-card h3 a {
	color: var(--hcn-slate);
	text-decoration: none;
}

.topic-card h3 a:hover,
.topic-card h3 a:focus {
	color: var(--hcn-teal);
}

.topic-card p {
	font-size: 0.97rem;
	color: var(--hcn-slate-soft);
	margin-bottom: 0.8em;
}

.topic-card .card-link {
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
}

.topic-card .card-link::after {
	content: " →";
	color: var(--hcn-accent);
}

/* Post cards */
.post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.post-card {
	background: #fff;
	border: 1px solid var(--hcn-border);
	border-radius: var(--hcn-radius);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
	box-shadow: var(--hcn-shadow);
	transform: translateY(-3px);
}

.post-card-thumb img {
	width: 100%;
	aspect-ratio: 8 / 5;
	object-fit: cover;
}

.post-card-body {
	padding: 20px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.post-card-cat {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.post-card-cat a {
	color: var(--hcn-teal);
	text-decoration: none;
}

.post-card h3 {
	font-size: 1.3rem;
	margin-bottom: 0.45em;
}

.post-card h3 a {
	color: var(--hcn-slate);
	text-decoration: none;
}

.post-card h3 a:hover,
.post-card h3 a:focus {
	color: var(--hcn-teal);
}

.post-card-excerpt {
	font-size: 0.97rem;
	color: var(--hcn-slate-soft);
	flex: 1 1 auto;
}

.post-card-excerpt p {
	margin-bottom: 0.8em;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: 0.87rem;
	color: var(--hcn-slate-soft);
	margin: 0;
	list-style: none;
	padding: 0;
}

.post-meta li {
	margin: 0;
}

/* Trust strip */
.trust-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.trust-item {
	background: #fff;
	border: 1px solid var(--hcn-border);
	border-top: 4px solid var(--hcn-teal);
	border-radius: var(--hcn-radius);
	padding: 22px;
}

.trust-item h3 {
	font-size: 1.15rem;
	font-family: var(--hcn-font-body);
	font-weight: 700;
}

.trust-item p {
	font-size: 0.96rem;
	color: var(--hcn-slate-soft);
	margin-bottom: 0;
}

/* About strip */
.about-strip {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.about-strip p {
	color: var(--hcn-slate-soft);
}

/* Breadcrumbs */
.breadcrumbs {
	font-size: 0.9rem;
	margin: 26px 0 6px;
	color: var(--hcn-slate-soft);
}

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

.breadcrumbs li {
	margin: 0;
}

.breadcrumbs li + li::before {
	content: "›";
	margin-right: 6px;
	color: var(--hcn-accent);
	font-weight: 700;
}

.breadcrumbs a {
	color: var(--hcn-teal);
	text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
	text-decoration: underline;
}

/* Articles and pages */
.article {
	padding-bottom: 20px;
}

.article-header {
	margin-bottom: 22px;
}

.article-header .post-card-cat {
	margin-top: 10px;
}

.article-title {
	margin-bottom: 0.35em;
}

.article-meta {
	border-top: 1px solid var(--hcn-border);
	border-bottom: 1px solid var(--hcn-border);
	padding: 10px 0;
	margin-bottom: 24px;
}

.article-featured {
	margin: 0 0 26px;
}

.article-featured img {
	border-radius: var(--hcn-radius);
	width: 100%;
}

.entry-content {
	max-width: 760px;
}

.entry-content h2 {
	margin-top: 1.5em;
	padding-top: 0.2em;
}

.entry-content h3 {
	margin-top: 1.3em;
}

.entry-content a {
	font-weight: 500;
}

.entry-content img {
	border-radius: var(--hcn-radius);
	margin: 1em 0;
}

.entry-content figure {
	margin: 1em 0;
}

.entry-content figcaption {
	font-size: 0.9rem;
	color: var(--hcn-slate-soft);
	text-align: center;
	margin-top: 6px;
}

/* Disclaimer */
.post-disclaimer {
	background: var(--hcn-bg-warm);
	border: 1px solid var(--hcn-border);
	border-left: 4px solid var(--hcn-accent);
	border-radius: var(--hcn-radius);
	padding: 16px 20px;
	margin: 30px 0 8px;
	font-size: 0.94rem;
	color: var(--hcn-slate-soft);
	max-width: 760px;
}

.post-disclaimer p {
	margin: 0;
}

/* Tags */
.entry-tags {
	margin: 22px 0;
	font-size: 0.92rem;
}

.entry-tags a {
	display: inline-block;
	background: var(--hcn-teal-soft);
	color: var(--hcn-teal-dark);
	border-radius: 999px;
	padding: 3px 12px;
	margin: 0 6px 8px 0;
	text-decoration: none;
	font-weight: 500;
}

.entry-tags a:hover,
.entry-tags a:focus {
	background: var(--hcn-teal);
	color: #fff;
}

/* Related posts and post navigation */
.related-posts {
	margin-top: 44px;
	border-top: 1px solid var(--hcn-border);
	padding-top: 30px;
}

.post-navigation {
	margin-top: 36px;
	border-top: 1px solid var(--hcn-border);
	padding-top: 20px;
}

.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	flex: 1 1 240px;
}

.post-navigation .nav-next {
	text-align: right;
}

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

/* Archive and listing layout */
.content-area {
	padding: 10px 0 50px;
}

.page-header {
	max-width: 760px;
	margin: 26px 0 30px;
}

.page-header p {
	color: var(--hcn-slate-soft);
	margin-bottom: 0;
}

.layout-with-sidebar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
}

/* Sidebar widgets */
.widget {
	background: var(--hcn-bg-warm);
	border: 1px solid var(--hcn-border);
	border-radius: var(--hcn-radius);
	padding: 20px;
	margin-bottom: 22px;
	font-size: 0.96rem;
}

.widget-title {
	font-size: 1.1rem;
	font-family: var(--hcn-font-body);
	font-weight: 700;
	margin-bottom: 0.7em;
}

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

.widget li {
	margin-bottom: 0.5em;
}

/* Pagination */
.pagination {
	margin: 40px 0 10px;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-block;
	min-width: 44px;
	padding: 8px 14px;
	border: 1px solid var(--hcn-border);
	border-radius: 999px;
	background: #fff;
	color: var(--hcn-teal);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
	border-color: var(--hcn-teal);
}

.pagination .page-numbers.current {
	background: var(--hcn-teal);
	border-color: var(--hcn-teal);
	color: #fff;
}

/* Comments */
.comments-area {
	margin-top: 44px;
	border-top: 1px solid var(--hcn-border);
	padding-top: 28px;
	max-width: 760px;
}

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

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

.comment-body {
	background: var(--hcn-bg-warm);
	border: 1px solid var(--hcn-border);
	border-radius: var(--hcn-radius);
	padding: 16px 18px;
	margin-bottom: 14px;
}

.comment-meta {
	font-size: 0.88rem;
	color: var(--hcn-slate-soft);
	margin-bottom: 8px;
}

.comment-author {
	font-weight: 600;
	color: var(--hcn-slate);
}

.comment-form label {
	display: block;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	padding: 10px 12px;
	border: 1px solid var(--hcn-border);
	border-radius: 10px;
	background: #fff;
	margin-bottom: 14px;
}

.comment-form .submit {
	background: var(--hcn-teal);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 11px 24px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.comment-form .submit:hover,
.comment-form .submit:focus {
	background: var(--hcn-teal-dark);
}

/* 404 and empty states */
.error-404,
.no-results {
	text-align: center;
	padding: 50px 0 60px;
}

.error-404 .error-code {
	font-family: var(--hcn-font-heading);
	font-size: 4.5rem;
	font-weight: 800;
	color: var(--hcn-teal);
	line-height: 1;
	margin-bottom: 10px;
}

.error-404 p,
.no-results p {
	color: var(--hcn-slate-soft);
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.error-404 .search-form,
.no-results .search-form {
	max-width: 440px;
	margin: 20px auto 0;
}

/* Footer */
.site-footer {
	background: var(--hcn-slate);
	color: #e5e7eb;
	margin-top: 20px;
}

.footer-inner {
	padding: 44px 0 30px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

.footer-brand .site-title a {
	color: #fff;
}

.footer-brand p {
	font-size: 0.95rem;
	color: #c3cad2;
	margin-bottom: 0;
	max-width: 420px;
}

.footer-nav h2,
.footer-links h2 {
	font-family: var(--hcn-font-body);
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.8em;
}

.footer-nav ul,
.footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav li,
.footer-links li {
	margin-bottom: 0.5em;
}

.footer-nav a,
.footer-links a {
	color: #e5e7eb;
	text-decoration: none;
	font-size: 0.97rem;
}

.footer-nav a:hover,
.footer-nav a:focus,
.footer-links a:hover,
.footer-links a:focus {
	color: var(--hcn-accent);
	text-decoration: underline;
}

.footer-disclaimer {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	padding: 20px 0 6px;
	font-size: 0.9rem;
	color: #c3cad2;
}

.footer-disclaimer p {
	margin-bottom: 0.6em;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	padding: 16px 0 24px;
	font-size: 0.9rem;
	color: #c3cad2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	justify-content: space-between;
}

.footer-bottom p {
	margin: 0;
}

/* Closing call to action */
.closing-cta {
	background: var(--hcn-teal);
	color: #fff;
	border-radius: calc(var(--hcn-radius) + 6px);
	padding: 40px 28px;
	text-align: center;
}

.closing-cta h2 {
	color: #fff;
}

.closing-cta p {
	color: #d9ece9;
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
}

.closing-cta .button {
	background: #fff;
	color: var(--hcn-teal-dark);
}

.closing-cta .button:hover,
.closing-cta .button:focus {
	background: var(--hcn-accent);
	color: var(--hcn-slate);
}

/* WordPress core alignment */
.alignleft {
	float: left;
	margin: 0.3em 1.2em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.2em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

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

.wp-caption-text {
	font-size: 0.9rem;
	color: var(--hcn-slate-soft);
	text-align: center;
}

.sticky {
	border-top: 4px solid var(--hcn-accent);
}

.gallery-caption,
.bypostauthor {
	font-size: 0.95rem;
}

/* Responsive */
@media (min-width: 640px) {
	.topic-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero h1 {
		font-size: 3rem;
	}

	h1 { font-size: 2.7rem; }
}

@media (min-width: 960px) {
	.topic-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.post-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.post-grid-two {
		grid-template-columns: repeat(2, 1fr);
	}

	.trust-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.layout-with-sidebar {
		grid-template-columns: minmax(0, 1fr) 320px;
		align-items: start;
	}

	.footer-inner {
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	.hero {
		padding: 72px 0 60px;
	}

	.hero h1 {
		font-size: 3.4rem;
	}
}

@media (max-width: 639px) {
	body {
		font-size: 17px;
	}

	.header-inner {
		gap: 10px 14px;
	}

	.header-search {
		flex: 1 1 100%;
	}

	.hero {
		padding: 40px 0 36px;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.section {
		padding: 38px 0;
	}

	.post-navigation .nav-next {
		text-align: left;
	}
}

/* Print friendly articles */
@media print {
	body {
		font-size: 12pt;
		line-height: 1.6;
		color: #000;
		background: #fff;
	}

	.top-bar,
	.site-header,
	.site-footer,
	.breadcrumbs,
	.header-search,
	.main-navigation,
	.post-navigation,
	.related-posts,
	.comments-area,
	.widget-area,
	.hero-actions {
		display: none !important;
	}

	.wrap,
	.wrap-narrow,
	.entry-content {
		max-width: 100%;
		padding: 0;
	}

	a {
		color: #000;
		text-decoration: none;
	}

	.post-disclaimer {
		border: 1px solid #999;
		background: #fff;
	}

	h1,
	h2,
	h3 {
		page-break-after: avoid;
	}

	p,
	blockquote,
	.post-disclaimer {
		page-break-inside: avoid;
	}
}
