.blog-wrapper {
	padding:140px 0 140px;
}

.blog-container {
	width:100%;
	max-width:1180px;
	padding:0 20px;
	margin:0 auto;
}

.post-content {
	margin-bottom:100px;
}

.blog-container .yoast-breadcrumbs {
	padding:0;
}


.tbt-breadcrumbs-container {
	margin-bottom:24px;
}

.tbt-blog-title {
	margin-top:16px;
	margin-bottom:40px;
	font-family:'Source Sans Pro',sans-serif;
	font-weight: 700;
	font-size: 70px;
	line-height: .9;
	letter-spacing: 0.02;	
}

.tbt-category-label {
	font-family: 'Source Sans Pro',sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.2;
	margin-bottom:16px;
}

.nav-taxonomy {
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	align-items:center;
	overflow-x: auto;
}

.nav-taxonomy a {
	display:flex;
	align-items:center;
	justify-content:center;
	padding:15px 16px;
	line-height:1;
	font-size:13px;
	font-weight:500;
	color:var(--wp--preset--color--dark-alt);
	border:1px solid #E5E5E5;
	border-left:0;
	white-space: nowrap;
	text-decoration:none;
}

.nav-taxonomy li:first-child a {
	border-left:1px solid #E5E5E5;
	border-radius: 8px 0 0 8px;
}

.nav-taxonomy li:last-child a {
	border-radius: 0 8px 8px 0;
}

.nav-taxonomy .current-nav a,
.nav-taxonomy a.active,
.nav-taxonomy a:hover {
	background-color: var(--wp--preset--color--primary);
	color:var(--wp--preset--color--white);
	transition: all ease .4s;
	text-decoration: none;
}

.nav-taxonomy .current-nav a:hover,
.nav-taxonomy a.active:hover {
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--primary);
	transition: all ease .4s;
	text-decoration: none;
}

.grid-posts {
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
	grid-row-gap:64px;
	grid-column-gap:32px;
	width:100%;
	margin-top:48px;
}

.card-post-img-box, .card-post-img-box img {
	background-color:var(--wp--preset--color--quaternary);
	width:100%;
	height:auto;
	aspect-ratio:2/1.2;
	display:block;
	border-radius:6px;
}

.card-post-img-box img {
	object-fit:cover;
}

.card-post-img-box {
	margin-bottom:24px;
}

.post-head {
	border-bottom:1px solid #E5E5E5;
}

.post-head-meta {
	display:flex;
	align-items:center;
	flex-wrap:wrap;
}

.grid-posts .post-categories,
.post-head-meta .post-categories {
	display:flex;
	list-style:none;
	padding:0;
	margin:0;
}

.card-post-title, .card-post-title a {
	font-family:'Source Sans Pro',sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height:1.3;
	letter-spacing: 0%;
	text-decoration:none;
	color:var(--wp--preset--color--dark);
	margin:8px 0;
	transition:all ease .4s;
}

.card-post-title a:hover {
	transition:all ease .4s;
	color:var(--wp--preset--color--primary);
}

.card-post-txt {
font-family: 'Source Sans Pro',sans-serif;
font-size: 16px;
line-height: 1.5;	
}

.card-post-txt p {
	margin-top:0;
	margin-bottom:4px;
}

.card-post-txt p:last-child {
	margin-bottom:0;
}


.pagination {
	display:flex;
	margin:40px auto 0;
	width:fit-content;
}

.page-numbers {
	background-color: var(--wp--preset--color--secondary);
	line-height:1;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:8px;
	width:36px;
	height:36px;
	border-radius:6px;
	margin:0 6px;
	text-decoration:none;
	color:var(--wp--preset--color--dark);
}

a.page-numbers:hover, .page-numbers.current {
	background-color:var(--wp--preset--color--primary);
	color:var(--wp--preset--color--white);
	text-decoration: none;
}

.page-numbers.next,.page-numbers.prev {
	width:fit-content;
}

@media (min-width:767px) {
	.grid-blog .card-post:first-child {
		display:flex;
		grid-column:span 3;
		align-items:stretch
	}

	.grid-blog .card-post:first-child .card-post-img-box {
		width:60%;
	}

	.grid-blog .card-post:first-child .card-post-txt-box {
		width:40%;
		padding-left:32px;
		display:flex;
		flex-direction:column;
		justify-content:center;
	}

	.grid-blog .card-post:first-child .card-post-title,
	.grid-blog .card-post:first-child .card-post-title a{
		font-size: 32px;
		line-height: 1.25;
		letter-spacing: -0.02em;
	}
}



/*Single Post*/


/*Alignment*/
html .post-container :where(.wp-block),
html .post-container :where(.wp-block-group) {
	max-width: 766px;
}

.wp-content-container .post-container > *,
html .wp-content-container  .post-container > :where(.wp-block-group),
.wp-content-container .post-container > *{
	max-width:766px;
	margin-left:auto;
	margin-right: auto;
	padding-left:20px;
	padding-right:20px;
}

.wp-content-container .post-container > .wp-block-list {
	padding-left:48px;
}

.wp-content-container .post-container .alignfull {
	max-width:100%;
	width:100%;
}

.wp-content-container .post-container .alignwide {
	max-width:calc(100% - 40px);
}

.post-meta-date {
	margin-right:24px;
	font-family: 'Source Sans Pro',sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
}

.wp-content-container h1.post-title {
	font-family:'Source Sans Pro',sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.4;
	margin-top:24px;
	margin-bottom:48px;
}

.wp-content-container .post-container {
	font-family: 'Source Sans Pro',sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height:1.555;
}

.wp-content-container .post-container :not(.post-head) a {
	color:var(--wp--preset--color--primary);
}

.wp-content-container .post-container :not(.post-head) a:hover {
	color:var(--wp--preset--color--secondary);
}

.tbt-pill,
.grid-posts .post-categories a,
.wp-content-container .post-head-meta .post-categories a,
.card-post-txt-box a[rel="category tag"]{
	background-color:var(--wp--preset--color--secondary);
	border-radius:50px;
	padding:3px 8px 4px;
	font-family: 'Source Sans Pro',sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	letter-spacing: .04em;
	width:fit-content;
	color:var(--wp--preset--color--dark);
	text-decoration:none;
}

.post-thumb {
	padding-bottom:48px;
}

.post-thumb, .post-thumb img {
	width:100%;
	height:auto;
	display:block;
}
.post-thumb img {
	aspect-ratio: 2/1.25;
	border-radius:8px;
	margin-bottom:12px;
	object-fit: cover;
}

.post-thumb span {
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0%;
	color:var(--wp--preset--color--dark-alt);
}


.btn-back-to-blog {
	display:block;
	width:fit-content;
	margin-bottom: 44px;
	font-family: 'Source Sans Pro',sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 22.19px;
	letter-spacing: 0.04em;
	color:var(--wp--preset--color--dark);
	text-decoration:none;
}

.btn-back-to-blog:hover {
	color:var(--wp--preset--color--primary);
}

@media (max-width:767px) {
	.grid-posts{
		grid-row-gap: 32px;
	}

	.grid-posts.grid-destacades {
		margin-top:8px;
	}

	.blog-wrapper {
		padding: 30px 0 60px;
	}

	.wp-content-container h1.post-title {
		font-size: 34px;
		margin-bottom: 12px;
		margin-top: 8px;
	}

	.post-thumb {
	    padding-bottom: 24px;
	}

	.post-content {
	    margin-bottom: 40px;
	}

	.btn-back-to-blog {
		margin-bottom: 24px;
	}


}