/*!
Theme Name: sontusderechos
Theme URI: https://www.sontusderechos.com/
Author: Eduardo Veiga
Author URI: https://www.eduardoveiga.com/
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: sontusderechos
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.

sontusderechos 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 {
	background-color: #ffffff;
	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;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	padding: 0.75rem 0;
	margin: 2.5rem 3rem;
	text-align: left;
	border: none;
	background: none;
	font-style: italic;
	font-size: 1.25rem;
	color: var(--text-main);
	position: relative;
	box-shadow: none;
}

blockquote::before,
blockquote::after {
	content: '';
	position: absolute;
	left: 0;
	width: 30%;
	height: 1px;
	background-color: var(--ccoo-red);
	opacity: 0.3;
}

blockquote::before {
	top: 0;
}

blockquote::after {
	bottom: 0;
}

blockquote p {
	margin: 0;
}

blockquote cite {
	display: block;
	margin-top: 1rem;
	font-size: 0.875rem;
	color: var(--text-muted);
	font-weight: 500;
	font-style: normal;
}

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
--------------------------------------------- */

hr {
	border: 0 !important;
	height: 10px !important;
	background: transparent !important;
	margin: 2rem auto !important;
	width: 300px;
	max-width: 80%;
	position: relative;
	overflow: visible;
	clear: both;
	display: block;
}

hr::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	border: 1.5px solid rgba(0, 0, 0, 0.15);
	border-radius: 50%;
	background: var(--bg-primary);
	box-shadow: 0 0 0 3px var(--bg-primary);
	z-index: 2;
}

hr::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1.5px;
	background-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.15) 10%, rgba(0, 0, 0, 0.15) 45%, transparent 45%, transparent 55%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.15) 90%, transparent);
	transform: translateY(-50%);
	z-index: 1;
}

.entry-content ul,
.entry-summary ul,
.entry-content ol,
.entry-summary ol {
	margin: 1rem 0 1.5rem 1.25rem;
	padding: 0;
}

.entry-content ul,
.entry-summary ul,
.entry-content ol,
.entry-summary ol {
	list-style: none;
}

.entry-content ol,
.entry-summary ol {
	counter-reset: ccoo-list-counter;
}

.entry-content ul li,
.entry-summary ul li,
.entry-content ol li,
.entry-summary ol li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.5rem;
}

.entry-content ul li::before,
.entry-summary ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 6px;
	height: 6px;
	background-color: var(--ccoo-red);
}

.entry-content ol li,
.entry-summary ol li {
	counter-increment: ccoo-list-counter;
}

.entry-content ol li::before,
.entry-summary ol li::before {
	content: counter(ccoo-list-counter) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--ccoo-red);
}

.entry-content li>ul,
.entry-content li>ol,
.entry-summary li>ul,
.entry-summary li>ol {
	margin-bottom: 0;
	margin-left: 1rem;
}

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(--text-main);
	text-decoration: underline;
	transition: var(--transition);
}

a:visited {
	color: var(--text-main);
}

a:hover,
a:focus,
a:active {
	color: var(--ccoo-red);
	text-decoration: underline;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

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 {
	border-color: #aaa #bbb #bbb;
}

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: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

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

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


.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

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

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

.main-navigation li {
	position: relative;
}

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


.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 3rem 0;
	padding: 2rem 0;
	border-top: var(--border-thin);
}

.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.posts-navigation .nav-previous,
.posts-navigation .nav-next,
.post-navigation .nav-previous,
.post-navigation .nav-next {
	display: flex;
}

.posts-navigation a,
.post-navigation a {
	display: block;
	width: 100%;
	padding: 1.5rem;
	background: #ffffff;
	border: var(--border-thin);
	border-radius: 0;
	text-decoration: none;
	transition: var(--transition);
	box-shadow: none;
}

.posts-navigation a:hover,
.post-navigation a:hover {
	transform: translateY(-4px);
	box-shadow: none;
	border-color: var(--ccoo-red);
	text-decoration: none;
}

.post-nav-wrapper {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.nav-next .post-nav-wrapper {
	justify-content: flex-end;
	text-align: right;
}

.post-nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--bg-primary);
	color: var(--ccoo-red);
	border-radius: 0;
	flex-shrink: 0;
	transition: var(--transition);
}

