.comments-area a,
.page-content a,
.entry-content a,
.elementor-widget-container a {
    color: #1e70b6;
    text-decoration: none;
}

.comments-area a:hover,
.comments-area a:focus,
.page-content a:hover,
.page-content a:focus,
.entry-content a:hover,
.entry-content a:focus,
.elementor-widget-container a:hover,
.elementor-widget-container a:focus {
    color: #1e70b6;
    text-decoration: underline;
}

.comments-area a:active,
.page-content a:active,
.entry-content a:active,
.elementor-widget-container a:active {
    color: #bfbfbf;
}

.comments-area a:visited,
.page-content a:visited,
.entry-content a:visited,
.elementor-widget-container a:visited {
    color: #1e70b6;
}

a.cp-post-card__title-link:visited{
	color:#ffffff;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.aligncenter {
    display: block;
    clear: both;
    margin-inline: auto;
}

.alignwide {
    margin-inline: -80px;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.alignfull img {
    width: 100vw;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.25rem;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    display: block;
    margin-inline: auto;
}

.wp-caption-text,
.gallery-caption {
    margin: 0;
    color: #3e3e3e;
    font-size: 14px;
    line-height: 1.5;
}

.gallery-caption {
    display: block;
    padding: 0.75rem;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
}

.sticky {
    display: block;
    position: relative;
}

.bypostauthor {
    font-size: inherit;
}

.hide {
    display: none !important;
}

.post-password-form {
    max-width: 500px;
    margin: 50px auto;
}

.post-password-form p {
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.post-password-form [type="submit"] {
    margin-inline-start: 3px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    position: absolute !important;
    top: 5px;
    left: 5px;
    z-index: 100000;
    display: block;
    width: auto;
    height: auto;
    padding: 12px 24px;
    background-color: #eeeeee;
    color: #333333;
    font-size: 1rem;
    line-height: normal;
    clip: auto !important;
    clip-path: none;
    text-decoration: none;
}

.post .entry-title a {
    color: inherit;
    text-decoration: none;
}

.post .wp-post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .post .wp-post-image {
        max-height: 400px;
    }
}

@media (max-width: 575px) {
    .post .wp-post-image {
        max-height: 300px;
    }
}

#comments .comment-list {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
    list-style: none;
}

#comments .comment,
#comments .pingback {
    position: relative;
}

#comments .comment .comment-body,
#comments .pingback .comment-body {
    display: flex;
    flex-direction: column;
    padding: 30px 0 30px 60px;
    border-bottom: 1px solid #cccccc;
}

#comments .comment .avatar,
#comments .pingback .avatar {
    position: absolute;
    left: 0;
    margin-inline-end: 10px;
    border-radius: 50%;
}

body.rtl #comments .comment .avatar,
body.rtl #comments .pingback .avatar,
html[dir="rtl"] #comments .comment .avatar,
html[dir="rtl"] #comments .pingback .avatar {
    right: 0;
    left: auto;
}

#comments .comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

#comments .comment-metadata,
#comments .reply {
    font-size: 11px;
    line-height: 1;
}

#comments .children {
    position: relative;
    margin: 0;
    padding-inline-start: 30px;
    list-style: none;
}

#comments .children li:last-child {
    padding-bottom: 0;
}

#comments ol.comment-list .children::before {
    content: "↪";
    position: absolute;
    top: 45px;
    left: 0;
    display: inline-block;
    width: auto;
    font-size: 1em;
    font-weight: 400;
    line-height: 1;
}

body.rtl #comments ol.comment-list .children::before,
html[dir="rtl"] #comments ol.comment-list .children::before {
    content: "↩";
    right: 0;
    left: auto;
}

.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*="elementor-page-"]) .site-main {
    width: 100%;
    margin-inline: auto;
}

@media (max-width: 575px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*="elementor-page-"]) .site-main {
        padding-inline: 10px;
    }
}

@media (min-width: 576px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*="elementor-page-"]) .site-main {
        max-width: 500px;
    }

    .site-footer.footer-full-width .footer-inner,
    .site-header.header-full-width .header-inner {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*="elementor-page-"]) .site-main {
        max-width: 600px;
    }

    .site-footer.footer-full-width,
    .site-header.header-full-width {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*="elementor-page-"]) .site-main {
        max-width: 800px;
    }

    .site-footer.footer-full-width,
    .site-header.header-full-width {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*="elementor-page-"]) .site-main {
        max-width: 1140px;
    }

    .site-footer.footer-full-width,
    .site-header.header-full-width {
        max-width: 100%;
    }
}

.site-header + .elementor {
    min-height: calc(100vh - 320px);
}


/* ===== Generic archives / search / 404 ===== */

.cp-archive,
.cp-empty-page {
	background: #fff;
	color: #111827;
	padding-bottom: 56px;
}

