/*
 * SP-Empleos-Blog-Theme
 *
 * Same look as SP-Empleos-Theme (houstonempleos.com): Inter, blue + dark
 * navy + orange, white cards with soft shadows, round buttons.
 *
 * 1. Base   2. Buttons, chips, search   3. Header   4. Front page
 * 5. Cards and grids   6. Lists   7. Article   8. Jobs box   9. Share
 * 10. Side column   11. Comments   12. Footer   13. 404, misc
 *
 * Colors come from SP-Settings → SP-Empleos-Blog-Theme as CSS variables.
 */

:root {
	--eb-primary: #1546b8;
	--eb-primary-dark: #113997;
	--eb-primary-soft: #e8edf8;
	--eb-dark: #0b1f44;
	--eb-dark-2: #213557;
	--eb-accent: #f2711c;
	--eb-accent-dark: #d06118;
	--eb-bg: #f4f6fb;
	--eb-card: #fff;
	--eb-text: #1f2937;
	--eb-head: #111827;
	--eb-muted: #5b6475;
	--eb-line: #e3e7ef;
	--eb-green: #0f9d58;
	--eb-radius: 14px;
	--eb-radius-sm: 10px;
	--eb-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 4px 14px rgba(16, 24, 40, 0.06);
	--eb-shadow-lg: 0 10px 30px rgba(16, 24, 40, 0.12);
	--eb-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--eb-box: 1200px;
	--eb-read: 740px;
}

/* ---------- 1. Base ---------- */

html {
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background: var(--eb-bg);
	color: var(--eb-text);
	font-family: var(--eb-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

html.eb-lock,
html.eb-lock body {
	overflow: hidden;
}

a {
	color: var(--eb-primary);
}

a:hover,
a:focus {
	color: var(--eb-primary-dark);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--eb-head);
	font-weight: 700;
	line-height: 1.25;
}

p {
	margin: 0 0 1.2em;
}

.eb-ico {
	flex: none;
	width: 20px;
	height: 20px;
}

.eb-bico {
	flex: none;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.eb-skip:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--eb-shadow-lg);
}

.eb-wrap {
	width: 100%;
	max-width: var(--eb-box);
	margin: 0 auto;
	padding: 0 16px;
}

@media (min-width: 769px) {
	.eb-wrap {
		padding: 0 24px;
	}
}

.eb-main {
	display: block;
	min-height: 50vh;
	padding-bottom: 40px;
}

/* ---------- 2. Buttons, chips, search ---------- */

.eb-btn,
.eb-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: var(--eb-primary);
	color: #fff;
	font-family: var(--eb-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.eb-btn:hover,
.eb-btn:focus {
	background: var(--eb-primary-dark);
	color: #fff;
}

.eb-btn:active {
	transform: translateY(1px);
}

.eb-btn .eb-ico {
	width: 18px;
	height: 18px;
}

.eb-btn--accent,
.eb-btn--accent:visited {
	background: var(--eb-accent);
	color: #fff;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--eb-accent) 30%, transparent);
}

.eb-btn--accent:hover,
.eb-btn--accent:focus {
	background: var(--eb-accent-dark);
	color: #fff;
}

.eb-btn--outline,
.eb-btn--outline:visited {
	border-color: var(--eb-primary);
	background: transparent;
	color: var(--eb-primary);
}

.eb-btn--outline:hover,
.eb-btn--outline:focus {
	background: var(--eb-primary);
	color: #fff;
}

.eb-btn--light,
.eb-btn--light:visited {
	border-color: rgba(255, 255, 255, 0.45);
	background: transparent;
	color: #fff;
}

.eb-btn--light:hover,
.eb-btn--light:focus {
	border-color: #fff;
	background: #fff;
	color: var(--eb-dark);
}

.eb-chip,
.eb-chip:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	padding: 4px 11px 4px 9px;
	border-radius: 999px;
	background: var(--eb-primary-soft);
	color: var(--eb-primary-dark);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.eb-chip .eb-ico {
	width: 15px;
	height: 15px;
}

a.eb-chip:hover,
a.eb-chip:focus {
	background: var(--eb-primary);
	color: #fff;
}

.eb-link,
.eb-link:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--eb-primary);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.eb-link .eb-ico {
	width: 18px;
	height: 18px;
	transition: transform 0.15s;
}

