/*
Theme Name: Twenty Twenty-One Child
Template: twentytwentyone
Text Domain: twentytwentyone-child
Version: 1.0.0
*/

/* ============================================================
   SEARCH RESULTS — Twenty Twenty-One Child Theme
   ============================================================ */

/* ── Wrapper general ── */
.search-results-wrapper {
    max-width: 1232px;
    margin: 185px auto 0;
    padding: 80px 24px 80px;
}

/* ── Cabecera ── */
.sr-header {
    text-align: center;
    margin-bottom: 45px;
}

.sr-label {
    margin-bottom: 6px;
    color: #002559;
    text-align: center;
    font-family: 'Helvetica LST';
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
}

.sr-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #111827;
    line-height: 1.15;
    margin-bottom: 10px;
}

.sr-count {
    margin-bottom: 0;
    color: #4A586E;
    text-align: center;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

/* ── Toolbar de orden ── */
.sr-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 28px;
    padding-top: 8px;
}

.sr-order-form {
    
}

.sr-order-label {
    color: #4A586E;
    font-family: 'Helvetica LST';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 5px;
}

.sr-select-wrap {
    position: relative;
}

.sr-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    padding: 10px 50px 10px 14px;
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    min-width: 160px;
    color: #6D809D;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    border-radius: 4px;
    border: 1px solid #9DAABD;
    background: #FFF;
    width: 200px;
}

.sr-select-wrap select:focus {
    outline: none;
}

.sr-select-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
}

/* ── Grid de resultados ── */
.sr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

/* ── Card ── */
.sr-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.05);
    transition: transform 200ms ease, box-shadow 200ms ease;
    display: flex;
    flex-direction: column;
}

/*.sr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.10), 0 16px 32px rgba(0,0,0,0.07);
}*/

.sr-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Imagen */
.sr-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.sr-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.sr-card:hover .sr-card-image img {
    transform: scale(1.04);
}

.sr-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: #f3f4f6;
}

/* Cuerpo */
.sr-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* Categoría */
.sr-card-cat {
    letter-spacing: 0.06em;
    align-self: flex-start;
    color: #6D809D;
    font-family: "Helvetica LST";
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 12px;
    border: 1px solid;
    border-radius: 30px;
    padding: 4px 10px;
}



/* Título */
.sr-card-title {
    color: #002559;
    font-family: 'Helvetica LST';
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 10px;
    transition: .3s all;
}

.sr-card-link:hover .sr-card-title {
    color: #01C5C6;
}

/* Meta: fecha + lectura */
.sr-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sr-card-date,
.sr-card-read {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6D809D;
    font-family: 'Helvetica LST';
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
}

.sr-card-date svg,
.sr-card-read svg {
    flex-shrink: 0;
    color: #002559;
}

/* ── Paginación ── */
.sr-pagination {
    display: flex;
    justify-content: center;
}

.sr-pagination-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sr-page-item a,
.sr-page-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease;
}

.sr-page-item a {
    color: #4A586E;
    text-align: center;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.sr-page-item a:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}

.sr-page-item span.current {
    background: #01C5C6;
    color: #FFFFFF;
    text-align: center;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    border-radius: 4px;
}

.sr-page-item span.dots {
    background: transparent;
    border: none;
    color: #9ca3af;
}

/* ── Sin resultados ── */
.sr-no-results {
    text-align: center;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #6b7280;
}

.sr-no-results svg {
    color: #d1d5db;
}

.sr-no-results h2 {
    font-size: 1.5rem;
    color: #111827;
    margin: 0;
}

.sr-no-results p {
    max-width: 400px;
    margin: 0;
    line-height: 1.6;
}

.sr-no-results .search-form {
    margin-top: 8px;
}

.cab_busca{
	position: fixed;
    top: 126px;
    width: 100%;
    border-bottom: 1px solid #CED5DE;
    left: 0;
    background: #FFFFFF;
    z-index: 8;
}
.cab_busca_int{
	max-width: 1232px;
    margin: 0 auto;
}

.next.page-numbers, .prev.page-numbers{
	font-size: 40px;
    font-weight: 100;
    padding-bottom: 9px;
    color: #01C5C6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .search-results-wrapper {
        padding: 32px 16px 60px;
    }

    .sr-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sr-toolbar {
        justify-content: flex-start;
    }

    .sr-select-wrap select {
        min-width: 100%;
    }

    .sr-header {
        text-align: left;
    }
}





.author-page {
	padding: 80px 0 80px;
    margin-top: 185px;
}

.author-page .container {
	padding: 0 15px;
}

.author-hero {
	display: grid;
	grid-template-columns: 40% 1fr;
	gap: 56px;
	align-items: start;
	margin-bottom: 72px;
}

.author-avatar {
	width: 100%;
	height: auto;
	border-radius: 16px;
	display: block;
}

.author-name {
	color: #002559;
    font-family: 'Helvetica LST';
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
}

.author-role {
	margin-bottom: 20px;
    color: #6D809D;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.author-description p{
	color: #4A586E;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.author-socials span{
	color: #4A586E;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
	margin-right: 10px;
}
.author-socials,
.author-organization {
	margin-top: 12px;
}

.author-organization a{
	color: #002559;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration-line: underline !important;
}
.author-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.author-socials a,
.author-organization a {
	text-decoration: none;
}

.author-posts__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 28px;
}

.author-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 32px;
}

.author-card {
	border: 1px solid #e6ebf2;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
}

.author-card__thumb img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.author-card__content {
	padding: 16px;
}

