/*!
Theme Name: ForgeZAP
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: forgezap
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.

ForgeZAP 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
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

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

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

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

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

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

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

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

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/

:root {
	/* Cores Primárias */
	--color-primary: #0071e3;
	--color-primary-hover: #0077ed;
	--color-primary-active: #006edb;
	
	/* Cores de Texto */
	--color-text-primary: #1d1d1f;
	--color-text-secondary: #86868b;
	--color-text-link: #06c;
	
	/* Cores de Fundo */
	--color-bg-primary: #ffffff;
	--color-bg-secondary: #f5f5f7;
	--color-bg-tertiary: #e8e8ed;
	
	/* Cores de Borda */
	--color-border: #d2d2d7;
	--color-border-dark: rgba(0, 0, 0, 0.1);
	
	/* Espaçamento */
	--spacing-xs: 4px;
	--spacing-sm: 8px;
	--spacing-md: 16px;
	--spacing-lg: 24px;
	--spacing-xl: 32px;
	--spacing-xxl: 48px;
	
	/* Border Radius */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 18px;
	--radius-pill: 980px;
	
	/* Sombras */
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
	
	/* Transições */
	--transition-fast: 0.2s ease;
	--transition-normal: 0.3s ease;
	--transition-slow: 0.4s ease;
}


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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #1d1d1f;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	font-size: 17px;
	line-height: 1.47059;
	font-weight: 400;
	letter-spacing: -0.022em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: #1d1d1f;
}

h1 {
	font-size: 48px;
	line-height: 1.08349;
	font-weight: 600;
	letter-spacing: -0.003em;
}

h2 {
	font-size: 40px;
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: 0em;
}

h3 {
	font-size: 32px;
	line-height: 1.125;
	font-weight: 600;
	letter-spacing: 0.004em;
}