.eb-link:hover .eb-ico {
	transform: translateX(3px);
}

.eb-search {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 6px 6px 6px 16px;
	border: 1px solid #cfd6e3;
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--eb-shadow);
}

.eb-search:focus-within {
	border-color: var(--eb-primary);
	box-shadow: 0 0 0 3px var(--eb-primary-soft);
}

.eb-search > .eb-ico {
	color: var(--eb-muted);
}

.eb-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 8px 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--eb-text);
	font: inherit;
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

.eb-search .eb-btn {
	padding: 10px 18px;
}

/* ---------- 3. Header ---------- */

.eb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--eb-line);
	background: #fff;
	transition: box-shadow 0.2s;
}

.admin-bar .eb-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .eb-header {
		position: relative;
		top: 0;
	}
}

.eb-header.is-scrolled {
	box-shadow: 0 6px 20px rgba(16, 24, 40, 0.08);
}

.eb-header__in {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 64px;
}

.eb-logo,
.eb-logo:visited {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 10px;
	min-width: 0;
	text-decoration: none;
}

.eb-logo img {
	display: block;
	width: auto;
	max-width: 200px;
	height: 36px;
	object-fit: contain;
	object-position: left center;
}

.eb-logo__tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--eb-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

@media (min-width: 769px) {
	.eb-header__in {
		min-height: 72px;
	}

	.eb-logo img {
		max-width: 300px;
		height: 44px;
	}
}

.eb-nav {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.eb-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eb-menu li {
	position: relative;
	margin: 0;
}

.eb-menu a,
.eb-menu a:visited {
	display: block;
	padding: 9px 13px;
	border-radius: 999px;
	color: #344054;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.eb-menu a:hover,
.eb-menu a:focus,
.eb-menu .current-menu-item > a,
.eb-menu .current-menu-parent > a {
	background: var(--eb-primary-soft);
	color: var(--eb-primary-dark);
}

.eb-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	display: none;
	min-width: 220px;
	margin: 6px 0 0;
	padding: 8px;
	border: 1px solid var(--eb-line);
	border-radius: var(--eb-radius);
	background: #fff;
	box-shadow: var(--eb-shadow-lg);
	list-style: none;
}

.eb-menu .sub-menu::before {
	content: "";
	position: absolute;
	top: -8px;
	right: 0;
	left: 0;
	height: 8px;
}

.eb-menu li:hover > .sub-menu,
.eb-menu li:focus-within > .sub-menu {
	display: block;
}

.eb-nav__search {
	display: none;
}

.eb-header__end {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
}

.eb-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--eb-line);
	border-radius: 12px;
	background: #fff;
	color: var(--eb-dark);
	cursor: pointer;
}

.eb-iconbtn:hover,
.eb-iconbtn:focus {
	background: var(--eb-primary-soft);
}

.eb-iconbtn .eb-ico {
	width: 22px;
	height: 22px;
}

.eb-burger__close {
	display: none;
}

.eb-header.is-open .eb-burger__open {
	display: none;
}

.eb-header.is-open .eb-burger__close {
	display: inline-flex;
}

.eb-searchbar {
	padding: 12px 0 14px;
	border-top: 1px solid var(--eb-line);
	background: #fff;
}

.eb-searchbar[hidden] {
	display: none;
}

