/**
 * InspiredBy global widget foundation.
 *
 * This intentionally styles only shared widget structure. Widget-specific
 * refinements will be added later, after each native block is visually tested.
 */

.inspiredby-widget-foundation-active .widget-area,
.inspiredby-widget-foundation-active #right-sidebar,
.inspiredby-widget-foundation-active #left-sidebar {
	min-width: 0;
}

.inspiredby-widget-foundation-active .widget-area .widget,
.inspiredby-widget-foundation-active #right-sidebar .widget,
.inspiredby-widget-foundation-active #left-sidebar .widget,
.inspiredby-widget {
	background: #fff;
	border: 1px solid #d9dde3;
	border-radius: 7px;
	box-shadow: 0 8px 24px rgba(25, 31, 38, 0.045);
	box-sizing: border-box;
	color: #505861;
	margin: 0 0 22px;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 24px;
}

.inspiredby-widget-foundation-active .widget-area .widget:last-child,
.inspiredby-widget-foundation-active #right-sidebar .widget:last-child,
.inspiredby-widget-foundation-active #left-sidebar .widget:last-child,
.inspiredby-widget:last-child {
	margin-bottom: 0;
}

.inspiredby-widget-foundation-active .widget .widget-title,
.inspiredby-widget-foundation-active .widget .wp-block-heading,
.inspiredby-widget-foundation-active .widget > h1,
.inspiredby-widget-foundation-active .widget > h2,
.inspiredby-widget-foundation-active .widget > h3,
.inspiredby-widget-title {
	border-bottom: 1px solid #edf0f2;
	color: #245f25;
	font-family: inherit;
	font-size: 1rem;
	font-weight: inherit;
	letter-spacing: 0.02em;
	line-height: 1.3;
	margin: 0 0 18px;
	padding: 0 0 13px;
	text-transform: uppercase;
}

.inspiredby-widget-foundation-active .widget p,
.inspiredby-widget-foundation-active .widget li,
.inspiredby-widget-foundation-active .widget label,
.inspiredby-widget-foundation-active .widget input,
.inspiredby-widget-foundation-active .widget select,
.inspiredby-widget-foundation-active .widget textarea,
.inspiredby-widget {
	font-family: inherit;
}

.inspiredby-widget-foundation-active .widget p,
.inspiredby-widget-foundation-active .widget li {
	font-size: 0.92rem;
	line-height: 1.55;
}

.inspiredby-widget-foundation-active .widget p:last-child,
.inspiredby-widget-foundation-active .widget ul:last-child,
.inspiredby-widget-foundation-active .widget ol:last-child {
	margin-bottom: 0;
}

.inspiredby-widget-foundation-active .widget ul,
.inspiredby-widget-foundation-active .widget ol {
	margin-top: 0;
	padding-left: 1.2rem;
}

.inspiredby-widget-foundation-active .widget li + li {
	margin-top: 8px;
}

.inspiredby-widget-foundation-active .widget a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
	transition: color 150ms ease;
}

.inspiredby-widget-foundation-active .widget a:hover,
.inspiredby-widget-foundation-active .widget a:focus-visible {
	color: #42139b;
}

.inspiredby-widget-foundation-active .widget :where(input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="number"], select, textarea) {
	background: #fff;
	border: 2px solid #68717d;
	border-radius: 4px;
	box-shadow: none;
	box-sizing: border-box;
	color: #111;
	max-width: 100%;
	min-height: 44px;
	padding: 9px 11px;
	width: 100%;
}

.inspiredby-widget-foundation-active .widget :where(input, select, textarea):focus {
	border-color: #42139b;
	box-shadow: 0 0 0 3px rgba(66, 19, 155, 0.18);
	outline: 0;
}

