/*
Theme Name: Twenty Twenty-Five_Ayappe Lab
Theme URI: 
Author: Ayappe
Author URI: 
Description: 
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 2.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: twenty-twenty-five_ayappe-lab
Tags: 
*/

/* Blog home: constrain every section at the page-level wrapper. */
.ayappe-blog-home {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--wp--custom--layout--page-width);
	width: 100%;
}

.ayappe-footer-navigation {
	font-size: 1rem;
}

.ayappe-footer-logo {
	margin-bottom: 0 !important;
}

.ayappe-footer-logo + .wp-block-group {
	margin-block-start: 0.5rem !important;
}

.ayappe-footer-logo .custom-logo {
	display: block;
	height: auto;
	image-rendering: pixelated;
	width: 96px;
}

.ayappe-header-brand {
	column-gap: 0.25rem;
	flex: 0 0 auto;
}

.ayappe-header-logo {
	flex: 0 0 48px;
	margin: 0 !important;
}

.ayappe-header-logo .custom-logo {
	display: block;
	height: 48px;
	image-rendering: pixelated;
	object-fit: contain;
	width: 48px;
}

.ayappe-footer-navigation .wp-block-navigation__container {
	column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
	row-gap: 0.75rem;
}

.ayappe-header-actions .wp-block-navigation-item,
.ayappe-footer-navigation .wp-block-navigation-item,
.ayappe-header-actions .wp-block-navigation-item__content,
.ayappe-footer-navigation .wp-block-navigation-item__content {
	font-size: 1rem !important;
}

.ayappe-header-actions .wp-block-navigation-item__content,
.ayappe-footer-navigation .wp-block-navigation-item__content {
	border-radius: var(--wp--custom--radius--small);
	display: block;
	font-weight: 600;
	line-height: 1.5;
	padding: 0.45rem 0.7rem;
	text-decoration: none !important;
	transition: background-color var(--wp--custom--motion--fast);
}

.ayappe-header-actions .wp-block-navigation-item__content:hover,
.ayappe-footer-navigation .wp-block-navigation-item__content:hover,
.ayappe-header-actions .wp-block-navigation-item__content:focus-visible,
.ayappe-footer-navigation .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--accent-2);
	text-decoration: none !important;
}

.ayappe-header-actions .wp-block-navigation-item__content:focus-visible,
.ayappe-footer-navigation .wp-block-navigation-item__content:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 2px;
}

.ayappe-footer-copyright {
	color: color-mix(in srgb, var(--wp--preset--color--accent-4) 90%, var(--wp--preset--color--base));
	font-size: 0.75rem;
	line-height: 1.7;
}

.ayappe-custom-part-heading {
	font-size: 1.25rem !important;
	margin-bottom: 1rem;
}

.ayappe-custom-part-index {
	gap: clamp(1.5rem, 4vw, 3rem);
}

.ayappe-custom-part-index .wp-block-categories-list,
.ayappe-custom-part-index .wp-block-archives-list {
	display: grid;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ayappe-custom-part-index :is(.wp-block-categories-list, .wp-block-archives-list) > li {
	align-items: center;
	border-radius: var(--wp--custom--radius--small);
	display: flex;
	font-size: 0.875rem;
	gap: 0.35rem;
	justify-content: flex-start;
	line-height: 1.4;
	margin: 0;
	max-width: 100%;
	padding: 0.4rem 0.5rem;
	transition: background-color var(--wp--custom--motion--fast);
	width: fit-content;
}

.ayappe-tag-index {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
}

.ayappe-tag-index > a {
	align-items: center;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 6%, var(--wp--preset--color--base));
	border-radius: var(--wp--custom--radius--small);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	padding: 0.45rem 0.65rem;
	text-decoration: none;
	transition: background-color var(--wp--custom--motion--fast);
}

.ayappe-custom-part-index :is(.wp-block-categories-list, .wp-block-archives-list) > li:hover,
.ayappe-custom-part-index :is(.wp-block-categories-list, .wp-block-archives-list) > li:focus-within,
.ayappe-tag-index > a:hover,
.ayappe-tag-index > a:focus-visible {
	background: var(--wp--preset--color--accent-2);
}