/* Phones and tablets: the menu is a panel under the bar. */
@media (max-width: 1023px) {
	.eb-burger {
		display: inline-flex;
	}

	.eb-nav {
		position: fixed;
		top: var(--eb-nav-top, 64px);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 49;
		display: none;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 14px;
		padding: 16px 16px 32px;
		overflow-y: auto;
		background: #fff;
	}

	.eb-header.is-open .eb-nav {
		display: flex;
	}

	.eb-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.eb-menu a,
	.eb-menu a:visited {
		padding: 13px 14px;
		border-radius: 10px;
		font-size: 17px;
	}

	.eb-menu .sub-menu {
		position: static;
		display: block;
		margin: 0 0 0 14px;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.eb-nav__search {
		display: block;
		order: -1;
	}

	.eb-nav__publish {
		align-self: flex-start;
	}

	.eb-search-toggle {
		display: none;
	}
}

@media (max-width: 479px) {
	.eb-header__in {
		gap: 8px;
	}

	.eb-header__end {
		gap: 6px;
		margin-left: auto;
	}

	.eb-header__jobs {
		padding: 8px 12px;
		font-size: 13.5px;
	}

	.eb-header__jobs .eb-ico {
		display: none;
	}

	.eb-logo {
		gap: 6px;
	}

	.eb-logo img {
		max-width: 132px;
		height: 26px;
	}

	.eb-logo__tag {
		padding: 1px 7px;
		font-size: 11px;
	}

	.eb-iconbtn {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 359px) {
	.eb-logo__tag {
		display: none;
	}
}

@media (min-width: 1024px) {
	.eb-burger {
		display: none;
	}
}

@media (min-width: 1024px) and (max-width: 1439px) {
	.eb-nav__publish {
		display: none;
	}
}

@media (min-width: 1024px) and (max-width: 1279px) {

	.eb-menu a,
	.eb-menu a:visited {
		padding: 9px 10px;
		font-size: 14.5px;
	}
}

/* ---------- 4. Front page ---------- */

.eb-hero {
	position: relative;
	overflow: hidden;
	padding: 40px 0 44px;
	background:
		radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--eb-primary) 55%, transparent) 0, transparent 45%),
		radial-gradient(circle at 10% 110%, color-mix(in srgb, var(--eb-green) 35%, transparent) 0, transparent 40%),
		var(--eb-dark);
	color: #dbe3f3;
}

.eb-hero__in {
	max-width: 860px;
	text-align: center;
}

.eb-hero__kicker {
	display: inline-block;
	margin: 0 0 14px;
	padding: 5px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
}

.eb-hero__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.eb-hero__text {
	max-width: 640px;
	margin: 0 auto 24px;
	font-size: 17px;
}

.eb-hero .eb-search {
	max-width: 640px;
	margin: 0 auto;
	border: 0;
	box-shadow: var(--eb-shadow-lg);
}

@media (min-width: 769px) {
	.eb-hero {
		padding: 64px 0 68px;
	}

	.eb-hero__title {
		font-size: 46px;
	}

	.eb-hero__text {
		font-size: 19px;
	}
}

@media (max-width: 479px) {
	.eb-hero .eb-search .eb-btn {
		padding: 10px 14px;
	}
}

.eb-topics-wrap {
	margin-top: 20px;
}

.eb-topics ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 2px 0 8px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.eb-topics ul::-webkit-scrollbar {
	display: none;
}

@media (min-width: 769px) {
	.eb-topics ul {
		flex-wrap: wrap;
		overflow: visible;
	}
}

.eb-topic,
.eb-topic:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px 9px 12px;
	border: 1px solid var(--eb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--eb-head);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.eb-topic .eb-ico {
	width: 18px;
	height: 18px;
	color: var(--eb-primary);
}

.eb-topic:hover,
.eb-topic:focus {
	border-color: var(--eb-primary);
	color: var(--eb-primary-dark);
}

.eb-topic.is-current {
	border-color: var(--eb-primary);
	background: var(--eb-primary);
	color: #fff;
}

.eb-topic.is-current .eb-ico {
	color: #fff;
}

.eb-lead {
	display: grid;
	gap: 20px;
	margin-top: 22px;
}

.eb-lead__side {
	padding: 18px 18px 6px;
	border: 1px solid var(--eb-line);
	border-radius: var(--eb-radius);
	background: #fff;
	box-shadow: var(--eb-shadow);
}

.eb-lead__side-title {
	margin: 0 0 12px;
	color: var(--eb-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

@media (min-width: 1024px) {
	.eb-lead {
		grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
		align-items: start;
		gap: 24px;
		margin-top: 28px;
	}
}

.eb-section {
	margin-top: 44px;
}

.eb-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--eb-line);
}

