/*
Theme Name: FMH Store
Theme URI: https://fmhmaintain.com/
Description: FMH Store（デモブランド）用の Ollie 子テーマ。日本語 EC 向けのタイポグラフィ、配色、ヘッダー／フッター、WooCommerce テンプレートを収録しています。
Author: Future Media House
Template: ollie
Version: 1.3.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fmh-store
*/

/* ==========================================================================
   Base
   ========================================================================== */

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	font-feature-settings: "palt" 0;
	overflow-wrap: anywhere;
	word-break: normal;
	line-break: strict;
}

/* Headings: proportional kana spacing reads tighter and more refined. */
h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.wp-block-query-title {
	font-feature-settings: "palt" 1;
}

/* Avoid one- or two-character last lines in Japanese paragraphs; balance headings. */
p,
li,
.wp-block-post-excerpt__excerpt {
	text-wrap: pretty;
}

h1, h2, h3, h4,
.wp-block-post-title {
	text-wrap: balance;
}

/*
 * Japanese phrase breaks. functions.php (inc/phrase-breaks.php) inserts <wbr>
 * at phrase boundaries in these elements; keep-all makes every browser
 * (including Safari on iPhone) break only there, at spaces and after
 * punctuation. overflow-wrap: anywhere is the safety net for long words.
 * (word-break: auto-phrase is not used: Chrome's own analysis splits some
 * words, e.g. お問い／合わせ, and keep-all renders the same in every browser.)
 */
h1, h2, h3, h4,
.wp-block-post-title,
.wp-block-query-title,
.fmh-hero__lead,
.fmh-promo p,
.fmh-features p,
.fmh-cta-box p,
.fmh-footer__brand p,
.fmh-footer__facts p,
.fmh-page-head__lead,
.fmh-page-head .wp-block-term-description,
.fmh-product__excerpt p,
.fmh-link-card__title,
.fmh-faq summary,
.fmh-lead,
.fmh-404__text,
.fmh-account-note,
.wc-block-product-categories-list-item__name {
	word-break: keep-all;
	overflow-wrap: anywhere;
}

/* Short links in body text move to the next line as a whole (「お問い／合わせ」
   would read as two links); overflow-wrap: anywhere on body still prevents
   overflow for long ones. */
:where(.wp-block-post-content, .entry-content) :where(p, li) a {
	word-break: keep-all;
}

/* Prevent long words / URLs from forcing horizontal scroll. */
img,
video,
iframe {
	max-width: 100%;
}

:where(a) {
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	transition: color var(--wp--custom--transition), opacity var(--wp--custom--transition);
}

::selection {
	background: var(--wp--preset--color--primary-accent);
	color: var(--wp--preset--color--main);
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

.wp-block-navigation__responsive-container.is-menu-open :focus-visible {
	outline-offset: -2px;
	border-radius: var(--wp--custom--radius--control);
}

/* Form controls: consistent radius and quiet borders. */
input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
select,
textarea {
	border-radius: var(--wp--custom--radius--control);
	border: 1px solid var(--wp--preset--color--border-light);
	background-color: var(--wp--preset--color--white);
	box-shadow: none;
	font-size: max(16px, 1em); /* iOS: avoid zoom on focus */
}

input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):focus,
select:focus,
textarea:focus {
	border-color: var(--wp--preset--color--main);
}

/* Buttons rendered by blocks */
.wp-element-button,
.wp-block-button__link {
	transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition), border-color var(--wp--custom--transition);
}

:root .wp-block-button.is-style-outline > .wp-block-button__link,
:root .wp-block-button .wp-block-button__link.is-style-outline {
	border: 1px solid currentColor;
	outline: 0;
	background: transparent;
	color: var(--wp--preset--color--main);
	padding: calc(0.9em - 1px) calc(1.75em - 1px);
}

:root .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

:root .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--main);
	border-color: var(--wp--preset--color--main);
	color: var(--wp--preset--color--white);
}

