/*
Theme Name:   Puffafish
Theme URI:    https://puffa.fish
Author:       Puffafish
Author URI:   https://puffa.fish
Description:  Lightweight, custom-built theme for puffa.fish. No page builder, no
              unused framework code — just what the site actually needs: native
              Gutenberg block editor support, theme.json-driven design tokens,
              and a handful of purpose-built blocks/patterns for landing pages.
Version:      0.1.0
Requires at least: 6.4
Requires PHP: 8.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  puffafish
*/

/*
 * Almost all visual design (colors, fonts, spacing, radii, block styles) is
 * defined in theme.json so it is available both on the frontend and inside
 * the block editor without duplicating rules. This file only holds the
 * required theme header above plus small pieces of CSS that theme.json
 * cannot express (font-face declarations, resets, print styles).
 */

@font-face {
	font-family: 'ChemicalifeRegular';
	src: url('webfonts/ChemicalifeRegular/font.woff2') format('woff2'),
	     url('webfonts/ChemicalifeRegular/font.woff') format('woff');
	font-display: swap;
}

@font-face {
	font-family: 'ChemicalifeRough';
	src: url('webfonts/ChemicalifeRough/font.woff2') format('woff2'),
	     url('webfonts/ChemicalifeRough/font.woff') format('woff');
	font-display: swap;
}

@font-face {
	font-family: 'CulturesCarnivalRegular';
	src: url('webfonts/CulturesCarnivalRegular/font.woff2') format('woff2'),
	     url('webfonts/CulturesCarnivalRegular/font.woff') format('woff');
	font-display: swap;
}

@font-face {
	font-family: 'CulturesCarnivalRough';
	src: url('webfonts/CulturesCarnivalRough/font.woff2') format('woff2'),
	     url('webfonts/CulturesCarnivalRough/font.woff') format('woff');
	font-display: swap;
}

/*
 * Geist Mono — the brand body/UI font. Self-hosted (GDPR-friendly) so it loads
 * reliably; theme.json maps the "body" font family to it, but the files were
 * missing before, which is why text fell back to the system monospace.
 */
