/*
Theme Name: miBase
Theme URI: 
Author: Néstor Menjivar
Author URI: https://nestormenjivar.com
Description: Wordpress base theme
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
	font-family: "Rubik", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	background-color: #E8EAEC;
}

.container {
	max-width: 1600px !important;
}

.bsp-slide-caption {
	max-width: 1600px !important;
}


.color-brand {
	color: var(--wp--preset--color--primary-500);
}

.bg-brand {
	background-color: var(--wp--preset--color--primary-500);
}

.text-brand-contrast {
	color: var(--wp--preset--color--primary-50);
}

.categorie {
	background-color: var(--wp--preset--color--secondary-100);
	color: var(--wp--preset--color--secondary-900);
	font-size: 0.75rem;
	padding: 4px 8px;
	border-radius: 8px;
}

.button-is-style-fill-primary {
	background-color: var(--wp--preset--color--primary-50);
	color: var(--wp--preset--color--secondary-900);
	border: none;
}

.button-is-style-fill-secondary {
	background-color: var(--wp--preset--color--secondary-50);
	color: var(--wp--preset--color--secondary-900);
	border: none;
}

.button-is-style-outline-primary {
	background-color: var(--wp--preset--color--primary-50);
	border: 1px solid var(--wp--preset--color--primary-600);
	color: var(--wp--preset--color--primary-600);
	padding: 0.75rem 1.75rem;
	font-weight: 600;
	text-transform: none;
	border-radius: 100vw;
	border: none;
}

.button-is-style-outline-secondary {
	background-color: var(--wp--preset--color--secondary-50);
	color: var(--wp--preset--color--secondary-900);
	border: none;
}

/*Buttons*/
.button-style-fill-primary {
	background-color: var(--wp--preset--color--primary-500) !important;
	color: var(--wp--preset--color--on-primary) !important;
	border: none !important;
	padding: 0.75rem 1.5rem !important;
	border-radius: 100px !important;
	font-weight: bold;
}

.button-style-outlined-primary {
	background-color: var(--wp--preset--color--primary-50) !important;
	color: var(--wp--preset--color--primary-600) !important;
	border: 1px solid var(--wp--preset--color--primary-500) !important;
	padding: 0.75rem 1.5rem !important;
	border-radius: 100px !important;
	font-weight: bold;
}

.button-style-fill-secondary {
	background-color: var(--wp--preset--color--secondary-500) !important;
	color: var(--wp--preset--color--primary-500) !important;
	border: none !important;
	padding: 0.75rem 1.5rem !important;
	border-radius: 100px !important;
	font-weight: bold;
}

.button-style-outlined-secondary {
	background-color: var(--wp--preset--color--secondary-50) !important;
	color: var(--wp--preset--color--secondary-900) !important;
	/* border: none!important; */
	padding: 0.75rem 1.5rem !important;
	border-radius: 100px !important;
	border: 1px solid var(--wp--preset--color--secondary-900) !important;
	font-weight: bold;
}


.line-conect::before {
	content: "";
	position: absolute;
	border: 1px solid var(--wp--preset--color--primary-300);
	height: 1px;
	width: 100%;
	top: 50%;
	left: 100%;
}

@media (max-width:992px) {
	.time-mobile {
		flex-direction: column;
		align-items: center;
		gap: 3rem;
	}

	.line-conect::before {
		content: "";
		position: absolute;
		border: 1px solid var(--wp--preset--color--primary-300);
		height: 100%;
		width: 1px;
		top: 100%;
		left: 50%;
	}
}

.lorem {
	background-color: var(--wp--preset--color--primary-50);
	letter-spacing: 1ch;
	color: var(--wp--preset--color--secondary-900);
	font-size: 0.75rem;
	text-transform: uppercase;
	text-align: center;
	padding: 8px 16px;
	border-radius: 6px;
}

/* FILL SECONDARY */
.wp-block-button.is-style-fill-secondary .wp-block-button__link {
	background-color: var(--wp--preset--color--secondary-500);
	color: var(--wp--preset--color--secondary-900);
	border: none;
}

/* OUTLINE SECONDARY */
.wp-block-button.is-style-outline-secondary .wp-block-button__link {
	background: var(--wp--preset--color--secondary-50);
	border: 1px solid var(--wp--preset--color--secondary-500);
	color: var(--wp--preset--color--secondary-900);
}

/*Accordion Summary*/
.wp-block-details summary {
	background-color: var(--wp--preset--color--primary-100);
	padding: 12px 24px;
	border-radius: 8px;
}

.wp-block-details[open] summary {
	background-color: var(--wp--preset--color--primary-100);
	border-bottom: 1px solid var(--wp--preset--color--primary-200);
	border-radius: 8px 8px 0 0;
}

.wp-block-details p {
	padding: 24px;
	margin-top: 0;
}