/* Utility: small uppercase Latin label above Japanese headings. */
.fmh-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	line-height: 1.4;
	margin: 0;
}

.fmh-section-head {
	gap: 0.5rem 1.5rem;
}

.fmh-section-head h2 {
	margin: 0.35rem 0 0;
}

.fmh-more-link {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.fmh-more-link a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

.fmh-more-link a::after {
	content: " →";
}

/* Editor-only notes in page content: visible to logged-in editors only. */
body:not(.logged-in) .fmh-internal-note {
	display: none !important;
}

@media (max-width: 781px) {
	.fmh-hide-mobile {
		display: none !important;
	}
}

@media (min-width: 782px) {
	.fmh-hide-desktop {
		display: none !important;
	}
}

/* ==========================================================================
   Header
   ========================================================================== */

.fmh-announcement {
	text-align: center;
	letter-spacing: 0.08em;
}

.fmh-announcement p {
	margin: 0;
	line-height: 1.6;
}

.fmh-announcement strong {
	color: var(--wp--preset--color--white);
	font-weight: 700;
}

.fmh-header__bar {
	position: relative;
	z-index: 50;
	/* The nav divider below spans 100vw; clip it so Windows' classic
	   scrollbar width never causes horizontal scrolling. */
	overflow-x: clip;
}

.fmh-header__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	column-gap: clamp(1rem, 3vw, 2.5rem);
	row-gap: 0;
}

.fmh-header__row > .wp-block-site-title {
	flex: 0 0 auto;
	margin: 0;
	order: 1;
}

.fmh-header__row > .wp-block-site-title a {
	display: inline-block;
	padding: 0.35rem 0;
}

/* Search sits centered on the first row on desktop. */
.fmh-header__row > .fmh-header__search {
	order: 2;
	flex: 1 1 320px;
	max-width: 460px;
	margin: 0 auto !important;
}

.fmh-header__row > .fmh-header__actions {
	order: 3;
	flex: 0 0 auto;
	gap: 0.25rem;
	margin: 0;
}

/* Desktop: category navigation drops to its own centered row. */
.fmh-header__row > .wp-block-navigation {
	order: 4;
	flex: 1 0 100%;
	justify-content: center;
	position: relative;
	margin-top: 1rem;
	padding-top: 0.9rem;
}

.fmh-header__row > .wp-block-navigation::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	border-top: 1px solid var(--wp--preset--color--border-light);
}

.fmh-header .wp-block-navigation .wp-block-navigation-item__content,
.fmh-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	padding: 0.25rem 0;
	position: relative;
	text-decoration: none !important;
}

.fmh-header .wp-block-navigation .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.15rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--wp--custom--transition);
}

.fmh-header .wp-block-navigation .wp-block-navigation-item__content:hover::after,
.fmh-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

/* Divider between the category links and the shop pages (ショップについて …). */
@media (min-width: 1024px) {
	.fmh-header .wp-block-navigation-item.fmh-nav-sep {
		position: relative;
	}

	.fmh-header .wp-block-navigation-item.fmh-nav-sep::before {
		content: "";
		position: absolute;
		top: 50%;
		left: -1rem;
		height: 0.9em;
		border-left: 1px solid var(--wp--preset--color--border-light);
		transform: translateY(-50%);
	}
}

/* Narrow desktops: tighten the nine links so they stay on one row. */
@media (min-width: 1024px) and (max-width: 1180px) {
	.fmh-header__row > .wp-block-navigation .wp-block-navigation__container {
		gap: 1.25rem;
		font-size: 0.8125rem;
	}

	.fmh-header .wp-block-navigation-item.fmh-nav-sep::before {
		left: -0.625rem;
	}
}

/* Search field */
.fmh-header__search .wp-block-search__inside-wrapper {
	background: var(--wp--preset--color--tertiary);
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--pill);
	padding: 0 0.25rem 0 1rem;
	transition: border-color var(--wp--custom--transition), background-color var(--wp--custom--transition);
}

