/**
 * GO4TASTE Editorial – post modules: editorial bar (.g4t-meta), table of contents (.g4t-toc), sticky table of
 * contents (.g4t-stoc, built by assets/js/sticky-toc.js), footnotes (.g4t-ref), bibliography (.g4t-refs) and
 * bio (.g4t-bio).
 *
 * Source: design/reference/go4taste-editorial.css (sections 1, 1b, 1c, 2, 3 and the shared heading), with the
 * --g4t-* variables matched to Brunch Pro. Responsive rules use container queries: they follow the width
 * of the post column, not of the screen. Loaded only on single posts.
 *
 * Brunch Pro rules this stylesheet overrides: `a { font-style: italic }`,
 * `.entry-content ol, .entry-content p { margin-bottom: 30px }`,
 * `.entry-content ol li { margin-left: 20px; list-style-type: decimal }` and
 * `h2, h3 { letter-spacing: 3px; margin: 10px 0 16px; text-transform: uppercase }`, hence the doubled class selectors.
 */

.g4t-meta,
.g4t-toc,
.g4t-stoc,
.g4t-refs,
.g4t-bio {
	--g4t-green: #3d9b41;        /* brand green (shop buttons / logo) */
	--g4t-green-dark: #2a7a30;   /* green for text and icons: 5.3:1 on white */
	--g4t-pale: #f3f7ea;
	--g4t-pale-line: #d9e5c0;
	--g4t-text: #302a2c;         /* Brunch Pro body text */
	--g4t-muted: #666;           /* 5.7:1 on white */
	--g4t-line: #e2e2e2;
	--g4t-surface: #fafaf8;
	--g4t-link: #c4452f;         /* Brunch Pro link #db665b darkened to 4.9:1 (the original is 3.6:1) */
	--g4t-radius: 6px;
	--g4t-head: "Fira Sans Condensed", "Fira Sans", "Helvetica Neue", sans-serif; /* Brunch Pro headings */

	box-sizing: border-box;
	container-type: inline-size;
	color: var(--g4t-text);
	font-size: 14px;
	line-height: 1.55;
}

.g4t-meta *,
.g4t-toc *,
.g4t-stoc *,
.g4t-refs *,
.g4t-bio * {
	box-sizing: border-box;
}

.g4t-meta a,
.g4t-toc a,
.g4t-refs a,
.g4t-bio a {
	color: var(--g4t-link);
	font-style: normal;
	text-decoration: none;
}

.g4t-meta a:hover,
.g4t-toc a:hover,
.g4t-refs a:hover,
.g4t-bio a:hover {
	text-decoration: underline;
}

.g4t-meta a:focus-visible,
.g4t-toc a:focus-visible,
.g4t-refs a:focus-visible,
.g4t-bio a:focus-visible,
.g4t-toc__summary:focus-visible,
.g4t-refs__summary:focus-visible {
	outline: 2px solid var(--g4t-green-dark);
	outline-offset: 2px;
	border-radius: 3px;
}

.g4t-meta svg,
.g4t-toc svg,
.g4t-refs svg,
.g4t-bio svg {
	display: block;
	flex: none;
}

/* Initials when the expert has no photo */
.g4t-meta .g4t-ph,
.g4t-bio .g4t-ph {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: var(--g4t-pale);
	color: var(--g4t-green-dark);
	font-family: var(--g4t-head);
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   1. Editorial bar (under the H1)
   -------------------------------------------------------------------------- */
.g4t-meta {
	margin: 0 0 24px;
	border: 1px solid var(--g4t-line);
	border-radius: var(--g4t-radius);
	background: transparent;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--g4t-muted);
}

.g4t-meta__people {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	padding: 9px 14px;
}

.g4t-meta__person {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}

.g4t-meta__icon,
.g4t-meta__avatar {
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
}

.g4t-meta__icon {
	display: grid;
	place-items: center;
	color: var(--g4t-muted);
}

.g4t-meta__icon svg {
	width: 14px;
	height: 14px;
}

