/*.wp-block-post-date {
	display: none;
}*/
.entry-content {
	word-wrap: normal;
}

/* Strand / Newspack – smaller text for homepage posts block */
.wp-block-newspack-blocks-homepage-articles.strand-small-posts article .entry-title {
	font-size: 20px !important;
	line-height: 1.3 !important;
}

/* Strand / Newspack – smaller excerpt text for homepage posts block */
.wp-block-newspack-blocks-homepage-articles.strand-small-posts article .entry-wrapper p {
	font-size: 13px !important;
/* adjust smaller as needed */
	line-height: 1.4 !important;
/* makes it readable */
	margin-top: .25em;
	margin-bottom: .25em;
}

/* Strand / Newspack – limit excerpt to 3 lines */
.wp-block-newspack-blocks-homepage-articles.strand-small-posts article .entry-wrapper p {
	display: -webkit-box;
/* required for line-clamp */
/* number of lines to show */
	overflow: hidden;
/* hide the rest */
	text-overflow: ellipsis;
/* optional: adds ... at the end */
}

/* ===== 1. Reduce horizontal blank space in main content ===== */
.site-content {
	padding-left: 1em !important;
/* closer to left sidebar */
	padding-right: 1em !important;
/* reduce right edge space */
}

/* ===== 2. Reduce vertical spacing between blocks inside content ===== */
.wp-block-group.alignfull > .wp-block {
	margin-top: .5em !important;
	margin-bottom: .5em !important;
}

/* ===== 3. Optional: reduce spacing for posts block specifically ===== */
.wp-block-newspack-blocks-homepage-articles.strand-small-posts.wpnbha.ts-1 {
	margin-top: .5em !important;
	margin-bottom: .5em !important;
}

/* Center the Load More button, abajo cambiar font y altura */
.home button,
.home .load-more,
.home .pagination {
	display: block;
	width: 100%;
	text-align: center;
}

.wp-block-button__link {
	padding: 16px;
	font-size: 13px;
	line-height: 1.6;
}

/* Center the Load More button on homepage */
/* Force center the Load More button */
.home .load-more,
.home .pagination,
.home button {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
	display: block;
}

/* do not show the number of slides in slideshow*/
.swiper-pagination-simple {
	display: none !important;
}

/* making size of Title smaller in Welcome! */
.home .wp-block-post-title {
	font-size: 36px;
}

/*.wp-block-post-time-to-read::after {
	content: " read";
}*/
/* Fix button layout on mobile */
@media (max-width: 768px) {
	.wp-block-group.is-nowrap {
		flex-wrap: wrap !important;
	}
	
	.wp-block-group.is-nowrap .wp-block-button {
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}
	
	.wp-block-group.is-nowrap .wp-block-button__link {
		width: 100% !important;
		display: block !important;
		white-space: normal !important;
		word-break: break-word !important;
		text-align: center !important;
		padding: 14px !important;
		height: auto !important;
	}
}

/* space bet share and logos
.wp-block-paragraph.has-text-align-right {
	margin-right: 8px !important;
/* adjust spacing
}*/
/* Make the search container use flex and add consistent gap */
.wp-block-search {
	display: flex;
	align-items: center;
	gap: 8px;
/* NEW: ensure spacing between input and button */
}

/* Make the input take more space */
.wp-block-search__input {
	flex: 1 1 auto;
/* UPDATED: allow consistent grow/shrink */
	min-width: 0;
	padding: 10px 12px;
	box-sizing: border-box;
/* NEW: stable sizing */
}

/* Normalize and size the button across pages (override extra classes) */
.wp-block-search__button,
.wp-block-search__button.has-icon,
.wp-block-search__button.wp-element-button {
	display: flex !important;
/* ensure flex used even if other rules interfere */
	align-items: center;
	justify-content: center;
	flex: 0 0 40px !important;
/* UPDATED: explicit flex and fixed size */
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	box-sizing: border-box;
	background: transparent;
	border: none;
}

/* Shrink the icon inside (applies whether SVG is inside button or standalone) */
.wp-block-search__button .search-icon,
.wp-block-search .search-icon {
	width: 16px;
	height: 16px;
/* UPDATED to even height for consistency */
	display: block;
}

.wp-block-search__button,
.wp-block-search__button.has-icon,
.wp-block-search__button.wp-element-button {
	background: /* your color */
rgb(40, 84, 24);
	color: white;
	border: none;
	border-radius: 4px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	box-sizing: border-box;
}

/* Force flex layout and a gap between input and button */
.wp-block-search {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
/* adjust spacing */
}

/* Ensure the inside wrapper doesn't override layout */
.wp-block-search__inside-wrapper {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100%;
	box-sizing: border-box;
}

/* Keep input flexible */
.wp-block-search__input {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

/* Keep button sized and not collapsing */
.wp-block-search__button,
.wp-block-search__button.has-icon,
.wp-block-search__button.wp-element-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}


/*idioma en menu*/
html[lang="en"] .lang-es {
    display: none;
}

html[lang="es"] .lang-en {
    display: none;
}