.fmh-header__search .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--wp--preset--color--main);
	background: var(--wp--preset--color--white);
}

.fmh-header .fmh-header__search input.wp-block-search__input.wp-block-search__input {
	background: transparent;
	border: 0 !important;
	box-shadow: none;
	padding: 0.6rem 0.25rem;
	min-height: 42px;
	font-size: 16px;
	letter-spacing: 0.04em;
}

.fmh-header__search .wp-block-search__input:focus {
	outline: none;
}

.fmh-header .fmh-header__search .wp-block-search__button.wp-element-button {
	background: transparent;
	color: var(--wp--preset--color--main);
	padding: 0 0.6rem;
	margin: 0;
	border-radius: var(--wp--custom--radius--pill);
}

.fmh-header__search .wp-block-search__button svg {
	width: 22px;
	height: 22px;
	min-width: 22px;
	fill: currentColor;
}

/* 404: the same pill search as the header (button inside, search icon). */
.fmh-404__search .wp-block-search__inside-wrapper {
	background: var(--wp--preset--color--tertiary);
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--pill);
	padding: 0 0.25rem 0 1.1rem;
	transition: border-color var(--wp--custom--transition), background-color var(--wp--custom--transition);
}

.fmh-404__search .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--wp--preset--color--main);
	background: var(--wp--preset--color--white);
}

main .fmh-404__search input.wp-block-search__input.wp-block-search__input {
	background: transparent;
	border: 0 !important;
	box-shadow: none;
	padding: 0.65rem 0.25rem;
	min-height: 46px;
	font-size: 16px;
	letter-spacing: 0.04em;
}

.fmh-404__search .wp-block-search__input:focus {
	outline: none;
}

main .fmh-404__search .wp-block-search__button.wp-element-button {
	background: transparent;
	color: var(--wp--preset--color--main);
	padding: 0 0.7rem;
	margin: 0;
	border-radius: var(--wp--custom--radius--pill);
}

.fmh-404__search .wp-block-search__button svg {
	width: 22px;
	height: 22px;
	min-width: 22px;
	fill: currentColor;
}

/* Desktop: the search stays centered whatever the icons on the right do
   (on the cart page the Mini-Cart renders differently). */
