.etj-journal {
	width: 100%;
	margin: 0 auto;
	font-family: inherit;
	color: #15202b;
}

.etj-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 24px;
}

.etj-eyebrow {
    margin-bottom: 12px;
    line-height: 1;
    text-transform: uppercase;
    font-family: "Figtree", Sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #00554C;
}

.etj-heading h2 {
    margin: 0;
    font-weight: 600;
    font-family: "Fraunces", Sans-serif;
    font-size: 36px;
    line-height: 45px;
    color: #101828;
}

.etj-sort-wrap {
	position: relative;
	flex: 0 0 auto;
}

.etj-sort {
    min-width: 126px;
    padding: 12px 16px;
    border: 1px solid #10182826;
    border-radius: 30px;
    background: #fff;
    color: #101828;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    font-weight: 600;
    font-family: "Figtree", sans-serif;
}

.etj-sort:focus {
	border-color: #006b61;
	box-shadow: 0 0 0 2px rgba(0,107,97,.08);
}

.etj-sort-arrow {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-55%);
	pointer-events: none;
	color: #3d474c;
	font-size: 15px;
}

.etj-categories {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 18px;
}

.etj-category {
    padding: 11px 18px;
    border: 1px solid #10182814;
    border-radius: 100px;
    color: #475466;
    font: inherit;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: .2s ease;
    font-size: 14px !important;
    font-weight: 500 !important;
    background: #F7F9F8;
    font-family: "Figtree", Sans-serif !important;
}

.etj-category:hover {
    border-color: #00554C;
    background: #00554C;
    color: #FFFFFF;
}
.etj-category.is-active {
    border-color: #00554C;
    background: #00554C;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    font-family: "Figtree", Sans-serif;
}
.etj-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	transition: opacity .2s ease;
}

.etj-journal.is-loading .etj-posts {
	opacity: .45;
}

.etj-card {
	min-width: 0;
}

.etj-image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1.78 / 1;
	overflow: hidden;
	border-radius: 12px;
	background: #e7edeb;
	text-decoration: none;
}

.etj-card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.etj-image:hover .etj-card-img {
	transform: scale(1.035);
}

.etj-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e6ecea, #c5d4d0);
}

.etj-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 7px 15px;
    border-radius: 100px;
    background: #FFFFFFEB;
    color: #00554C;
    font-size: 11px;
    font-weight: 600;
    line-height: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Figtree", sans-serif;
}

.etj-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    color: #73808C;
    font-size: 12px;
    font-family: "Figtree", sans-serif;
    line-height: 1.3;
    font-weight: 500;
}
.etj-card img.etj-card-img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}
.etj-dot {
	font-size: 8px;
}

.etj-title {
	margin: 7px 0;
	color: #101820;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
}

.etj-title a {
    color: #101828;
    text-decoration: none;
    font-size: 20px;
    font-family: "Fraunces", Sans-serif;
    font-weight: 400;
    line-height: 24px;
}
.etj-title a:hover {
    color: #00554C;
}

.etj-excerpt {
    margin: 0 0 9px;
    color: #475466;
    font-size: 15px;
    line-height: 19px;
    font-weight: 400;
    font-family: "Figtree", Sans-serif;
}
.etj-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none !important;
    font-family: "Figtree", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    color: #00554C !important;
}

.etj-read-more > span:last-child {
	font-size: 15px;
	transition: transform .2s ease;
}

.etj-read-more:hover > span:last-child {
	transform: translateX(3px);
}

.etj-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.etj-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 18px;
    border: 0;
    border-radius: 100px !important;
    background: #00554C;
    color: #fff;
    font: inherit;
    font-size: 15px !important;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
    font-weight: 600 !important;
    font-family: "Figtree", Sans-serif !important;
}

.etj-load-more:hover {
	background: #00574f;
	transform: translateY(-1px);
}

.etj-load-more:disabled {
	cursor: wait;
	opacity: .65;
}

.etj-load-more-icon {
	font-size: 15px;
	line-height: 1;
}

.etj-loader {
	display: none;
	justify-content: center;
	padding-top: 20px;
}

.etj-loader.is-visible {
	display: flex;
}

.etj-loader span {
	display: block;
	width: 20px;
	height: 20px;
	border: 2px solid #d9e4e2;
	border-top-color: #006b61;
	border-radius: 50%;
	animation: etj-spin .7s linear infinite;
}

.etj-message {
	margin-top: 12px;
	color: #b42318;
	font-size: 11px;
	text-align: center;
}

.etj-empty {
	grid-column: 1 / -1;
	padding: 35px 15px;
	border: 1px dashed #d9dfdf;
	border-radius: 12px;
	color: #697579;
	text-align: center;
	font-size: 12px;
}

@keyframes etj-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 900px) {
	.etj-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.etj-heading h2 {
		font-size: 27px;
	}
}

@media (max-width: 600px) {
	.etj-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.etj-heading h2 {
		font-size: 25px;
	}

	.etj-categories {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 5px;
		scrollbar-width: none;
	}

	.etj-categories::-webkit-scrollbar {
		display: none;
	}

	.etj-category {
		flex: 0 0 auto;
	}

	.etj-posts {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.etj-title {
		font-size: 18px;
	}

	.etj-excerpt {
		font-size: 11px;
	}
}