.author-card__cat {
	display: inline-block;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f3f6fb;
	margin-bottom: 12px;
}

.author-card__title {
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 12px;
}

.author-card__title a {
	color: #163a70;
	text-decoration: none;
}

.author-card__meta {
	display: flex;
	gap: 16px;
	font-size: 13px;
	color: #7c8aa5;
}

.navigation.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid #d8e1ee;
	color: #163a70;
}

.page-numbers.current {
	background: #18c6c8;
	color: #fff;
	border-color: #18c6c8;
}

.author-socials {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0px;
	margin-top: 14px;
}

.author-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: #6d7890;
	text-decoration: none;
	transition: all 0.25s ease;
}

.author-social-link svg {
	width: 18px;
	height: 18px;
	display: block;
}

.author-posts__header h2{
	color: #002559;
    font-family: 'Helvetica LST';
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
}
.author-posts__header p{
	color: #4A586E;
    font-family: 'Helvetica LST';
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

@media (max-width: 991px) {
	.author-hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.author-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.author-posts__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.author-posts__grid {
		grid-template-columns: 1fr;
	}
}



/* ── Breadcrumbs ── */
.mi-breadcrumbs {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
}
.mi-breadcrumbs a {
    text-decoration: none;
    color: #002559;
    font-family: 'Helvetica LST';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
	transition: .4s all;
}
.mi-breadcrumbs a:hover {
    color: #01C5C6;
}
.mi-breadcrumbs .sep {
    margin: 0 6px;
	color: #002559;
}
.mi-breadcrumbs .current {
    color: #002559;
    font-family: 'Helvetica LST';
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.inpt_form{
	border-radius: 4px !important;
    border: 1px solid #9DAABD !important;
    background: #FFF;
    color: #6D809D !important;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px !important;
    margin-bottom: 10px !important;
	width: 100%;
}
.inpt_form:focus{
	outline: none !important;
}
.lbl_ipt{
	color: #4A586E;
    font-family: 'Helvetica LST';
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 5px;
}
.div_cbk{
	margin-top: 13px;
	margin-bottom: 20px;
}
.div_cbk .ter_chkb{
	border: 1px solid #616161;
    background: transparent;
    border-radius: 5px;
    width: 20px;
    height: 20px;
}
.div_cbk .wpcf7-list-item-label{
	color: #4A586E;
    font-family: 'Helvetica LST';
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 25px;
}
.div_cbk .wpcf7-list-item{
	margin: 0;
}
.div_cbk .wpcf7-list-item label{
	display: flex;
    align-items: center;
    gap: 10px;
}
.div_cbk .wpcf7-list-item-label a{
	color: #616161;
    text-decoration: underline;
}
.wpcf7-not-valid-tip{
	font-size: 9px;
	margin-top: -10px;
}
.divbtnenv{
	
}
.divbtnenv p{
	text-align: center;
}
.wpcf7-spinner{
	display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #002559;
    text-align: center;
    font-family: "Helvetica LST", Sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 32px;
    color: #002559;
}

#btnenv{
	color: #FFFFFF;
    text-align: center;
    font-family: 'Helvetica LST';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    border-radius: 24px;
    background: #01C5C6;
    border: 0;
}

.icoblue_hov:hover svg path{
	fill: #002559;
}
.elementskit-megamenu-panel {
    width: auto !important;
}
.line_sep_card{
	display: block;
    width: 1px;
    height: 15px;
    background: #CED5DE;
}
.elementor-widget-html iframe{
	margin: 0 auto !important;
}

.descripcion_post_planitlla h1{
	font-family: "Helvetica LST", Sans-serif !important;
    font-size: 38px !important;
    font-weight: 600 !important;
    color: #002559 !important;
    margin-bottom: 15px;
}

.descripcion_post_planitlla h2{
	font-family: "Helvetica LST", Sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 30px !important;
    color: #002559 !important;
    margin-bottom: 20px;
    margin-top: 25px;
}
.descripcion_post_planitlla h3{
	font-family: "Helvetica LST", Sans-serif !important;
    font-size: 19px !important;
    line-height: 28px !important;
    color: #002559 !important;
    margin-bottom: 12px;
    margin-top: 16px;
    font-weight: 400;
}
.descripcion_post_planitlla p{
	font-family: "Helvetica LST", Sans-serif !important;
	margin-bottom: 10px;
}
.descripcion_post_planitlla ul{
	font-family: "Helvetica LST", Sans-serif !important;
	margin-bottom: 20px;
}
.descripcion_post_planitlla ul li{
	margin-bottom: 3px;
}
.descripcion_post_planitlla table{
	margin-bottom: 15px;
}

/*****CSS SIDEBAR*****/
#sidebar-blog{
    position: sticky;
    top: 135px;
    align-self: flex-start;
    transition: top 0.2s ease;
}
#sidebar-blog.stop-follow{
    top: -9999px;
}
#sidebar-blog.stop-sticky{
    position: relative;
    top: 0;
}
#sidebar-blog.is-sticky {
    position: fixed;
    top: 20px;
    width: 100%;
    max-width: 350px; /* ajusta según tu sidebar */
}

#indice-movil{
    transition: opacity .3s ease;
    z-index: 999;
}

#indice-movil.fixed-indice{
    position: fixed;
    top: 58px;
    left: 0;
    width: 100%;
}

#indice-movil.hide-indice{
    opacity: 0;
    pointer-events: none;
}





@media(min-width: 100px){
	.author-avatar {
		width: 75%;
		margin: 0 auto;
	}
}

@media(min-width: 992px){
	.author-avatar {
		width: 100%;
	}
}