﻿/**
 * Astro Theme — Main Stylesheet
 *
 * Design system based on the EmpleosPeru portal concept.
 * Mobile-first responsive approach.
 *
 * @package Astro
 */

/* ==========================================================================
   0. CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
	/* Colors */
	/* --astro-primary: #1a2e4a; */
	/* --astro-primary: #17335c; */
	--astro-primary: #162e5b;
	--astro-primary-light: #2a4a6e;
	--astro-primary-dark: #0f1d30;
	--astro-accent: #4fc4a0;
	--astro-accent-dark: #3da888;
	--astro-link: #006aff;

	/* Neutrals */
	--astro-bg-1: #ffffff;
	--astro-bg-2: #f5f5f5;
	--astro-bg-3: #efefef;
	--astro-txt-1: #1a1a1a;
	--astro-txt-2: #666666;
	--astro-txt-3: #999999;
	--astro-border-1: #e0e0e0;
	--astro-border-2: #cccccc;

	/* Typography */
	--astro-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
	--astro-font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

	/* Spacing */
	--astro-gap: 16px;
	--astro-radius: 12px;
	--astro-radius-sm: 8px;
	--astro-radius-xs: 6px;

	/* Shadows */
	--astro-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
	--astro-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
	--astro-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);

	/* Transitions */
	--astro-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--astro-duration: 0.2s;
}

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--astro-font);
	background: var(--astro-bg-2);
	color: var(--astro-txt-1);
	line-height: 1.6;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* img {
	max-width: 100%;
	height: auto;
	display: block;
} */

a {
	color: var(--astro-link);
	text-decoration: none;
	transition: color var(--astro-duration) var(--astro-ease);
}

a:hover {
	color: var(--astro-accent);
}

ul,
ol {
	list-style: none;
}

button {
	font-family: var(--astro-font);
	cursor: pointer;
	border: none;
	background: none;
}

input,
textarea,
select {
	font-family: var(--astro-font);
	font-size: inherit;
}

/* .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
} */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   2. Layout
   ========================================================================== */

.astro-wrapper {
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.astro-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--astro-gap);
}

.astro-main {
	flex: 1;
	padding-bottom: 40px;
}

.astro-main-single {
	flex: 1;
	padding-bottom: 40px;
}

.astro-content {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.astro-content--full .astro-article,
.astro-content--full .astro-page {
	width: 100%;
}

.astro-content--with-sidebar .astro-article {
	flex: 1;
	min-width: 0;
}

/* ==========================================================================
   3. Navigation (astro-nav)
   ========================================================================== */

.astro-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px var(--astro-gap);
	background: var(--astro-primary);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 4px rgb(0 0 0 / 40%);
}

.astro-nav__hamburger {
	width: 34px;
	height: 34px;
	border-radius: var(--astro-radius-sm);
	background: rgba(255, 255, 255, 0.1);
	border: 0.5px solid rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
}

.astro-nav__hamburger svg {
	width: 16px;
	height: 16px;
}

.astro-nav__logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.astro-nav__logo a,
.astro-nav__site-name {
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.astro-nav__site-name span {
	color: var(--astro-accent);
}

.astro-nav__logo > svg {
	flex-shrink: 0;
}

.astro-nav__logo .custom-logo-link img {
	max-height: 36px;
	width: auto;
}

.astro-nav__links {
	display: none;
	align-items: center;
	gap: 4px;
}

.astro-nav__menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.astro-nav__menu li a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	font-weight: 500;
	padding: 8px 14px;
	border-radius: var(--astro-radius-sm);
	transition: all 0.15s var(--astro-ease);
	white-space: nowrap;
}

.astro-nav__menu li a:hover,
.astro-nav__menu li.current-menu-item a,
.astro-nav__menu li.current_page_item a {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

/* Sub-menu dropdown (desktop) */
.astro-nav__menu li {
	position: relative;
}

.astro-nav__menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 180px;
	padding: 6px 0;
	background: var(--astro-primary);
	border-radius: var(--astro-radius-sm);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	z-index: 110;
	list-style: none;
}

.astro-nav__menu li:hover > .sub-menu {
	display: block;
}

.astro-nav__menu .sub-menu li {
	position: static;
}

.astro-nav__menu .sub-menu li a {
	display: block;
	padding: 8px 16px;
	font-size: 13px;
	white-space: nowrap;
	border-radius: 0;
}

.astro-nav__menu .sub-menu li a:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.astro-nav__actions {
	display: flex;
	gap: 8px;
}