.cp-archive__listing,
.cp-empty-page__section {
	padding-top: 32px;
}

.cp-archive__toolbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
}

.cp-archive__toolbar--search {
	align-items: flex-end;
}

.cp-archive__toolbar-main {
	min-width: 0;
}

.cp-archive__count {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
	font-weight: 600;
}

.cp-archive__subtitle {
	margin: 6px 0 0;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.6;
}

.cp-archive__description {
	margin-bottom: 22px;
	color: #4b5563;
	line-height: 1.8;
}

.cp-archive__description > *:first-child {
	margin-top: 0;
}

.cp-archive__description > *:last-child {
	margin-bottom: 0;
}

.cp-archive__search-form {
	width: min(100%, 360px);
}

.cp-archive__search-form form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.cp-archive__search-form input[type="search"],
.cp-archive__search-form input[type="text"] {
	flex: 1 1 220px;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 14px;
	background: #fff;
	color: #111827;
}

.cp-archive__search-form input[type="submit"],
.cp-empty-state__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border: 0;
	border-radius: 14px;
	background: #111827;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.cp-empty-state__button--secondary {
	background: #fff;
	color: #111827;
	border: 1px solid #d1d5db;
}

.cp-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.cp-archive__grid > * {
	min-width: 0;
}

.cp-archive__pagination {
	margin-top: 28px;
}

.cp-archive__pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.cp-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	color: #111827;
	text-decoration: none;
	font-weight: 700;
	background: #fff;
}

.cp-archive__pagination .page-numbers.current {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.cp-archive__empty,
.cp-empty-state {
	padding: 36px 24px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.cp-archive__empty-title,
.cp-empty-state__title {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.15;
}

.cp-archive__empty-text,
.cp-empty-state__text {
	margin: 0;
	color: #4b5563;
	line-height: 1.7;
}

.cp-empty-state {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.cp-empty-state__eyebrow {
	margin: 0 0 10px;
	color: #006da8;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cp-empty-state__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 22px;
}

/* ===== Post card ===== */

.cp-post-card {
	min-width: 0;
	width: 100%;
}

.cp-post-card__media {
	background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
	overflow: hidden;
}

.cp-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.cp-post-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}

.cp-post-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
}

.cp-post-card__meta-sep {
	opacity: 0.72;
}

.cp-post-card__title {
	margin: 0;
	font-family: 'Lato', sans-serif;
	line-height: 1.12;
}

.cp-post-card__title-link {
	color: inherit;
	text-decoration: none;
	position: relative;
	z-index: 3;
}

.cp-post-card__title-link:hover,
.cp-post-card__title-link:focus-visible {
	text-decoration: underline;
}

.cp-post-card__excerpt {
	margin: 0;
	line-height: 1.55;
}

.cp-post-card__cta {
	display: none;
}

/* Grid / related articles */

.cp-post-card--grid {
	position: relative;
	width: 100%;
	max-width: 250px;
	aspect-ratio: 1 / 1;
	margin-inline: auto;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
	background-color: #cbd5e1;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.cp-post-card--grid:hover,
.cp-post-card--grid:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
}

.cp-post-card--grid .cp-post-card__media {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.cp-post-card--grid .cp-post-card__media img,
.cp-post-card--grid .cp-post-card__placeholder {
	width: 100%;
	height: 100%;
}

.cp-post-card--grid .cp-post-card__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100%;
	padding: 16px 16px 14px;
	color: #fff;
	transform: translateY(10px);
	transition: transform 0.35s ease;
}

.cp-post-card--grid:hover .cp-post-card__body,
.cp-post-card--grid:focus-within .cp-post-card__body {
	transform: translateY(0);
}

.cp-post-card--grid .cp-post-card__body::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 118px;
	z-index: -1;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.98) 0%,
		rgba(0, 0, 0, 0.86) 36%,
		rgba(0, 0, 0, 0.24) 72%,
		rgba(0, 0, 0, 0) 100%
	);
	transition: top 0.35s ease;
}

.cp-post-card--grid:hover .cp-post-card__body::before,
.cp-post-card--grid:focus-within .cp-post-card__body::before {
	top: 0;
}

.cp-post-card--grid .cp-post-card__meta {
	margin-top: auto;
	margin-bottom: 6px;
	color: rgba(255, 214, 79, 0.88);
	letter-spacing: 0.01em;
}

.cp-post-card--grid .cp-post-card__meta-sep {
	color: rgba(255, 214, 79, 0.7);
}

.cp-post-card--grid .cp-post-card__excerpt {
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 13px;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	opacity: 0;
	max-height: 0;
	transform: translateY(10px);
	transition:
		opacity 0.28s ease,
		max-height 0.35s ease,
		transform 0.35s ease,
		margin-top 0.28s ease;
}