/*File*/
.wp-block-file {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/*Calendar*/
.wp-block-calendar table {
	border: 1px solid var(--wp--preset--color--primary-200);
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.wp-block-calendar th,
.wp-block-calendar td {
	border: 1px solid var(--wp--preset--color--primary-200);
	border-top: none;
	border-left: none;
}

.wp-block-calendar tr td:last-child,
.wp-block-calendar tr th:last-child {
	border-right: none;
}

.wp-block-calendar tbody tr:last-child td {
	border-bottom: none;
}

table {
	caption-side: top;
}

.wp-block-calendar caption {
	background-color: var(--wp--preset--color--primary-100);
	padding: 8px;
	margin-bottom: 24px;
	text-align: center;
	border-radius: 8px;
	font-weight: 600;
	color: var(--wp--preset--color--primary-600);
}


nav.wp-calendar-nav {
	background-color: var(--wp--preset--color--primary-100);
	padding: 8px;
	margin-top: 8px;
	text-align: center;
	border-radius: 8px;
	text-decoration: none;
}

nav.wp-calendar-nav a {
	color: var(--wp--preset--color--primary-600);
}

:where(.wp-block-calendar table:not(.has-background) th) {
	background: var(--wp--preset--color--primary-100);
	color: var(--wp--preset--color--primary-600);
}

.wp-block-calendar th {
	font-weight: 700;
}


:where(.wp-block-calendar table:not(.has-background) th:first-child) {
	border-top-left-radius: 8px;
}

:where(.wp-block-calendar table:not(.has-background) th:last-child) {
	border-top-right-radius: 8px;
}

/* Archives */
.wp-block-archives-list {
	list-style: none;
}

.wp-block-archives-list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--wp--preset--color--primary-200);
}

.wp-block-archives-list li:first-child {
	padding-top: 0;
}

.wp-block-archives-list li:last-child {
	padding-bottom: 0;
}

.wp-block-archives-list li:last-child {
	border-bottom: none;
}

.wp-block-archives-list a:hover {
	color: var(--wp--preset--color--primary-500);
}

.wp-block-archives select {
	width: 100%;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid var(--wp--preset--color--primary-200);
	background-color: var(--wp--preset--color--surface);
	font-size: 0.95rem;
}

/* Categories */
.wp-block-categories-list {
	list-style: none;
}

.wp-block-categories-list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--wp--preset--color--primary-200);
}

.wp-block-categories-list li:first-child {
	padding-top: 0;
}

.wp-block-categories-list li:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.wp-block-categories-list a:hover {
	color: var(--wp--preset--color--primary-500);
}

/* Latest Posts */
.wp-block-latest-posts__list {
	list-style: none;
}

.wp-block-latest-posts__list li {
	padding: 12px 0;
	border-bottom: 1px solid var(--wp--preset--color--primary-200);
}

.wp-block-latest-posts__list li:first-child {
	padding-top: 0;
}

.wp-block-latest-posts__list li:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.wp-block-latest-posts__list a:hover {
	color: var(--wp--preset--color--primary-500);
}

.wp-block-latest-posts__post-date {
	display: block;
	font-size: 0.85rem;
	color: var(--wp--preset--color--primary-400);
	margin-top: 4px;
}

/* Page List */
.wp-block-page-list {
	list-style: none;
}

.wp-block-page-list>li {
	padding: 8px 0;
	border-bottom: 1px solid var(--wp--preset--color--primary-200);
}

.wp-block-page-list>li:first-child {
	padding-top: 0;
}

.wp-block-page-list>li:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.wp-block-page-list a:hover {
	color: var(--wp--preset--color--primary-500);
}

/* Search */
:root :where(.wp-block-search) {
	border: 1px solid var(--wp--preset--color--primary-200);
}

.wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
}

.wp-block-search__input {
	flex: 1;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid var(--wp--preset--color--primary-200);
	font-size: 0.95rem;
}

.wp-block-search__button {
	padding: 10px 18px;
}

/*Autor*/
.wp-block-post-author-name a:hover {
	color: var(--wp--preset--color--primary-500);
	border-radius: 8px;
}

.wp-block-post-author {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}


.wp-block-post-author__avatar img {
	border-radius: 50%;
}


.wp-block-post-author__content {
	flex: 1;
}


.wp-block-post-author__bio {
	font-size: 0.9rem;
	color: var(--wp--preset--color--primary-500);
	margin-top: 4px;
}

/*Post date*/
.wp-block-post-date a:hover {
	color: var(--wp--preset--color--primary-600);
}

/*Post navigation*/
.wp-block-post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

/*Words count*/
.wp-block-post-time-to-read a:hover {
	color: var(--wp--preset--color--primary-600);
}

/*Read more*/
.wp-block-read-more a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wp-block-read-more a::after {
	content: "→";
	transition: transform 0.2s ease;
}

.wp-block-read-more a:hover {
	color: var(--wp--preset--color--primary-700);
}