.eb-section__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.eb-section__title a,
.eb-section__title a:visited {
	color: inherit;
	text-decoration: none;
}

.eb-section__title a:hover {
	color: var(--eb-primary);
}

.eb-section__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--eb-primary-soft);
	color: var(--eb-primary);
}

.eb-section--alt .eb-section__icon {
	background: #dcf5e7;
	color: #08703e;
}

.eb-section__desc {
	margin: -4px 0 16px;
	color: var(--eb-muted);
}

@media (min-width: 769px) {
	.eb-section {
		margin-top: 56px;
	}

	.eb-section__title {
		font-size: 25px;
	}
}

.eb-empty {
	margin: 30px auto;
	padding: 28px;
	border: 1px dashed #cfd6e3;
	border-radius: var(--eb-radius);
	background: #fff;
	text-align: center;
}

/* ---------- 5. Cards and grids ---------- */

.eb-grid {
	display: grid;
	gap: 18px;
}

@media (min-width: 600px) {
	.eb-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.eb-grid {
		gap: 24px;
	}

	.eb-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.eb-grid__full {
	grid-column: 1 / -1;
}

.eb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--eb-line);
	border-radius: var(--eb-radius);
	background: var(--eb-card);
	box-shadow: var(--eb-shadow);
	transition: transform 0.18s, box-shadow 0.18s;
}

.eb-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--eb-shadow-lg);
}

.eb-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--eb-primary-soft);
}

.eb-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.eb-card:hover .eb-card__img {
	transform: scale(1.03);
}

.eb-card__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--eb-primary) 22%, transparent), transparent 55%),
		var(--eb-primary-soft);
	color: var(--eb-primary);
}

.eb-card__ph .eb-ico {
	width: 52px;
	height: 52px;
	opacity: 0.8;
}

.eb-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 16px 18px 16px;
}

.eb-card__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.eb-card__title a,
.eb-card__title a:visited {
	color: var(--eb-head);
	text-decoration: none;
}

/* The whole card is clickable. */
.eb-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.eb-card .eb-chip {
	position: relative;
	z-index: 2;
}

.eb-card__title a:hover,
.eb-card:hover .eb-card__title a {
	color: var(--eb-primary);
}

.eb-card__text {
	display: -webkit-box;
	margin: 0 0 12px;
	overflow: hidden;
	color: var(--eb-muted);
	font-size: 15px;
	line-height: 1.55;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.eb-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: auto 0 0;
	color: var(--eb-muted);
	font-size: 13px;
}

.eb-card__meta .eb-ico {
	width: 15px;
	height: 15px;
}

/* Big card (featured). */
.eb-card--lg .eb-card__body {
	padding: 20px 22px 22px;
}

.eb-card--lg .eb-card__title {
	font-size: 23px;
	font-weight: 800;
	line-height: 1.2;
}

@media (min-width: 769px) {
	.eb-card--lg .eb-card__title {
		font-size: 30px;
	}

	.eb-card--lg .eb-card__text {
		font-size: 16.5px;
	}
}

/* Small row (side lists). */
.eb-card--sm {
	flex-direction: row;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	padding: 0 0 12px;
	overflow: visible;
	border: 0;
	border-bottom: 1px solid var(--eb-line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.eb-card--sm:last-child {
	border-bottom: 0;
}

.eb-card--sm:hover {
	transform: none;
	box-shadow: none;
}

.eb-card--sm .eb-card__media {
	flex: none;
	width: 96px;
	border-radius: 10px;
}

.eb-card--sm .eb-card__ph .eb-ico {
	width: 30px;
	height: 30px;
}

.eb-card--sm .eb-card__body {
	padding: 0;
}

.eb-card--sm .eb-card__title {
	margin-bottom: 4px;
	font-size: 15.5px;
	font-weight: 650;
}

.eb-card--sm .eb-card__meta {
	font-size: 12.5px;
}

/* ---------- 6. Lists ---------- */

.eb-listhead {
	padding: 26px 0 22px;
	border-bottom: 1px solid var(--eb-line);
	background: #fff;
}

.eb-listhead__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.eb-listhead__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--eb-primary-soft);
	color: var(--eb-primary);
}