.inspiredby-widget-foundation-active .widget :where(button, input[type="button"], input[type="submit"], .wp-element-button) {
	background: #42139b;
	border: 1px solid #42139b;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	min-height: 44px;
	padding: 0.75rem 1rem;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.inspiredby-widget-foundation-active .widget :where(button, input[type="button"], input[type="submit"], .wp-element-button):hover,
.inspiredby-widget-foundation-active .widget :where(button, input[type="button"], input[type="submit"], .wp-element-button):focus-visible {
	background: #2f0d73;
	border-color: #2f0d73;
	color: #fff;
}

@media (max-width: 560px) {
	.inspiredby-widget-foundation-active .widget-area .widget,
	.inspiredby-widget-foundation-active #right-sidebar .widget,
	.inspiredby-widget-foundation-active #left-sidebar .widget,
	.inspiredby-widget {
		padding: 20px;
	}

	.inspiredby-widget-foundation-active .widget .widget-title,
	.inspiredby-widget-foundation-active .widget .wp-block-heading,
	.inspiredby-widget-foundation-active .widget > h1,
	.inspiredby-widget-foundation-active .widget > h2,
	.inspiredby-widget-foundation-active .widget > h3,
	.inspiredby-widget-title {
		font-size: 0.94rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.inspiredby-widget-foundation-active .widget a,
	.inspiredby-widget-foundation-active .widget :where(button, input[type="button"], input[type="submit"], .wp-element-button) {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
 * Targeted native-widget refinements approved after the global visual pass.
 * ---------------------------------------------------------------------- */

/* Widget headings and block labels use the same structural language as the
 * approved Seed sidebar. Search uses a label rather than a normal heading. */
.inspiredby-widget-foundation-active .widget .wp-block-search__label,
.inspiredby-widget-foundation-active .widget.widget_search > form > label {
	border-bottom: 1px solid #edf0f2;
	color: #245f25;
	display: block;
	font-size: 1rem;
	font-weight: inherit;
	letter-spacing: 0.02em;
	line-height: 1.3;
	margin: 0 0 18px;
	padding: 0 0 13px;
	text-transform: uppercase;
	width: 100%;
}

/* Search: keep the heading on its own row and the input/button on one compact
 * row. The legacy Search widget places its label inside the form, while the
 * block Search widget places the label outside its inside-wrapper, so the two
 * structures are handled separately. */
.inspiredby-widget-foundation-active .widget .wp-block-search__inside-wrapper {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: stretch;
	width: 100%;
}

.inspiredby-widget-foundation-active .widget.widget_search form {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: stretch;
	width: 100%;
}

.inspiredby-widget-foundation-active .widget.widget_search form > label {
	grid-column: 1 / -1;
	min-width: 0;
}

.inspiredby-widget-foundation-active .widget .wp-block-search__input,
.inspiredby-widget-foundation-active .widget.widget_search input[type="search"] {
	height: 44px;
	min-height: 44px;
	min-width: 0;
}

.inspiredby-widget-foundation-active .widget .wp-block-search__button,
.inspiredby-widget-foundation-active .widget.widget_search input[type="submit"] {
	height: 44px;
	margin: 0;
	max-width: 110px;
	min-height: 44px;
	white-space: nowrap;
	word-break: normal;
}

/* Tag cloud: equal-weight InspiredBy pills with counts. Font-size values
 * emitted by WordPress are deliberately overridden so popularity does not
 * create a chaotic hierarchy. */
.inspiredby-widget-foundation-active .widget .wp-block-tag-cloud,
.inspiredby-widget-foundation-active .widget .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	line-height: 1.2;
}

.inspiredby-widget-foundation-active .widget .wp-block-tag-cloud a,
.inspiredby-widget-foundation-active .widget .tagcloud a {
	align-items: center;
	background: #f0ecfa;
	border: 1px solid #e4dcf7;
	border-radius: 4px;
	color: #42139b;
	display: inline-flex;
	font-size: 0.76rem !important;
	font-weight: 600;
	gap: 5px;
	line-height: 1.25;
	padding: 5px 8px;
	text-decoration: none;
}

.inspiredby-widget-foundation-active .widget .wp-block-tag-cloud a:hover,
.inspiredby-widget-foundation-active .widget .wp-block-tag-cloud a:focus-visible,
.inspiredby-widget-foundation-active .widget .tagcloud a:hover,
.inspiredby-widget-foundation-active .widget .tagcloud a:focus-visible {
	background: #e7def8;
	color: #2f0d73;
}

.inspiredby-widget-foundation-active .widget .tag-link-count {
	color: #59616a;
	font-size: 0.72rem;
	font-weight: 700;
}

/* Navigation and page-list widgets: remove default bullets and create a calm,
 * scannable hierarchy. Existing menu icons remain intact. */
.inspiredby-widget-foundation-active .widget :where(.wp-block-navigation__container, .wp-block-page-list, .menu, .sub-menu) {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.inspiredby-widget-foundation-active .widget :where(.wp-block-navigation__submenu-container, .children, .sub-menu) {
	border-left: 1px solid #e5e8ec;
	margin: 7px 0 0 9px;
	padding-left: 13px;
}

.inspiredby-widget-foundation-active .widget :where(.wp-block-navigation-item, .page_item, .menu-item) + :where(.wp-block-navigation-item, .page_item, .menu-item) {
	margin-top: 7px;
}

.inspiredby-widget-foundation-active .widget :where(.wp-block-navigation-item__content, .menu a, .wp-block-page-list a) {
	display: inline-flex;
	gap: 7px;
	line-height: 1.4;
}

/* Latest posts, comments, archives and categories: replace generic bullets
 * with divided rows and a clearer text hierarchy. */
.inspiredby-widget-foundation-active .widget :where(.wp-block-latest-posts, .wp-block-latest-comments, .wp-block-archives-list, .wp-block-categories-list) {
	list-style: none;
	margin: 0;
	padding: 0;
}

.inspiredby-widget-foundation-active .widget :where(.wp-block-latest-posts__list > li, .wp-block-latest-comments__comment, .wp-block-archives-list > li, .wp-block-categories-list > li) {
	border-bottom: 1px solid #f0f1f3;
	margin: 0;
	padding: 10px 0;
}

.inspiredby-widget-foundation-active .widget :where(.wp-block-latest-posts__list > li, .wp-block-latest-comments__comment, .wp-block-archives-list > li, .wp-block-categories-list > li):first-child {
	padding-top: 0;
}

.inspiredby-widget-foundation-active .widget :where(.wp-block-latest-posts__list > li, .wp-block-latest-comments__comment, .wp-block-archives-list > li, .wp-block-categories-list > li):last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.inspiredby-widget-foundation-active .widget :where(.wp-block-latest-posts__post-date, .wp-block-latest-comments__comment-date, .wp-block-latest-comments__comment-meta) {
	color: #68717b;
	font-size: 0.78rem;
	line-height: 1.4;
}

/* bbPress widgets: remove the cramped stock-list appearance while keeping the
 * native data and links. This is widget-only polish; full forum styling remains
 * in its own later design phase. */
.inspiredby-widget-foundation-active .widget :where(.bbp-forums-widget, .bbp-replies-widget, .bbp-topics-widget, .bbp-views-widget) {
	list-style: none;
	margin: 0;
	padding: 0;
}

.inspiredby-widget-foundation-active .widget :where(.bbp-forums-widget, .bbp-replies-widget, .bbp-topics-widget, .bbp-views-widget) > li {
	border-bottom: 1px solid #f0f1f3;
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0;
	padding: 11px 0;
}

.inspiredby-widget-foundation-active .widget :where(.bbp-forums-widget, .bbp-replies-widget, .bbp-topics-widget, .bbp-views-widget) > li:first-child {
	padding-top: 0;
}

.inspiredby-widget-foundation-active .widget :where(.bbp-forums-widget, .bbp-replies-widget, .bbp-topics-widget, .bbp-views-widget) > li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.inspiredby-widget-foundation-active .widget :where(.bbp-author-avatar, .bbp-topic-freshness-author) img.avatar {
	border-radius: 50%;
	height: 22px;
	margin: 0 5px 0 0;
	vertical-align: middle;
	width: 22px;
}

.inspiredby-widget-foundation-active .widget :where(.bbp-forum-title, .bbp-topic-permalink, .bbp-reply-topic-title) {
	font-weight: 600;
}

.inspiredby-widget-foundation-active .widget :where(.bbp-topic-meta, .bbp-reply-meta, .bbp-topic-freshness) {
	color: #68717b;
	font-size: 0.78rem;
	line-height: 1.4;
}

/* Social Icons are intentionally presented as a compact utility row rather
 * than a large empty-looking card. */
.inspiredby-widget-foundation-active .widget .wp-block-social-links {
	gap: 10px;
	margin: 0;
}

.inspiredby-widget-foundation-active .widget .wp-social-link {
	margin: 0;
}

@media (max-width: 430px) {
	.inspiredby-widget-foundation-active .widget .wp-block-search__inside-wrapper,
	.inspiredby-widget-foundation-active .widget.widget_search form {
		grid-template-columns: 1fr;
	}

	.inspiredby-widget-foundation-active .widget .wp-block-search__button,
	.inspiredby-widget-foundation-active .widget.widget_search input[type="submit"] {
		max-width: none;
		width: 100%;
	}
}

/* v0.20.7 consistency refinements. */
.inspiredby-widget-foundation-active .widget .wp-block-search__button,
.inspiredby-widget-foundation-active .widget.widget_search input[type="submit"] {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	line-height: 1;
	padding-bottom: 0;
	padding-top: 0;
	vertical-align: middle;
}

.inspiredby-widget-foundation-active .widget .inspiredby-widget-generated-title {
	border-bottom: 1px solid #edf0f2;
	color: #245f25;
	font-family: inherit;
	font-size: 1rem;
	font-weight: inherit;
	letter-spacing: 0.02em;
	line-height: 1.3;
	margin: 0 0 18px;
	padding: 0 0 13px;
	text-transform: uppercase;
}

.inspiredby-widget-foundation-active .widget .inspiredby-widget-footer {
	border-top: 1px solid #edf0f2;
	margin-top: 16px;
	padding-top: 14px;
}

.inspiredby-widget-foundation-active .widget .inspiredby-widget-more {
	align-items: center;
	background: #f0ecfa;
	border: 1px solid #e4dcf7;
	border-radius: 999px;
	color: #42139b;
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 7px 11px;
	text-decoration: none;
}

.inspiredby-widget-foundation-active .widget .inspiredby-widget-more:hover,
.inspiredby-widget-foundation-active .widget .inspiredby-widget-more:focus-visible {
	background: #e7def8;
	color: #2f0d73;
}

.inspiredby-tag-directory {
	color: #505861;
}

.inspiredby-tag-directory-intro {
	font-size: 1.08rem;
	line-height: 1.75;
	margin: 0 0 24px;
}

.inspiredby-tag-directory-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.inspiredby-tag-directory-pill {
	align-items: center;
	background: #f0ecfa;
	border: 1px solid #e4dcf7;
	border-radius: 4px;
	color: #42139b;
	display: inline-flex;
	font-size: 0.86rem;
	font-weight: 600;
	gap: 7px;
	line-height: 1.25;
	padding: 7px 10px;
	text-decoration: none;
}

.inspiredby-tag-directory-pill:hover,
.inspiredby-tag-directory-pill:focus-visible {
	background: #e7def8;
	color: #2f0d73;
}

.inspiredby-tag-directory-count {
	color: #59616a;
	font-size: 0.76rem;
	font-weight: 700;
}

/* InspiredBy Discovery widget. */
.inspiredby-discovery-widget-results {
	display: grid;
	gap: 14px;
}

.inspiredby-discovery-widget-list-item {
	align-items: start;
	border-bottom: 1px solid #edf0f2;
	display: grid;
	gap: 12px;
	grid-template-columns: 76px minmax(0, 1fr);
	padding-bottom: 14px;
}

.inspiredby-discovery-widget-list-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.inspiredby-discovery-widget-thumb,
.inspiredby-discovery-widget-thumb img {
	aspect-ratio: 16 / 9;
	display: block;
	width: 100%;
}

.inspiredby-discovery-widget-thumb img {
	border-radius: 4px;
	object-fit: cover;
}

.inspiredby-discovery-widget-list-body h3 {
	font-size: 1rem;
	line-height: 1.3;
	margin: 3px 0 5px;
}

.inspiredby-discovery-widget-type {
	color: #245f25;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.inspiredby-discovery-widget-author,
.inspiredby-discovery-widget-stat {
	color: #59616a;
	font-size: 0.78rem !important;
	line-height: 1.4 !important;
	margin: 3px 0 0;
}

.inspiredby-discovery-widget .inspiredby-widget-footer { margin-top: 18px; }

/* v0.21.7 — final sidebar/discovery cleanup. */
.inspiredby-widget-foundation-active {
	--inspiredby-sidebar-link: #1e73be;
	--inspiredby-sidebar-link-hover: #155a8a;
}

/* One consistent link language for ordinary sidebar content. Component links
 * such as buttons, tags and social icons retain their own treatments. */
.inspiredby-widget-foundation-active .widget a:not(.wp-element-button):not(.wp-block-button__link):not(.inspiredby-widget-more):not(.tag-cloud-link):not(.wp-social-link-anchor),
.inspiredby-widget-foundation-active .widget a:not(.wp-element-button):not(.wp-block-button__link):not(.inspiredby-widget-more):not(.tag-cloud-link):not(.wp-social-link-anchor):visited {
	color: var(--inspiredby-sidebar-link);
	text-decoration: none;
}

.inspiredby-widget-foundation-active .widget a:not(.wp-element-button):not(.wp-block-button__link):not(.inspiredby-widget-more):not(.tag-cloud-link):not(.wp-social-link-anchor):hover,
.inspiredby-widget-foundation-active .widget a:not(.wp-element-button):not(.wp-block-button__link):not(.inspiredby-widget-more):not(.tag-cloud-link):not(.wp-social-link-anchor):focus-visible {
	color: var(--inspiredby-sidebar-link-hover);
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

/* Discovery Compact Card is the Seed sidebar child-card component, copied
 * here only because seed-template.css is intentionally not loaded globally. */
.inspiredby-widget-foundation-active .inspiredby-discovery-widget-results.inspiredby-discovery-widget-card {
	gap: 16px;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card {
	background: #fff;
	border: 1px solid #e2e5e9;
	border-radius: 7px;
	box-shadow: 0 5px 16px rgba(25, 31, 38, 0.04);
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	overflow: hidden;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card:hover,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card:focus-within {
	border-color: #c8ced5;
	box-shadow: 0 10px 24px rgba(25, 31, 38, 0.08);
	transform: translateY(-1px);
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-image {
	background: #eef0f3;
	display: block;
	overflow: hidden;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-image,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-image img,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-placeholder {
	aspect-ratio: auto;
	display: block;
	height: 100%;
	min-height: 126px;
	object-fit: cover;
	width: 100%;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-image img {
	transition: transform 220ms ease;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card:hover .inspiredby-relationship-image img,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card:focus-within .inspiredby-relationship-image img {
	transform: scale(1.015);
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-body {
	min-width: 0;
	padding: 14px;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-type {
	align-items: center;
	color: #42139b;
	display: flex;
	font-size: 0.72rem;
	font-weight: 700;
	gap: 4px;
	letter-spacing: 0.05em;
	line-height: 1.2;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-type .inspiredby-icon {
	height: 0.9rem;
	width: 0.9rem;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card h3 {
	font-size: 1.08rem;
	line-height: 1.25;
	margin: 0 0 9px;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card h3 a,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card h3 a:visited,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-meta a,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-meta a:visited {
	color: var(--inspiredby-sidebar-link);
	text-decoration: none;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card h3 a {
	font-weight: 600;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card h3 a:hover,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card h3 a:focus-visible,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-meta a:hover,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-meta a:focus-visible {
	color: var(--inspiredby-sidebar-link-hover);
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card p {
	color: #505861;
	font-size: 0.86rem;
	line-height: 1.55;
	margin: 0 0 12px;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-meta {
	color: #59616a;
	font-size: 0.84rem;
	line-height: 1.4;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-discovery-widget-stat {
	border-top: 1px solid #edf0f2;
	color: #68717b;
	font-size: 0.78rem !important;
	line-height: 1.4 !important;
	margin: 10px 0 0 !important;
	padding-top: 9px;
}

/* Compact List remains available, using the same title/link/meta language. */
.inspiredby-widget-foundation-active .inspiredby-discovery-widget-list-body h3 a,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget-list-body h3 a:visited {
	color: var(--inspiredby-sidebar-link);
	font-weight: 600;
	text-decoration: none;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget-list-body h3 a:hover,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget-list-body h3 a:focus-visible {
	color: var(--inspiredby-sidebar-link-hover);
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

@media (max-width: 420px) {
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card {
		grid-template-columns: 1fr;
	}
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-image,
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-image img,
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-placeholder {
		aspect-ratio: 16 / 9;
		height: auto;
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card,
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-image img {
		transition: none;
	}
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card:hover,
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card:focus-within,
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card:hover .inspiredby-relationship-image img,
	.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-relationship-card:focus-within .inspiredby-relationship-image img {
		transform: none;
	}
}


/* v0.21.8 — Discovery Compact Card image correction.
 * Keep the card vertically stacked and use the same 16:9 image treatment
 * as the approved Seed sidebar cards. */
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-discovery-widget-card.inspiredby-relationship-card {
	display: block;
	grid-template-columns: none;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-discovery-widget-card .inspiredby-relationship-image {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	min-height: 0;
	overflow: hidden;
	width: 100%;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-discovery-widget-card .inspiredby-relationship-image img,
.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-discovery-widget-card .inspiredby-relationship-placeholder {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	max-width: 100%;
	min-height: 0;
	object-fit: cover;
	width: 100%;
}

.inspiredby-widget-foundation-active .inspiredby-discovery-widget .inspiredby-discovery-widget-card .inspiredby-relationship-body {
	display: block;
	min-height: 0;
	padding: 16px;
}

/* Normalize block-widget group wrappers. Recent Posts and Recent Comments are
 * commonly inserted as Group blocks containing a heading plus the native list.
 * Theme constrained-layout rules can otherwise center that inner group, add
 * extra width limits, and create the tall, blocky presentation seen in both
 * archive and page sidebars. The outer widget card remains unchanged. */
.inspiredby-widget-foundation-active .widget.widget_block > .wp-block-group,
.inspiredby-widget-foundation-active .widget.widget_block > .wp-block-group > .wp-block-group__inner-container {
	box-sizing: border-box;
	margin: 0;
	max-width: none;
	min-height: 0;
	padding: 0;
	width: 100%;
}

.inspiredby-widget-foundation-active .widget.widget_block > .wp-block-group.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.inspiredby-widget-foundation-active .widget.widget_block > .wp-block-group > .wp-block-group__inner-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

.inspiredby-widget-foundation-active .widget.widget_block > .wp-block-group > :first-child,
.inspiredby-widget-foundation-active .widget.widget_block > .wp-block-group > .wp-block-group__inner-container > :first-child {
	margin-top: 0;
}

.inspiredby-widget-foundation-active .widget.widget_block > .wp-block-group > :last-child,
.inspiredby-widget-foundation-active .widget.widget_block > .wp-block-group > .wp-block-group__inner-container > :last-child {
	margin-bottom: 0;
}