.wp-block-read-more a:hover::after {
	transform: translateX(4px);
}

/*Log in, Log out*/
.wp-block-loginout a {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 8px;
	background-color: var(--wp--preset--color--primary-600);
	color: var(--wp--preset--color--primary-50);
	font-weight: 600;
	transition: background-color 0.2s ease, transform 0.1s ease;
}


.wp-block-loginout a:hover {
	background-color: var(--wp--preset--color--primary-700);
	transform: translateY(-1px);
}


.wp-block-loginout a:active {
	transform: translateY(0);
}

/*Quote*/
.wp-block-quote p {
	margin-bottom: 0;
}

/* Cita (autor) */
.wp-block-quote cite {
	display: block;
	margin-top: 8px;
	font-size: 0.85rem;
	font-style: normal;
	font-weight: 500;
	color: var(--wp--preset--color--primary-500);
}

/*Preformateado*/
.wp-block-preformatted {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	overflow-x: auto;
	white-space: pre;
}

.wp-block-preformatted::-webkit-scrollbar {
	height: 6px;
}

.wp-block-preformatted::-webkit-scrollbar-thumb {
	background: var(--wp--preset--color--primary-300);
	border-radius: 4px;
}

/*Verse*/
.wp-block-verse {
	white-space: pre-wrap;
	font-family: inherit;
}

.wp-block-verse {
	border-left: 3px solid var(--wp--preset--color--primary-200);
	padding-left: 16px;
}

/*Table*/
.wp-block-table {
	overflow-x: auto;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--wp--preset--color--primary-200);
	text-align: left;
}

.wp-block-table th {
	background-color: var(--wp--preset--color--primary-50);
	font-weight: 600;
	color: var(--wp--preset--color--primary-700);
}

.wp-block-table tr:last-child td {
	border-bottom: none;
}

.wp-block-table th:not(:last-child),
.wp-block-table td:not(:last-child) {
	border-right: 1px solid var(--wp--preset--color--primary-200);
}

.wp-block-table thead {
	border-bottom: none;
}

/*Post terms*/
.wp-block-post-terms.taxonomy-category a {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	background-color: var(--wp--preset--color--secondary-100);
	color: var(--wp--preset--color--secondary-900);
	text-decoration: none;
	margin-right: 6px;
	margin-bottom: 8px;
}

.wp-block-post-terms.taxonomy-category a:hover {
	background-color: var(--wp--preset--color--secondary-200);
}

span.wp-block-post-terms__separator {
	display: none;
}

/*Paginate*/

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.75rem 1.75rem;
	border: 1px solid var(--wp--preset--color--primary-500);
	border-radius: 100vw;
	color: var(--wp--preset--color--primary-700);
	background-color: var(--wp--preset--color--primary-50);
	background: transparent;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background-color .2s ease, border-color .2s ease;
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
	background-color: var(--wp--preset--color--primary-100);
	border-color: var(--wp--preset--color--primary-300);
}

.hero-title {
	font-size: 120px;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1.05 !important;
}

span.hero-color {
	background-image: linear-gradient(to right, #54BCF8, #006EAE);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

@media (max-width: 768px) {
	h1.hero-title {
		font-size: 40px !important;
	}
}

.bsp-slide-caption {
	max-width: 1600px !important;
}

.separator {
	width: 60px;
	height: 5px;
	background-color: var(--wp--preset--color--secondary-500);
}

@media (min-width: 782px) {
	.card-offset {
		position: absolute;
		top: -100px;
		left: 50px;
	}
}

@media (max-width: 781px) {
	.card-offset {
		position: absolute;
		bottom: 0 !important;
		right: 0 !important;
	}
}

.card-brand {
	width: 220px;
	aspect-ratio: 1/1;
	padding: 32px;
	border-radius: 20px;
}

.change-text {
	color: var(--wp--preset--color--primary-500) !important
}

@media (max-width:992px) {
	.change-text {
		color: var(--wp--preset--color--on-primary) !important
	}
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-x {
	background-color: var(--wp--preset--color--secondary-400) !important;
	color: var(--wp--preset--color--primary-500) !important;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-linkedin {
	background-color: var(--wp--preset--color--secondary-400) !important;
	color: var(--wp--preset--color--primary-500) !important;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-youtube {
	background-color: var(--wp--preset--color--secondary-400) !important;
	color: var(--wp--preset--color--primary-500) !important;
}

.wp-block-post-featured-image :where(img) {
	height: 400px;
	position: relative;
}

.single-image.wp-block-post-featured-image::before {
	content: "";
	width: 100%;
	height: 400px;
	background: #2A7B9B;
	background: linear-gradient(0deg, rgba(21, 44, 64, 1) 0%, rgba(217, 118, 95, 0.5) 140%);
	display: block;
	position: absolute;
	z-index: 4;
}

.header-post {
	position: absolute;
	z-index: 5;
	text-align: center;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}