.psm-post-attribution {
	margin: 0 0 1.5rem;
}

.psm-post-attribution__box {
	border: 1px solid #e3e3e3;
	border-radius: 12px;
	background-color: #f2f2f2;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	overflow: visible;
}

.psm-post-attribution__row {
	display: grid;
	align-items: stretch;
}

.psm-post-attribution__row--top.psm-post-attribution__row--1-col,
.psm-post-attribution__row--bottom.psm-post-attribution__row--1-col {
	grid-template-columns: 1fr;
}

.psm-post-attribution__row--top.psm-post-attribution__row--2-col,
.psm-post-attribution__row--bottom.psm-post-attribution__row--2-col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psm-post-attribution__row--top.psm-post-attribution__row--3-col {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.psm-post-attribution__row--bottom {
	border-top: 1px solid #e0e0e0;
}

.psm-post-attribution__row--top + .psm-post-attribution__row--bottom {
	border-top: 1px solid #e0e0e0;
}

.psm-post-attribution__col {
	display: flex;
	align-items: center;
	padding: 1.15rem 1.35rem;
	border-right: 1px solid #e0e0e0;
}

.psm-post-attribution__col:last-child {
	border-right: 0;
}

.psm-post-attribution__row--top .psm-post-attribution__col--rating {
	justify-content: center;
}

.psm-post-attribution__row--top .psm-post-attribution__rating {
	align-items: center;
	text-align: center;
}

.psm-post-attribution__row--top .psm-post-attribution__rating .wprm-recipe-rating {
	justify-content: center;
}

.psm-post-attribution__row--bottom .psm-post-attribution__col--published {
	justify-content: flex-start;
}

.psm-post-attribution__row--bottom .psm-post-attribution__col--inspired {
	justify-content: center;
}

.psm-post-attribution__row--bottom .psm-post-attribution__col--inspired .psm-meta-item {
	width: auto;
	max-width: 100%;
}

.psm-person {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
	text-align: left;
}

.psm-person__avatar,
.psm-author-bio__avatar {
	flex-shrink: 0;
}

.psm-person__avatar-img {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.psm-person__content {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.psm-person__label {
	color: #7a7a7a;
	font-size: 0.8rem;
	line-height: 1.3;
}

.psm-person__name {
	color: #222222;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

a.psm-person__name:hover,
a.psm-person__name:focus {
	color: #cc1818;
	text-decoration: underline;
}

.psm-meta-item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	width: 100%;
	min-width: 0;
}

.psm-meta-item__icon {
	flex-shrink: 0;
	line-height: 0;
}

.psm-meta-item__content {
	min-width: 0;
	flex: 1;
}

.psm-meta-item__label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.psm-meta-item__label {
	margin: 0 0 0.2rem;
	color: #222222;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}

.psm-meta-item__value {
	margin: 0;
	color: #575760;
	font-size: 0.92rem;
	line-height: 1.4;
}

.psm-meta-item__link {
	color: #575760;
	font-weight: 600;
	text-decoration: none;
}

.psm-meta-item__link:hover,
.psm-meta-item__link:focus {
	color: #cc1818;
	text-decoration: underline;
}

.psm-tooltip {
	position: relative;
	display: inline-flex;
	flex-shrink: 0;
}

.psm-tooltip__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: #6b6b6b;
	color: #ffffff;
	font-size: 0.72rem;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	cursor: help;
}

.psm-tooltip__trigger:hover,
.psm-tooltip__trigger:focus {
	background-color: #cc1818;
	outline: none;
}

.psm-tooltip__content {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 20;
	width: min(300px, 72vw);
	padding: 0.85rem 1rem;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	background-color: #ffffff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	color: #444444;
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.5;
	opacity: 0;
	pointer-events: none;
	text-align: left;
	text-transform: none;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease;
	visibility: hidden;
	white-space: normal;
}

.psm-tooltip__content::before {
	content: "";
	position: absolute;
	top: -7px;
	right: 10px;
	width: 12px;
	height: 12px;
	border-top: 1px solid #d8d8d8;
	border-left: 1px solid #d8d8d8;
	background-color: #ffffff;
	transform: rotate(45deg);
}

.psm-tooltip:hover .psm-tooltip__content,
.psm-tooltip:focus-within .psm-tooltip__content {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

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

.psm-post-attribution__rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-align: center;
}

.psm-post-attribution__rating-label {
	margin: 0 0 0.45rem;
	color: #222222;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
}

.psm-post-attribution__rating .wprm-recipe-rating {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15rem;
	margin-bottom: 0.35rem;
}

.psm-post-attribution__rating .wprm-rating-star {
	line-height: 1;
	cursor: pointer;
}

.psm-post-attribution__rating-summary {
	margin: 0;
	color: #7a7a7a;
	font-size: 0.82rem;
	line-height: 1.3;
}

.psm-author-bio {
	margin-top: 2rem;
	padding: 1.75rem 1.5rem 1.35rem;
	border: 1px solid #e3e3e3;
	border-radius: 12px;
	background-color: #f2f2f2;
}

.psm-author-bio__inner {
	display: flex;
	align-items: flex-start;
	gap: 1.35rem;
}

.psm-author-bio__avatar img,
.psm-author-bio__avatar .psm-person__avatar-img {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 10px;
	object-fit: cover;
}

.psm-author-bio__content {
	min-width: 0;
}

.psm-author-bio__title {
	margin: 0 0 0.75rem;
	color: #222222;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-transform: uppercase;
}

.psm-author-bio__text {
	color: #575760;
	font-size: 0.95rem;
	line-height: 1.6;
}

.psm-author-bio__text p {
	margin: 0 0 0.75rem;
}

.psm-author-bio__text p:last-child {
	margin-bottom: 0;
}

.psm-author-bio__footer {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid #e0e0e0;
	text-align: center;
}

.psm-author-bio__link {
	color: #222222;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
}

.psm-author-bio__link:hover,
.psm-author-bio__link:focus {
	color: #cc1818;
	text-decoration: underline;
}

@media (max-width: 900px) {
	.psm-post-attribution__row--top.psm-post-attribution__row--3-col,
	.psm-post-attribution__row--top.psm-post-attribution__row--2-col,
	.psm-post-attribution__row--bottom.psm-post-attribution__row--2-col {
		grid-template-columns: 1fr;
	}

	.psm-post-attribution__col {
		border-right: 0;
		border-bottom: 1px solid #e0e0e0;
	}

	.psm-post-attribution__row .psm-post-attribution__col:last-child {
		border-bottom: 0;
	}

	.psm-post-attribution__row--top .psm-post-attribution__rating {
		align-items: center;
		text-align: center;
	}

	.psm-post-attribution__row--top .psm-post-attribution__rating .wprm-recipe-rating {
		justify-content: center;
	}

	.psm-post-attribution__row--bottom .psm-post-attribution__col--inspired {
		justify-content: center;
	}

	.psm-tooltip__content {
		right: auto;
		left: 0;
	}

	.psm-tooltip__content::before {
		right: auto;
		left: 10px;
	}
}

@media (max-width: 640px) {
	.psm-post-attribution__col {
		padding: 1rem;
	}

	.psm-author-bio {
		padding: 1.25rem 1rem 1rem;
	}

	.psm-author-bio__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