.astro-nav__search-toggle {
	width: 34px;
	height: 34px;
	border-radius: var(--astro-radius-sm);
	background: rgba(255, 255, 255, 0.1);
	border: 0.5px solid rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
}

.astro-nav__search-toggle svg {
	width: 16px;
	height: 16px;
}



/* ==========================================================================
   5. Cards Grid
   ========================================================================== */

.astro-grid {
	display: grid;
	gap: var(--astro-gap);
	grid-template-columns: 1fr;
}

/* ==========================================================================
   6. Card Component
   ========================================================================== */

/* .astro-card {
	background: var(--astro-bg-1);
	border: 0.5px solid var(--astro-border-1);
	border-radius: var(--astro-radius);
	overflow: hidden;
	transition: box-shadow var(--astro-duration) var(--astro-ease),
	            transform var(--astro-duration) var(--astro-ease);
}

.astro-card:hover {
	box-shadow: var(--astro-shadow-md);
	transform: translateY(-2px);
}

.astro-card__link {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.astro-card__link:hover {
	color: inherit;
}

.astro-card__top {
	padding: 8px 13px;
	border-bottom: 0.5px solid var(--astro-border-1);
}

.astro-card__category {
	font-size: 11px;
	font-weight: 500;
	color: var(--astro-primary);
	background: rgba(26, 46, 74, 0.08);
	padding: 3px 9px;
	border-radius: 20px;
}

.astro-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.astro-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s var(--astro-ease);
}

.astro-card:hover .astro-card__image img {
	transform: scale(1.03);
}

.astro-card__body {
	padding: 12px 13px 10px;
	flex: 1;
}

.astro-card__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--astro-txt-1);
	line-height: 1.4;
	margin-bottom: 6px;
}

.astro-card__meta {
	font-size: 11px;
	color: var(--astro-txt-2);
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.astro-card__dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--astro-border-2);
}

.astro-card__excerpt {
	font-size: 12px;
	color: var(--astro-txt-2);
	line-height: 1.5;
}

.astro-card__excerpt p {
	margin: 0;
}

.astro-card__footer {
	border-top: 0.5px solid var(--astro-border-1);
	padding: 9px 13px;
}

.astro-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 500;
	color: var(--astro-primary);
} */

/* ==========================================================================
   7. Breadcrumbs
   ========================================================================== */

.astro-breadcrumb {
	padding: 14px 0 10px;
}

.astro-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	font-size: 12px;
}

.astro-breadcrumb__item {
	display: flex;
	align-items: center;
	color: var(--astro-txt-2);
}

.astro-breadcrumb__item a {
	color: #185FA5;
	text-decoration: none;
}

.astro-breadcrumb__item a:hover {
	color: var(--astro-primary);
}

.astro-breadcrumb__sep {
	margin: 0 6px;
	color: var(--astro-border-2);
}

.astro-breadcrumb__item:last-child span {
	color: var(--astro-txt-1);
	font-weight: 500;
}


  /* BREADCRUMB */
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
  }
  .breadcrumb a { color: var(--link); text-decoration: none; }
  .breadcrumb a:hover { text-decoration: underline; }
  .breadcrumb-sep { color: var(--hint); }

/* ==========================================================================
   8. Archive / Search Header
   ========================================================================== */

/* .astro-archive-header {
	padding: 10px 0 16px;
}

.astro-archive-header__title {
	font-size: 22px;
	font-weight: 600;
	color: var(--astro-txt-1);
	line-height: 1.3;
}

.astro-archive-header__title span {
	color: var(--astro-primary);
}

.astro-archive-header__desc {
	font-size: 14px;
	color: var(--astro-txt-2);
	margin-top: 8px;
	line-height: 1.5;
} */

/* ==========================================================================
   9. Pagination
   ========================================================================== */

.astro-pagination {
	padding: 20px 0;
}

.astro-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex-wrap: wrap;
}

.astro-pagination .page-numbers li {
	display: inline-flex;
}

.astro-pagination .page-numbers a,
.astro-pagination .page-numbers span {
	min-width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0.5px solid var(--astro-border-1);
	background: var(--astro-bg-1);
	border-radius: 7px;
	font-size: 13px;
	color: var(--astro-txt-1);
	padding: 0 8px;
	transition: all 0.15s var(--astro-ease);
}

.astro-pagination .page-numbers a:hover {
	border-color: var(--astro-primary);
	color: var(--astro-primary);
}