.eb-listhead__icon .eb-ico {
	width: 24px;
	height: 24px;
}

.eb-listhead__desc {
	max-width: 760px;
	margin-top: 10px;
	color: var(--eb-muted);
	font-size: 16.5px;
}

.eb-listhead__desc p:last-child {
	margin: 0;
}

.eb-listhead__search {
	max-width: 640px;
	margin-top: 14px;
}

@media (min-width: 769px) {
	.eb-listhead {
		padding: 36px 0 30px;
	}

	.eb-listhead__title {
		font-size: 36px;
	}
}

.eb-list {
	margin-top: 22px;
}

.eb-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
	padding: 0;
	color: var(--eb-muted);
	font-size: 13.5px;
	list-style: none;
}

.eb-crumbs li + li::before {
	content: "›";
	margin-right: 6px;
	color: #9aa3b2;
}

.eb-crumbs a,
.eb-crumbs a:visited {
	color: var(--eb-muted);
	text-decoration: none;
}

.eb-crumbs a:hover {
	color: var(--eb-primary);
	text-decoration: underline;
}

.eb-pages {
	margin: 32px 0 8px;
}

.eb-pages ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eb-pages .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--eb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--eb-text);
	font-weight: 600;
	text-decoration: none;
}

.eb-pages a.page-numbers:hover {
	border-color: var(--eb-primary);
	color: var(--eb-primary);
}

.eb-pages .page-numbers.current {
	border-color: var(--eb-primary);
	background: var(--eb-primary);
	color: #fff;
}

/* ---------- 7. Article ---------- */

.eb-article-wrap {
	display: grid;
	gap: 28px;
	margin-top: 22px;
}

@media (min-width: 1024px) {
	.eb-has-side .eb-article-wrap {
		grid-template-columns: minmax(0, 1fr) 320px;
		align-items: start;
		gap: 40px;
		margin-top: 32px;
	}
}

.eb-article {
	min-width: 0;
	padding: 20px 18px 24px;
	border: 1px solid var(--eb-line);
	border-radius: var(--eb-radius);
	background: #fff;
	box-shadow: var(--eb-shadow);
}

@media (max-width: 599px) {
	/* Edge to edge on phones: more room for reading. */
	.eb-article {
		margin: 0 -16px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		box-shadow: none;
	}
}

@media (min-width: 769px) {
	.eb-article {
		padding: 36px 44px 40px;
	}
}

.eb-article--page {
	max-width: 900px;
	margin: 28px auto 0;
}

.eb-article__title {
	margin: 0 0 12px;
	font-size: 29px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

@media (min-width: 769px) {
	.eb-article__title {
		font-size: 40px;
	}
}

.eb-article__lead {
	margin: 0 0 14px;
	color: #3d4656;
	font-size: 19px;
	line-height: 1.5;
}

.eb-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 18px;
	color: var(--eb-muted);
	font-size: 14px;
}

.eb-article__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.eb-article__meta .eb-ico {
	width: 16px;
	height: 16px;
}

.eb-article__updated {
	color: var(--eb-green);
	font-weight: 600;
}

.eb-article__img {
	margin: 0 0 26px;
}

.eb-article__img img {
	display: block;
	width: 100%;
	border-radius: var(--eb-radius-sm);
}

.eb-article__img figcaption {
	margin-top: 8px;
	color: var(--eb-muted);
	font-size: 13.5px;
}

/* The article text: big, calm and easy to read. */
.eb-content {
	max-width: var(--eb-read);
	color: #263041;
	font-size: 18px;
	line-height: 1.75;
	overflow-wrap: break-word;
}

.eb-content > * {
	margin-top: 0;
	margin-bottom: 1.25em;
}

.eb-content h2 {
	margin-top: 1.8em;
	margin-bottom: 0.6em;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.eb-content h3 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	font-size: 21px;
}

.eb-content h4 {
	margin-top: 1.4em;
	font-size: 18px;
}

@media (min-width: 769px) {
	.eb-content h2 {
		font-size: 28px;
	}
}