@media (min-width: 1024px) {
	.fmh-header__row {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 460px) minmax(0, 1fr);
		align-items: center;
		column-gap: clamp(1rem, 3vw, 2.5rem);
	}

	.fmh-header__row > .wp-block-site-title {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	.fmh-header__row > .fmh-header__search {
		grid-column: 2;
		grid-row: 1;
		width: 100%;
		max-width: none;
		margin: 0 !important;
	}

	.fmh-header__row > .fmh-header__actions {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}

	.fmh-header__row > .wp-block-navigation {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

/* Account + mini cart icons: fixed 44px boxes, so nothing shifts between
   pages. On the cart/checkout pages WooCommerce renders the Mini-Cart hidden
   (and other styles collapse it); keep its box so the account icon stays put. */
.fmh-header__actions > .wp-block-woocommerce-customer-account,
.fmh-header__actions > .wc-block-mini-cart {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	margin: 0;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.fmh-header__actions > .wc-block-mini-cart[aria-hidden="true"] {
	visibility: hidden;
}

.fmh-header__actions .wp-block-woocommerce-customer-account a,
.fmh-header__actions .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0.5rem;
	color: var(--wp--preset--color--main);
	border-radius: var(--wp--custom--radius--pill);
	transition: background-color var(--wp--custom--transition);
}

.fmh-header__actions .wp-block-woocommerce-customer-account a:hover,
.fmh-header__actions .wc-block-mini-cart__button:hover {
	background: var(--wp--preset--color--tertiary);
	opacity: 1;
}

.fmh-header__actions .wp-block-woocommerce-customer-account svg {
	width: 24px;
	height: 24px;
}

.fmh-header__actions .wc-block-mini-cart__quantity-badge {
	position: relative;
}

.fmh-header__actions .wc-block-mini-cart__icon {
	width: 26px;
	height: 26px;
	margin: 0;
}

.fmh-header__actions .wc-block-mini-cart__badge {
	position: absolute;
	top: -6px;
	right: -9px;
	left: auto;
	margin: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 100px;
	border: 2px solid var(--wp--preset--color--base);
	/* WooCommerce sets the badge colours inline (white/vermilion); keep ours. */
	background: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--white) !important;
	font-family: var(--wp--preset--font-family--display);
	font-size: 11px;
	font-weight: 600;
	line-height: 14px;
	box-sizing: content-box;
	transform: none;
}

@media (max-width: 781px) {
	.fmh-announcement .fmh-announcement__extra {
		display: none;
	}
}

/* Tablet & mobile header (up to 1023px, so iPad portrait gets the compact
   header too): logo · icons · hamburger, then full-width search. */
@media (max-width: 1023px) {
	.fmh-header__bar {
		padding-top: 0.6rem !important;
		padding-bottom: 0.75rem !important;
	}

	.fmh-header__row {
		column-gap: 0.25rem;
	}

	.fmh-header__row > .wp-block-site-title {
		margin-right: auto;
	}

	.fmh-header__row > .wp-block-site-title a {
		font-size: 1.125rem;
	}

	.fmh-header__row > .fmh-header__actions {
		order: 2;
		gap: 0;
	}

	.fmh-header__row > .wp-block-navigation {
		order: 3;
		flex: 0 0 auto;
		margin: 0;
		padding: 0;
	}

	.fmh-header__row > .wp-block-navigation::before {
		display: none;
	}

	.fmh-header__row > .fmh-header__search {
		order: 4;
		flex: 1 0 100%;
		max-width: none;
		margin: 0.5rem 0 0 !important;
	}

	/* Show the hamburger up to 1023px (core switches at 600px). */
	.fmh-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.fmh-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

.fmh-header .wp-block-navigation__responsive-container-open,
.fmh-header .wp-block-navigation__responsive-container-close {
	background: transparent !important;
	color: var(--wp--preset--color--main);
	padding: 0;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: var(--wp--custom--radius--pill);
}

.fmh-header .wp-block-navigation__responsive-container-open svg,
.fmh-header .wp-block-navigation__responsive-container-close svg {
	width: 26px;
	height: 26px;
}

/* Mobile overlay menu */
.fmh-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1rem clamp(1rem, 5vw, 2rem) 2rem;
}

.fmh-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 3.5rem;
	align-items: stretch;
}

/* Shop name in the overlay's top bar (inserted by functions.php). */
.fmh-menu-brand {
	display: none;
}

.fmh-header .wp-block-navigation__responsive-container.is-menu-open .fmh-menu-brand {
	display: block;
	position: absolute;
	top: 0.8rem;
	left: clamp(1rem, 5vw, 2rem);
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--wp--preset--color--main);
}

/* Current page in the overlay: bold with a vermilion dot. */
.fmh-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	font-weight: 700;
}

.fmh-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content::before {
	content: "";
	flex: 0 0 6px;
	width: 6px;
	height: 6px;
	margin: auto 0.6rem auto 0;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
}

/* Focus ring only for keyboard users (touch/programmatic focus shows nothing). */
.fmh-header .wp-block-navigation__responsive-container.is-menu-open a:focus:not(:focus-visible) {
	outline: 0;
	background: none;
}

.fmh-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0;
	align-items: stretch;
}

.fmh-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.fmh-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex;
	width: 100%;
	padding: 1rem 0.25rem;
	font-size: 1rem;
}

.fmh-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.fmh-nav-sep {
	margin-top: 1.75rem;
}