.ayappe-tag-index > a:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 2px;
}

.ayappe-tag-index-more {
	margin-top: 0.75rem;
}

.ayappe-tag-index-more > summary {
	cursor: pointer;
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 600;
	gap: 0.5rem;
	list-style: none;
	padding: 0.2rem 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.ayappe-tag-index-more > summary::-webkit-details-marker {
	display: none;
}

.ayappe-tag-index-more > summary::after {
	content: "+";
}

.ayappe-tag-index-more[open] > summary::after {
	content: "−";
}

.ayappe-tag-index-more > summary:hover,
.ayappe-tag-index-more > summary:focus-visible {
	text-decoration-thickness: 2px;
}

.ayappe-tag-index-more > summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 2px;
}

.ayappe-tag-index--more {
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 3%, var(--wp--preset--color--base));
	border-radius: var(--wp--custom--radius--small);
	box-sizing: border-box;
	max-height: 22rem;
	margin-top: 0.5rem;
	overflow-y: auto;
	padding: 0.75rem;
	scrollbar-gutter: stable;
}

.ayappe-custom-part-index :is(.wp-block-categories-list, .wp-block-archives-list) > li > a {
	font-weight: 600;
	text-decoration: none;
}

.ayappe-custom-part-index :is(.wp-block-categories-list, .wp-block-archives-list) > li > a:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 2px;
}

.ayappe-custom-part-search .wp-block-search__inside-wrapper {
	align-items: center;
	gap: 0.75rem;
}

.ayappe-custom-part-search .wp-block-search__input {
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	border-radius: 999px;
	box-sizing: border-box;
	font-size: 1rem;
	line-height: 1.5;
	min-height: 44px;
	min-width: 0;
	padding: 0.5rem 1rem;
}

.ayappe-custom-part-search .wp-block-search__button {
	align-items: center;
	border-radius: 50%;
	display: flex;
	flex: 0 0 44px;
	height: 44px;
	justify-content: center;
	margin-left: 0;
	min-width: 44px;
	padding: 0;
	width: 44px;
}

.ayappe-custom-part-search .wp-block-search__button svg {
	height: 18px;
	min-height: 18px;
	min-width: 18px;
	width: 18px;
}

.ayappe-header-site-title {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 !important;
}

.ayappe-header-site-title a,
.ayappe-header-site-title a:hover,
.ayappe-header-site-title a:focus,
.ayappe-footer-site-title a,
.ayappe-footer-site-title a:hover,
.ayappe-footer-site-title a:focus {
	text-decoration: none !important;
}

/* Front page: a calm laboratory-style landing page with a small dose of humor. */
.ayappe-front-page {
	margin: 0;
	max-width: none;
	padding: 0;
}

.ayappe-home-hero {
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 12%, var(--wp--preset--color--base));
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	border-top: 1px solid var(--wp--preset--color--accent-6);
	padding: clamp(2.5rem, 5vw, 4rem) max(1.5rem, calc((100vw - 1200px) / 2));
}

.ayappe-home-hero__inner {
	display: block;
	margin: 0 auto;
	max-width: var(--wp--custom--layout--page-width);
}

.ayappe-home-hero__copy {
	margin: 0;
	max-width: var(--wp--custom--layout--page-width);
}

.ayappe-home-hero__title {
	font-size: clamp(2.75rem, 5vw, 4rem) !important;
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.95;
	margin: 0;
}

.ayappe-home-hero__lead {
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	font-weight: 700;
	line-height: 1.5;
	margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0.875rem;
}

.ayappe-home-hero__description {
	font-size: 1rem;
	line-height: 1.8;
	margin: 0;
}

.ayappe-home-portals {
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	padding: clamp(3rem, 5vw, 4rem) max(1.5rem, calc((100vw - 1200px) / 2));
	width: 100%;
}

.ayappe-home-portals__header {
	margin: 0 auto clamp(0.75rem, 1.5vw, 1rem);
	max-width: var(--wp--custom--layout--page-width);
}