.posts-navigation a:hover .post-nav-icon,
.post-navigation a:hover .post-nav-icon {
	background: var(--ccoo-red);
	color: #ffffff;
}

.post-nav-content {
	display: flex;
	flex-direction: column;
	min-width: 0; /* Ensures title can truncate or wrap without breaking flex */
}

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

.nav-title {
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-main);
	line-height: 1.3;
	/* Prevent long titles from breaking the layout */
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;
}

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


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

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */

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

:root {
	--bg-primary: #f8f9fa;
	--text-main: #1a1a1a;
	--text-muted: #555555;
	--ccoo-red: #e3000f;
	--border-thin: 1px solid #eaeaea;
	--shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--border-radius: 8px;
	--transition: all 0.3s ease;
}

body {
	background-color: var(--bg-primary);
	color: var(--text-main);
	font-family: 'Urbanist', sans-serif;
	margin: 0;
	padding: 0;
}

.site-header {
	display: flex;
	flex-direction: column;
}

.hero-section {
	position: relative;
	height: 350px;
	background: var(--bg-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}


.hero-content {
	position: relative;
	z-index: 10;
}

.hero-title {
	font-family: 'Bilbo Swash Caps', cursive;
	font-size: 6rem;
	color: var(--ccoo-red);
	line-height: 0.9;
	transform: rotate(-2deg);
	margin: 0;
	padding: 20px;
	text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.25);
}

.hero-title a:focus {
	outline: none;
}

.hero-description {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-top: 5px;
	letter-spacing: 0.05em;
	text-align: center;
}

.header-separator {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.header-separator.medium {
	height: 4px;
	background-color: #1a1a1a;
}

.header-separator.thin {
	height: 2px;
	background-color: #1a1a1a;
}

.navigation-wrapper {
	width: 100%;
}

.main-navigation {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	padding: 0 1.5rem;
}

.mobile-nav-top {
	display: none;
}

.desktop-nav-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: 100%;
	position: relative;
}

.social-links {
	display: flex !important;
	gap: 6px !important;
	align-items: center !important;
	width: auto !important;
}

.social-links a {
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	line-height: 0 !important;
	width: auto !important;
	flex: none !important;
}

.desktop-only.social-links {
	position: absolute !important;
	left: 0 !important;
}

.social-links img {
	width: 18px;
	height: auto;
	opacity: 0.7;
	transition: var(--transition);
}

.social-links a:hover img {
	opacity: 1;
	transform: scale(1.1);
}

.nav-menu-wrapper {
	flex: 1;
	display: flex;
	justify-content: center;
}

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

.main-navigation li {
	margin: 0;
}

.main-navigation a {
	display: block;
	padding: 1rem 0.6rem;
	color: var(--text-main);
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.8rem;
	position: relative;
	transition: color 0.3s ease;
}

.main-navigation a::after {
	content: '';
	position: absolute;
	bottom: 1.0rem;
	left: 0.6rem;
	right: 0.6rem;
	height: 2px;
	background-color: var(--ccoo-red);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease-in-out;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item>a::after,
.main-navigation .current_page_item>a::after,
.main-navigation .current-menu-ancestor>a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.main-navigation .current-menu-item>a,
.main-navigation .current_page_item>a,
.main-navigation .current-menu-ancestor>a {
	color: var(--ccoo-red);
}

.main-navigation a:focus {
	outline: none;
}

.main-navigation a:hover {
	color: var(--ccoo-red);
}

.search-box-wrapper {
	position: absolute;
	right: 0;
}

.nav-search-form {
	display: flex;
	align-items: center;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
}

.nav-search-form.expanded {
	border-bottom: 1px solid var(--text-main);
}

.nav-search-input {
	width: 0;
	opacity: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	border-bottom: none !important;
	transition: all 0.3s ease;
	outline: none !important;
	box-shadow: none !important;
	-webkit-appearance: none;
}

.nav-search-form.expanded .nav-search-input {
	width: 250px;
	opacity: 1;
	padding: 2px 5px;
	border-bottom: none !important;
	margin-right: 5px;
}

.nav-search-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-main);
	padding: 5px;
	display: flex;
	align-items: center;
}