.g4t-meta .g4t-meta__avatar img {
	display: block;
	margin: 0;
}

.g4t-meta__avatar img,
.g4t-meta__avatar .g4t-ph {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	font-size: 9px;
	line-height: 1;
	letter-spacing: 0.02em;
}

.g4t-meta__badge {
	position: absolute;
	right: -3px;
	bottom: -3px;
	display: grid;
	place-items: center;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1.5px solid #fff;
	background: var(--g4t-green-dark);
	color: #fff;
}

.g4t-meta__badge svg {
	width: 6px;
	height: 6px;
}

.g4t-meta__text {
	min-width: 0;
}

.g4t-meta__label {
	color: var(--g4t-muted);
	margin-right: 0.3em;
}

.g4t-meta .g4t-meta__name {
	font-weight: 600;
	color: var(--g4t-text);
}

.g4t-meta a.g4t-meta__name:hover {
	color: var(--g4t-link);
}

.g4t-meta__role {
	color: var(--g4t-muted);
}

.g4t-meta__dates {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 18px;
	padding: 7px 14px;
	border-top: 1px solid var(--g4t-line);
	font-size: 12px;
}

.g4t-meta__verified {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--g4t-green-dark);
}

.g4t-meta__verified svg {
	width: 12px;
	height: 12px;
}

@container (max-width: 520px) {
	.g4t-meta__people {
		padding: 9px 12px;
	}

	.g4t-meta__dates {
		padding: 7px 12px;
		gap: 2px 14px;
	}
}

/* --------------------------------------------------------------------------
   1b. Table of contents (accordion <details>)
   -------------------------------------------------------------------------- */
.g4t-toc {
	margin: 20px 0 28px;
}

.g4t-toc__details {
	border: 1px solid var(--g4t-line);
	border-radius: var(--g4t-radius);
	background: #fff;
}

.g4t-toc__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 46px;
	padding: 8px 16px;
	border-radius: var(--g4t-radius);
	cursor: pointer;
	list-style: none;
}

.g4t-toc__summary::-webkit-details-marker {
	display: none;
}

.g4t-toc__summary:hover {
	background: var(--g4t-surface);
}

.g4t-toc__details[open] > .g4t-toc__summary {
	border-bottom: 1px solid var(--g4t-line);
	border-radius: var(--g4t-radius) var(--g4t-radius) 0 0;
}

.g4t-toc .g4t-toc__heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-family: var(--g4t-head);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--g4t-text);
}

.g4t-toc__heading svg {
	width: 16px;
	height: 16px;
	color: var(--g4t-green-dark);
}

.g4t-toc__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	font-size: 12px;
	color: var(--g4t-muted);
}

.g4t-toc__toggle svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.g4t-toc__hide {
	display: none;
}

.g4t-toc__details[open] .g4t-toc__show {
	display: none;
}

.g4t-toc__details[open] .g4t-toc__hide {
	display: inline;
}

.g4t-toc__details[open] .g4t-toc__toggle svg {
	transform: rotate(180deg);
}

.g4t-toc .g4t-toc__list {
	margin: 0;
	padding: 10px 16px 12px;
	list-style: none;
	counter-reset: g4t-toc;
}

.g4t-toc .g4t-toc__list li {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-increment: g4t-toc;
	break-inside: avoid;
}

.g4t-toc a.g4t-toc__link {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 4px;
	padding: 5px 0;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--g4t-text);
}

.g4t-toc a.g4t-toc__link::before {
	content: counter(g4t-toc) ".";
	font-family: var(--g4t-head);
	font-weight: 700;
	color: var(--g4t-green-dark);
}

.g4t-toc a.g4t-toc__link:hover {
	color: var(--g4t-link);
	text-decoration: none;
}

.g4t-toc a.g4t-toc__link:hover span {
	text-decoration: underline;
}