.ayappe-home-portals__title {
	font-size: clamp(1.5rem, 2vw, 1.875rem) !important;
	line-height: 1.3;
	margin: 0;
}

.ayappe-home-portals__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-inline: auto;
	max-width: var(--wp--custom--layout--page-width);
}

.ayappe-home-portal {
	border: 1px solid var(--wp--preset--color--accent-6);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	margin: 0;
	min-height: 200px;
	padding: clamp(1.25rem, 2vw, 1.75rem);
	position: relative;
	transition: background-color var(--wp--custom--motion--fast), border-color var(--wp--custom--motion--fast), transform var(--wp--custom--motion--fast);
}

.ayappe-home-portal:has(.ayappe-home-portal__title a:hover),
.ayappe-home-portal:has(.ayappe-home-portal__title a:focus-visible) {
	background: var(--wp--preset--color--accent-2);
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 24%, transparent);
	transform: translateY(-2px);
}

.ayappe-home-portal:has(.ayappe-home-portal__title a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 3px;
}

.ayappe-home-portal__title {
	font-size: clamp(1.375rem, 2vw, 1.75rem) !important;
	line-height: 1.2;
	margin: 0 0 0.875rem;
}

.ayappe-home-portal__title a {
	color: inherit;
	text-decoration: none;
}

.ayappe-home-portal__title a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

.ayappe-home-portal__description {
	font-size: 0.9375rem;
	line-height: 1.8;
	margin: 0;
	text-wrap: wrap;
}

.ayappe-home-portal--exhibition .ayappe-home-portal__title {
	padding-right: 3.5rem;
}

.ayappe-home-portal:hover,
.ayappe-home-portal:focus-within {
	z-index: 10;
}

@media (max-width: 781px) {
	.ayappe-home-hero {
		padding: 2.5rem var(--wp--preset--spacing--50);
	}

	.ayappe-home-hero__title {
		font-size: clamp(2.5rem, 11vw, 3.25rem) !important;
	}

	.ayappe-home-portals {
		padding: 3rem var(--wp--preset--spacing--50);
	}

	.ayappe-home-portals__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ayappe-home-portal {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ayappe-home-portal,
	.ayappe-home-roadmap-popover__trigger {
		transition: none;
	}
}

/* Archive list: keep the featured image on the left on wider screens. */
.ayappe-archive-item {
	display: grid !important;
	grid-template-columns: 260px minmax(0, 1fr);
	align-items: center;
	column-gap: clamp(1.5rem, 4vw, 3rem);
}

/* Keep every journal index on the same measure as the Blog home. */
.ayappe-journal-index,
body.archive main.wp-block-group,
body.search main.wp-block-group {
	box-sizing: border-box;
	margin-left: auto !important;
	margin-right: auto !important;
	width: min(100%, var(--wp--custom--layout--page-width));
}

/* Keep templates previously saved in the Site Editor consistent with theme files. */
body.archive main.wp-block-group > .alignwide,
body.search main.wp-block-group > .alignwide {
	max-width: 100%;
	width: 100%;
}

body.archive main.wp-block-group > .wp-block-separator,
body.search main.wp-block-group > .wp-block-separator {
	display: none;
}

.ayappe-archive-title,
.ayappe-search-title,
.ayappe-single-title,
.ayappe-page-title,
.ayappe-blog-title {
	font-size: clamp(1.75rem, 2.3vw, 2rem) !important;
	line-height: 1.4;
}

.ayappe-archive-title {
	max-width: 100%;
	overflow-wrap: anywhere;
	white-space: normal;
}

.ayappe-single-title,
.ayappe-page-title {
	overflow-wrap: anywhere;
	word-break: normal;
}

.ayappe-page-title {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--wp--custom--layout--page-width);
	width: 100%;
}

.ayappe-single-title {
	margin-bottom: 2rem !important;
}

.ayappe-single-metadata,
.ayappe-single-metadata p,
.ayappe-single-metadata .wp-block-post-date,
.ayappe-single-metadata .wp-block-post-terms,
.ayappe-single-metadata a {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
}

