/*!
Theme Name: SellSync
Theme URI: https://sellsync.ai
Author: Arcos Scale
Author URI: https://arcosscale.com.br
Description: Tema WordPress dark theme customizado para os blogs da SellSync.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sellsync
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

_s is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
	- CSS Custom Properties
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Header
	- Navigation
	- Posts and pages
	- Post Cards
	- Single Post
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Pages
	- Archive / Search
	- 404
# Plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Gutenberg
	- Block compatibility
# Responsive
	- Breakpoints

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

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

html {
	box-sizing: border-box;
}

/* CSS Custom Properties (Design System)
--------------------------------------------- */

:root {
	/* Core colors */
	--background: 220 14% 6%;
	--foreground: 210 20% 92%;
	--card: 220 13% 9%;
	--card-foreground: 210 20% 92%;
	--primary: 20 89% 54%;
	--primary-foreground: 0 0% 100%;
	--secondary: 220 13% 14%;
	--secondary-foreground: 210 20% 80%;
	--muted: 220 13% 12%;
	--muted-foreground: 215 14% 50%;
	--accent: 20 89% 54%;
	--accent-foreground: 0 0% 100%;
	--destructive: 0 72% 51%;
	--border: 220 13% 16%;
	--input: 220 13% 14%;
	--ring: 20 89% 54%;

	/* Radius */
	--radius: 0.5rem;

	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

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

html {
	color-scheme: dark;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: hsl(var(--foreground));
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: hsl(var(--foreground));
	letter-spacing: -0.025em;
}

h1 {
	font-size: 2.25rem;
	line-height: 2.5rem;
	font-weight: 700;
}

h2 {
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
}

h3 {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
}

h4 {
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 600;
}

h5 {
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 600;
	color: hsl(var(--secondary-foreground));
}

h6 {
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 600;
	color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
	h1 {
		font-size: 3rem;
		line-height: 1;
	}
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	border-left: 3px solid hsl(var(--primary));
	padding-left: 1.5rem;
	margin: 1.5rem 0;
	color: hsl(var(--secondary-foreground));
	font-style: italic;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.875rem;
	line-height: 1.5;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow-x: auto;
	padding: 1rem 1.5rem;
}

code,
kbd,
tt,
var {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.875em;
	background: hsl(var(--muted));
	padding: 0.125rem 0.375rem;
	border-radius: calc(var(--radius) - 4px);
	color: hsl(var(--primary));
}

pre code {
	background: none;
	padding: 0;
	border-radius: 0;
	color: inherit;
}

abbr,
acronym {
	border-bottom: 1px dotted hsl(var(--muted-foreground));
	cursor: help;
}

mark,
ins {
	background: hsl(var(--primary) / 0.2);
	color: hsl(var(--foreground));
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: hsl(var(--background));
}

hr {
	background-color: hsl(var(--border));
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 0 1.5em 1.5em;
}

embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	border-collapse: collapse;
}

table th,
table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid hsl(var(--border));
	text-align: left;
}

table th {
	font-weight: 600;
	color: hsl(var(--foreground));
}

table td {
	color: hsl(var(--secondary-foreground));
}

/* Links
--------------------------------------------- */
a {
	color: hsl(var(--primary));
	text-decoration: none;
	transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

a:visited {
	color: hsl(var(--primary));
}

a:hover,
a:focus,
a:active {
	color: hsl(var(--primary) / 0.8);
}

a:focus {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 2px;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border: none;
	border-radius: calc(var(--radius) - 2px);
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 1;
	padding: 0.625rem 1.25rem;
	cursor: pointer;
	transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: hsl(var(--primary) / 0.9);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 2px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	background: hsl(var(--input));
	color: hsl(var(--foreground));
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 2px);
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	transition: border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	outline: none;
	border-color: hsl(var(--ring));
	box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

::placeholder {
	color: hsl(var(--muted-foreground));
	opacity: 1;
}

select {
	background: hsl(var(--input));
	color: hsl(var(--foreground));
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 2px);
	padding: 0.5rem 0.75rem;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

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

.site-main {
	flex: 1;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem;
}

/* Content + Sidebar layout */
.content-area-wrap {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem;
}

@media (max-width: 767px) {
	.content-area-wrap #secondary {
		border-top: 1px solid hsl(var(--border));
		padding-top: 2rem;
		margin-top: 1rem;
	}
}