@container (min-width: 600px) {
	.g4t-toc .g4t-toc__list {
		columns: 2;
		column-gap: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.g4t-toc__toggle svg {
		transition: none;
	}
}

/* Offset of the sticky table of contents: height of whatever is fixed at the top of the screen.
   Brunch Pro has no sticky header, so only the admin bar counts: 32 px, 46 px up to 782 px, and none up to
   600 px, where the admin bar scrolls away with the page. A theme with a sticky header sets
   `body { --g4t-stoc-top: <px>; }` (plus the admin bar). */
body.admin-bar {
	--g4t-stoc-top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--g4t-stoc-top: 46px;
	}
}

@media screen and (max-width: 600px) {
	body.admin-bar {
		--g4t-stoc-top: 0px;
	}
}

/* Headings of the post do not hide under a sticky header or the sticky table of contents.
   The anchor is the <span id> inside the heading (same markup as LuckyWP). */
.entry-content :is(h1, h2, h3, h4, h5, h6) > span[id] {
	scroll-margin-top: calc(var(--g4t-stoc-top, 0px) + 72px);
}

/* --------------------------------------------------------------------------
   1c. Sticky table of contents (mobile and desktop)
   Built by assets/js/sticky-toc.js from the .g4t-toc links and appended to <body>, so it inherits the
   body font, like the table of contents in the content. Shows up once the table of contents has scrolled
   away, hides at the bibliography. Mobile: full screen width. Desktop: position and width of the post
   column (the script sets --g4t-stoc-left / --g4t-stoc-width).
   z-index above the sticky sidebar banner of go4taste-ads (1000), below the admin bar (99999).
   -------------------------------------------------------------------------- */
.g4t-stoc {
	container-type: normal;
	position: fixed;
	z-index: 1001;
	top: var(--g4t-stoc-top, 0px);
	left: 0;
	right: 0;
	visibility: hidden;
	transform: translateY(-110%);
	transition: transform 0.2s ease, visibility 0.2s;
}

.g4t-stoc.is-visible {
	visibility: visible;
	transform: none;
}

.g4t-stoc__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.28);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.g4t-stoc.is-open .g4t-stoc__backdrop {
	opacity: 1;
	pointer-events: auto;
}

.g4t-stoc__panel {
	position: relative;
	z-index: 1;
	background: #fff;
	border-bottom: 1px solid var(--g4t-line);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Doubled class: Brunch Pro styles every button (dark background, uppercase Lato, padding). */
.g4t-stoc .g4t-stoc__bar,
.g4t-stoc .g4t-stoc__bar:hover,
.g4t-stoc .g4t-stoc__bar:focus {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 6px 16px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font: inherit;
	font-style: normal;
	letter-spacing: inherit;
	text-transform: none;
	color: inherit;
	text-align: left;
	cursor: pointer;
	transition: none;
}

.g4t-stoc .g4t-stoc__bar:focus-visible {
	outline: 2px solid var(--g4t-green-dark);
	outline-offset: -3px;
}

.g4t-stoc__step {
	flex: none;
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 26px;
	padding: 0 6px;
	border: 1px solid var(--g4t-pale-line);
	border-radius: 4px;
	background: var(--g4t-pale);
	font-family: var(--g4t-head);
	font-size: 12px;
	font-weight: 700;
	color: var(--g4t-green-dark);
}

.g4t-stoc__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.g4t-stoc__label {
	font-size: 10.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--g4t-muted);
}

/* Visually hidden "Sekcja 3 z 6" for screen readers (the visible "3/6" is aria-hidden). */
.g4t-stoc__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.g4t-stoc__current {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--g4t-text);
}

.g4t-stoc__chev {
	display: block;
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--g4t-muted);
	transition: transform 0.2s ease;
}

.g4t-stoc.is-open .g4t-stoc__chev {
	transform: rotate(180deg);
}

.g4t-stoc__progress {
	height: 2px;
	background: var(--g4t-line);
}

.g4t-stoc__progress span {
	display: block;
	height: 100%;
	background: var(--g4t-green);
	transform: scaleX(0);
	transform-origin: left center;
}