.ayappe-single-metadata p,
.ayappe-single-metadata .wp-block-post-date,
.ayappe-single-metadata .wp-block-post-terms {
	margin-bottom: 0;
	margin-top: 0;
}

/* Fixed pages: keep body copy consistent with post body copy. */
.ayappe-page-main {
	box-sizing: border-box;
	margin-block-start: 0 !important;
	padding-top: clamp(3rem, 6vw, 5rem);
}

.ayappe-page-shell {
	padding-top: 0 !important;
}

.ayappe-page-content,
.ayappe-page-content .has-medium-font-size {
	font-size: 1rem !important;
}

.ayappe-page-content {
	--wp--style--global--content-size: var(--wp--custom--layout--page-width);
}

/*
 * The parent theme applies `text-wrap: pretty` to every paragraph. That
 * intentionally moves words and Japanese phrases to the next line to avoid
 * widows, but it also leaves a conspicuously ragged right edge on narrow
 * screens. Body copy should use the browser's normal line wrapping instead.
 */
.wp-block-post-content p,
.ayappe-page-content p {
	text-wrap: wrap;
}

/* Large Cocoon-compatible font utilities need their own compact line height. */
:is(.fz-24px, .fz-28px) {
	line-height: 1.5;
}

:is(.fz-32px, .fz-36px) {
	line-height: 1.4;
}

:is(.fz-40px, .fz-44px, .fz-48px) {
	line-height: 1.3;
}

/* Keep ordinary content lists close to the body-copy edge. */
:is(.wp-block-post-content, .ayappe-page-content) :is(ul, ol):not(.has-background) {
	padding-inline-start: 1.5rem;
}

:is(.wp-block-post-content, .ayappe-page-content) :is(ul, ol):not(.has-background) :is(ul, ol) {
	padding-inline-start: 1.25rem;
}

/* About: layout only; decoration is intentionally left to the page content. */
.ayappe-about-page {
	margin-block-start: 0;
	padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.ayappe-about-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin-inline: auto;
	max-width: var(--wp--custom--layout--page-width);
	row-gap: 0;
}

.ayappe-about-title {
	align-self: start;
	grid-column: 1;
	grid-row: 1;
	margin: 0 0 1rem !important;
	text-align: left;
	width: 100%;
}

.ayappe-about-content {
	display: contents;
}

.ayappe-about-content > .wp-block-group {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--wp--custom--layout--page-width);
}

.ayappe-about-content > .wp-block-group:first-child {
	grid-column: 1;
	grid-row: 2;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}

.ayappe-about-content > .wp-block-group:first-child > p {
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: left;
	width: 100%;
}

.ayappe-about-content > .wp-block-group:first-child > p:first-child {
	margin-top: 0;
}

.ayappe-about-content > .wp-block-group:first-child > p:first-child > br:first-child {
	display: none;
}

.ayappe-about-statement {
	font-size: 1.25rem !important;
	line-height: 1.5;
	margin-bottom: 0;
	margin-top: clamp(2rem, 5vw, 3rem) !important;
}

.ayappe-about-content > .wp-block-group:nth-child(2) {
	column-gap: clamp(1.25rem, 3vw, 2rem);
	display: grid;
	grid-column: 1;
	grid-row: 3;
	grid-template-columns: 10rem minmax(0, 1fr);
	margin-top: clamp(3rem, 7vw, 5rem) !important;
	padding: 0 !important;
	row-gap: 1.25rem;
}

.ayappe-about-content > .wp-block-group:nth-child(2) > h2 {
	grid-column: 1;
	grid-row: 1 / span 8;
	margin: 0 !important;
	text-align: left;
	width: 100%;
}

.ayappe-about-content > .wp-block-group:nth-child(2) > p {
	grid-column: 2;
	margin-bottom: 0;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: 0;
	text-align: left;
	width: 100%;
}