.nav-search-btn:hover {
	color: var(--ccoo-red);
}

.error-404-search-container {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
	width: 100%;
}

.nav-search-form.search-404 {
	border-bottom: 1px solid var(--text-main);
	width: auto;
}

.nav-search-form.search-404 .nav-search-input {
	width: 300px !important;
	opacity: 1 !important;
	padding: 5px 10px !important;
}

.site-content {
	max-width: 1200px;
	margin: 3rem auto;
	padding: 0 1.5rem;
	display: grid;
	grid-template-columns: 2.5fr 1fr;
	gap: 4rem;
}

.site-main {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.post,
.page {
	padding-bottom: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 0;
	align-items: center;
}

.entry-title {
	margin: 0;
	font-size: 2.5rem;
	text-align: center;
}

.entry-title a {
	color: var(--text-main);
	text-decoration: none;
	transition: var(--transition);
}

.entry-title a:hover {
	color: var(--ccoo-red);
}

.entry-meta {
	font-size: 0.875rem;
	color: var(--text-muted);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.post-categories {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
}

.cat-bubble,
.cat-bubble:visited,
.cat-bubble:link {
	background-color: #eaeaea;
	color: #333;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	transition: var(--transition);
	margin: 2px 0;
}

.cat-bubble:hover {
	background-color: var(--text-main);
	color: white;
}

.posted-on {
	display: flex;
	align-items: center;
}

.date-icon {
	font-size: 1.1rem;
	margin-right: 5px;
}

.entry-content,
.entry-summary {
	color: var(--text-muted);
	line-height: 1.6;
	margin: 0;
	text-align: left;
	width: 100%;
}

.read-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin: 2rem auto 0;
	padding: 0.5rem 0.5rem 0.5rem 1.5rem;
	background-color: #ffffff;
	border: var(--border-thin);
	color: var(--text-main);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	text-decoration: none !important;
	transition: var(--transition);
	border-radius: 0;
	width: fit-content;
}

.read-more:hover {
	transform: translateY(-4px);
	border-color: var(--ccoo-red);
	color: var(--text-main);
	background-color: #ffffff;
	text-decoration: none !important;
}

.read-more-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--bg-primary);
	color: var(--ccoo-red);
	border-radius: 0;
	flex-shrink: 0;
	transition: var(--transition);
}

.read-more:hover .read-more-icon {
	background: var(--ccoo-red);
	color: #ffffff;
}

.read-more-icon svg {
	transition: var(--transition);
}

.read-more:hover .read-more-icon svg {
	transform: translateX(4px);
}

.sidebar-wrapper {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	position: sticky;
	top: 2rem;
	align-self: start;
}

.widget {
	background: #ffffff;
	padding: 1.5rem;
	border-radius: 0;
	box-shadow: none;
	border: var(--border-thin);
	margin: 0;
}

.widget-title {
	font-size: 1.1rem;
	margin-top: 0;
	margin-bottom: 1.5rem;
	color: var(--text-main);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	position: relative;
	display: inline-block;
	z-index: 1;
}

.widget-title::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: -5px;
	right: -5px;
	height: 10px;
	background-color: rgba(227, 0, 15, 0.3);
	z-index: -1;
	transform: rotate(-1deg);
	border-radius: 0;
}

.widget a {
	color: var(--text-muted);
	text-decoration: none;
	transition: var(--transition);
}

.widget a:hover {
	color: var(--ccoo-red);
	text-decoration: none;
}

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

.widget li {
	margin-bottom: 0.75rem;
	margin-left: 0;
}

.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.newsletter-form input {
	padding: 0.75rem;
	border: var(--border-thin);
	border-radius: 0;
	font-family: inherit;
	background: var(--bg-primary);
}

.newsletter-form button {
	padding: 0.75rem;
	background-color: var(--ccoo-red);
	color: white;
	border: none;
	border-radius: 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: var(--transition);
}

.newsletter-form button:hover {
	background-color: #c4000d;
	transform: translateY(-2px);
}

.promo-box {
	display: block;
}