@font-face {
	font-family: 'Geist';
	src: url('webfonts/Geist/geist-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Geist';
	src: url('webfonts/Geist/geist-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Geist';
	src: url('webfonts/Geist/geist-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Geist';
	src: url('webfonts/Geist/geist-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Geist Mono';
	src: url('webfonts/GeistMono/geist-mono-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Geist Mono';
	src: url('webfonts/GeistMono/geist-mono-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Geist Mono';
	src: url('webfonts/GeistMono/geist-mono-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Geist Mono';
	src: url('webfonts/GeistMono/geist-mono-100.woff2') format('woff2');
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Geist Mono';
	src: url('webfonts/GeistMono/geist-mono-900.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* Minimal reset — theme.json handles color/spacing, this just fixes box model basics. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

img,
video,
iframe {
	max-width: 100%;
	height: auto;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999999;
	padding: 1em;
	background: var(--wp--preset--color--dark-green);
	color: var(--wp--preset--color--cream);
}

.skip-link:focus {
	left: 0;
}

/* ---------------------------------------------------------------------
 * Layout shell (header, footer, container). Section/landing-page styling
 * itself lives in theme.json + block styles, not here.
 * ------------------------------------------------------------------- */

.pf-container {
	max-width: var(--wp--style--global--content-size, 840px);
	margin-inline: auto;
	padding-inline: 1.5rem;
	padding-block: 2rem;
}

.pf-site-header {
	position: relative;
	z-index: 1000;
	background-color: var(--wp--preset--color--yellow);
	padding-bottom: 34px; /* room for the zigzag teeth below the content */
	/* Exact "leaf/teeth" clip-path taken over from the previous (neve-child) header. */
	clip-path: polygon(
		0 100%, 5% 77%, 5% 100%, 12% 80%, 12% 100%, 18% 77%, 18% 100%,
		26% 74%, 26% 100%, 31% 76%, 31% 100%, 39% 78%, 39% 100%,
		49% 73%, 49% 100%, 56% 75%, 56% 100%, 65% 73%, 65% 100%,
		72% 77%, 72% 100%, 78% 77%, 78% 100%, 84% 76%, 84% 100%,
		89% 77%, 89% 98%, 93% 79%, 93% 100%, 100% 83%, 100% 0, 0 0
	);
	margin-bottom: -35px; /* pull the following content up under the teeth */
}

/*
 * Three-track grid so the navigation is centred on the *viewport* width
 * regardless of how wide the logo or the right-hand actions are: the two 1fr
 * side tracks are always equal, so the auto (nav) track sits dead centre.
 * The logo sits 40px from the left screen edge, the actions 40px from the right.
 */
.pf-site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	padding-block: 1rem;
	padding-inline: 40px;
}

.pf-site-header__branding {
	grid-column: 1;
	justify-self: start;
	display: flex;
	align-items: center;
}

.custom-logo,
.pf-site-header__branding img {
	max-height: 51px; /* 15% smaller than the previous 60px */
	width: auto;
}

.pf-site-header__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	text-decoration: none;
	color: var(--wp--preset--color--dark-green);
}

.pf-site-header__nav {
	grid-column: 2;
	justify-self: center;
}

.pf-site-header__nav .pf-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pf-site-header__nav a {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 900;
	text-decoration: none;
	color: var(--wp--preset--color--dark-green);
	transition: color 0.15s ease;
}

.pf-site-header__nav a:hover,
.pf-site-header__nav .current-menu-item > a {
	color: var(--wp--preset--color--primary-green);
}

/* Right-hand actions: language switcher + contact button */
.pf-site-header__actions {
	grid-column: 3;
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.pf-lang-switcher {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 18px;
}

/* Inactive language: green, thin (100). */
.pf-lang-switcher__item a {
	text-decoration: none;
	color: var(--wp--preset--color--primary-green);
	font-weight: 100;
}

/* Active language: dark green, black (900). No divider between languages. */
.pf-lang-switcher__item.is-active a {
	color: var(--wp--preset--color--dark-green);
	font-weight: 900;
}

.pf-header-contact {
	display: inline-block;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	text-decoration: none;
	padding: 0.5rem 1.25rem;
	border-radius: 100px; /* pill / half-circle ends */
	background-color: var(--wp--preset--color--primary-green);
	color: var(--wp--preset--color--cream);
	transition: background-color 0.15s ease;
}

.pf-header-contact:hover {
	background-color: var(--wp--preset--color--dark-green);
	color: var(--wp--preset--color--cream);
}

/* Mobile navigation toggle */
.pf-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 9px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.pf-nav-toggle__bar {
	display: block;
	width: 26px;
	height: 4px;
	border-radius: 3px;
	background-color: var(--wp--preset--color--primary-green);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.pf-nav-toggle[aria-expanded="true"] .pf-nav-toggle__bar:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.pf-nav-toggle[aria-expanded="true"] .pf-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.pf-nav-toggle[aria-expanded="true"] .pf-nav-toggle__bar:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* Header responsive: collapse to a toggle below the desktop breakpoint */
@media (max-width: 900px) {
	.pf-site-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		padding-inline: 20px;
	}

	.pf-nav-toggle {
		display: flex;
	}

	.pf-site-header__nav,
	.pf-site-header__actions {
		order: 3;
		flex-basis: 100%;
		display: none;
	}

	.pf-site-header.is-open .pf-site-header__nav,
	.pf-site-header.is-open .pf-site-header__actions {
		display: flex;
	}

	.pf-site-header__nav .pf-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		padding-top: 0.75rem;
	}

	.pf-site-header__actions {
		justify-content: flex-start;
		padding-top: 0.75rem;
	}
}

/* Zigzag teeth: fewer, wider teeth on narrower viewports (exact previous values). */
@media (max-width: 1300px) {
	.pf-site-header {
		clip-path: polygon(
			0% 100%, 10.36% 75.4%, 10.36% 100%, 20.71% 77%, 20.71% 100%,
			33.5% 74.38%, 33.5% 100%, 49% 73%, 49% 100%, 65% 73%, 65% 100%,
			78% 77%, 78% 100%, 89% 77%, 89% 98%, 100% 83%, 100% 0%, 0% 0%
		);
	}
}

@media (max-width: 700px) {
	.pf-site-header {
		clip-path: polygon(
			0% 100%, 20.71% 77%, 20.71% 100%, 49% 73%, 49% 100%,
			78% 77%, 78% 100%, 100% 83%, 100% 0%, 0% 0%
		);
	}
}

.pf-site-footer {
	position: relative;
	margin-top: 4rem;
	padding-top: 60px; /* clearance for the zigzag teeth on the top edge */
	background-color: var(--wp--preset--color--dark-green);
	color: var(--wp--preset--color--cream);
	/* Exact footer "teeth" clip-path taken over from puffa.fish (neve-child .footer-bottom). */
	clip-path: polygon(
		0% 100%, 100% 100%, 100.05% 3.62%, 93.39% 0%, 93.47% 3.18%, 88.96% 0%,
		89.01% 4.74%, 83.96% 0%, 84.06% 4.77%, 77.97% 0%, 78.02% 4.09%,
		72.03% 0%, 72% 4.25%, 64.95% 0%, 65% 5.75%, 55.94% 0%, 55.99% 5.5%,
		48.96% 0.81%, 49% 6.25%, 39.01% 0%, 39.01% 4.5%, 30.99% 0%, 31% 4.5%,
		25.94% 0.26%, 26% 5.5%, 17.86% 0%, 17.92% 5.16%, 11.88% 0%, 11.95% 5.43%,
		4.94% 0%, 4.9% 5.34%, 0% 0%
	);
}

.pf-site-footer__inner {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding: 1.5rem 40px 3rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.pf-site-footer a {
	color: var(--wp--preset--color--cream);
}

.pf-site-footer a:hover {
	color: var(--wp--preset--color--yellow);
}

/* Logo above the footer content */
.pf-site-footer__brand {
	display: flex;
}

.pf-site-footer__logo {
	display: block;
	width: 220px;
	max-width: 100%;
	height: auto;
}

.pf-site-footer__brand-text {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	text-decoration: none;
	color: var(--wp--preset--color--cream);
}

.pf-site-footer__widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
}

/* Keep the footer about text to a readable column width instead of the full row. */
.pf-site-footer__widgets p {
	max-width: 40ch;
}

/* Footer navigation (sits under the widgets/about text) */
.pf-site-footer__nav .pf-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pf-site-footer__nav a {
	text-decoration: none;
	font-weight: 500;
}

/* Bottom row: credits on the left, legal links right-aligned */
.pf-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	border-top: 2px solid rgba(255, 253, 233, 0.15);
	padding-top: 1.5rem;
}

.pf-site-footer__credits {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.8;
}

.pf-site-footer__legal .pf-menu,
.pf-site-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pf-site-footer__legal a {
	text-decoration: none;
	font-weight: 500;
}

@media (max-width: 1300px) {
	.pf-site-footer {
		clip-path: polygon(
			0% 100%, 100% 100%, 100.05% 3.62%, 88.96% 0%, 89.01% 4.74%, 77.97% 0%,
			78.02% 4.09%, 64.95% 0%, 65% 5.75%, 48.96% 0.81%, 49% 6.25%,
			30.99% 0%, 31% 4.5%, 20.24% 0%, 20.11% 5.94%, 9.17% 0%, 9% 5.94%, 0% 0%
		);
	}
}

@media (max-width: 700px) {
	.pf-site-footer {
		clip-path: polygon(
			0% 100%, 100% 100%, 100.05% 3.62%, 77.97% 0%, 78.02% 4.09%,
			48.96% 0.81%, 49% 6.25%, 20.24% 0%, 20.11% 5.94%, 0% 0%
		);
	}

	.pf-site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Reusable pill button used by custom blocks. */
.pf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	text-decoration: none;
	padding: 0.7rem 1.75rem;
	border-radius: 100px;
	background-color: var(--wp--preset--color--primary-green);
	color: var(--wp--preset--color--cream);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.pf-button:hover {
	background-color: var(--wp--preset--color--dark-green);
	color: var(--wp--preset--color--cream);
	transform: translateY(-1px);
}

/* Page Header banner — green, leaf-zigzag bottom edge, H1 + subline. Used by the
 * puffafish/page-header block and by the blog posts index (home.php). Kept in the
 * global stylesheet so it also applies where the block is not present.
 * clip-path values taken over from the previous neve-child theme. */
.pf-page-header {
	position: relative;
	background-color: var(--wp--preset--color--primary-green);
	color: var(--wp--preset--color--white);
	text-align: center;
	padding: clamp(4rem, 8vw, 6rem) 1.5rem clamp(5rem, 9vw, 7rem);
	clip-path: polygon(0 100%, 5% 97%, 5% 100%, 12% 97%, 12% 100%, 18% 97%, 18% 100%, 26% 96%, 26% 100%, 31% 97%, 31% 100%, 39% 97%, 39% 100%, 49% 94%, 49% 100%, 56% 97%, 56% 100%, 65% 96%, 65% 100%, 72% 96%, 72% 100%, 78% 97%, 78% 100%, 84% 96%, 84% 100%, 89% 97%, 89% 100%, 93% 96%, 93% 100%, 100% 97%, 100% 0, 0 0);
}

.pf-page-header__inner {
	max-width: 860px;
	margin-inline: auto;
}

.pf-page-header__heading {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 64px;
	line-height: 1.1;
	color: var(--wp--preset--color--white);
}

.pf-page-header__subline {
	margin: 0 auto;
	max-width: 52ch;
	font-size: 1.25rem;
	line-height: 1.5;
}

@media (max-width: 1300px) {
	.pf-page-header {
		clip-path: polygon(0% 100%, 9.77% 93.46%, 9.77% 100%, 21.31% 95.38%, 21.31% 100%, 31% 97%, 31% 100%, 49% 94%, 49% 100%, 65% 96%, 65% 100%, 78% 97%, 78% 100%, 89% 97%, 89% 100%, 100% 97%, 100% 0%, 0% 0%);
	}
}

@media (max-width: 782px) {
	.pf-page-header__heading {
		font-size: 40px;
	}
}

@media (max-width: 700px) {
	.pf-page-header {
		clip-path: polygon(0% 100%, 21.31% 95.38%, 21.31% 100%, 49% 94%, 49% 100%, 78% 97%, 78% 100%, 100% 97%, 100% 0%, 0% 0%);
	}
}

/* Contact Form 7 — carried over from the legacy neve-child theme, mapped to the
 * puffafish design tokens. Fields: dark-green 3px border, rounded, italic
 * placeholder; submit rendered as the standard pill button. */
.wp-block-contact-form-7-contact-form-selector p {
	margin-bottom: 10px;
}

.wpcf7-form input:read-write,
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	border-style: solid;
	border-color: var(--wp--preset--color--dark-green);
	border-width: 3px;
	border-radius: 10px;
	color: #818181;
	font-family: var(--wp--preset--font-family--body);
	font-style: italic;
	font-size: 16px;
	padding: 0.7rem 1rem;
	background-color: var(--wp--preset--color--white);
}

.wpcf7-form textarea {
	min-height: 160px;
}

.wpcf7-form input:read-write:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: 0;
	box-shadow: none;
	border-color: var(--wp--preset--color--primary-green);
}

.wpcf7-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	cursor: pointer;
	border: 0;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: 16px;
	padding: 0.7rem 1.75rem;
	border-radius: 100px;
	background-color: var(--wp--preset--color--primary-green);
	color: var(--wp--preset--color--cream);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.wpcf7-form input[type="submit"]:hover {
	background-color: var(--wp--preset--color--dark-green);
	color: var(--wp--preset--color--cream);
	transform: translateY(-1px);
}

.wpcf7-not-valid-tip {
	color: var(--wp--preset--color--orange-cta);
	font-size: 0.8em;
	font-weight: normal;
	display: block;
	padding: 5px 0 0 15px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0;
	padding: 0.5em 1em;
	border: 3px solid var(--wp--preset--color--yellow);
	border-radius: 10px;
	font-size: 15px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: var(--wp--preset--color--yellow);
}

/* Page loader overlay. Shown until the window 'load' event, then hidden by JS.
 * A CSS failsafe hides it after 5s even if the script never runs, so it can
 * never permanently block the page. */
#pf-loader {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--dark-green);
	transition: opacity 0.3s ease;
	animation: pf-loader-failsafe 0s linear 5s forwards;
}

#pf-loader.hidden {
	opacity: 0;
	pointer-events: none;
}

.pf-loader__inner {
	width: 48px;
	height: 48px;
	border: 4px solid var(--wp--preset--color--yellow);
	border-top-color: transparent;
	border-radius: 50%;
	animation: pf-spin 0.8s linear infinite;
}

@keyframes pf-spin {
	to { transform: rotate(360deg); }
}

@keyframes pf-loader-failsafe {
	to { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
	.pf-loader__inner {
		animation-duration: 1.8s;
	}
}

/* Inline SVG icons (see inc/icons.php). Scale with font-size, inherit color. */
.pf-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	flex-shrink: 0;
	fill: currentColor;
}

/* Constrain a single block to content width (e.g. below a full-width banner on
 * flush pages), without affecting other full-bleed sections. */
.pf-constrained {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding: clamp(3rem, 6vw, 5rem) 40px;
}

@media (max-width: 782px) {
	.pf-constrained {
		padding-inline: 20px;
	}
}

/* About section — image + text (eyebrow / headline / body). Font sizes taken
 * over from the live site (Neve: h6 ~1.2em, h2 ~2.9em on an 18px body). */
.pf-about {
	align-items: center;
}

/* Keep the image aligned to the top of the row, not centered against the
 * (taller) text column. */
.pf-about .wp-block-column:first-child {
	align-self: flex-start;
}

/* On the About page the icon grid follows the claim band and needs breathing
 * room above it (on the homepage the grid sits before the claim, so it stays
 * unaffected). */
.pf-claim + .pf-grid {
	margin-top: clamp(3rem, 6vw, 5rem);
}

.pf-about__eyebrow {
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--primary-green);
	letter-spacing: 5px;
	font-size: 1.35rem;
	line-height: 1.2;
}

.pf-about__headline {
	margin: 0 0 1.5rem;
	font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
	line-height: 1.05;
}

.pf-about p {
	margin: 0 0 1.25rem;
}

.pf-about p:last-child {
	margin-bottom: 0;
}

/* Glossary intro — keep the lead text to a readable measure (replaces the old
 * Otter 2:1 column that was only used to constrain the width). */
.pf-glossary-intro {
	max-width: 800px;
	margin-bottom: 2.5rem;
}

/* Page content container — matches the site content width (like the homepage). */
.pf-page {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding: 2.5rem 40px 4rem;
}

.pf-entry__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 64px;
	line-height: 1.1;
	text-align: left;
	margin: 0 0 1.5rem;
}

@media (max-width: 782px) {
	.pf-entry__title {
		font-size: 40px;
	}

	.pf-page {
		padding-inline: 20px;
	}
}

/*
 * Flush pages: when the first block is full-width (e.g. the hero slider) the
 * page title is skipped (see page.php) and the content sits directly under the
 * header, with no top gap.
 */
.pf-entry--flush .pf-entry__content {
	margin-top: 0;
}

.pf-entry--flush .pf-entry__content > :first-child {
	margin-top: 0;
}

.pf-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 2rem;
}

.pf-entry--card .pf-entry__thumbnail img {
	border-radius: 40px;
}

.pf-search-form {
	display: flex;
	gap: 0.5rem;
}

.pf-search-form__input {
	flex: 1;
	padding: 0.6rem 1rem;
	border: 1px solid var(--wp--preset--color--dark-green);
	border-radius: 10px;
}

.pf-search-form__submit {
	padding: 0.6rem 1.25rem;
	border: none;
	border-radius: 100px;
	background-color: var(--wp--preset--color--primary-green);
	color: var(--wp--preset--color--cream);
	cursor: pointer;
}