.astro-pagination .page-numbers .current {
	background: var(--astro-primary);
	color: #fff;
	border-color: var(--astro-primary);
}

.astro-pagination .page-numbers .dots {
	border: none;
	background: none;
}

/* ==========================================================================
   10. Single Article
   ========================================================================== */

.astro-article {
	background: var(--astro-bg-1);
	border-radius: var(--astro-radius);
	border: 0.5px solid var(--astro-border-1);
	overflow: hidden;
	padding: 24px;
}

.astro-article__header {
	margin-bottom: 20px;
}

.astro-article__title {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--astro-txt-1);
	margin-bottom: 12px;
}

.astro-article__thumbnail {
	margin: 0 -24px 20px;
}

.astro-article__thumbnail img {
	width: 100%;
	height: auto;
}

.astro-article__body {
	margin-bottom: 24px;
}

.astro-article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 24px;
}

.astro-tag {
	display: inline-block;
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 20px;
	background: var(--astro-bg-2);
	color: var(--astro-txt-2);
	border: 0.5px solid var(--astro-border-1);
}

.astro-tag a {
	color: inherit;
}

/* ==========================================================================
   11. Meta (Author, Date)
   ========================================================================== */

.astro-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.astro-meta__author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.astro-meta__author img {
	border-radius: 50%;
}

.astro-meta__author-name {
	font-size: 13px;
	font-weight: 500;
	color: var(--astro-txt-1);
	display: block;
}

.astro-meta__date {
	font-size: 12px;
	color: var(--astro-txt-2);
}

.astro-meta__cats {
	font-size: 12px;
}

.astro-meta__cats a {
	color: var(--astro-accent-dark);
	font-weight: 500;
}

/* ==========================================================================
   12. Author Box
   ========================================================================== */

.astro-author-box {
	display: flex;
	gap: 16px;
	padding: 20px;
	background: var(--astro-bg-2);
	border-radius: var(--astro-radius);
	margin-bottom: 24px;
}

.astro-author-box__avatar img {
	border-radius: 50%;
}

.astro-author-box__name {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 4px;
}

.astro-author-box__name a {
	color: var(--astro-txt-1);
}

.astro-author-box__bio {
	font-size: 13px;
	color: var(--astro-txt-2);
	line-height: 1.5;
}

/* ==========================================================================
   13. Post Navigation
   ========================================================================== */

.astro-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 24px;
}

.astro-post-nav__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	border: 0.5px solid var(--astro-border-1);
	border-radius: var(--astro-radius-sm);
	transition: all 0.15s var(--astro-ease);
}

.astro-post-nav__link:hover {
	border-color: var(--astro-primary);
	background: var(--astro-bg-2);
	color: var(--astro-txt-1);
}

.astro-post-nav__link--next {
	text-align: right;
	grid-column: 2;
}

.astro-post-nav__label {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: var(--astro-txt-2);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.astro-post-nav__link--next .astro-post-nav__label {
	justify-content: flex-end;
}

.astro-post-nav__title {
	font-size: 13px;
	font-weight: 500;
	color: var(--astro-txt-1);
	line-height: 1.4;
}

/* ==========================================================================
   14. Page
   ========================================================================== */

.astro-page {
	background: var(--astro-bg-1);
	border-radius: var(--astro-radius);
	border: 0.5px solid var(--astro-border-1);
	padding: 20px;
}

.astro-page__header {
	margin-bottom: 20px;
}

.astro-page__title {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
}

.astro-page__thumbnail {
	margin: 0 -24px 20px;
}

.astro-page__thumbnail img {
	width: 100%;
}

/* ==========================================================================
   15. Content Styles (the-content)
   ========================================================================== */

/* .the-content h1,
.the-content h2,
.the-content h3,
.the-content h4,
.the-content h5,
.the-content h6 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	line-height: 1.3;
	color: var(--astro-txt-1);
}

.the-content h2 { font-size: 22px; }
.the-content h3 { font-size: 18px; }
.the-content h4 { font-size: 16px; }

.the-content p {
	margin-bottom: 1em;
	line-height: 1.7;
	font-size: 15px;
}

.the-content ul,
.the-content ol {
	margin-bottom: 1em;
	padding-left: 1.5em;
}

.the-content ul { list-style: disc; }
.the-content ol { list-style: decimal; }

.the-content li {
	margin-bottom: 0.3em;
	line-height: 1.6;
	font-size: 15px;
}

.the-content blockquote {
	margin: 1.5em 0;
	padding: 16px 20px;
	border-left: 4px solid var(--astro-accent);
	background: var(--astro-bg-2);
	border-radius: 0 var(--astro-radius-sm) var(--astro-radius-sm) 0;
	font-style: italic;
	color: var(--astro-txt-2);
}

.the-content pre {
	background: var(--astro-primary-dark);
	color: #e0e0e0;
	padding: 16px 20px;
	border-radius: var(--astro-radius-sm);
	overflow-x: auto;
	font-family: var(--astro-font-mono);
	font-size: 13px;
	line-height: 1.6;
	margin-bottom: 1em;
}

.the-content code {
	font-family: var(--astro-font-mono);
	font-size: 0.9em;
	background: var(--astro-bg-3);
	padding: 2px 6px;
	border-radius: 4px;
}

.the-content pre code {
	background: none;
	padding: 0;
} */

/* .the-content img {
	border-radius: var(--astro-radius-sm);
	margin: 1em 0;
} */

.the-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1em;
}