.g4t-stoc .g4t-stoc__list {
	position: relative; /* offsetParent of the items: the script scrolls the current one into view */
	display: none;
	max-height: min(60vh, 420px);
	margin: 0;
	padding: 6px 0 8px;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
}

.g4t-stoc.is-open .g4t-stoc__list {
	display: block;
}

.g4t-stoc .g4t-stoc__list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.g4t-stoc a.g4t-stoc__link {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 6px;
	min-height: 44px;
	padding: 11px 16px;
	font-size: 14px;
	font-style: normal;
	line-height: 1.4;
	color: var(--g4t-text);
	text-decoration: none;
}

.g4t-stoc a.g4t-stoc__link:focus-visible {
	outline: 2px solid var(--g4t-green-dark);
	outline-offset: -3px;
}

.g4t-stoc__num {
	font-family: var(--g4t-head);
	font-weight: 700;
	color: var(--g4t-muted);
}

.g4t-stoc a.g4t-stoc__link[aria-current="true"] {
	background: var(--g4t-pale);
	color: var(--g4t-green-dark);
	font-weight: 600;
}

.g4t-stoc a.g4t-stoc__link[aria-current="true"] .g4t-stoc__num {
	color: var(--g4t-green-dark);
}

/* Forced colors drop the background of the current item: mark it with a border instead. */
@media (forced-colors: active) {
	.g4t-stoc a.g4t-stoc__link[aria-current="true"] {
		border-left: 4px solid CanvasText;
	}

	.g4t-stoc__progress span {
		background: CanvasText;
	}
}

@media (prefers-reduced-motion: reduce) {
	.g4t-stoc,
	.g4t-stoc__backdrop,
	.g4t-stoc__chev {
		transition: none;
	}
}

@media (min-width: 768px) {
	.g4t-stoc {
		left: var(--g4t-stoc-left, 0px);
		right: auto;
		width: var(--g4t-stoc-width, 100%);
	}

	.g4t-stoc__panel {
		overflow: hidden;
		border: 1px solid var(--g4t-line);
		border-top: 0;
		border-radius: 0 0 var(--g4t-radius) var(--g4t-radius);
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
	}

	.g4t-stoc .g4t-stoc__bar {
		min-height: 48px;
	}

	.g4t-stoc__backdrop {
		background: rgba(0, 0, 0, 0.12);
	}

	.g4t-stoc a.g4t-stoc__link {
		min-height: 40px;
		padding: 9px 16px;
	}

	.g4t-stoc a.g4t-stoc__link:hover {
		color: var(--g4t-link);
	}
}

/* --------------------------------------------------------------------------
   2. Footnotes in the text: <sup class="g4t-ref-sup"><a class="g4t-ref" href="#zrodlo-1">[1]</a></sup>
   Outside the modules, so without the --g4t-* variables.
   -------------------------------------------------------------------------- */
.entry-content a.g4t-ref {
	padding: 0 1px;
	font-style: normal;
	font-weight: 600;
	color: #c4452f;
	text-decoration: none;
	scroll-margin-top: calc(var(--g4t-stoc-top, 0px) + 72px);
}

.entry-content a.g4t-ref:hover {
	text-decoration: underline;
}

.entry-content a.g4t-ref:focus-visible,
.entry-content a.g4t-ref:target {
	outline: 2px solid #2a7a30;
	outline-offset: 1px;
	border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Bibliography (<details>, open or closed per the settings)
   -------------------------------------------------------------------------- */
.g4t-refs {
	margin: 32px 0;
}

.g4t-refs__details {
	border: 1px solid var(--g4t-line);
	border-radius: var(--g4t-radius);
	background: #fff;
}

.g4t-refs__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 10px 16px;
	border-radius: var(--g4t-radius);
	cursor: pointer;
	list-style: none;
}

.g4t-refs__summary::-webkit-details-marker {
	display: none;
}

