/* FO Main */

html {scroll-behavior:smooth;}
body .grecaptcha-badge{display:none;visibility:hidden;opacity:0;}
p.is-style-text-annotation { border-radius: 10px;}

/* Global embedded content radius */
.wp-block-embed .wp-block-embed__wrapper {
	border-radius: 20px;
	overflow: hidden;
}

.wp-block-embed iframe,
.wp-block-embed embed,
.wp-block-embed object {
	display: block;
	width: 100%;
	border-radius: 20px;
}

/* Navigation Submenu */
.wp-block-navigation .wp-block-navigation__submenu-container{
	min-width: 260px;
	padding: 10px;
	border-radius: 5px;
}

.wp-block-navigation .wp-block-navigation__submenu-container
.wp-block-navigation-item__content{
	display: block;
	padding: 10px 14px;
	font-size: 16px;
	line-height: 1.25;
	white-space: nowrap;
}

.wp-block-navigation .wp-block-navigation__submenu-container
.wp-block-navigation-item__content:hover{
	border-radius: 5px;
}

/* Icon Groups */
[class^="wr-icons-"],
[class*=" wr-icons-"] {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

[class^="wr-icons-"]::before,
[class*=" wr-icons-"]::before {
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	flex: 0 0 auto;
}

/* Icon Types */
.wr-icons-check::before {
	content: "\f00c";
}

.wr-icons-bullet::before {
	content: "\f111";
	font-size: 0.45em;
}

.wr-icons-circle-dot::before {
	content: "\f192";
}

.wr-icons-arrow::before {
	content: "\f061";
}

.wr-icons-star::before {
	content: "\f005";
}

/* Icon Position */
.wr-icons-left {
	flex-direction: row;
}

.wr-icons-right {
	flex-direction: row-reverse;
	justify-content: flex-end;
}

/* List Group */
.wr-list-group {
	width: 100%;
}

.wr-list__items {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wr-list__items li {
	margin: 0;
	padding: 0;
}

.wr-list__items a {
	display: block;
	padding: 12px 14px;
	background: var(--wp--preset--color--canvas);
	border: 1px solid var(--wp--preset--color--accent-9);
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease;
}

.wr-list__items a:hover,
.wr-list__items a:focus-visible {
	border-color: var(--wp--preset--color--contrast);
	border-color: currentColor;
}

/* Useful Links Select */
.useful-links {
	box-sizing: border-box;
	width: 100%;
	max-width: 200px;
	margin: 0;
	padding: 10px 44px 10px 16px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 10px;
	background: #fff;
	background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px 8px;
	color: var(--wp--preset--color--entry);
	font: inherit;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.useful-links:focus {
	background-color: #fff;
	outline: none;
	box-shadow: 0 0 0 1.5px #111;
}

/* Special Underline Effect */
.wp-site-blocks h1 u,
.wp-site-blocks h2 u,
.wp-site-blocks h3 u,
.entry-content h1 u,
.entry-content h2 u,
.entry-content h3 u {
	position: relative;
	display: inline-block;
	text-decoration: none;
	white-space: nowrap;
	z-index: 0;
}

.wp-site-blocks h1 u::after,
.wp-site-blocks h2 u::after,
.wp-site-blocks h3 u::after,
.entry-content h1 u::after,
.entry-content h2 u::after,
.entry-content h3 u::after {
	content: "";
	position: absolute;
	left: 0.03em;
	right: -0.04em;
	bottom: -0.08em;
	height: 0.12em;
	background: #d79a22;
	border-radius: 999px;
	transform: rotate(-1deg);
	z-index: -1;
	opacity: 0.95;
}

/* Responsive */
@media (max-width: 781px) {
	/* Mobile Swap */
	.wp-block-columns.mobile-swap > *:first-child { order: 2; }
	.wp-block-columns.mobile-swap > *:last-child  { order: 1; }
	
	/* Header Logo */
	header.wp-block-template-part .wp-block-site-logo {
		max-width: 180px;
		flex-shrink: 0;
	}

	header.wp-block-template-part .wp-block-site-logo img.custom-logo {
		width: 200px;
		height: auto;
		max-width: 100%;
	}
	
	.wr-list__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.wr-list__items a {
		padding: 10px 12px;
	}
	
	/* Useful Links Select */
	select.useful-links {
		max-width: 150px;
		padding-right: 42px;
		background-position: right 16px center;
		background-size: 13px 8px;
	}
}