.the-content th,
.the-content td {
	padding: 10px 14px;
	border: 1px solid var(--astro-border-1);
	text-align: left;
	font-size: 14px;
}

.the-content th {
	background: var(--astro-bg-2);
	font-weight: 600;
}

/* .the-content a {
	color: var(--astro-primary);
	text-decoration: underline;
} */

/* .the-content a:hover {
	color: var(--astro-accent-dark);
} */

/* ==========================================================================
   16. Sidebar
   ========================================================================== */

.astro-sidebar {
	width: 300px;
	flex-shrink: 0;
}

.astro-widget {
	background: var(--astro-bg-1);
	border: 0.5px solid var(--astro-border-1);
	border-radius: var(--astro-radius);
	padding: 16px;
	margin-bottom: 16px;
}

.astro-widget__title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--astro-border-1);
}

.astro-widget ul li {
	padding: 6px 0;
	font-size: 13px;
	border-bottom: 0.5px solid var(--astro-border-1);
}

.astro-widget ul li:last-child {
	border-bottom: none;
}

.astro-widget ul li a {
	color: var(--astro-txt-2);
}

.astro-widget ul li a:hover {
	color: var(--astro-primary);
}

/* ==========================================================================
   17. Comments
   ========================================================================== */

.astro-comments {
	margin-top: 24px;
}

.astro-comments__title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 16px;
}

.astro-comments__list {
	margin-bottom: 24px;
}

.astro-comments__list .comment {
	padding: 16px 0;
	border-bottom: 0.5px solid var(--astro-border-1);
}

.astro-comments__list .comment-body {
	font-size: 14px;
	line-height: 1.6;
}

.astro-comments .comment-respond {
	margin-top: 16px;
}

.astro-comments .comment-form input[type="text"],
.astro-comments .comment-form input[type="email"],
.astro-comments .comment-form input[type="url"],
.astro-comments .comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 0.5px solid var(--astro-border-1);
	border-radius: var(--astro-radius-sm);
	font-size: 14px;
	background: var(--astro-bg-1);
	transition: border-color var(--astro-duration) var(--astro-ease);
}

.astro-comments .comment-form input:focus,
.astro-comments .comment-form textarea:focus {
	outline: none;
	border-color: var(--astro-primary);
}

.astro-comments .comment-form .submit {
	background: var(--astro-primary);
	color: #fff;
	border: none;
	padding: 10px 24px;
	border-radius: var(--astro-radius-sm);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background var(--astro-duration) var(--astro-ease);
}

.astro-comments .comment-form .submit:hover {
	background: var(--astro-primary-light);
}

/* ==========================================================================
   18. Search Form
   ========================================================================== */

.astro-search-form__wrap {
	display: flex;
	align-items: center;
	background: var(--astro-bg-1);
	border: 0.5px solid var(--astro-border-1);
	border-radius: var(--astro-radius);
	padding: 6px 6px 6px 14px;
	gap: 10px;
}

.astro-search-form__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--astro-txt-2);
}

.astro-search-form__input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 14px;
	color: var(--astro-txt-1);
	background: transparent;
	min-width: 0;
}

.astro-search-form__input::placeholder {
	color: var(--astro-txt-3);
}

.astro-search-form__btn {
	background: var(--astro-primary);
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: var(--astro-radius-sm);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--astro-duration) var(--astro-ease);
}

.astro-search-form__btn:hover {
	background: var(--astro-primary-light);
}