.cp-post-card--grid:hover .cp-post-card__excerpt,
.cp-post-card--grid:focus-within .cp-post-card__excerpt {
	opacity: 1;
	max-height: 72px;
	transform: translateY(0);
}

.cp-post-card--grid .cp-post-card__overlay-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
}

.cp-post-card--grid .cp-post-card__title {
	font-size: 18px;
	line-height: 1.12;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(2 * 1.12em);
}

.cp-post-card--grid .cp-post-card__title-link {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
}

/* Horizontal (search) */

.cp-post-card--horizontal .cp-post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
	text-decoration: none;
	color: inherit;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.cp-post-card--horizontal .cp-post-card__link:hover,
.cp-post-card--horizontal .cp-post-card__link:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
}

.cp-post-card--horizontal .cp-post-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

@media (max-width: 575px) {
	.cp-post-card--grid {
		max-width: 100%;
	}
}


/* ===== Search ===== */

.cp-search-page {
	background: #fff;
	color: #111827;
	padding-bottom: 56px;
}

.cp-search-page__section {
	padding-top: 32px;
}

.cp-search-page__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.cp-search-page__intro {
	min-width: 0;
}

.cp-search-page__count {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
	font-weight: 600;
}

.cp-search-page__title {
	margin: 6px 0 0;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.05;
	color: #111827;
}

.cp-search-page__form-wrap {
	width: min(100%, 380px);
}

.cp-search-page__form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.cp-search-page__form input[type="search"] {
	flex: 1 1 220px;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 14px;
	background: #fff;
	color: #111827;
}

.cp-search-page__form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border: 0;
	border-radius: 14px;
	background: #111827;
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

/* Search page - formulario de búsqueda */
.cp-search-page__form-wrap,
.cp-search-page__form,
.cp-search-page__form label,
.cp-search-page__form input,
.cp-search-page__form button {
    font-family: 'Montserrat', sans-serif;
}

.cp-search-page__form input::placeholder {
    font-family: 'Montserrat', sans-serif;
}

.cp-search-page__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 26px;
}

.cp-search-page__filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.cp-search-page__filter.is-active {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.cp-search-section + .cp-search-section {
	margin-top: 34px;
}

.cp-search-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.cp-search-section__head-main {
	min-width: 0;
}

.cp-search-section__title {
	margin: 0;
	font-size: 28px;
	line-height: 1.1;
	color: #111827;
}

.cp-search-section__count {
	margin: 6px 0 0;
	color: #6b7280;
	font-size: 14px;
	font-weight: 600;
}

.cp-search-section__more {
	color: #006da8;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.cp-search-section__more:hover,
.cp-search-section__more:focus-visible {
	text-decoration: underline;
}

.cp-search-post-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.cp-search-post-list .cp-post-card {
	width: 100%;
	max-width: none;
	margin: 0;
}

.cp-search-post-list .cp-post-card--horizontal .cp-post-card__link {
	display: grid !important;
	grid-template-columns: 220px minmax(0, 1fr) !important;
	align-items: stretch;
	min-height: 190px;
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
	text-decoration: none;
	color: inherit;
}

.cp-search-post-list .cp-post-card--horizontal .cp-post-card__media {
	width: 220px;
	min-width: 220px;
	height: 190px;
	min-height: 190px;
	aspect-ratio: auto;
	overflow: hidden;
	background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}

.cp-search-post-list .cp-post-card--horizontal .cp-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cp-search-post-list .cp-post-card--horizontal .cp-post-card__body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 18px 20px;
	min-width: 0;
}

.cp-search-post-list .cp-post-card--horizontal .cp-post-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
	color: #6b7280;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.cp-search-post-list .cp-post-card--horizontal .cp-post-card__meta-sep {
	color: #9ca3af;
}

.cp-search-post-list .cp-post-card--horizontal .cp-post-card__title {
	margin: 0 0 10px;
	font-family: 'Lato', sans-serif;
	font-size: 24px;
	line-height: 1.15;
	color: #111827;
}

.cp-search-post-list .cp-post-card--horizontal .cp-post-card__excerpt {
	margin: 0;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cp-search-post-list .cp-post-card--horizontal .cp-post-card__cta {
	margin-top: auto;
	padding-top: 14px;
	color: #006da8;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.cp-search-section__footer {
	margin-top: 16px;
}

@media (max-width: 767px) {
	.cp-search-post-list .cp-post-card--horizontal .cp-post-card__link {
		grid-template-columns: 1fr !important;
		min-height: 0;
	}

	.cp-search-post-list .cp-post-card--horizontal .cp-post-card__media {
		width: 100%;
		min-width: 0;
		height: 220px;
		min-height: 220px;
	}

	.cp-search-post-list .cp-post-card--horizontal .cp-post-card__body {
		padding: 18px;
	}

	.cp-search-post-list .cp-post-card--horizontal .cp-post-card__title {
		font-size: 22px;
	}
}