.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group {
	align-items: start;
	background: var(--wp--preset--color--accent-2);
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 1fr);
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: clamp(2rem, 5vw, 3.5rem);
	max-width: none !important;
	padding: clamp(1.5rem, 4vw, 2.25rem) !important;
	row-gap: 1rem;
	width: 100%;
}

.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group > h2 {
	grid-column: 1;
	grid-row: 1;
	margin: 0 !important;
	text-align: left;
	width: 100%;
}

.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group > p {
	grid-column: 1;
	grid-row: 2;
	margin: 0;
	margin-left: 0 !important;
	margin-right: 0 !important;
	overflow-wrap: anywhere;
	text-align: left;
	width: 100%;
}

.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group a {
	align-items: center;
	color: inherit;
	display: inline-flex;
	font-weight: 700;
	gap: 0.35rem;
	text-decoration-line: underline;
	text-decoration-thickness: 0.12em;
	text-underline-offset: 0.25em;
	transition: transform var(--wp--custom--motion--fast);
}

.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group a::after {
	content: "↗";
	display: inline-block;
	font-size: 0.9em;
}

.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group a:hover,
.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group a:focus-visible {
	transform: translate(0.12rem, -0.12rem);
}

.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group a:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group a {
		transition: none;
	}
}

/* 404: a quiet way back into the site. */
.ayappe-404-page {
	box-sizing: border-box;
	margin-block-start: 0;
	padding: clamp(2.5rem, 6vw, 5rem) var(--wp--preset--spacing--50);
}

.ayappe-404-shell {
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 6%, var(--wp--preset--color--base));
	box-sizing: border-box;
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	grid-template-columns: 7rem minmax(0, 1fr);
	margin-inline: auto;
	max-width: 800px;
	padding: clamp(1.75rem, 4vw, 3rem);
}

.ayappe-404-code {
	align-self: start;
	color: var(--wp--preset--color--accent-4);
	font-size: clamp(3.5rem, 6vw, 4.5rem);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 0.9;
	margin: 0;
}

.ayappe-404-content {
	align-self: center;
	margin: 0;
	max-width: 38rem;
}

.ayappe-404-title {
	margin: 0;
}

.ayappe-404-description {
	margin: 0.75rem 0 0;
}

.ayappe-404-search {
	margin-top: 1.5rem;
	max-width: 32rem;
}

.ayappe-404-actions {
	gap: 0.75rem;
	margin-top: 1rem;
}

.ayappe-404-action .wp-block-button__link {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--small);
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast);
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.5;
	padding: 0.4rem 0.65rem;
	text-align: center;
	text-decoration: none;
	transition: background-color var(--wp--custom--motion--fast), border-color var(--wp--custom--motion--fast);
	width: 4.5rem;
}

.ayappe-404-action .wp-block-button__link:hover,
.ayappe-404-action .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--accent-2);
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 24%, transparent);
}

.ayappe-404-action .wp-block-button__link:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 3px;
}

@media (max-width: 781px) {
	.ayappe-404-page {
		padding-block: 3rem;
	}

	.ayappe-404-shell {
		gap: 1.25rem;
		grid-template-columns: minmax(0, 1fr);
		padding: 2rem;
	}

	.ayappe-404-code {
		font-size: 3rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ayappe-404-action .wp-block-button__link {
		transition: none;
	}
}

@media (max-width: 781px) {
	.ayappe-about-page {
		padding-bottom: 3rem;
		padding-top: 3rem;
	}

	.ayappe-about-content > .wp-block-group:nth-child(2) {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 3rem !important;
	}

	.ayappe-about-content > .wp-block-group:nth-child(2) > h2,
	.ayappe-about-content > .wp-block-group:nth-child(2) > p,
	.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group,
	.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group > h2,
	.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group > p {
		grid-column: 1;
		grid-row: auto;
	}

	.ayappe-about-content > .wp-block-group:nth-child(2) > h2,
	.ayappe-about-content > .wp-block-group:nth-child(2) > .wp-block-group > h2 {
		margin-bottom: 0.5rem;
	}
}

/* Home: compact Exhibition roadmap button and popover. */
.ayappe-home-roadmap-popover {
	margin: 0 !important;
	padding: 0 !important;
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
	z-index: 3;
}

.ayappe-home-roadmap-popover__trigger {
	appearance: none;
	align-items: center;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 6%, var(--wp--preset--color--base));
	border: 1px solid transparent;
	border-radius: 50%;
	box-sizing: border-box;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 62%, transparent);
	cursor: pointer;
	display: flex;
	height: 32px;
	justify-content: center;
	padding: 0;
	touch-action: manipulation;
	transition: background-color var(--wp--custom--motion--fast), border-color var(--wp--custom--motion--fast);
	width: 32px;
}