.eb-content a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.eb-content ul,
.eb-content ol {
	padding-left: 1.4em;
}

.eb-content li {
	margin-bottom: 0.45em;
}

.eb-content li::marker {
	color: var(--eb-primary);
	font-weight: 700;
}

.eb-content blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 16px 20px;
	border-left: 4px solid var(--eb-primary);
	border-radius: 0 var(--eb-radius-sm) var(--eb-radius-sm) 0;
	background: var(--eb-primary-soft);
	color: var(--eb-dark);
	font-size: 18px;
}

.eb-content blockquote p:last-child {
	margin-bottom: 0;
}

.eb-content img,
.eb-content figure img {
	border-radius: var(--eb-radius-sm);
}

.eb-content figure {
	margin-left: 0;
	margin-right: 0;
}

.eb-content figcaption,
.eb-content .wp-element-caption {
	margin-top: 6px;
	color: var(--eb-muted);
	font-size: 14px;
	text-align: center;
}

.eb-content hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--eb-line);
}

.eb-content code {
	padding: 2px 6px;
	border-radius: 6px;
	background: #eef1f6;
	font-size: 0.9em;
}

.eb-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.eb-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.eb-content th,
.eb-content td {
	padding: 10px 12px;
	border: 1px solid var(--eb-line);
	text-align: left;
}

.eb-content th {
	background: var(--eb-primary-soft);
	color: var(--eb-dark);
}

.eb-content .alignwide,
.eb-content .alignfull {
	max-width: none;
}

.eb-content .aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

@media (min-width: 600px) {
	.eb-content .alignleft {
		float: left;
		margin: 0.3em 1.4em 1em 0;
	}

	.eb-content .alignright {
		float: right;
		margin: 0.3em 0 1em 1.4em;
	}
}

.eb-content .wp-block-button__link {
	border-radius: 999px;
	background: var(--eb-primary);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.eb-content::after {
	content: "";
	display: table;
	clear: both;
}

/* "Consejo" boxes: add the CSS class "consejo" (or "tip", "nota", "aviso") to a block. */
.eb-content .consejo,
.eb-content .tip,
.eb-content .nota,
.eb-content .aviso {
	padding: 16px 20px 16px 20px;
	border: 1px solid #b7e4c7;
	border-left: 5px solid var(--eb-green);
	border-radius: var(--eb-radius-sm);
	background: #effaf3;
}

.eb-content .aviso {
	border-color: #fbd5b5;
	border-left-color: var(--eb-accent);
	background: #fff5ec;
}

.eb-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.eb-tags a,
.eb-tags a:visited {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: #eef1f6;
	color: #3d4656;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
}

.eb-tags a:hover {
	background: var(--eb-primary-soft);
	color: var(--eb-primary-dark);
}

.eb-author {
	display: flex;
	gap: 16px;
	margin-top: 26px;
	padding: 18px;
	border-radius: var(--eb-radius-sm);
	background: var(--eb-bg);
}

.eb-author img {
	border-radius: 50%;
}

.eb-author p {
	margin: 0;
	font-size: 15px;
}

.eb-author__name {
	font-weight: 700;
}

.eb-related {
	margin-top: 44px;
}

.eb-related .eb-section__title {
	margin-bottom: 16px;
}

/* ---------- 8. Jobs box ---------- */

.eb-jobs {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 14px 16px;
	margin: 28px 0;
	padding: 20px;
	overflow: hidden;
	border-radius: var(--eb-radius);
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--eb-primary) 60%, transparent), transparent 55%),
		var(--eb-dark);
	color: #dbe3f3;
	font-size: 16px;
	line-height: 1.5;
}

.eb-jobs__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--eb-green);
	color: #fff;
}

.eb-jobs__icon .eb-ico {
	width: 28px;
	height: 28px;
}

.eb-jobs__title {
	margin: 0 0 4px;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
}

.eb-jobs__sub {
	margin: 0;
	font-size: 15.5px;
}

.eb-jobs__btns {
	display: flex;
	flex-wrap: wrap;
	grid-column: 1 / -1;
	gap: 10px;
}

