/* ==========================================================================
   Blog archive (custom code): blog categories, tags, authors, date archives.
   Same visual language as the GretaGrove Insider page and the product
   category pages: #FBF9F5 hero with breadcrumb, Gentium Plus titles,
   Geist body, number counter, Insider post cards and pagination.
   Breakpoints match the Elementor kit: 1200 / 1024 / 880 / 767.
   ========================================================================== */

.gg-ba {
	font-family: "Geist", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.16px;
	color: #0E0E0E;
	background: #FBF9F5;
}

.gg-ba *,
.gg-ba *::before,
.gg-ba *::after {
	box-sizing: border-box;
}

.gg-ba .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;
}

.gg-ba-inner {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
}

/* Entrance animations (as the other custom pages). */
.gg-js .gg-ba .gg-anim {
	opacity: 0;
}

.gg-js .gg-ba .gg-anim.is-in {
	animation: gg-ba-fade-in 1.25s both;
}

.gg-js .gg-ba .gg-anim--down.is-in {
	animation-name: gg-ba-fade-in-down;
}

@keyframes gg-ba-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes gg-ba-fade-in-down {
	from { opacity: 0; transform: translate3d(0, -100%, 0); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.gg-js .gg-ba .gg-anim,
	.gg-js .gg-ba .gg-anim.is-in {
		opacity: 1;
		animation: none;
	}
}

/* Breadcrumb (shared markup: gg_tpl_crumbs()). */
.gg-ba .gg-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gg-ba .gg-crumbs li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 24px;
	color: #0E0E0E;
}

.gg-ba .gg-crumbs a {
	color: #0E0E0E;
	text-decoration: none;
	transition: color 0.3s;
}

.gg-ba .gg-crumbs a:hover,
.gg-ba .gg-crumbs a:focus {
	color: #475467;
}

.gg-ba .gg-crumbs__sep {
	display: flex;
	line-height: 0;
}