.ayappe-home-roadmap-popover__trigger::-webkit-details-marker {
	display: none;
}

.ayappe-home-roadmap-popover__trigger::marker {
	content: "";
}

.ayappe-home-roadmap-popover__icon {
	display: block;
	height: 18px;
	pointer-events: none;
	width: 18px;
}

.ayappe-home-roadmap-popover__trigger:focus-visible {
	background: var(--wp--preset--color--accent-2);
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 24%, transparent);
	color: var(--wp--preset--color--contrast);
}

.ayappe-home-roadmap-popover__trigger:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 2px;
}

.ayappe-home-roadmap-popover__panel {
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 6%, var(--wp--preset--color--base));
	border: 1px solid var(--wp--preset--color--accent-6);
	box-shadow: 0 12px 28px color-mix(in srgb, var(--wp--preset--color--contrast) 14%, transparent);
	box-sizing: border-box;
	display: none;
	padding: 0.75rem;
	position: absolute;
	right: 0;
	top: 100%;
	width: min(22rem, calc(100vw - 3rem));
	z-index: 4;
}

.ayappe-home-roadmap-popover:hover > .ayappe-home-roadmap-popover__panel,
.ayappe-home-roadmap-popover:focus-within > .ayappe-home-roadmap-popover__panel,
.ayappe-home-roadmap-popover[open] > .ayappe-home-roadmap-popover__panel {
	display: block;
}

.ayappe-home-roadmap-popover__title {
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 0.625rem;
}

.ayappe-home-roadmap-popover .wp-block-list {
	display: grid;
	gap: 0.375rem;
	list-style: none;
	margin: 0;
	max-height: min(65vh, 28rem);
	overflow-y: auto;
	padding: 0 0 0 1rem;
	position: relative;
}

.ayappe-home-roadmap-popover .wp-block-list::before {
	background: var(--wp--preset--color--accent-6);
	bottom: 0.75rem;
	content: "";
	left: 0.3125rem;
	position: absolute;
	top: 0.75rem;
	width: 1px;
}

.ayappe-home-roadmap-popover .wp-block-list > li {
	background: var(--wp--preset--color--base);
	font-size: 0.8125rem;
	line-height: 1.55;
	margin: 0;
	min-width: 0;
	padding: 0.625rem 0.75rem 0.6875rem;
	position: relative;
}

.ayappe-home-roadmap-popover .wp-block-list > li::before {
	background: var(--wp--preset--color--base);
	border: 1.5px solid var(--wp--preset--color--contrast);
	box-sizing: border-box;
	content: "";
	height: 0.625rem;
	left: -1rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 0.625rem;
}

.ayappe-home-roadmap-popover .wp-block-list > li:first-child {
	background: var(--wp--preset--color--accent-2);
}

.ayappe-home-roadmap-popover .wp-block-list > li:first-child::before {
	background: var(--wp--preset--color--contrast);
}

.ayappe-home-roadmap-popover .wp-block-list > li > strong:first-child {
	display: block;
	margin-bottom: 0.125rem;
}

.ayappe-home-roadmap-popover .wp-block-list > li > br {
	display: none;
}

@media (max-width: 600px) {
	.ayappe-home-roadmap-popover__panel {
		width: min(19rem, calc(100vw - var(--wp--preset--spacing--50) - var(--wp--preset--spacing--50) - 1.5rem));
	}
}