.promo-link {
	text-decoration: none;
	color: var(--text-main);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: var(--transition);
}


.promo-image-placeholder {
	width: 100%;
	height: 120px;
	background-color: #f1f1f1;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: linear-gradient(45deg, var(--ccoo-red) 25%, transparent 25%, transparent 75%, var(--ccoo-red) 75%, var(--ccoo-red)), linear-gradient(45deg, var(--ccoo-red) 25%, transparent 25%, transparent 75%, var(--ccoo-red) 75%, var(--ccoo-red));
	background-size: 20px 20px;
	background-position: 0 0, 10px 10px;
	opacity: 0.2;
}

.site-footer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer-separator {
	max-width: 1200px;
	margin: 0 auto 2rem;
	height: 2px;
	background-color: #1a1a1a;
	width: 100%;
}

.site-info {
	color: var(--text-muted);
	font-size: 0.875rem;
}

@media (max-width: 768px) {
	.site-content {
		grid-template-columns: 1fr;
	}

	.hero-title {
		font-size: 3.5rem;
		line-height: 0.9;
	}

	.hero-description {
		font-size: 0.8rem;
	}

	.mobile-nav-top {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10px 0;
	}

	.menu-toggle {
		display: block;
		background: none;
		border: none;
		color: var(--text-main);
		cursor: pointer;
		padding: 5px;
	}

	.desktop-nav-content {
		display: none;
		flex-direction: column;
	}

	.main-navigation.toggled .desktop-nav-content {
		display: flex;
	}

	.desktop-only.social-links {
		display: none !important;
	}

	.main-navigation a {
		padding: 0.5rem 0.6rem;
	}

	.main-navigation a::after {
		bottom: 5px;
	}

	.nav-menu-wrapper {
		width: 100%;
		order: 1;
	}

	.main-navigation ul {
		flex-direction: column;
		width: 100%;
		text-align: center;
	}

	.search-box-wrapper {
		width: 100%;
		padding: 1rem 0;
		justify-content: center;
		position: static !important;
		order: 2;
	}

	.nav-search-form {
		justify-content: center;
		border-bottom: 1px solid var(--text-main) !important;
		width: 250px;
		margin: 0 auto;
	}

	.nav-search-input {
		width: 200px !important;
		opacity: 1 !important;
		border-bottom: none !important;
		padding: 5px 10px !important;
	}

	.entry-title,
	.page-title {
		font-size: 1.75rem;
	}
}

/*--------------------------------------------------------------
# Poll Component
--------------------------------------------------------------*/
.poll-container {
	background: #ffffff;
	border: var(--border-thin);
	border-radius: var(--border-radius);
	padding: 1.5rem;
	margin: 2rem 0;
	box-shadow: var(--shadow-subtle);
}

.poll-title {
	font-weight: 700;
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
	color: var(--text-main);
	display: block;
}

.poll-option {
	margin-bottom: 1.25rem;
}

.poll-option-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.poll-option-text {
	font-weight: 500;
}

.poll-option-result {
	color: var(--text-muted);
	font-weight: 600;
}

.poll-bar-container {
	height: 8px;
	background-color: #f0f0f0;
	border-radius: 4px;
	overflow: hidden;
}

.poll-bar-fill {
	height: 100%;
	background-color: var(--ccoo-red);
	border-radius: 4px;
	transition: width 1s ease-out;
}

/* Editor Specific Styles */
.editor-poll-container {
	border: 1px solid #ddd;
	padding: 20px;
	background: #fff;
}

.editor-poll-title {
	font-size: 1.5rem !important;
	color: var(--ccoo-red) !important;
	font-weight: bold !important;
}

.editor-poll-option {
	transition: border-color 0.2s;
}

.editor-poll-option:hover {
	border-color: var(--ccoo-red) !important;
}

.editor-poll-container label {
	user-select: none;
	pointer-events: none;
}

.poll-option-votes-wrapper .components-base-control__field {
	margin-bottom: 0 !important;
}

.poll-option-votes-wrapper input {
	padding: 8px 5px !important;
	border: 1px dashed #ccc !important;
	background: #fff !important;
	text-align: center !important;
	font-weight: bold !important;
	height: 40px !important;
	width: 100% !important;
}