@media (min-width: 768px) {
	.content-area-wrap {
		flex-direction: row;
	}

	.content-area-wrap .site-main {
		flex: 2;
		padding: 0;
		max-width: none;
	}

	.content-area-wrap #secondary {
		flex: 1;
		min-width: 280px;
		max-width: 320px;
	}
}

@media (min-width: 1024px) {
	.content-area-wrap .site-main {
		flex: 3;
	}

	.content-area-wrap #secondary {
		flex: 1;
	}
}

/* Posts grid for archive/index */
.posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: hsl(var(--background) / 0.6);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border-bottom: 1px solid hsl(var(--border));
}

.site-header .header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
	height: 4rem;
}

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

.site-branding .site-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.025em;
}

.site-branding .site-title a {
	color: hsl(var(--foreground));
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-branding .site-title a:hover {
	color: hsl(var(--foreground));
}

.site-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-logo-img {
	height: 1.75rem;
	width: auto;
	display: block;
}

.footer-logo-img {
	height: 1.5rem;
	width: auto;
	display: block;
}

.site-branding .site-description {
	display: none;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	padding: 0.5rem 0;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
	padding: 0.5rem 1rem;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--muted-foreground));
	padding: 0.5rem 0.75rem;
	transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: hsl(var(--foreground));
}

/* Menu toggle (mobile) */
.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid hsl(var(--border));
	color: hsl(var(--foreground));
	padding: 0.5rem;
	border-radius: calc(var(--radius) - 2px);
	cursor: pointer;
	width: 2.5rem;
	height: 2.5rem;
}

.menu-toggle:hover {
	background: hsl(var(--secondary));
}

.menu-toggle:focus {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 2px;
}

.main-navigation.toggled ul {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-top: none;
	padding: 0.5rem 0;
	box-shadow: var(--shadow-lg);
}

.main-navigation.toggled ul a {
	padding: 0.75rem 2rem;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		align-items: center;
		gap: 0.25rem;
	}
}

/* Header CTA button */
.header-cta {
	display: none;
}

@media screen and (min-width: 37.5em) {
	.header-cta {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		background: hsl(var(--primary));
		color: hsl(var(--primary-foreground));
		font-size: 0.875rem;
		font-weight: 500;
		padding: 0.5rem 1rem;
		border-radius: calc(var(--radius) - 2px);
		text-decoration: none;
		transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
		margin-left: 1rem;
		white-space: nowrap;
	}

	.header-cta:visited {
		color: hsl(var(--primary-foreground));
	}

	.header-cta:hover {
		background: hsl(var(--primary) / 0.9);
		color: hsl(var(--primary-foreground));
	}
}

/* Post navigation */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 2rem 0;
	padding: 1.5rem 0;
	border-top: 1px solid hsl(var(--border));
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

.posts-navigation .nav-links a,
.post-navigation .nav-links a {
	color: hsl(var(--primary));
	font-weight: 500;
	font-size: 0.875rem;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: hsl(var(--muted-foreground));
	margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
	color: hsl(var(--foreground));
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Page header (archive, search) */
.page-header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid hsl(var(--border));
}

.page-header .page-title {
	margin: 0 0 0.5rem;
}

.page-header .page-title span {
	color: hsl(var(--primary));
}

.archive-description {
	color: hsl(var(--muted-foreground));
	font-size: 1rem;
}

/* Post Cards (loop view)
--------------------------------------------- */
.post-card {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1.5rem;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	border-color: hsl(var(--foreground) / 0.2);
}

.post-card .post-thumbnail {
	display: block;
	margin: -1.5rem -1.5rem 1.25rem -1.5rem;
	overflow: hidden;
	border-radius: var(--radius) var(--radius) 0 0;
}

.post-card .post-thumbnail img {
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	max-height: 200px;
	display: block;
	transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
	transform: scale(1.02);
}

.post-card .entry-header {
	margin-bottom: 0.75rem;
}

.post-card .entry-meta {
	font-size: 0.75rem;
	color: hsl(var(--muted-foreground));
	text-transform: uppercase;
	letter-spacing: 0.025em;
	margin-bottom: 0.5rem;
}

.post-card .entry-meta a {
	color: hsl(var(--muted-foreground));
}

.post-card .entry-meta a:hover {
	color: hsl(var(--primary));
}

.post-card .entry-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: hsl(var(--foreground));
	line-height: 1.75rem;
	margin: 0;
}

.post-card .entry-title a {
	color: hsl(var(--foreground));
}