.gg-ba .gg-crumbs__sep svg {
	width: 6px;
	height: 14px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.gg-ba-hero {
	padding: 40px 16px 60px;
	background: #FBF9F5;
	border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.gg-ba-hero__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
}

.gg-ba-hero__text {
	flex: 1 1 auto;
	min-width: 0;
}

.gg-ba-hero__crumbs {
	padding: 0 0 40px;
}

.gg-ba .gg-ba-hero__label {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 21px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(2, 1, 1, 0.63);
}

.gg-ba .gg-ba-hero__title {
	margin: 0;
	padding: 0 0 20px;
	font-family: "Gentium Plus", serif;
	font-size: 62px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -2px;
	color: #0E0E0E;
}

.gg-ba-hero__desc {
	max-width: 800px;
	line-height: 24px;
}

.gg-ba .gg-ba-hero__desc p {
	margin: 0;
}

/* "07 Articles" counter. */
.gg-ba-num {
	display: flex;
	flex: 0 0 auto;
	flex-direction: row-reverse;
	align-items: center;
	gap: 10px;
	text-align: end;
}

.gg-ba .gg-ba-num__n {
	margin: 8px 0 0;
	font-family: "Geist", sans-serif;
	font-size: 60px;
	font-weight: 400;
	line-height: 1.26316em;
	letter-spacing: -1px;
}

.gg-ba .gg-ba-num__t {
	margin: 0 0 20px;
	font-size: 16px;
}

/* ==========================================================================
   Topics + posts
   ========================================================================== */
.gg-ba-posts {
	padding: 80px 16px 120px;
	background: #FFFFFF;
}

.gg-ba-topics {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin: 0 0 60px;
	padding: 0 0 40px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.gg-ba .gg-ba-topics__label {
	margin: 0;
	font-family: "Gentium Plus", serif;
	font-size: 24px;
	line-height: 1.3;
	letter-spacing: -0.5px;
}

.gg-ba-topics__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gg-ba-topics__list li {
	margin: 0;
}

.gg-ba .gg-ba-topic {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	font-size: 15px;
	line-height: 22px;
	color: #0E0E0E;
	text-decoration: none;
	background: #FFFFFF;
	border: 1px solid #0E0E0E;
	border-radius: 999px;
	transition: background-color 0.25s, color 0.25s;
}

.gg-ba .gg-ba-topic:hover,
.gg-ba .gg-ba-topic:focus,
.gg-ba .gg-ba-topic.is-current {
	color: #FFFFFF;
	background: #0E0E0E;
}

.gg-ba .gg-ba-topic:focus-visible {
	outline: 2px solid #0E0E0E;
	outline-offset: 3px;
}

.gg-ba-topic__count {
	min-width: 22px;
	padding: 0 6px;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	color: #0E0E0E;
	background: #F2F0EC;
	border-radius: 999px;
	transition: background-color 0.25s, color 0.25s;
}

.gg-ba-topic:hover .gg-ba-topic__count,
.gg-ba-topic:focus .gg-ba-topic__count,
.gg-ba-topic.is-current .gg-ba-topic__count {
	color: #0E0E0E;
	background: #FFFFFF;
}

/* Cards (same as the Insider page, loop item #4433, plus "Read more"). */
.gg-ba-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 60px 30px;
}

.gg-ba-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.gg-ba-card__media {
	display: block;
	margin: 0 0 16px;
	overflow: hidden;
	border-radius: 8px;
}

.gg-ba .gg-ba-card__media img,
.gg-ba-card__placeholder {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: none;
	aspect-ratio: 1.5;
	object-fit: cover;
	border-radius: 8px;
	transition: transform 0.4s ease;
}

.gg-ba-card__placeholder {
	background: #F2F0EC;
}

.gg-ba-card:hover .gg-ba-card__media img {
	transform: scale(1.03);
}

.gg-ba-card__meta {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
	padding: 0 0 10px;
	list-style: none;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(2, 1, 1, 0.63);
}

.gg-ba-card__meta li {
	margin: 0 8px;
}

.gg-ba-card__meta li:first-child:not(:last-child) {
	color: rgba(2, 1, 1, 0.63);
}

.gg-ba .gg-ba-card__title {
	margin: 0;
	padding: 0 0 10px;
	font-family: "Gentium Plus", serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.2em;
	letter-spacing: -1px;
	color: #0E0E0E;
}

.gg-ba .gg-ba-card__title a {
	color: inherit;
	text-decoration: none;
}

.gg-ba .gg-ba-card__title a:hover {
	text-decoration: underline;
}

.gg-ba-card__excerpt {
	padding: 0 0 16px;
	color: rgba(2, 1, 1, 0.63);
}

.gg-ba .gg-ba-card__more {
	align-self: flex-start;
	margin-top: auto;
	font-size: 16px;
	color: #0E0E0E;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: opacity 0.3s;
}

.gg-ba .gg-ba-card__more:hover {
	opacity: 0.7;
}

.gg-ba .gg-ba-card a:focus-visible {
	outline: 2px solid #0E0E0E;
	outline-offset: 2px;
}

/* Pagination (as the Insider page). */
.gg-ba-pagination {
	margin-top: 60px;
	text-align: center;
}

.gg-ba-pagination .page-numbers {
	display: inline-block;
	margin: 0 5px 10px;
	padding: 11px 19px;
	font-size: 18px;
	line-height: 1.5;
	color: #0E0E0E;
	text-decoration: none;
	border: 1px solid;
}

.gg-ba-pagination .page-numbers.current {
	color: #FFFFFF;
	background: #000000;
}

.gg-ba-pagination a.page-numbers:hover {
	color: #FFFFFF;
	background: #0E0E0E;
}

.gg-ba-pagination a.page-numbers:focus-visible {
	outline: 2px solid #0E0E0E;
	outline-offset: 3px;
}

/* Empty archive. */
.gg-ba-empty {
	max-width: 560px;
	margin: 0 auto;
	padding: 40px 0;
	text-align: center;
}

.gg-ba .gg-ba-empty__title {
	margin: 0 0 12px;
	font-family: "Gentium Plus", serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.26316em;
	letter-spacing: -1px;
}

.gg-ba-empty p {
	margin: 0 0 24px;
	color: rgba(2, 1, 1, 0.63);
}

.gg-ba .gg-ba-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 28px;
	font-size: 16px;
	line-height: 24px;
	color: #FFFFFF;
	text-decoration: none;
	background: #0E0E0E;
	border-radius: 8px;
	transition: background-color 0.25s;
}

.gg-ba .gg-ba-btn:hover,
.gg-ba .gg-ba-btn:focus {
	color: #FFFFFF;
	background: #333333;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.gg-ba-hero__crumbs { padding-bottom: 20px; }
	.gg-ba .gg-ba-hero__title { font-size: 52px; }
}

@media (max-width: 1024px) {
	.gg-ba .gg-ba-hero__title { font-size: 46px; }
	.gg-ba-posts { padding: 80px 16px; }
	.gg-ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
}

@media (max-width: 767px) {
	.gg-ba-hero__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
	.gg-ba .gg-ba-hero__title { font-size: 36px; }
	.gg-ba-num { flex-direction: row; }
	.gg-ba .gg-ba-num__n { font-size: 30px; line-height: 40px; }
	.gg-ba .gg-ba-num__t { margin-bottom: 0; font-size: 14px; }

	.gg-ba-posts { padding: 50px 16px 60px; }
	.gg-ba-topics { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 40px; padding-bottom: 30px; }
	.gg-ba .gg-ba-topics__label { font-size: 20px; }
	.gg-ba-topics__list { flex-wrap: nowrap; width: 100%; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
	.gg-ba-topics__list::-webkit-scrollbar { display: none; }
	.gg-ba-topics__list li { flex: 0 0 auto; }
	.gg-ba .gg-ba-topic { white-space: nowrap; }

	.gg-ba-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.gg-ba-card__excerpt { font-size: 14px; }
	.gg-ba-pagination { margin-top: 40px; }
	.gg-ba-pagination .page-numbers { padding: 8px 15px; font-size: 16px; }
}