.g4t-refs__summary:hover {
	background: var(--g4t-surface);
}

.g4t-refs__details[open] > .g4t-refs__summary {
	border-bottom: 1px solid var(--g4t-line);
	border-radius: var(--g4t-radius) var(--g4t-radius) 0 0;
}

.g4t-refs .g4t-refs__heading,
.g4t-bio .g4t-bio__heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-family: var(--g4t-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--g4t-text);
}

.g4t-refs__heading svg {
	width: 17px;
	height: 17px;
	color: var(--g4t-green-dark);
}

.g4t-refs__count {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 22px;
	padding: 0 7px;
	border: 1px solid var(--g4t-pale-line);
	border-radius: 11px;
	background: var(--g4t-pale);
	font-size: 12px;
	letter-spacing: 0;
	color: var(--g4t-green-dark);
}

.g4t-refs__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	font-size: 12px;
	color: var(--g4t-muted);
}

.g4t-refs__toggle svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.g4t-refs__hide {
	display: none;
}

.g4t-refs__details[open] .g4t-refs__show {
	display: none;
}

.g4t-refs__details[open] .g4t-refs__hide {
	display: inline;
}

.g4t-refs__details[open] .g4t-refs__toggle svg {
	transform: rotate(180deg);
}

.g4t-refs .g4t-refs__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.g4t-refs .g4t-refs__item {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 14px;
	margin: 0;
	padding: 14px 16px;
	border-top: 1px solid var(--g4t-line);
	list-style: none;
	scroll-margin-top: calc(var(--g4t-stoc-top, 0px) + 72px);
}

.g4t-refs .g4t-refs__item:first-child {
	border-top: 0;
}

.g4t-refs .g4t-refs__item:nth-child(even) {
	background: var(--g4t-surface);
}

.g4t-refs .g4t-refs__item:last-child {
	border-radius: 0 0 var(--g4t-radius) var(--g4t-radius);
}

.g4t-refs .g4t-refs__item:target {
	background: var(--g4t-pale);
}

.g4t-refs .g4t-refs__item:focus {
	outline: none;
}

.g4t-refs .g4t-refs__item:focus-visible {
	outline: 2px solid var(--g4t-green-dark);
	outline-offset: -2px;
}

.g4t-refs__num {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid var(--g4t-pale-line);
	border-radius: 4px;
	background: var(--g4t-pale);
	font-family: var(--g4t-head);
	font-size: 13px;
	font-weight: 700;
	color: var(--g4t-green-dark);
}

.g4t-refs__body {
	min-width: 0;
}

.g4t-refs .g4t-refs__text,
.g4t-refs .g4t-refs__title {
	margin: 0 0 3px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.g4t-refs .g4t-refs__title {
	font-weight: 600;
	line-height: 1.4;
}

.g4t-refs__title cite {
	font-style: normal;
}

.g4t-refs .g4t-refs__authors,
.g4t-refs .g4t-refs__source {
	margin: 0;
	font-size: 13px;
	color: var(--g4t-muted);
}

.g4t-refs .g4t-refs__source {
	margin-bottom: 6px;
}

.g4t-refs .g4t-refs__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 16px;
	margin: 0;
	font-size: 12.5px;
}

.g4t-refs__doi {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	color: var(--g4t-muted);
	overflow-wrap: anywhere;
}

.g4t-refs__links a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 28px;
	font-weight: 600;
}

.g4t-refs__links svg {
	width: 13px;
	height: 13px;
}

.g4t-refs__links a.g4t-refs__back {
	justify-content: center;
	min-width: 28px;
	color: var(--g4t-muted);
}

.g4t-refs__links a.g4t-refs__back:hover {
	color: var(--g4t-link);
}

@container (max-width: 420px) {
	.g4t-refs__summary {
		padding: 10px 12px;
	}

	.g4t-refs__toggle-label {
		display: none;
	}

	.g4t-refs .g4t-refs__item {
		grid-template-columns: 26px minmax(0, 1fr);
		gap: 10px;
		padding: 12px;
	}

	.g4t-refs__num {
		width: 26px;
		height: 26px;
		font-size: 12px;
	}
}