.ayappe-post-navigation {
	display: grid !important;
	gap: clamp(1.5rem, 5vw, 4rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: var(--wp--preset--spacing--50);
	margin-top: var(--wp--preset--spacing--50);
}

.ayappe-post-navigation__item {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	min-width: 0;
	text-align: left;
}

.ayappe-post-navigation__item h6 {
	margin: 0 0 0.5rem;
	text-align: inherit;
	width: 100%;
}

.ayappe-post-navigation__item .wp-block-post-navigation-link {
	display: block;
	line-height: 1.6;
	overflow-wrap: anywhere;
	text-align: inherit;
	width: 100%;
}

.ayappe-post-navigation__item--next {
	align-items: flex-end;
	grid-column: 2;
	text-align: right;
}

@media (max-width: 700px) {
	.wp-block-post-content {
		font-size: 1rem;
	}

	.ayappe-header-site-title {
		font-size: 1.25rem;
	}

	.ayappe-archive-title,
	.ayappe-search-title,
	.ayappe-single-title,
	.ayappe-page-title,
	.ayappe-blog-title {
		font-size: clamp(1.5rem, 7vw, 1.75rem) !important;
	}

	.ayappe-post-navigation {
		gap: 1.5rem;
		grid-template-columns: minmax(0, 1fr);
	}

	.ayappe-post-navigation__item--next {
		align-items: flex-start;
		grid-column: 1;
		text-align: left;
	}

	.ayappe-footer-navigation,
	.ayappe-footer-navigation .wp-block-navigation__container {
		justify-content: flex-start !important;
	}
}

.ayappe-header-actions {
	column-gap: 2rem !important;
	position: relative;
}

.ayappe-header-search {
	position: relative;
	z-index: 20;
}

.ayappe-header-search > summary {
	align-items: center;
	background: transparent;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	border-radius: 50%;
	box-sizing: border-box;
	color: inherit;
	cursor: pointer;
	display: flex;
	height: 36px;
	justify-content: center;
	list-style: none;
	transition: background-color var(--wp--custom--motion--fast), border-color var(--wp--custom--motion--fast);
	width: 36px;
}

.ayappe-header-search > summary::-webkit-details-marker {
	display: none;
}

.ayappe-header-search > summary:hover,
.ayappe-header-search > summary:focus-visible,
.ayappe-header-search[open] > summary {
	background: var(--wp--preset--color--accent-2);
	border-color: transparent;
}

.ayappe-header-search > summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 2px;
}

.ayappe-header-search > summary svg,
.ayappe-header-search__button svg {
	height: 18px;
	width: 18px;
}

.ayappe-header-search__panel {
	background: var(--wp--preset--color--base);
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	border-radius: 999px;
	box-shadow: 0 10px 28px color-mix(in srgb, currentColor 12%, transparent);
	box-sizing: border-box;
	padding: 5px;
	position: absolute;
	right: 0;
	top: calc(100% + 0.75rem);
	width: min(310px, calc(100vw - 2rem));
}

.ayappe-header-search__form {
	align-items: center;
	display: flex;
	gap: 0.4rem;
}

.ayappe-header-search__label {
	flex: 1;
	min-width: 0;
}

.ayappe-header-search__input {
	background: transparent;
	border: 0;
	box-sizing: border-box;
	color: inherit;
	font: inherit;
	font-size: 0.875rem;
	height: 34px;
	outline: 0;
	padding: 0.4rem 0.75rem;
	width: 100%;
}

.ayappe-header-search__input::placeholder {
	opacity: 0.55;
}

.ayappe-header-search__button {
	align-items: center;
	background: var(--wp--preset--color--accent-2);
	border: 0;
	border-radius: 50%;
	color: inherit;
	cursor: pointer;
	display: flex;
	flex: 0 0 34px;
	height: 34px;
	justify-content: center;
	padding: 0;
	width: 34px;
}

@media (max-width: 1024px) {
	.ayappe-header-search {
		display: none !important;
	}
}

.ayappe-archive-item > .wp-block-column:first-child {
	order: 1;
	width: 100%;
	max-width: 260px;
}

.ayappe-archive-item > .wp-block-column:last-child {
	order: 2;
	min-width: 0;
}