.post-card .entry-title a:hover {
	color: hsl(var(--primary));
}

.post-card .entry-summary {
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	line-height: 1.5;
	margin: 0;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card .entry-summary p {
	margin: 0;
}

.post-card .entry-footer {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid hsl(var(--border));
	font-size: 0.75rem;
	color: hsl(var(--muted-foreground));
}

.post-card .entry-footer a {
	color: hsl(var(--muted-foreground));
}

.post-card .entry-footer a:hover {
	color: hsl(var(--primary));
}

.post-card .cat-links,
.post-card .tags-links,
.post-card .comments-link,
.post-card .edit-link {
	display: inline;
	margin-right: 0.75rem;
}

/* Read more link */
.read-more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--primary));
	margin-top: 0.75rem;
	transition: gap 0.15s ease;
}

.read-more-link:hover {
	gap: 0.5rem;
	color: hsl(var(--primary));
}

.read-more-link::after {
	content: "\2192";
}

/* Single Post
--------------------------------------------- */
.single .site-main .post,
.page .site-main .page {
	margin-bottom: 0;
}

.single .entry-header {
	margin-bottom: 2rem;
}

.single .entry-title {
	font-size: 2.25rem;
	line-height: 2.5rem;
	font-weight: 700;
	margin: 0 0 1rem;
}

@media (min-width: 768px) {
	.single .entry-title {
		font-size: 3rem;
		line-height: 1.1;
	}
}

.single .entry-meta {
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.single .entry-meta a {
	color: hsl(var(--muted-foreground));
}

.single .entry-meta a:hover {
	color: hsl(var(--primary));
}

.single .post-thumbnail {
	margin-bottom: 2rem;
	border-radius: var(--radius);
	overflow: hidden;
}

.single .post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.single .entry-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: hsl(var(--secondary-foreground));
	max-width: 48rem;
}

.single .entry-content h2 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.single .entry-content h3 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.single .entry-content p {
	margin-bottom: 1.5rem;
}

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

.single .entry-content a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 2px;
}

.single .entry-content a:hover {
	text-decoration: none;
}

.single .entry-content ul,
.single .entry-content ol {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.single .entry-content li {
	margin-bottom: 0.5rem;
}

.single .entry-footer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid hsl(var(--border));
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.single .entry-footer .cat-links,
.single .entry-footer .tags-links {
	display: block;
	margin-bottom: 0.5rem;
}

.single .entry-footer a {
	color: hsl(var(--secondary-foreground));
}

.single .entry-footer a:hover {
	color: hsl(var(--primary));
}

/* Tags as pill badges */
.tags-links a {
	display: inline-flex;
	padding: 0.125rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 500;
	border-radius: calc(var(--radius) - 4px);
	background: hsl(var(--secondary));
	color: hsl(var(--secondary-foreground));
	transition: background-color 0.15s;
	margin-right: 0.25rem;
}

.tags-links a:hover {
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
}

/* Comments
--------------------------------------------- */
.comments-area {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid hsl(var(--border));
}

.comments-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

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

.comment-list .comment {
	margin-bottom: 1.5rem;
}

.comment-list .comment-body {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1.5rem;
}

.comment-list .children {
	list-style: none;
	margin-left: 2rem;
	margin-top: 1rem;
	padding: 0;
}

.comment-meta {
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
}

.comment-author {
	font-weight: 600;
	color: hsl(var(--foreground));
}

.comment-author .avatar {
	border-radius: 9999px;
	margin-right: 0.5rem;
	vertical-align: middle;
}

.comment-metadata {
	font-size: 0.75rem;
	color: hsl(var(--muted-foreground));
	margin-top: 0.25rem;
}

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

.comment-content a {
	word-wrap: break-word;
}

.comment-content {
	color: hsl(var(--secondary-foreground));
	line-height: 1.6;
}

.reply a {
	font-size: 0.75rem;
	font-weight: 500;
	color: hsl(var(--primary));
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.bypostauthor > .comment-body {
	border-color: hsl(var(--primary) / 0.3);
}

.no-comments {
	color: hsl(var(--muted-foreground));
	font-style: italic;
}

/* Comment form */
.comment-respond {
	margin-top: 2rem;
}

.comment-respond .comment-reply-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.comment-form label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--foreground));
	margin-bottom: 0.375rem;
}

.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
	margin-bottom: 1rem;
}

.comment-form input,
.comment-form textarea {
	width: 100%;
}

.comment-form .form-submit {
	margin-top: 1rem;
}