.eb-content .eb-jobs a {
	text-decoration: none;
}

@media (max-width: 479px) {
	.eb-jobs__btns .eb-btn {
		flex: 1 1 100%;
	}
}

@media (min-width: 769px) {
	.eb-jobs--band {
		grid-template-columns: auto 1fr auto;
		gap: 22px;
		margin: 44px 0 0;
		padding: 28px 32px;
	}

	.eb-jobs--band .eb-jobs__btns {
		grid-column: auto;
		flex-wrap: nowrap;
	}

	.eb-jobs--band .eb-jobs__title {
		font-size: 24px;
	}
}

.eb-jobs--side {
	grid-template-columns: 1fr;
	margin: 0 0 22px;
	padding: 22px;
}

.eb-jobs--side .eb-jobs__btns .eb-btn {
	flex: 1 1 100%;
}

/* ---------- 9. Share ---------- */

.eb-share {
	margin: 0 0 22px;
}

.eb-share__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: var(--eb-head);
	font-size: 14.5px;
	font-weight: 700;
}

.eb-share__label .eb-ico {
	width: 18px;
	height: 18px;
	color: var(--eb-primary);
}

.eb-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eb-share__btn,
.eb-share__btn:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid var(--eb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--eb-head);
	font-family: var(--eb-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.eb-share__btn .eb-ico {
	width: 18px;
	height: 18px;
}

.eb-share__btn--whatsapp,
.eb-share__btn--whatsapp:visited {
	border-color: #25d366;
	background: #25d366;
	color: #fff;
}

.eb-share__btn--whatsapp:hover,
.eb-share__btn--whatsapp:focus {
	border-color: #1ebe5b;
	background: #1ebe5b;
	color: #fff;
}

.eb-share__btn--facebook:hover {
	border-color: #1877f2;
	background: #1877f2;
	color: #fff;
}

.eb-share__btn--x:hover {
	border-color: #000;
	background: #000;
	color: #fff;
}

.eb-share__btn--telegram:hover {
	border-color: #229ed9;
	background: #229ed9;
	color: #fff;
}

.eb-share__btn--email:hover,
.eb-share__btn--copy:hover,
.eb-share__btn--native:hover {
	border-color: var(--eb-primary);
	color: var(--eb-primary);
}

.eb-share__btn.is-done {
	border-color: var(--eb-green);
	background: var(--eb-green);
	color: #fff;
}

/* On phones the row shows icons only (WhatsApp keeps its word). */
@media (max-width: 599px) {
	.eb-share--row .eb-share__btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.eb-share--row .eb-share__btn {
		justify-content: center;
		min-width: 44px;
		height: 44px;
		padding: 0 12px;
	}

	.eb-share--row .eb-share__btn--whatsapp span {
		position: static;
		width: auto;
		height: auto;
		clip: auto;
	}

	.eb-share--row .eb-share__btn--whatsapp {
		padding: 0 16px;
	}
}

/* Fixed bar at the bottom of phones. */
.eb-share--float {
	display: none;
}

@media (max-width: 1023px) {
	.eb-share--float {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 40;
		display: block;
		margin: 0;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--eb-line);
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 -6px 20px rgba(16, 24, 40, 0.08);
		transform: translateY(110%);
		transition: transform 0.25s;
	}

	.eb-share--float.is-on {
		transform: none;
	}

	.eb-share--float .eb-share__list {
		flex-wrap: nowrap;
		justify-content: center;
	}

	.eb-share--float li {
		flex: 0 0 48px;
	}

	.eb-share--float li:first-child {
		flex: 1 1 auto;
	}

	.eb-share--float .eb-share__btn {
		justify-content: center;
		width: 100%;
		min-width: 44px;
		height: 44px;
		padding: 0 12px;
	}

	.eb-share--float .eb-share__btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.eb-share--float .eb-share__btn--whatsapp span {
		position: static;
		width: auto;
		height: auto;
		clip: auto;
	}

	.single-post .eb-footer {
		padding-bottom: 70px;
	}
}

/* ---------- 10. Side column ---------- */

.eb-side {
	min-width: 0;
}