.fmh-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
	content: "›";
	position: static;
	height: auto;
	background: none;
	transform: none;
	margin-left: auto;
	color: var(--wp--preset--color--secondary);
	font-size: 1.25rem;
	line-height: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.fmh-footer {
	font-size: var(--wp--preset--font-size--small);
}

.fmh-footer a {
	color: inherit;
	text-decoration: none;
}

.fmh-footer a:hover {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
}

.fmh-footer .wp-block-site-title a,
.fmh-footer .wp-block-site-title {
	color: var(--wp--preset--color--white);
}

.fmh-footer__heading {
	margin-bottom: 0.75rem !important;
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	margin: 0 0 1rem;
}

/* Japanese sub-label under the English heading: a caption, not a link. */
.fmh-footer__heading span {
	display: block;
	font-family: var(--wp--preset--font-family--primary);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.1em;
	color: #8D8A83;
	text-transform: none;
	margin-top: 0.25rem;
}

.fmh-footer .wp-block-navigation {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	letter-spacing: 0.04em;
}

.fmh-footer .wp-block-navigation .wp-block-navigation__container {
	gap: 0.55rem;
}

.fmh-footer .wp-block-column > .fmh-footer__heading + * {
	margin-top: 0 !important;
}

.fmh-footer .wp-block-navigation-item__content {
	padding: 0.1rem 0;
}

.fmh-footer__facts p {
	margin: 0;
	line-height: 1.7;
}

.fmh-footer__facts p + p {
	margin-top: 0.75rem;
}

.fmh-footer__facts strong {
	display: block;
	color: var(--wp--preset--color--white);
	font-weight: 500;
}

.fmh-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.06em;
}

.fmh-footer__bottom p {
	margin: 0;
}

/* Five columns from 1101px; below that brand and guide take full rows. */
@media (max-width: 1100px) {
	.fmh-footer__cols {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.5rem 2rem !important;
	}

	.fmh-footer__cols > .fmh-footer__brand,
	.fmh-footer__cols > .fmh-footer__guide {
		grid-column: 1 / -1;
	}

	.fmh-footer__brand > p {
		max-width: 34em;
	}
}

@media (max-width: 781px) {
	.fmh-footer__cols {
		grid-template-columns: 1fr 1fr;
		gap: 2.25rem 1.5rem !important;
	}
}

/* ==========================================================================
   Page shells
   ========================================================================== */

.fmh-page-head {
	border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.fmh-page-head .wp-block-query-title,
.fmh-page-head .wp-block-post-title {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.fmh-page-head .wp-block-term-description {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--small);
	max-width: 46em;
	margin-top: 0.75rem;
}

.fmh-page-head .wp-block-term-description p {
	margin: 0;
}

.fmh-entry {
	line-height: 1.9;
}

.fmh-entry > * + * {
	margin-block-start: 1.5em;
}

.fmh-entry h2 {
	font-size: var(--wp--preset--font-size--medium);
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--wp--preset--color--border-light);
	margin-top: 2.5em;
}

/* Pagination */
.wp-block-query-pagination {
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--display);
}

.wp-block-query-pagination-numbers {
	display: flex;
	gap: 0.5rem;
}

.wp-block-query-pagination-numbers .page-numbers,
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.9rem;
	border-radius: var(--wp--custom--radius--control);
	border: 1px solid var(--wp--preset--color--border-light);
	background: var(--wp--preset--color--white) !important;
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

.wp-block-query-pagination-numbers .page-numbers.current {
	background: var(--wp--preset--color--main) !important;
	border-color: var(--wp--preset--color--main);
	color: var(--wp--preset--color--white);
}

.wp-block-query-pagination-numbers .page-numbers.dots {
	border: 0;
	background: transparent !important;
}

.wp-block-query-pagination-numbers a:hover,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover {
	border-color: var(--wp--preset--color--main);
	text-decoration: none;
}