/* Comments navigation */
.comment-navigation {
	margin: 1.5rem 0;
	font-size: 0.875rem;
}

/* Widgets
--------------------------------------------- */
.widget-area {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.widget {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1.5rem;
	margin: 0;
}

.widget-title {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: hsl(var(--muted-foreground));
	margin: 0 0 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid hsl(var(--border));
}

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

.widget ul li {
	padding: 0.375rem 0;
	border-bottom: 1px solid hsl(var(--border) / 0.5);
	font-size: 0.875rem;
}

.widget ul li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.widget ul li a {
	color: hsl(var(--secondary-foreground));
}

.widget ul li a:hover {
	color: hsl(var(--primary));
}

.widget select {
	max-width: 100%;
	width: 100%;
}

/* Search widget */
.widget .search-form {
	display: flex;
	gap: 0.5rem;
}

.widget .search-form .search-field {
	flex: 1;
}

.widget .search-form .search-submit {
	flex-shrink: 0;
}

/* Tag cloud widget */
.widget .tagcloud a {
	display: inline-flex;
	padding: 0.25rem 0.625rem;
	font-size: 0.8125rem;
	font-weight: 500;
	border-radius: calc(var(--radius) - 4px);
	background: hsl(var(--secondary));
	color: hsl(var(--secondary-foreground));
	transition: background-color 0.15s;
	margin: 0.125rem;
	line-height: 1.5;
}

.widget .tagcloud a:hover {
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1rem;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-item img {
	border-radius: calc(var(--radius) - 2px);
}

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

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

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

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

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

.site-footer {
	background: hsl(220, 14%, 4%);
	border-top: 1px solid hsl(var(--border));
	color: hsl(var(--muted-foreground));
	font-size: 0.875rem;
	margin-top: auto;
}

.footer-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem 2rem 1.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

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

@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: 1.5fr 1fr 1fr 1fr;
	}
}

.footer-brand p {
	margin: 0.5rem 0 0;
	color: hsl(var(--muted-foreground));
	font-size: 0.875rem;
	line-height: 1.5;
}

.footer-col-title {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: hsl(var(--secondary-foreground));
	margin: 0 0 1rem;
}

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

.footer-col ul li {
	margin-bottom: 0.5rem;
}

.footer-col a {
	color: hsl(var(--muted-foreground));
	font-size: 0.875rem;
	transition: color 0.15s;
}

.footer-col a:hover {
	color: hsl(var(--primary));
}

.footer-bottom {
	padding-top: 1.5rem;
	border-top: 1px solid hsl(var(--border));
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.8125rem;
	color: hsl(var(--muted-foreground));
}

@media (min-width: 640px) {
	.footer-bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

/*--------------------------------------------------------------
# Pages — 404
--------------------------------------------------------------*/

.error-404 {
	text-align: center;
	padding: 3rem 0;
}

.error-404 .page-header {
	border-bottom: none;
	margin-bottom: 1rem;
}

.error-404 .page-title {
	font-size: 2.25rem;
}

.error-404 .page-content {
	max-width: 600px;
	margin: 0 auto;
	text-align: left;
}

.error-404 .page-content > p:first-child {
	text-align: center;
	color: hsl(var(--muted-foreground));
	margin-bottom: 2rem;
}

.error-404 .widget {
	text-align: left;
}

/* No results */
.no-results {
	text-align: center;
	padding: 3rem 0;
}

.no-results .page-header {
	border-bottom: none;
}

.no-results .page-content {
	max-width: 500px;
	margin: 0 auto;
	color: hsl(var(--muted-foreground));
}

/* Search form */
.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 400px;
	margin: 1rem auto;
}

.search-form .search-field {
	flex: 1;
}

.search-form .search-submit {
	flex-shrink: 0;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

.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;
}