@media (max-width: 1023px) {
	/* Phones: the related posts below already do this job. */
	.eb-side {
		display: none;
	}
}

@media (min-width: 1024px) {
	.eb-side__in {
		position: sticky;
		top: 96px;
	}

	.admin-bar .eb-side__in {
		top: 128px;
	}
}

.eb-widget {
	margin: 0 0 22px;
	padding: 20px;
	border: 1px solid var(--eb-line);
	border-radius: var(--eb-radius);
	background: #fff;
	box-shadow: var(--eb-shadow);
}

.eb-widget__title {
	margin: 0 0 14px;
	color: var(--eb-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.eb-widget ul:not(.eb-share__list) {
	margin: 0;
	padding-left: 1.1em;
}

.eb-side .eb-topics ul {
	flex-wrap: wrap;
	overflow: visible;
	padding: 0;
}

.eb-side .eb-topic {
	padding: 7px 12px 7px 10px;
	font-size: 13.5px;
}

.eb-side .eb-topic .eb-ico {
	width: 16px;
	height: 16px;
}

.eb-side .eb-card--sm .eb-card__media {
	width: 78px;
}

.eb-side .eb-card--sm .eb-card__title {
	font-size: 14.5px;
}

/* ---------- 11. Comments ---------- */

.eb-comments {
	max-width: 860px;
	margin-top: 44px;
	padding: 24px 20px;
	border: 1px solid var(--eb-line);
	border-radius: var(--eb-radius);
	background: #fff;
}

.eb-comment-list {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.eb-comment-list .children {
	margin: 0 0 0 24px;
	padding: 0;
	list-style: none;
}

.eb-comment-list .comment-body {
	margin-bottom: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--eb-line);
}

.eb-comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.eb-comment-list .comment-author img {
	border-radius: 50%;
}

.eb-comment-list .says {
	display: none;
}

.eb-comment-list .comment-metadata {
	font-size: 13px;
}

.eb-comment-list .comment-metadata a {
	color: var(--eb-muted);
	text-decoration: none;
}

.comment-respond label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #cfd6e3;
	border-radius: var(--eb-radius-sm);
	font: inherit;
	font-size: 16px;
}

.comment-respond .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

/* ---------- 12. Footer ---------- */

.eb-footer {
	margin-top: 56px;
	background: var(--eb-dark);
	color: #b8c3d9;
	font-size: 15px;
}

.eb-footer__grid {
	display: grid;
	gap: 30px;
	padding-top: 44px;
	padding-bottom: 36px;
}

@media (min-width: 769px) {
	.eb-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 40px;
	}
}

.eb-logo--foot img {
	height: 40px;
}

.eb-logo--foot .eb-logo__tag {
	background: rgba(255, 255, 255, 0.14);
}

.eb-footer__brand p {
	max-width: 380px;
	margin: 14px 0 16px;
}

.eb-footer__title {
	margin: 0 0 14px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.eb-foot-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eb-foot-menu li {
	margin: 0 0 8px;
}

.eb-foot-menu a,
.eb-foot-menu a:visited {
	color: #b8c3d9;
	text-decoration: none;
}

.eb-foot-menu a:hover {
	color: #fff;
	text-decoration: underline;
}

.eb-footer__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.eb-social {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eb-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.eb-social a:hover {
	background: var(--eb-primary);
	color: #fff;
}

.eb-footer__bottom {
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #8e9bb5;
	font-size: 13.5px;
}

/* ---------- 13. 404, misc ---------- */

.eb-404 {
	max-width: 760px;
	margin-top: 40px;
	text-align: center;
}

.eb-404__code {
	margin: 0;
	color: var(--eb-primary);
	font-size: 72px;
	font-weight: 900;
	line-height: 1;
}

.eb-404 .eb-search {
	margin: 20px 0;
}

.eb-404 .eb-topics ul {
	flex-wrap: wrap;
	justify-content: center;
}

.eb-404 .eb-jobs {
	text-align: left;
}

.wp-caption {
	max-width: 100%;
}

.sticky,
.bypostauthor,
.gallery-caption {
	/* Required by WordPress. */
	outline: 0;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