/* --------------------------------------------------------------------------
   4. Bio: cards of the experts and the editorial note (end of the post)
   -------------------------------------------------------------------------- */
.g4t-bio {
	margin: 32px 0;
}

.g4t-bio .g4t-bio__heading {
	margin-bottom: 12px;
}

.g4t-bio__card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	grid-template-areas:
		"photo head"
		"photo body";
	align-items: start;
	gap: 4px 20px;
	padding: 20px;
	border: 1px solid var(--g4t-pale-line);
	border-radius: var(--g4t-radius) var(--g4t-radius) 0 0;
	background: var(--g4t-pale);
}

/* More experts: one block of cards. */
.g4t-bio__card + .g4t-bio__card {
	border-top: 0;
	border-radius: 0;
}

.g4t-bio__photo {
	grid-area: photo;
	width: 112px;
	height: 112px;
	overflow: hidden;
	border: 1px solid var(--g4t-pale-line);
	border-radius: var(--g4t-radius);
	background: #fff;
}

.g4t-bio__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.g4t-bio .g4t-bio__photo .g4t-ph {
	font-size: 30px;
	background: #fff;
}

.g4t-bio__head {
	grid-area: head;
	min-width: 0;
}

.g4t-bio__body {
	grid-area: body;
	min-width: 0;
}

.g4t-bio .g4t-bio__role {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--g4t-green-dark);
}

.g4t-bio__role svg {
	width: 14px;
	height: 14px;
}

.g4t-bio .g4t-bio__name {
	margin: 0;
	padding: 0;
	font-family: var(--g4t-head);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	color: var(--g4t-text);
}

.g4t-bio .g4t-bio__title {
	margin: 2px 0 8px;
	font-size: 13px;
	color: var(--g4t-muted);
}

.g4t-bio .g4t-bio__text {
	margin: 0 0 12px;
}

.g4t-bio .g4t-bio__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 0 0 4px;
	font-size: 13px;
	font-style: normal;
}

.g4t-bio__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
}

.g4t-bio__links svg {
	width: 15px;
	height: 15px;
}

.g4t-bio a.g4t-bio__more {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid var(--g4t-pale-line);
	font-size: 13px;
	font-weight: 600;
}

.g4t-bio__more svg {
	width: 15px;
	height: 15px;
}

.g4t-bio__editorial {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 20px;
	border: 1px solid var(--g4t-pale-line);
	border-top: 0;
	border-radius: 0 0 var(--g4t-radius) var(--g4t-radius);
	background: #fff;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--g4t-muted);
}

/* No expert: the editorial note alone. */
.g4t-bio__heading + .g4t-bio__editorial {
	border-top: 1px solid var(--g4t-pale-line);
	border-radius: var(--g4t-radius);
}

.g4t-bio .g4t-bio__editorial p {
	margin: 0;
}

.g4t-bio__logo {
	flex: none;
	padding: 4px 7px;
	border: 1px solid var(--g4t-pale-line);
	border-radius: 4px;
	font-family: var(--g4t-head);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--g4t-green-dark);
}

@container (max-width: 520px) {
	.g4t-bio__card {
		grid-template-columns: 72px minmax(0, 1fr);
		grid-template-areas:
			"photo head"
			"body  body";
		align-items: center;
		gap: 14px;
		padding: 16px;
	}

	.g4t-bio__photo {
		width: 72px;
		height: 72px;
	}

	.g4t-bio .g4t-bio__photo .g4t-ph {
		font-size: 22px;
	}

	.g4t-bio .g4t-bio__name {
		font-size: 17px;
	}

	.g4t-bio .g4t-bio__title {
		margin-bottom: 0;
	}

	.g4t-bio__editorial {
		align-items: flex-start;
		padding: 12px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.g4t-refs__toggle svg {
		transition: none;
	}
}