.screen-reader-text:focus {
	background-color: hsl(var(--card));
	border-radius: var(--radius);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	color: hsl(var(--primary));
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	/*rtl:ignore*/
	float: left;
	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	/*rtl:ignore*/
	float: right;
	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Gutenberg Block Compatibility
--------------------------------------------------------------*/

/* Ensure Gutenberg blocks inherit dark theme */
.entry-content .wp-block-image img {
	border-radius: var(--radius);
}

.entry-content .wp-block-image figcaption {
	color: hsl(var(--muted-foreground));
	font-size: 0.875rem;
	text-align: center;
	margin-top: 0.5rem;
}

.entry-content .wp-block-quote {
	border-left: 3px solid hsl(var(--primary));
	padding-left: 1.5rem;
	margin: 1.5rem 0;
	color: hsl(var(--secondary-foreground));
	font-style: italic;
}

.entry-content .wp-block-quote cite {
	display: block;
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	margin-top: 0.5rem;
	font-style: normal;
}

.entry-content .wp-block-pullquote {
	border-top: 3px solid hsl(var(--primary));
	border-bottom: 3px solid hsl(var(--primary));
	padding: 1.5rem 0;
	text-align: center;
	color: hsl(var(--foreground));
}

.entry-content .wp-block-code {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1rem 1.5rem;
	font-size: 0.875rem;
	color: hsl(var(--foreground));
}

.entry-content .wp-block-code code {
	background: none;
	padding: 0;
	color: inherit;
}

.entry-content .wp-block-preformatted {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1rem 1.5rem;
}

.entry-content .wp-block-table table {
	border-collapse: collapse;
}

.entry-content .wp-block-table td,
.entry-content .wp-block-table th {
	border-color: hsl(var(--border));
}

.entry-content .wp-block-separator {
	border-color: hsl(var(--border));
	opacity: 1;
}

.entry-content .wp-block-separator.is-style-dots {
	color: hsl(var(--muted-foreground));
}

.entry-content .wp-block-button .wp-block-button__link {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-radius: calc(var(--radius) - 2px);
	font-weight: 500;
	padding: 0.625rem 1.25rem;
	transition: background-color 0.15s;
}

.entry-content .wp-block-button .wp-block-button__link:hover {
	background: hsl(var(--primary) / 0.9);
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid hsl(var(--border));
	color: hsl(var(--foreground));
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
	border-color: hsl(var(--accent));
}

.entry-content .wp-block-cover {
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-content .wp-block-group {
	padding: 1.5rem;
}

.entry-content .wp-block-columns {
	gap: 1.5rem;
}

.entry-content .wp-block-embed {
	margin: 1.5rem 0;
}

.entry-content .has-background {
	border-radius: var(--radius);
	padding: 1.5rem;
}

/* Gutenberg color overrides for dark theme */
.has-primary-color {
	color: hsl(var(--primary));
}

.has-primary-background-color {
	background-color: hsl(var(--primary));
}

.has-secondary-color {
	color: hsl(var(--secondary-foreground));
}

.has-secondary-background-color {
	background-color: hsl(var(--secondary));
}

/*--------------------------------------------------------------
# Author Box (single post)
--------------------------------------------------------------*/
.author-box {
	display: flex;
	gap: 1.5rem;
	margin-top: 48px;
	padding: 24px;
	background: #161b22;
	border: 1px solid #30363d;
	border-radius: 12px;
}

.author-box__avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.author-box__avatar {
	flex-shrink: 0;
}

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

.author-box__name {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
}

.author-box__name a {
	color: hsl(var(--foreground));
	text-decoration: none;
	transition: color 0.2s ease;
}

.author-box__name a:hover {
	color: hsl(var(--accent));
}

.author-box__bio {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	color: hsl(var(--muted-foreground));
	line-height: 1.6;
}

.author-box__links {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.author-box__link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	color: hsl(var(--accent));
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.author-box__link:hover {
	opacity: 0.8;
}

.author-box__link svg {
	flex-shrink: 0;
}

@media (max-width: 480px) {
	.author-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.author-box__links {
		justify-content: center;
	}
}

/*--------------------------------------------------------------
# Author Page
--------------------------------------------------------------*/
.author-header {
	text-align: center;
	margin-bottom: 3rem;
}

.author-header__avatar img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 1.5rem;
	border: 3px solid #30363d;
}

.author-header__name {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: hsl(var(--foreground));
}

.author-header__bio {
	max-width: 640px;
	margin: 0 auto 1.25rem;
	font-size: 1.0625rem;
	color: hsl(var(--muted-foreground));
	line-height: 1.7;
}

.author-header__links {
	display: flex;
	justify-content: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.author-header__link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.9375rem;
	color: hsl(var(--accent));
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.author-header__link:hover {
	opacity: 0.8;
}

.author-header__link svg {
	flex-shrink: 0;
}

.author-header__separator {
	border: none;
	border-top: 1px solid #30363d;
	max-width: 640px;
	margin: 0 auto;
}

/*--------------------------------------------------------------
# Screen Reader Only - SEO accessible heading
--------------------------------------------------------------*/
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