/* ==========================================================================
   19. 404 Page
   ========================================================================== */

.astro-404 {
	text-align: center;
	padding: 40px 0;
}

.astro-404__icon {
	color: var(--astro-txt-3);
	margin-bottom: 16px;
}

.astro-404__title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 8px;
}

.astro-404__text {
	font-size: 15px;
	color: var(--astro-txt-2);
	margin-bottom: 24px;
}

.astro-404__search {
	max-width: 480px;
	margin: 0 auto 32px;
}

.astro-404__subtitle {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 16px;
	text-align: left;
}

.astro-404__recent {
	text-align: left;
}

/* ==========================================================================
   20. No Content
   ========================================================================== */

.astro-none {
	text-align: center;
	padding: 40px 20px;
}

.astro-none__icon {
	color: var(--astro-txt-3);
	margin-bottom: 12px;
}

.astro-none__text {
	font-size: 15px;
	color: var(--astro-txt-2);
	margin-bottom: 16px;
}

.astro-none__search {
	max-width: 400px;
	margin: 0 auto;
}

/* ==========================================================================
   21. Drawer (Mobile Menu)
   ========================================================================== */

.astro-drawer-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 200;
}

.astro-drawer-overlay.is-open {
	display: block;
}

.astro-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 280px;
	height: 100vh;
	height: 100dvh;
	background: var(--astro-bg-1);
	z-index: 201;
	transform: translateX(-100%);
	transition: transform 0.3s var(--astro-ease);
	display: flex;
	flex-direction: column;
	box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
}

.astro-drawer.is-open {
	transform: translateX(0);
}

.astro-drawer__header {
	background: var(--astro-primary);
	/* padding: 40px 20px 20px; */
	padding: 12px var(--astro-gap);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.astro-drawer__logo a {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	text-decoration: none;
}

.astro-drawer__logo a span {
	color: var(--astro-accent);
}

.astro-drawer__logo .custom-logo-link img {
	max-height: 32px;
	width: auto;
}

.astro-drawer__close {
	width: 30px;
	height: 30px;
	border-radius: var(--astro-radius-sm);
	background: rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	border: none;
}

.astro-drawer__close svg {
	width: 14px;
	height: 14px;
}

.astro-drawer__nav {
	flex: 1;
	overflow-y: auto;
	padding: 12px 0;
}

.astro-drawer__menu li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 20px;
	font-size: 14px;
	color: var(--astro-txt-2);
	transition: background 0.12s var(--astro-ease);
}

.astro-drawer__menu li a:hover {
	background: var(--astro-bg-2);
}

.astro-drawer__menu li.current-menu-item a,
.astro-drawer__menu li.current_page_item a {
	background: #f0f5ff;
	color: var(--astro-primary);
	font-weight: 500;
}

/* Drawer sub-menu (mobile) */
.astro-drawer__menu .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.astro-drawer__menu .sub-menu li a {
	padding-left: 40px;
	font-size: 13px;
	color: var(--astro-txt-3, rgba(0, 0, 0, 0.5));
}

.astro-drawer__menu .sub-menu li a:hover {
	background: var(--astro-bg-2);
	color: var(--astro-txt-1);
}

/* ==========================================================================
   22. Footer
   ========================================================================== */

.astro-footer {
	background: var(--astro-primary);
	color: rgba(255, 255, 255, 0.7);
	padding: 32px var(--astro-gap);
	border-top: 1px solid var(--astro-color-border);
	padding-block: calc(var(--astro-space) * 2);
	margin-top: auto;
	
	min-height: 220px; /* ajusta al alto típico real de tu footer */

}

.astro-footer__copy {
	font-size: 0.8125rem;
	color: var(--astro-color-text-muted);
	text-align: center;
}

.astro-footer__copy a {
	color: var(--astro-color-text-muted);
	font-weight: 600;
}

.astro-footer__copy a:hover {
	color: var(--astro-color-accent);
}

.astro-footer__widgets {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto 24px;
}

.astro-footer__col .astro-widget {
	background: transparent;
	border: none;
	padding: 0;
	color: rgba(255, 255, 255, 1);
}

.astro-footer__col .astro-widget__title {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.15);
}