p {
	margin-bottom: 1.5em;
	color: #1d1d1f;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--color-bg-secondary, #f5f5f7);
	color: var(--color-text-primary, #1d1d1f);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

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

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 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: var(--color-text-link, #06c);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:visited {
	color: var(--color-text-link, #06c);
}

a:hover,
a:focus,
a:active {
	color: var(--color-primary, #0066cc);
	text-decoration: underline;
}

a:focus {
	outline: 2px solid var(--color-primary, #0071e3);
	outline-offset: 2px;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	border-radius: 980px;
	background: var(--color-primary, #0071e3);
	color: #fff;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.17648;
	padding: 12px 24px;
	cursor: pointer;
	transition: all 0.3s ease;
	letter-spacing: -0.022em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--color-primary-hover, #0077ed);
	transform: scale(1.02);
}

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 {
	background: var(--color-primary-active, #006edb);
	outline: 2px solid var(--color-primary, #0071e3);
	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 {
	color: #1d1d1f;
	border: 1px solid #d2d2d7;
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 17px;
	line-height: 1.47059;
	background: #fff;
	transition: all 0.3s ease;
}

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 {
	color: var(--color-text-primary, #1d1d1f);
	border-color: var(--color-primary, #0071e3);
	outline: none;
	box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

/* Container */
.site {
	max-width: 100%;
	margin: 0 auto;
	background: var(--color-bg-secondary, #f5f5f7);
}

.site-main {
	max-width: 980px;
	margin: 0 auto;
	padding: 60px 20px;
}

/* Posts Grid Layout */
.posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin: 0;
}

@media screen and (min-width: 768px) {
	.site-main {
		padding: 80px 40px;
	}
	
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
}

@media screen and (min-width: 1024px) {
	.site-main {
		max-width: 1400px;
		padding: 100px 60px;
	}
	
	.posts-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 48px;
	}
}

@media screen and (min-width: 1440px) {
	.site-main {
		max-width: 1600px;
	}
}

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

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

/* Header */
.site-header {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	position: sticky;
	top: 0;
	z-index: 9999;
	border-bottom: 1px solid var(--color-border-dark, rgba(0, 0, 0, 0.1));
	padding: 0 20px;
	transition: all 0.3s ease;
}


.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	padding-top: 16px;
	padding-bottom: 16px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 16px;
}

.site-title {
	margin: 0;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.19048;
	letter-spacing: 0.011em;
}

.site-title a {
	color: var(--color-text-primary, #1d1d1f);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--color-primary, #0071e3);
	text-decoration: none;
}

.site-description {
	margin: 0;
	font-size: 14px;
	color: var(--color-text-secondary, #86868b);
	display: none;
}

@media screen and (min-width: 768px) {
	.site-header {
		padding: 0 40px;
	}
	
	.header-inner {
		padding: 20px 0;
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

.main-navigation {
	display: flex;
	align-items: center;
}

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

.main-navigation ul ul {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	padding: 8px;
	margin-top: 8px;
}

.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: 12px 16px;
	border-radius: 8px;
}

.main-navigation ul ul a:hover {
	background: rgba(0, 0, 0, 0.04);
}

.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;
	color: var(--color-text-primary, #1d1d1f);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42859;
	letter-spacing: -0.016em;
	padding: 8px 0;
	transition: color 0.3s ease;
}

.main-navigation a:hover {
	color: var(--color-primary, #0071e3);
	text-decoration: none;
}

/* Small menu. */
.menu-toggle {
	display: flex;
}

.main-navigation.toggled ul {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	padding: 20px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.main-navigation.toggled ul li {
	padding: 8px 0;
}

.main-navigation.toggled ul a {
	padding: 12px 16px;
	display: block;
	border-radius: 8px;
}

.main-navigation.toggled ul a:hover {
	background: rgba(0, 0, 0, 0.04);
}

.menu-toggle {
	background: transparent;
	border: none;
	color: #1d1d1f;
	font-size: 14px;
	padding: 8px 12px;
	cursor: pointer;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.menu-toggle:hover {
	background: rgba(0, 0, 0, 0.04);
	transform: none;
}

.menu-toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 20px;
}

.menu-toggle-icon span {
	display: block;
	width: 100%;
	height: 2px;
	background: #1d1d1f;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

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

	.main-navigation ul {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 12px 0;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.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 and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
	background: var(--color-bg-primary, #fff);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.post:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Grid item cards - more compact */
.posts-grid .post {
	height: 100%;
}

.posts-grid .post .entry-header {
	padding: 24px 24px 0;
}

.posts-grid .post .entry-content {
	padding: 24px;
	flex: 1;
}

.posts-grid .post .entry-footer {
	padding: 0 24px 24px;
	margin-top: auto;
}

.posts-grid .post .entry-title {
	font-size: 24px;
	line-height: 1.16667;
	margin-bottom: 12px;
	text-align: center;
}

/* Featured first post in grid */
.posts-grid .post:first-child {
	grid-column: 1 / -1;
}

@media screen and (min-width: 768px) {
	.posts-grid .post:first-child {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto 1fr auto;
		gap: 0;
		position: relative;
	}
	
	.posts-grid .post:first-child .post-thumbnail {
		grid-column: 1;
		grid-row: 1 / -1;
		height: 100%;
		overflow: hidden;
	}
	
	.posts-grid .post:first-child .post-thumbnail img {
		height: 100%;
		object-fit: cover;
		transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	}
	
	/* Fundo branco semi-transparente para o conteúdo */
	.posts-grid .post:first-child .entry-header,
	.posts-grid .post:first-child .entry-content,
	.posts-grid .post:first-child .entry-footer {
		position: relative;
		z-index: 2;
		background: rgba(255, 255, 255, 0.85);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		transition: background 0.4s ease;
	}
	
	.posts-grid .post:first-child .entry-header {
		grid-column: 2;
		grid-row: 1;
		padding: 32px 32px 0;
	}
	
	.posts-grid .post:first-child .entry-content {
		grid-column: 2;
		grid-row: 2;
		padding: 32px;
	}
	
	.posts-grid .post:first-child .entry-footer {
		grid-column: 2;
		grid-row: 3;
		padding: 0 32px 32px;
	}
	
	.posts-grid .post:first-child .entry-title {
		font-size: 32px;
		line-height: 1.125;
		text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
		text-align: center;
	}
	
	/* Sombra sutil no texto para garantir legibilidade */
	.posts-grid .post:first-child .entry-content,
	.posts-grid .post:first-child .entry-meta {
		text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
	}
	
	/* Hover: fundo branco opaco e zoom na imagem */
	.posts-grid .post:first-child:hover {
		transform: none;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	}
	
	.posts-grid .post:first-child:hover .entry-header,
	.posts-grid .post:first-child:hover .entry-content,
	.posts-grid .post:first-child:hover .entry-footer {
		background: rgba(255, 255, 255, 1);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
	
	/* Remove sombra de texto no hover */
	.posts-grid .post:first-child:hover .entry-title,
	.posts-grid .post:first-child:hover .entry-content,
	.posts-grid .post:first-child:hover .entry-meta {
		text-shadow: none;
	}
	
	.posts-grid .post:first-child:hover .post-thumbnail img {
		transform: scale(1.08);
	}
}

/* Optimize image display in grid */
.posts-grid .post .post-thumbnail {
	aspect-ratio: 16 / 9;
	background: #f5f5f7;
}

.posts-grid .post .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Excerpt optimization for grid */
.posts-grid .post .entry-content {
	font-size: 15px;
	line-height: 1.47;
}

.posts-grid .post .entry-content p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 0;
}

/* Meta adjustments for grid */
.posts-grid .post .entry-meta {
	font-size: 12px;
	margin-bottom: 12px;
}

/* Compact grid variant for archives with many posts */
.posts-grid.grid-compact {
	gap: 24px;
}

.posts-grid.grid-compact .post {
	border-radius: 16px;
}

.posts-grid.grid-compact .post .entry-header {
	padding: 20px 20px 0;
}

.posts-grid.grid-compact .post .entry-content {
	padding: 20px;
	font-size: 14px;
}

.posts-grid.grid-compact .post .entry-footer {
	padding: 0 20px 20px;
}

.posts-grid.grid-compact .post .entry-title {
	font-size: 20px;
	margin-bottom: 8px;
	text-align: center;
}

/* 4 columns for very large screens */
@media screen and (min-width: 1600px) {
	.posts-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.posts-grid .post:first-child {
		grid-column: 1 / 3;
	}
}

/* Better spacing between grid and navigation */
.posts-grid + .posts-navigation,
.posts-grid + .post-navigation {
	margin-top: 60px;
}

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

.entry-header {
	padding: 32px 32px 0;
}

.entry-title {
	margin: 0 0 16px;
	font-size: 32px;
	line-height: 1.125;
	font-weight: 600;
	letter-spacing: 0.004em;
	text-align: center;
}

.entry-title a {
	color: var(--color-text-primary, #1d1d1f);
	text-decoration: none;
	transition: color 0.3s ease;
}

.entry-title a:hover {
	color: var(--color-primary, #0071e3);
}

.entry-meta {
	font-size: 14px;
	color: var(--color-text-secondary, #86868b);
	margin-bottom: 24px;
	display: flex;
	gap: 16px;
	align-items: center;
}

.entry-meta a {
	color: var(--color-text-secondary, #86868b);
	text-decoration: none;
}

.entry-meta a:hover {
	color: var(--color-primary, #0071e3);
}

.post-thumbnail {
	margin: 0;
	line-height: 0;
}

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

.page-content,
.entry-content,
.entry-summary {
	padding: 32px;
	margin: 0;
	font-size: 17px;
	line-height: 1.47059;
	color: #1d1d1f;
}

.entry-content p:last-child {
	margin-bottom: 0;
}

.entry-footer {
	padding: 0 32px 32px;
	font-size: 14px;
	color: #86868b;
}

.single .entry-footer {
	border-top: 1px solid #f5f5f7;
	margin-top: 32px;
	padding-top: 24px;
}

.read-more-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-primary, #0071e3);
	font-size: 17px;
	font-weight: 400;
	text-decoration: none;
	transition: all 0.3s ease;
}

.read-more-link:hover {
	text-decoration: none;
	gap: 12px;
}

.read-more-arrow {
	font-size: 20px;
	transition: transform 0.3s ease;
}

.read-more-link:hover .read-more-arrow {
	transform: translateX(4px);
}

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

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

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

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

/* Make sure logo link wraps around logo image. */
.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;
}

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

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

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

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

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

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

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

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

/* Text meant only for screen readers. */
.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: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	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;
}

/* Do not show the outline on the skip link target. */
#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;
}

/*--------------------------------------------------------------
# Custom Modern Styles
--------------------------------------------------------------*/

/* Footer */
.site-footer {
	background: var(--color-bg-secondary, #f5f5f7);
	border-top: 1px solid var(--color-border, #d2d2d7);
	padding: 48px 20px;
	margin-top: 80px;
}

.site-info {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	font-size: 14px;
	line-height: 1.42859;
	color: #86868b;
}

.site-info a {
	color: #06c;
	text-decoration: none;
}

.site-info a:hover {
	text-decoration: underline;
}

@media screen and (min-width: 768px) {
	.site-footer {
		padding: 64px 40px;
	}
}

/* Post Navigation - Medium Style */
.post-navigation,
.posts-navigation {
	margin: 60px auto 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.single .post-navigation {
	max-width: 740px;
	margin: 80px auto 0;
	padding-top: 60px;
	border-top: 1px solid #e8e8ed;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.nav-previous,
.nav-next {
	flex: 1;
	max-width: 48%;
}

.nav-previous a,
.nav-next a {
	display: block;
	padding: 0;
	border-radius: 0;
	background: transparent;
	transition: all 0.2s ease;
	text-decoration: none;
}

.nav-previous a:hover,
.nav-next a:hover {
	background: transparent;
	transform: none;
	text-decoration: none;
}

.nav-subtitle {
	font-size: 14px;
	color: #6B6B6B;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 8px;
	display: block;
}

.nav-title {
	font-size: 20px;
	line-height: 1.4;
	color: var(--color-text-primary, #1d1d1f);
	font-weight: 600;
	display: block;
	transition: color 0.2s ease;
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
	color: var(--color-primary, #0071e3);
}

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

/* Grid navigation (archive pages) */
.posts-navigation {
	max-width: 1400px;
	margin: 60px auto 0;
	padding: 40px 0;
	border-top: 1px solid #e8e8ed;
}

.posts-navigation .nav-links {
	justify-content: center;
	gap: 20px;
}

.posts-navigation .nav-previous,
.posts-navigation .nav-next {
	max-width: none;
	flex: 0;
}

.posts-navigation a {
	padding: 12px 32px;
	background: #fff;
	border: 1px solid #e8e8ed;
	border-radius: 24px;
	font-size: 16px;
	font-weight: 500;
	color: #1d1d1f;
	transition: all 0.2s ease;
}

.posts-navigation a:hover {
	background: #f5f5f7;
	border-color: #d2d2d7;
	transform: translateY(-1px);
}

/* Search Form */
.search-form {
	display: flex;
	gap: 12px;
	margin: 32px 0;
}

.search-form label {
	flex: 1;
}

.search-form input[type="search"] {
	width: 100%;
}

.search-form input[type="submit"] {
	flex-shrink: 0;
}

/* Sidebar */
.widget-area {
	margin-top: 60px;
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

/* Hide sidebar on archive/home pages with grid */
.home .widget-area,
.archive .widget-area,
.search .widget-area {
	display: none;
}

.widget {
	background: #fff;
	border-radius: 18px;
	padding: 32px;
	margin-bottom: 32px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.widget-title {
	font-size: 21px;
	font-weight: 600;
	margin: 0 0 24px;
	color: #1d1d1f;
}

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

.widget ul li {
	padding: 12px 0;
	border-bottom: 1px solid #f5f5f7;
}

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

.widget ul li a {
	color: #1d1d1f;
	text-decoration: none;
	font-size: 17px;
}

.widget ul li a:hover {
	color: #0071e3;
}

/* Comments - Medium Style */
.single .comments-area {
	max-width: 740px;
	margin: 80px auto 0;
	padding: 60px 0 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	border-top: 1px solid #e8e8ed;
}

.single .comments-title,
.single .comment-reply-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 40px;
	color: #1d1d1f;
	letter-spacing: -0.015em;
}

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

.comment {
	margin: 0 0 40px;
	padding: 0 0 40px;
	background: transparent;
	border-radius: 0;
	border-bottom: 1px solid #e8e8ed;
}

.comment:last-child {
	border-bottom: none;
}

.comment-author {
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 8px;
	color: #1d1d1f;
}

.comment-author .avatar {
	border-radius: 50%;
	margin-right: 12px;
	vertical-align: middle;
}

.comment-metadata {
	font-size: 14px;
	color: #6B6B6B;
	margin-bottom: 16px;
}

.comment-metadata a {
	color: #6B6B6B;
	text-decoration: none;
}

.comment-metadata a:hover {
	color: #0071e3;
}

.comment-content {
	margin-bottom: 16px;
	font-size: 18px;
	line-height: 1.58;
	color: #242424;
}

.comment-content p {
	margin-bottom: 16px;
}

.reply {
	margin-top: 12px;
}

.reply a {
	font-size: 14px;
	color: #6B6B6B;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
	transition: color 0.2s ease;
}

.reply a:hover {
	color: #0071e3;
}

.comment-respond {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #e8e8ed;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.comment-form label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 8px;
	color: #1d1d1f;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 14px 16px;
	font-size: 16px;
	line-height: 1.5;
	border: 1px solid #d2d2d7;
	border-radius: 8px;
	background: #fff;
	transition: all 0.2s ease;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
	font-family: inherit;
}

.comment-form input[type="submit"] {
	align-self: flex-start;
	padding: 12px 32px;
	font-size: 16px;
	font-weight: 500;
	background: #1d1d1f;
	color: #fff;
	border: none;
	border-radius: 24px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.comment-form input[type="submit"]:hover {
	background: var(--color-primary, #0071e3);
	transform: translateY(-1px);
}

/* Responsive Grid for Posts */
@media screen and (min-width: 768px) {
	.site-main > article {
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	}
}

/* Single Post Adjustments - Medium Style */
.single .site-main {
	max-width: 1080px;
	padding: 0 20px 80px;
}

.single article.post,
.single article.page {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	margin: 0;
}

.single .entry-header {
	max-width: 740px;
	margin: 0 auto;
	padding: 60px 0 40px;
	text-align: center;
}

.single .entry-title {
	font-size: 48px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
	color: #1d1d1f;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
	text-align: center;
}

/* Títulos mais largos que o container em desktop */
@media screen and (min-width: 1024px) {
	.single .entry-title {
		width: 100vw;
		position: relative;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		padding-left: max(calc((100vw - 740px) / 2), 20px);
		padding-right: max(calc((100vw - 740px) / 2), 20px);
		box-sizing: border-box;
	}
}

.single .entry-meta {
	font-size: 16px;
	color: #6B6B6B;
	margin-bottom: 0;
	padding: 20px 0;
	border-bottom: 1px solid #e8e8ed;
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}

.single .entry-meta a {
	color: #1d1d1f;
	text-decoration: none;
	font-weight: 500;
}

.single .entry-meta a:hover {
	color: #0071e3;
}

/* Featured image full width */
.single .post-thumbnail {
	margin: 40px 0 60px;
	max-width: 1080px;
	width: 100%;
	aspect-ratio: auto;
	background: transparent;
}

.single .post-thumbnail img {
	width: 100%;
	height: auto;
	max-height: 600px;
	object-fit: cover;
	border-radius: 4px;
}

/* Content styling Medium-like */
.single .entry-content {
	max-width: 740px;
	margin: 0 auto;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", system-ui, sans-serif;
	font-size: 21px;
	line-height: 1.58;
	letter-spacing: -0.003em;
	color: #242424;
	font-weight: 400;
}

.single .entry-content > * {
	margin-bottom: 32px;
}

.single .entry-content h2 {
	font-size: 34px;
	line-height: 1.3;
	font-weight: 700;
	margin-top: 56px;
	margin-bottom: 16px;
	letter-spacing: -0.015em;
	color: #1d1d1f;
}

/* Títulos h2 mais largos que o container em desktop */
@media screen and (min-width: 1024px) {
	.single .entry-content h2 {
		width: 100vw;
		position: relative;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		padding-left: max(calc((100vw - 740px) / 2), 20px);
		padding-right: max(calc((100vw - 740px) / 2), 20px);
		box-sizing: border-box;
	}
}

.single .entry-content h3 {
	font-size: 28px;
	line-height: 1.35;
	font-weight: 700;
	margin-top: 48px;
	margin-bottom: 12px;
	letter-spacing: -0.01em;
	color: #1d1d1f;
}

.single .entry-content h4 {
	font-size: 24px;
	line-height: 1.4;
	font-weight: 600;
	margin-top: 40px;
	margin-bottom: 12px;
	color: #1d1d1f;
}

.single .entry-content p {
	margin-bottom: 32px;
	line-height: 1.58;
}

/* Drop cap - primeira letra grande */
.single .entry-content > p:first-of-type::first-letter {
	font-size: 72px;
	line-height: 1;
	font-weight: 700;
	float: left;
	margin: 0 12px 0 0;
	color: #1d1d1f;
	padding-top: 4px;
}

/* Links no conteúdo */
.single .entry-content a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(0, 0, 0, 0.3);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: all 0.2s ease;
}

.single .entry-content a:hover {
	color: #0071e3;
	text-decoration-color: #0071e3;
}

/* Blockquotes estilo Medium */
.single .entry-content blockquote {
	border-left: 3px solid #1d1d1f;
	padding: 0 0 0 32px;
	margin: 48px 0;
	font-size: 24px;
	line-height: 1.48;
	font-style: italic;
	color: #1d1d1f;
	background: transparent;
	border-radius: 0;
	font-weight: 400;
	letter-spacing: -0.014em;
}

.single .entry-content blockquote p {
	margin-bottom: 0;
}

/* Imagens no conteúdo */
.single .entry-content img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 48px 0;
}

.single .entry-content figure {
	margin: 48px 0;
}

.single .entry-content figcaption {
	text-align: center;
	font-size: 16px;
	line-height: 1.4;
	color: #6B6B6B;
	margin-top: 12px;
	font-style: italic;
}

/* Listas */
.single .entry-content ul,
.single .entry-content ol {
	margin: 32px 0;
	padding-left: 32px;
}

.single .entry-content li {
	margin-bottom: 12px;
	line-height: 1.58;
}

/* Code blocks */
.single .entry-content pre {
	margin: 48px 0;
	padding: 24px;
	font-size: 16px;
	line-height: 1.5;
	overflow-x: auto;
	background: #f6f8fa;
	color: #1d1d1f;
	border-radius: 8px;
	border: 1px solid #e8e8ed;
}

.single .entry-content code {
	font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
	font-size: 18px;
	background: #f6f8fa;
	color: #1d1d1f;
	padding: 4px 8px;
	border-radius: 4px;
}

.single .entry-content pre code {
	background: transparent;
	padding: 0;
	font-size: 16px;
}

/* Separador de seção */
.single .entry-content hr {
	border: none;
	text-align: center;
	margin: 56px auto;
	height: auto;
	background: transparent;
}

.single .entry-content hr::before {
	content: "···";
	font-size: 28px;
	letter-spacing: 16px;
	color: #a8a8a8;
	display: inline-block;
}

/* Footer do post */
.single .entry-footer {
	max-width: 740px;
	margin: 48px auto 0;
	padding: 32px 0 0;
	border-top: 1px solid #e8e8ed;
	font-size: 16px;
	color: #6B6B6B;
}

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

/* Responsivo */
@media screen and (max-width: 1024px) {
	.single .entry-title {
		font-size: 40px;
	}
	
	.single .entry-content {
		font-size: 20px;
	}
}

@media screen and (max-width: 767px) {
	.single .site-main {
		padding: 0 20px 60px;
	}
	
	.single .entry-header {
		padding: 40px 0 32px;
	}
	
	.single .entry-title {
		font-size: 32px;
		line-height: 1.3;
	}
	
	.single .entry-content {
		font-size: 18px;
	}
	
	.single .entry-content > p:first-of-type::first-letter {
		font-size: 52px;
		margin-right: 8px;
	}
	
	.single .entry-content h2 {
		font-size: 28px;
		margin-top: 40px;
	}
	
	.single .entry-content h3 {
		font-size: 24px;
		margin-top: 32px;
	}
	
	.single .entry-content blockquote {
		font-size: 20px;
		padding-left: 24px;
		margin: 32px 0;
	}
	
	.single .post-thumbnail {
		margin: 32px 0 40px;
	}
}

/* Page Header */
.page-header {
	background: #fff;
	border-radius: 18px;
	padding: 48px 32px;
	margin-bottom: 48px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.page-title {
	font-size: 48px;
	font-weight: 600;
	margin: 0;
	color: #1d1d1f;
}

.taxonomy-description {
	font-size: 17px;
	color: #86868b;
	margin-top: 16px;
}

/* Loading animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Animation removed - content should be visible immediately */
/* .post and .page are visible by default, animations are optional */

/* Intersection Observer animations - Content visible by default */
article {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Only apply animation if JavaScript adds the class */
article.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
}

article.animate-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	
	article {
		opacity: 1;
		transform: none;
	}
}

/* Image hover effects */
.post-thumbnail {
	overflow: hidden;
}

.post-thumbnail img {
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Suavizar hover dos cards normais do grid */
.posts-grid .post:not(:first-child):hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.posts-grid .post:not(:first-child):hover .post-thumbnail img {
	transform: scale(1.1);
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Selection styling */
::selection {
	background: rgba(0, 113, 227, 0.2);
	color: #1d1d1f;
}

::-moz-selection {
	background: rgba(0, 113, 227, 0.2);
	color: #1d1d1f;
}

/* Custom logo */
.custom-logo {
	max-height: 40px;
	width: auto;
	display: block;
}

/* Archive & Category styling */
.archive .page-header,
.category .page-header,
.search .page-header {
	text-align: center;
}

/* Excerpt styling */
.entry-summary {
	color: #86868b;
}

/* Category & Tags in entry footer */
.cat-links,
.tags-links {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 16px;
}

.cat-links a,
.tags-links a {
	color: var(--color-primary, #0071e3);
	background: rgba(0, 113, 227, 0.1);
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.cat-links a:hover,
.tags-links a:hover {
	background: rgba(0, 113, 227, 0.2);
	text-decoration: none;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 60px 0;
	flex-wrap: wrap;
}

.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	background: #fff;
	color: #1d1d1f;
	text-decoration: none;
	font-size: 17px;
	font-weight: 400;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-numbers:hover,
.page-numbers.current {
	background: var(--color-primary, #0071e3);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.page-numbers.dots {
	background: transparent;
	box-shadow: none;
	cursor: default;
}

.page-numbers.dots:hover {
	transform: none;
}

/* Blockquote styling */
blockquote {
	border-left: 4px solid #0071e3;
	padding: 24px 32px;
	margin: 32px 0;
	background: #f5f5f7;
	border-radius: 0 12px 12px 0;
	font-size: 19px;
	line-height: 1.47059;
	font-style: italic;
	color: #1d1d1f;
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote cite {
	display: block;
	margin-top: 16px;
	font-size: 14px;
	color: #86868b;
	font-style: normal;
}

/* Code blocks */
pre {
	background: #1d1d1f;
	color: #f5f5f7;
	border-radius: 12px;
	padding: 24px;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
}

code {
	background: #f5f5f7;
	color: #1d1d1f;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.9em;
}

pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

/* Tables */
table {
	border-collapse: collapse;
	width: 100%;
	margin: 32px 0;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

thead {
	background: #f5f5f7;
}

th,
td {
	padding: 16px;
	text-align: left;
	border-bottom: 1px solid #e8e8ed;
}

th {
	font-weight: 600;
	color: #1d1d1f;
}

tbody tr:last-child td {
	border-bottom: none;
}

tbody tr:hover {
	background: #f5f5f7;
}

/* Responsive improvements */
@media screen and (max-width: 767px) {
	h1 {
		font-size: 32px;
	}
	
	h2 {
		font-size: 28px;
	}
	
	h3 {
		font-size: 24px;
	}
	
	.entry-title {
		font-size: 22px;
	}
	
	.page-title {
		font-size: 32px;
	}
	
	.entry-header,
	.entry-content,
	.entry-footer {
		padding: 24px;
	}
	
	.single .entry-header,
	.single .entry-content,
	.single .entry-footer {
		padding: 32px 24px;
	}
	
	.post,
	.page {
		border-radius: 16px;
	}
	
	.posts-grid {
		gap: 24px;
	}
	
	.posts-grid .post {
		border-radius: 16px;
	}
	
	.posts-grid .post:first-child {
		grid-column: 1;
	}
	
	.posts-grid .post .entry-title {
		font-size: 20px;
	}
	
	.posts-grid .post .entry-content {
		font-size: 14px;
	}
	
	.nav-links {
		flex-direction: column;
	}
	
	blockquote {
		padding: 16px 20px;
		font-size: 17px;
	}
	
	pre {
		padding: 16px;
		font-size: 13px;
	}
	
	table {
		font-size: 14px;
	}
	
	th,
	td {
		padding: 12px 8px;
	}
	
	.page-header {
		padding: 32px 24px;
		margin-bottom: 32px;
	}
}

/*--------------------------------------------------------------
# New Features Styles
--------------------------------------------------------------*/

/* Breadcrumbs */
.breadcrumbs {
	padding: 16px 20px;
	background: var(--color-bg-secondary, #f5f5f7);
	border-bottom: 1px solid var(--color-border, #d2d2d7);
}

.breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--spacing-sm);
	max-width: 1200px;
	margin: 0 auto;
}

.breadcrumb-list li {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: var(--color-text-secondary);
}

.breadcrumb-list li:not(:last-child)::after {
	content: '/';
	margin-left: var(--spacing-sm);
	color: var(--color-border);
}

.breadcrumb-list a {
	color: var(--color-primary, #0071e3);
	text-decoration: none;
}

.breadcrumb-list a:hover {
	text-decoration: underline;
}

/* Social Share */
.social-share {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	padding: var(--spacing-lg) 0;
	border-top: 1px solid var(--color-border);
	margin-top: var(--spacing-xl);
	flex-wrap: wrap;
}

.social-share-label {
	font-weight: 600;
	color: var(--color-text-primary);
}

.social-share-link {
	padding: var(--spacing-sm) var(--spacing-md);
	border-radius: var(--radius-md);
	background: var(--color-bg-secondary);
	color: var(--color-text-primary);
	text-decoration: none;
	font-size: 14px;
	transition: var(--transition-normal);
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.social-share-link:hover {
	background: var(--color-primary, #0071e3);
	color: #fff;
}

/* Related Posts */
.related-posts {
	margin: var(--spacing-xxl) 0;
	padding-top: var(--spacing-xxl);
	border-top: 1px solid var(--color-border);
}

.related-posts-title {
	font-size: 32px;
	font-weight: 600;
	margin-bottom: var(--spacing-xl);
	color: var(--color-text-primary);
}

.related-posts-list {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.related-post-item {
	margin: 0;
}

.related-post-link {
	display: block;
	font-size: 18px;
	font-weight: 500;
	color: var(--color-text-primary);
	text-decoration: none;
	padding: var(--spacing-sm) 0;
	transition: color 0.3s ease;
}

.related-post-link:hover {
	color: var(--color-primary, #0071e3);
	text-decoration: none;
}

/* Reading Time */
.reading-time {
	font-size: 14px;
	color: var(--color-text-secondary);
	margin-left: var(--spacing-md);
}

.reading-time::before {
	content: '•';
	margin-right: var(--spacing-sm);
}