.ayappe-archive-item .wp-block-post-featured-image {
	margin: 0;
	width: 100%;
}

.ayappe-no-image {
	aspect-ratio: 16 / 9;
	background: #e5e5e5;
	container-type: inline-size;
	color: #737373;
	display: grid;
	overflow: hidden;
	place-items: center;
}

.ayappe-no-image > a {
	color: inherit;
	display: grid;
	height: 100%;
	place-items: center;
	text-decoration: none;
	width: 100%;
}

.ayappe-no-image__label {
	font-size: 1rem;
	font-size: clamp(0.875rem, 4cqw, 1.25rem);
	font-weight: 400;
	letter-spacing: 0.04em;
}

.ayappe-archive-item .wp-block-post-title {
	font-size: clamp(1.125rem, 1.6vw, 1.375rem) !important;
	font-weight: 700;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.ayappe-archive-metadata,
.ayappe-archive-metadata a {
	font-size: 0.8125rem !important;
	font-weight: 400;
	line-height: 1.6;
}

.ayappe-archive-metadata {
	opacity: 0.72;
}

.ayappe-home-metadata,
.ayappe-home-metadata a {
	font-size: 1rem !important;
}

/* Journal indexes: one shared chronological list treatment. */
.ayappe-home-stream {
	margin-top: var(--wp--preset--spacing--50);
}

.ayappe-journal-index > .wp-block-query,
.ayappe-journal-index > .wp-block-group > .wp-block-query {
	margin-top: var(--wp--preset--spacing--50);
}

.ayappe-post-list,
.ayappe-home-stream-list {
	display: grid !important;
	gap: 0 !important;
	grid-template-columns: minmax(0, 1fr);
}

.ayappe-post-list > li,
.ayappe-home-stream-list > li {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	container-type: inline-size;
	min-width: 0;
	padding-bottom: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--40);
}

.ayappe-post-list > li:first-child,
.ayappe-home-stream-list > li:first-child {
	padding-top: 0;
}

.ayappe-post-list > li:last-child,
.ayappe-home-stream-list > li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.ayappe-post-list .ayappe-archive-item,
.ayappe-home-stream-list .ayappe-archive-item {
	padding-bottom: 0 !important;
}

.ayappe-archive-metadata .taxonomy-category {
	min-width: 0;
	overflow-wrap: anywhere;
}

.ayappe-archive-excerpt,
.ayappe-home-excerpt {
	margin-top: var(--wp--preset--spacing--20);
	margin-bottom: 0;
	opacity: 0.82;
}

.ayappe-archive-excerpt .wp-block-post-excerpt__excerpt,
.ayappe-home-excerpt .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	font-size: 0.9rem;
	font-weight: 400;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-height: 1.8;
	margin: 0;
	overflow: hidden;
}

.ayappe-archive-excerpt .wp-block-post-excerpt__more-link,
.ayappe-home-excerpt .wp-block-post-excerpt__more-link {
	display: none;
}

@media (max-width: 560px) {
	.ayappe-archive-item {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--30);
	}

	.ayappe-archive-item > .wp-block-column {
		width: 100%;
	}

	.ayappe-archive-item > .wp-block-column:first-child {
		max-width: 260px;
	}
}

@container (max-width: 36rem) {
	.ayappe-archive-item {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--30);
	}

	.ayappe-archive-item > .wp-block-column {
		width: 100%;
	}

	.ayappe-archive-item > .wp-block-column:first-child {
		max-width: 260px;
	}
}

/* Remove the persistent iOS/touch focus ring from the responsive navigation. */
@media (hover: none) and (pointer: coarse) {
	:is(
		.wp-block-navigation__responsive-container-open,
		.wp-block-navigation__responsive-container-close,
		.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content
	) {
		-webkit-tap-highlight-color: transparent;
	}

	:is(
		.wp-block-navigation__responsive-container-open,
		.wp-block-navigation__responsive-container-close,
		.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content
	):is(:focus, :focus-visible) {
		box-shadow: none !important;
		outline: none !important;
	}
}