.astro-footer__col .astro-widget ul li {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.astro-footer__col .astro-widget ul li a {
	color: rgba(255, 255, 255, 1);
}

.astro-footer__col .astro-widget ul li a:hover {
	color: var(--astro-accent);
}

.astro-footer__nav {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.astro-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.astro-footer__menu li a {
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
}

.astro-footer__menu li a:hover {
	color: #fff;
}

.astro-footer__bottom {
	text-align: center;
	padding-top: 16px;
	max-width: 1200px;
	margin: 0 auto;
}

.astro-footer__bottom p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
}

.astro-footer--simple {
	padding: 20px var(--astro-gap);
}

/* ==========================================================================
   23. WordPress Core Alignment Classes
   ========================================================================== */

.alignwide {
	margin-left: -24px;
	margin-right: -24px;
}

.alignfull {
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	max-width: 100vw;
	width: 100vw;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}

.alignright {
	float: right;
	margin-left: 1em;
	margin-bottom: 1em;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 12px;
	color: var(--astro-txt-2);
	text-align: center;
	padding: 6px 0;
}

/* ==========================================================================
   24. Responsive — Tablet (≥ 768px)
   ========================================================================== */

@media (min-width: 768px) {
	:root {
		--astro-gap: 20px;
	}

	body {
		background: var(--astro-bg-2);
	}

	.astro-nav {
		padding: 14px 32px;
	}

	.astro-nav__hamburger {
		display: none;
	}

	.astro-nav__logo {
		position: static;
		transform: none;
	}

	.astro-nav__links {
		display: flex;
	}

	/* Hero */
	.astro-hero {
		border-radius: 0;
		/* padding: 28px 32px 36px; */
		padding: 2rem 2rem 2rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.astro-hero__content {
		max-width: 600px;
	}

	.astro-hero__title {
		font-size: 28px;
	}

	.astro-hero__sub {
		font-size: 14px;
	}

	.astro-hero__search {
		max-width: 600px;
		width: 100%;
	}

	.astro-hero__form {
		flex-direction: row;
	}

	.astro-hero__search-box {
		flex: 1;
	}

	.astro-hero__btn {
		white-space: nowrap;
		flex: none;
	}

	.astro-hero__stats {
		padding: 10px 0;
		margin: 0 -32px;
	}

	.astro-hero__stat {
		padding: 0 24px;
	}

	.astro-hero__stat-value {
		font-size: 16px;
	}

	/* Grid */
	.astro-grid--2,
	.astro-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Footer */
	.astro-footer__widgets {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Content + sidebar */
	.astro-content--with-sidebar {
		display: flex;
		gap: 24px;
	}

	/* Drawer hidden on tablet+ */
	.astro-drawer,
	.astro-drawer-overlay {
		display: none !important;
	}
}

/* ==========================================================================
   25. Responsive — Desktop (≥ 1024px)
   ========================================================================== */

@media (min-width: 1024px) {
	:root {
		--astro-gap: 24px;
	}

	.astro-container {
		padding: 0 24px;
	}

	/* Hero */
	.astro-hero__title {
		font-size: 32px;
	}

	/* Grid */
	.astro-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Card */
	.astro-card__title {
		font-size: 15px;
	}

	/* Single */
	.astro-article__title {
		font-size: 30px;
	}

	.astro-article {
		padding: 32px;
	}

	.astro-article__thumbnail {
		margin: 0 -32px 24px;
	}

	/* .astro-page {
		padding: 32px;
	} */

	.astro-page__thumbnail {
		margin: 0 -32px 24px;
	}
}

/* ==========================================================================
   26. Responsive — Large Desktop (≥ 1200px)
   ========================================================================== */

@media (min-width: 1200px) {
	.astro-hero {
		padding: 40px 48px 48px;
	}

	.astro-hero__content {
		max-width: 700px;
	}

	.astro-hero__title {
		font-size: 36px;
	}

	.astro-hero__sub {
		font-size: 15px;
	}

	.astro-hero__search {
		max-width: 700px;
	}
}

/* ==========================================================================
   27. Print Styles
   ========================================================================== */
/* footer.astro-footer */

footer.astro-footer{
  min-height: 260px; /* pon aquí el alto promedio real del footer en desktop */
}

@media (max-width: 768px){
  footer.astro-footer{
    min-height: 340px; /* en móvil suele ocupar más líneas */
  }
}

/* ==========================================================================
   Astro Theme — Ultra-minimal CSS
   Inspired by the Astro framework aesthetic.
   Mobile-first · System fonts · Indigo accents
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
	--astro-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--astro-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--astro-color-bg: #ffffff;
	--astro-color-surface: #f8f9fa;
	--astro-color-text: #1a1a2e;
	--astro-color-text-muted: #6b7280;
	--astro-color-border: #e5e7eb;
	--astro-color-accent: #6366f1;
	--astro-color-accent-hover: #4f46e5;
	--astro-color-link: #008cff;

	--astro-container-max: 56rem;
	--astro-container-narrow: 42rem;
	--astro-space: 1rem;
	--astro-radius: 0.5rem;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--astro-font);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--astro-color-text);
	background: var(--astro-color-bg);
	-webkit-font-smoothing: antialiased;
}

/* img {
	max-width: 100%;
	height: auto;
	display: block;
} */

a {
	color: var(--astro-color-accent);
	text-decoration: none;
}

/* a:hover,
a:focus {
	color: var(--astro-color-link);
} */

.astro-nav__logo a:hover, .astro-nav__logo a:focus {
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	text-decoration-color: #4fc4a0;
}

/* ---------- Accessibility ---------- */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal;
}

.screen-reader-text:focus {
	clip: auto;
	display: block;
	height: auto;
	width: auto;
	position: fixed;
	top: 5px;
	left: 5px;
	z-index: 100000;
	background: var(--astro-color-bg);
	padding: 0.75rem 1.25rem;
	font-size: 0.875rem;
}

/* ---------- Layout ---------- */
.astro-container {
	/* max-width: var(--astro-container-max); */
	max-width: 100%;
	margin-inline: auto;
	padding-inline: var(--astro-space);
}

.astro-container--narrow {
	max-width: var(--astro-container-narrow);
}

.astro-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.astro-main {
	flex: 1;
	/* padding-block: calc(var(--astro-space) * 3); */
}

/* Legacy nav styles removed — Astro uses .astro-nav + .astro-drawer pattern */

/* ---------- Page Header ---------- */
.astro-page-header {
	margin-bottom: calc(var(--astro-space) * 2.5);
}

.astro-page-header__title {
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.astro-page-header__desc {
	margin-top: 0.5rem;
	color: var(--astro-color-text-muted);
}

/* ---------- Post Cards ---------- */
.astro-posts {
	display: grid;
	gap: calc(var(--astro-space) * 2.5);
}

.astro-card {
	background: var(--astro-color-bg);
	border: 1px solid var(--astro-color-border);
	border-radius: var(--astro-radius);
	overflow: hidden;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.astro-card:hover {
	border-color: var(--astro-color-accent);
	box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
}

.astro-card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.astro-card__body {
	padding: calc(var(--astro-space) * 1.5);
}

.astro-card__meta {
	font-size: 0.8125rem;
	color: var(--astro-color-text-muted);
	margin-bottom: 0.5rem;
}

.astro-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.astro-card__title a {
	color: var(--astro-color-text);
}

.astro-card__title a:hover {
	color: var(--astro-color-accent);
}

.astro-card__excerpt {
	margin-top: 0.5rem;
	font-size: 0.9375rem;
	color: var(--astro-color-text-muted);
	line-height: 1.6;
}

/* ---------- Single Article ---------- */
.astro-article__header {
	margin-bottom: calc(var(--astro-space) * 2);
}

.astro-article__meta {
	font-size: 0.8125rem;
	color: var(--astro-color-text-muted);
	margin-bottom: 0.75rem;
}

.astro-article__title {
	font-size: 2.25rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.astro-article__thumbnail {
	margin-bottom: calc(var(--astro-space) * 2);
	border-radius: var(--astro-radius);
	overflow: hidden;
}

.astro-article__content {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.astro-article__content h2,
.astro-article__content h3,
.astro-article__content h4 {
	margin-top: 2em;
	margin-bottom: 0.5em;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.astro-article__content h2 { font-size: 1.5rem; }
.astro-article__content h3 { font-size: 1.25rem; }

.astro-article__content p {
	margin-bottom: 1.25em;
}

.astro-article__content ul,
.astro-article__content ol {
	margin-bottom: 1.25em;
	padding-left: 1.5em;
}

.astro-article__content blockquote {
	border-left: 3px solid var(--astro-color-accent);
	padding-left: 1.25rem;
	margin-block: 1.5em;
	color: var(--astro-color-text-muted);
	font-style: italic;
}

.astro-article__content pre {
	background: var(--astro-color-surface);
	padding: 1.25rem;
	border-radius: var(--astro-radius);
	overflow-x: auto;
	font-family: var(--astro-font-mono);
	font-size: 0.875rem;
	margin-bottom: 1.25em;
}

.astro-article__content code {
	font-family: var(--astro-font-mono);
	font-size: 0.875em;
	background: var(--astro-color-surface);
	padding: 0.15em 0.35em;
	border-radius: 0.25rem;
}

.astro-article__content pre code {
	background: none;
	padding: 0;
}

.astro-article__content img {
	border-radius: var(--astro-radius);
	margin-block: 1.5em;
}

.astro-article__footer {
	margin-top: calc(var(--astro-space) * 3);
	padding-top: calc(var(--astro-space) * 1.5);
	border-top: 1px solid var(--astro-color-border);
}

/* ---------- Tags ---------- */
.astro-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.25em 0.75em;
	border: 1px solid var(--astro-color-border);
	border-radius: 9999px;
	color: var(--astro-color-text-muted);
	transition: all 0.15s ease;
}

.astro-tag:hover {
	border-color: var(--astro-color-accent);
	color: var(--astro-color-accent);
}

/* ---------- Post Navigation ---------- */
.post-navigation {
	margin-top: calc(var(--astro-space) * 3);
	padding-top: calc(var(--astro-space) * 1.5);
	border-top: 1px solid var(--astro-color-border);
}

.astro-post-nav__label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--astro-color-text-muted);
}

.astro-post-nav__title {
	font-weight: 600;
}

/* ---------- Button ---------- */
.astro-btn {
	display: inline-block;
	padding: 0.625rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	background: var(--astro-color-accent);
	border-radius: var(--astro-radius);
	transition: background 0.15s ease;
}

.astro-btn:hover {
	background: var(--astro-color-accent-hover);
	color: #fff;
}

/* ---------- 404 ---------- */
/* .astro-404 {
	text-align: center;
	padding-block: calc(var(--astro-space) * 6);
} */

/* .astro-404__title {
	font-size: 6rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	background: linear-gradient(135deg, var(--astro-color-accent), #a855f7);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
} */

/* .astro-404__text {
	margin-block: 1rem 2rem;
	color: var(--astro-color-text-muted);
	font-size: 1.125rem;
} */

/* ---------- Comments ---------- */
.astro-comments {
	margin-top: calc(var(--astro-space) * 3);
	padding-top: calc(var(--astro-space) * 1.5);
	border-top: 1px solid var(--astro-color-border);
}

.astro-comments__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: var(--astro-space);
}

.astro-comments__list {
	list-style: none;
	margin-bottom: calc(var(--astro-space) * 2);
}

.astro-comments__list .comment {
	padding-block: var(--astro-space);
	border-bottom: 1px solid var(--astro-color-border);
}

/* ---------- No Results ---------- */
.astro-no-results {
	text-align: center;
	padding-block: calc(var(--astro-space) * 4);
}

.astro-no-results__title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: var(--astro-space);
}

.astro-no-results p {
	color: var(--astro-color-text-muted);
	margin-bottom: var(--astro-space);
}

/* ---------- Search Form ---------- */
.search-form {
	display: flex;
	max-width: 24rem;
	margin-inline: auto;
}

.search-form .search-field {
	flex: 1;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	border: 1px solid var(--astro-color-border);
	border-radius: var(--astro-radius) 0 0 var(--astro-radius);
	outline: none;
}

.search-form .search-field:focus {
	border-color: var(--astro-color-accent);
}

.search-form .search-submit {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	background: var(--astro-color-accent);
	border: none;
	border-radius: 0 var(--astro-radius) var(--astro-radius) 0;
	cursor: pointer;
}



/* ---------- WordPress defaults ---------- */
.alignleft   { float: left;  margin-right: 1.5rem; }
.alignright  { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption  { max-width: 100%; }

.posts-navigation {
	margin-top: calc(var(--astro-space) * 2);
	padding-top: calc(var(--astro-space) * 1.5);
	border-top: 1px solid var(--astro-color-border);
}

.nav-links {
	display: flex;
	justify-content: space-between;
}

.nav-links a {
	font-size: 0.875rem;
	font-weight: 600;
}

/* ---------- Responsive ---------- */
@media ( min-width: 640px ) {
	:root {
		--astro-space: 1.25rem;
	}

	.astro-page-header__title {
		font-size: 2.5rem;
	}

	.astro-article__title {
		font-size: 2.75rem;
	}
}

@media ( min-width: 768px ) {
	.astro-posts {
		grid-template-columns: repeat(2, 1fr);
	}
}
