/*
	Theme Name:   Girltaku 2025
	Theme URI:    https://girltaku.com/
	Version:      1.0.1
	Author:       Hand Design Co.
	Author URI:   https://hand-designed.com/
	Update URI:   false
	Tested up to: 6.7.2
	License:      GPL-2.0+
	License URI:  http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain:  girltaku-2025
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	padding-inline: 0;
}

@media ( width > 800px ) {
	body {
		border-block-start: 10px solid;
		border-image: var(--wp--preset--gradient--girltaku) 1;
	}
}

/*button {
	background-color: transparent;
	border: none;
	color: currentColor;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	padding: 0;
}*/

textarea {
	resize: vertical;
}

:is(h1, h2, h3, h4, h5, h6) a {
	word-break: break-word;
}

.has-global-padding {
	padding-inline: var(--wp--custom--spacing--padding--site);
}

.has-global-padding > .alignfull {
	margin-inline: calc(-1 * var(--wp--custom--spacing--padding--site));
}

/*.is-style-sparkle {
	-webkit-text-stroke: 2px var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--white);
	font-weight: 800;
	padding-inline-start: calc(1em + 1rem);
	position: relative;
	text-shadow: 4px 4px 0 var(--wp--preset--color--contrast);
}

.is-style-sparkle::before {
	background-image: url("assets/elements/sparkle.svg");
	background-position: 50% 100%;
	background-repeat: no-repeat;
	background-size: contain;
	block-size: 1em;
	content: "";
	display: inline-block;
	inline-size: 1em;
	inset-block-start: 0;
	inset-inline-start: 0;
	position: absolute;
}*/

.content-area {
	padding-block: var(--wp--preset--spacing--large);
}

/*main {
	padding-block: var(--wp--preset--spacing--large);
}*/

.site-footer__marquee {
	background-color: var(--wp--preset--color--contrast);
	background-image: linear-gradient(270deg, var(--wp--custom--color--gradient));
	border-block-start: 3px solid;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--big);
	font-weight: 700;
	line-height: 1;
	overflow-x: clip;
	padding-block: 0.25rem;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-footer__marquee p {
	display: flex;
	gap: 0.5ex;
}

.site-footer__marquee-scroller {
	flex-wrap: nowrap;
	gap: 0;
}

.site-footer__marquee-wrap {
	flex-grow: 0;
	flex-shrink: 0;
	will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
	.site-footer__marquee-wrap {
		animation: scrollingMarquee 10s linear infinite;
	}
}

@keyframes scrollingMarquee {
	0% {
	  transform: translateX(0);
	}
	100% {
	  transform: translateX(-100%);
	}
}

.site-footer {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--white);
	padding-block: var(--wp--preset--spacing--large) var(--wp--preset--spacing--medium);
}

.site-footer__logo {
	margin-inline: auto;
	max-inline-size: 350px;
}

.site-footer__meta {
	padding-block: var(--wp--preset--spacing--medium);
}

.site-footer__copyright {
	/*background-image: linear-gradient(#333 0 0);
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-size: 100% 3px;*/
	align-items: center;
	display: grid;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 2px;
	line-height: var(--wp--custom--typography--line-height--small);
	text-align: center;
	text-transform: uppercase;
}

.site-footer__copyright :is(.copyright, .agency-badge) {
/*	background-color: var(--wp--preset--color--contrast);*/
/*	padding-inline: 1rem;*/
}

.site-footer__divider {
	background-color: #333;
	block-size: 3px;
	border: none;
	display: block;
	inline-size: 100%;
}

@media ( width > 800px ) {
	.site-footer__copyright {
		grid-template-columns: auto 1fr auto;
		justify-content: center;
	}
}

.site-footer__tagline {
	text-align: center;
	text-transform: capitalize;
}

.site-footer__fine-print {
	background-color: var(--wp--preset--color--contrast);
	text-align: center;
}

.site-footer__content {
	padding-block: var(--wp--preset--spacing--medium) var(--wp--preset--spacing--large);
}

.menu--footer {
	align-items: center;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 1rem 2.5rem;
	justify-content: center;
	list-style-type: "";
	padding-inline-start: 0;
}

@media ( width > 800px ) {
	.menu--footer {
		align-items: stretch;
		flex-direction: row;
	}
}

.menu--footer a {
	font-size: 1rem;
	font-weight: 700;
	padding: var(--wp--preset--spacing--small);
	text-decoration: none;
	text-transform: uppercase;
}

.menu--footer a:where(:focus, :hover) {
	text-decoration: underline;
}

.site-footer__social {
	isolation: isolate;
	position: relative;
}

.site-footer__social::before {
	background-image: linear-gradient(270deg, var(--wp--custom--color--gradient));
	background-position: 50% 0;
	background-repeat: space no-repeat;
	background-size: 100% 2px;
	block-size: 2px;
	content: "";
	display: block;
	inline-size: 100%;
	inset-block-start: 50%;
	inset-inline-start: 0;
	mask-image: linear-gradient(90deg, rgb(0 0 0 / 1) 25%, transparent 25%);
	mask-repeat: space no-repeat;
	mask-size: 8px 2px;
	position: absolute;
	z-index: -1;
}

.site-footer__social-inner {
	background-color: var(--wp--preset--color--contrast);
	margin-inline: auto;
	max-inline-size: 300px;
	padding: 0.5rem;
	text-align: center;
}

.social-accounts--lede {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	text-transform: uppercase;
}

.site-footer__social .social-accounts {
	--wp--custom--spacing--block-gap-override: 0.625rem;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	list-style-type: "";
	padding-inline-start: 0;
}

.social-accounts svg {
	block-size: 1.5rem;
	fill: currentColor;
	inline-size: 1.5rem;
}

.social-accounts a:where(:focus, :hover) svg {
	fill: var(--wp--preset--color--primary);
}

.site-header {
	padding-inline: 0;
}

.site-header__inner {
	border-block-end: 4px solid;
	display: grid;
	grid-template-columns: auto 1fr auto;
	position: relative;
}

.site-header__inner::after {
	background-image: var(--wp--preset--gradient--girltaku);
	block-size: 100%;
	content: "";
	position: absolute;
	inline-size: 100%;
	inset-block-start: 0;
	inset-inline-start: 0;
	z-index: -1;
}

.site-header .custom-logo-link {
	display: inline-block;
	padding: 0.5rem 0.5rem 0 0.5rem;
	text-align: center;
	z-index: 1;
}

.site-header .custom-logo {
	inline-size: 190px;
	margin-block-end: -1rem;
}

.site-header .menu {
	display: none;
	gap: 3rem;
	grid-column: 1 / -1;
	grid-row: 2;
	justify-content: center;
}

.site-header .menu a,
.site-header .menu .button {
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
}

.site-header .menu a {
	display: block;
	padding: 0.5rem;
	text-underline-offset: 2px;
	text-decoration-thickness: 2px;
}

.site-header .menu .button {
	align-items: center;
	display: grid;
	grid-template-columns: 1fr auto;
	padding: 0;
}

.site-header .menu .btn-title {
	padding: 0.5rem;
	padding-inline-end: 0.25rem;
}

.site-header .menu .btn-icon {
	font-size: var(--wp--preset--font-size--medium);
	justify-self: center;
}

.site-header :where(.menu > .menu-item > a) {
	text-decoration-line: none;
}

.site-header :is(.menu, .sub-menu) {
	list-style-type: "";
	padding-inline-start: 0;
}

.site-header .sub-menu {
	display: none;
}

.site-header .menu-item-has-children {
	position: relative;
}

.site-header .menu-toggle {
	border-inline-end: 2px solid;
	margin-inline-end: auto;
	order: -1;
}

.menu-toggle .menu-close,
.menu-toggle[aria-expanded="true"] .menu-open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-close {
	display: unset;
}

.site-header .search-toggle {
	border-inline-start: 2px solid;
	margin-inline-start: auto;
}

.site-header .menu-toggle,
.site-header .search-toggle {
	align-self: stretch;
	flex-shrink: 0;
	min-block-size: 44px;
	min-inline-size: 58px;
}

.site-header .menu-toggle svg,
.site-header .search-toggle svg {
	block-size: 1.5rem;
	inline-size: 1.5rem;
}

.site-header__inner .header-search {
	margin-inline: auto;
}

.header-search {
	background-color: transparent;
	block-size: 100%;
	border: none;
	inline-size: 100%;
	padding-inline: 0;
}

.dialog__inner {
	block-size: 100%;
	display: grid;
	grid-template-rows: auto 1fr;
}

.dialog__inner form[method="dialog"] {
	text-align: end;
}

.dialog__inner .wp-block-search {
	align-self: center;
}

.search-close__icon {
	block-size: 1.5rem;
	inline-size: 1.5rem;
}

.header-search::backdrop {
	background-image: linear-gradient(270deg, #FAAEFD 0%, #A4F9EA 50%, #E3F171 100%);
}

.entry-header,
.entry-post-thumbnail {
	margin-block-end: var(--wp--preset--spacing--large);
}

:where(.single) .entry-header::after {
	background-image: var(--wp--preset--gradient--girltaku);
	background-position: 0 100%;
	background-size: 100%;
	block-size: 4px;
	content: "";
	display: block;
	margin-block-start: var(--wp--preset--spacing--large);
	margin-inline: auto;
	mask-image: radial-gradient(circle at 2px 2px, black 2px, transparent 0);
	mask-repeat: space no-repeat;
	mask-size: 10px 4px;
	max-inline-size: var(--wp--style--global--content-size);
}

.entry-post-thumbnail img {
	border: 4px solid;
	border-radius: 10px;
}

.entry-video > iframe {
	aspect-ratio: 16 / 9;
	block-size: auto;
	inline-size: 100%;
}

.single .entry-video {
	margin-block-end: var(--wp--preset--spacing--large);
}

.entry-title {
	text-wrap: pretty;
}

.single .entry-title {
	--wp--custom--typography--font-size: var(--wp--preset--font-size--huge);
}

.entry-meta {
	gap: 0 1ch;
}

@media ( width <= 800px ) {
	.site-header__inner:where(.menu-open) {
		max-block-size: 100vh;
		overflow-y: auto;
		overscroll-behavior-y: contain;
	}

	.site-header .menu {
		background-color: var(--wp--preset--color--white);
		border-block-start: 4px solid;
		flex-direction: column;
		margin-block: 0;
		overscroll-behavior-y: contain;
		padding: 1rem;
		row-gap: 1rem;
	}

	.site-header .menu-item-has-children {
		row-gap: 1rem;
	}

	.site-header .sub-menu-toggle {
		background-color: var(--wp--preset--color--primary);
		border: 3px solid;
		border-inline-start-width: 2px;
		border-radius: 0 5px 5px 0;
	}

	.site-header .menu-item-has-children:where(:not(:is(.menu-button))),
	.site-header .menu-button > .button {
		display: grid;
		grid-template-columns: 1fr 44px;
	}

	.site-header .menu-item-has-children > a,
	.site-header .menu-button > .button {
		background-color: var(--wp--preset--color--primary);
		border: 3px solid;
		border-radius: 5px;
	}

	.site-header .menu-item-has-children > a {
		border-inline-end: none;
		border-radius: 5px 0 0 5px;
	}

	.site-header .menu-button {
		display: grid;
		gap: 1rem;
		grid-template-columns: 1fr;
	}

	.site-header .menu-button .button {
		grid-template-columns: 1fr 44px;
		inline-size: 100%;
	}

	.site-header .menu-button .btn-title {
		text-align: initial;
	}

	.site-header .menu-item-has-children > .sub-menu {
		grid-column: 1 / -1;
	}

	.site-header .button[aria-expanded="true"] > .btn-icon,
	.site-header .sub-menu-toggle[aria-expanded="true"] svg {
		rotate: 90deg;
	}

	.menu-toggle[aria-expanded="true"] + .menu {
		display: flex;
	}

	.site-header [aria-expanded="true"] + .sub-menu {
		display: block;
	}
}

@media ( width > 800px ) {
	.site-header {
		margin-block-start: 1.875rem;
		padding-inline: var(--wp--custom--spacing--padding--site);
	}

	.site-header__inner {
		align-items: center;
		border: 4px solid;
		border-radius: 5px;
		display: flex;
		flex-wrap: nowrap;
		gap: var(--wp--custom--spacing--block-gap-override, var(--wp--custom--spacing--block-gap));
	}

	.site-header__inner::after {
		block-size: calc(100% + 6px);
		border-radius: 2px;
		inline-size: calc(100% + 6px);
		inset-block-start: 4px;
		inset-inline-start: 4px;
	}

	.site-header__inner > :is(*, div) {
		margin: 0;
	}

	.site-header .custom-logo-link {
		margin-inline-end: 0.5rem;
		position: relative;
	}

	.site-header .custom-logo-link::after {
		background-color: currentColor;
		block-size: 100%;
		content: "";
		display: block;
		inline-size: 2px;
		inset-block-start: 0;
		inset-inline-end: -2px;
		position: absolute;
	}

	.site-header .menu {
		display: flex;
	}

	.site-header .menu-item-has-children > a {
		padding-inline-end: 1rem;
	}

	.site-header .menu-item-has-children > :is(a, .button) {
		position: relative;
		z-index: 2;
	}

	.site-header .sub-menu {
		background: var(--wp--preset--color--white);
		border: 3px solid;
		border-radius: 10px;
		box-shadow: 6px 6px 0 var(--wp--preset--color--contrast);
		inline-size: max-content;
		inset-inline-start: 50%;
		max-inline-size: 300px;
		padding: 1rem 1.25rem;
		position: absolute;
		transform: translate(-50%, 1.25rem);
		z-index: 1;
	}

	.site-header .sub-menu::before {
		background-image: url("assets/elements/dropdown-menu-notch.svg");
		background-position: 50% 0;
		background-repeat: no-repeat;
		block-size: 12px;
		content: "";
		display: block;
		filter: drop-shadow(0px -4px 0 var(--wp--preset--color--contrast));
		inline-size: 24px;
		inset-block-start: -8px;
		inset-inline-start: 50%;
		position: absolute;
		transform: translateX(-50%);
	}

	.site-header .sub-menu::after {
		block-size: calc(100% + 2rem);
		content: "";
		inline-size: 100%;
		inset-block-start: calc(-1 * 2.25rem);
		inset-inline-start: 0;
		position: absolute;
		z-index: -1;
	}

	.site-header .sub-menu-toggle {
		inset-block-start: 50%;
		inset-inline-end: -0.25rem;
		pointer-events: none;
		position: absolute;
		transform: translateY(-50%);
		visibility: hidden;
	}

	.site-header .sub-menu-toggle svg {
		visibility: visible;
	}

	.site-header .menu-button > .button[aria-expanded="true"] + .sub-menu {
		display: block;
	}

	.site-header .menu-toggle {
		display: none;
	}

	.site-header .menu > .menu-item:where(:not(:is(.menu-item-has-children))) > a:where(:focus, :hover) {
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 2px;
	}

	.site-header .menu-item-has-children:where(:not(:is(.menu-button))):where(:focus-within) > .sub-menu {
		display: block;
	}

	.site-header .menu-item-has-children:focus-within > * svg {
		rotate: 90deg;
	}
}

@media ( hover:hover ) and ( width > 800px) {
	.site-header .menu-item-has-children:is(:hover) > .sub-menu {
		display: block;
	}

	.site-header .menu-item-has-children:is(:hover) > * svg {
		rotate: 90deg;
	}
}

:where(.home:not(.blog)) .entry-header {
	border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}


/*.single .content-area,*/
.layout-sidebar .content-area {
	column-gap: var(--wp--preset--spacing--medium);
	display: grid;
	justify-content: space-between;
	margin-inline: auto;
	max-inline-size: calc(var(--wp--custom--layout--wide-size) + 2 * var(--wp--custom--spacing--padding--site));
	row-gap: var(--wp--preset--spacing--large);
}

:where(.layout-wide .is-layout-constrained):is(.entry-header, .entry-content, .archive-header) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-inline-size: var(--wp--custom--layout--wide-size);
}

.video-post-type-content + .archive-header {
	margin-block-start: var(--wp--preset--spacing--large);
}


@media ( width > 800px ) {
/*	.single .content-area,*/
	.layout-sidebar .content-area {
		grid-template-columns: minmax(0, var(--wp--custom--layout--content-size)) 300px;
	}
}

/*:where(.page .is-layout-constrained):is(.entry-header, .entry-content) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-inline-size: var(--wp--custom--layout--wide-size);
}*/

.alignfull {
	margin-inline: calc(-1 * var(--wp--custom--spacing--padding--site));
}


/* Comments */

label {
	display: block;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

input:where(:not(:is([type="submit"], [type="checkbox"]))),
textarea {
	border: 2px solid;
	border-radius: 8px;
	font-family: inherit;
	font-size: inherit;
	inline-size: 100%;
	padding: 0.5rem 1rem;
}

/*input {
	padding: 0.5rem 1rem;
}*/

input:where(:not(:is([type="submit"], [type="checkbox"]))):focus,
textarea:where(:focus) {
	outline-color: currentColor;
	outline-offset: -4px;
    outline-style: solid;
    outline-width: 2px;
}

textarea {
	display: block;
	padding: 1rem;
}

input[type="checkbox"] {
	accent-color: var(--wp--preset--color--contrast);
	block-size: 1rem;
	inline-size: 1rem;
	margin: 0;
}

input[type="checkbox"] + label {
	display: inline-block;
	font-family: unset;
	font-weight: 400;
	line-height: var(--wp--custom--typography--line-height--small);
}

.entry-comments,
.comments-list {
	margin-block-start: var(--wp--preset--spacing--large);
}

.comment-form {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr 1fr;
	margin-block: 0;
}

.comment-form > * {
	grid-column: 1 / -1;
}

@media ( width > 800px ) {
	.comment-form-author,
	.comment-form-email {
		grid-column: span 1;
	}
}

.comment-form p {
	margin-block: 0;
}

.comment-reply-title {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	justify-content: space-between;
}

.comment-reply-title small {
	font-size: var(--wp--preset--font-size--large);
}

.comment-reply-title::after {
	background-image: var(--wp--preset--gradient--girltaku-alt);
	background-position: 0 0;
	background-size: 100%;
	block-size: 4px;
	content: "";
	display: block;
	inline-size: 100%;
	margin-block-start: 0.5rem;
	mask-image: radial-gradient(circle at 2px 2px, black 2px, transparent 0);
	mask-repeat: space no-repeat;
	mask-size: 10px 4px;
}

.comment-form-cookies-consent {
	align-items: baseline;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
	transform: translateY(0.25ex);
}


.commentlist,
.commentlist .children {
	list-style-type: "";
	padding-inline-start: 0;
}

.comment {
	background-color: var(--wp--preset--color--base);
	border: 4px solid #CDCBBC;
	border-radius: 0.625rem;
	padding: var(--wp--preset--spacing--medium);
}

:where(.children) .comment {
	border-width: 0.125rem;
}

:where(.comment).staff {
	background-color: var(--wp--preset--color--white);
	background-image: 
    	conic-gradient(var(--wp--preset--color--white) 0 0),
    	var(--wp--preset--gradient--girltaku-alt);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
	border: 0.375rem solid transparent;
}

.comment + .comment {
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.children) .comment + .comment {
	margin-block-start: var(--wp--preset--spacing--medium);
}

:is(.comment, .comment-body, .comment-meta, .comment-content, .comment-respond) > * {
	margin-block: 0;
}

:is(.comment, .comment-body, .comment-meta, .comment-content, .comment-respond) > * + * {
	margin-block-start: var(--wp--custom--spacing--block-gap-override, var(--wp--custom--spacing--block-gap));
}

.comment-meta {
	--wp--custom--spacing--block-gap-override: 0px;
}

.comment-author {
	font-size: var(--wp--preset--font-size--large);
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	font-size: var(--wp--preset--font-size--small);
}

.comment-reply-link {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.5px;
}

:where(.comment) .comment-respond {
	margin-block-start: var(--wp--preset--spacing--large);
}

:where(.comment) .comment-respond:where(:not(:last-child)) {
	margin-block-end: var(--wp--preset--spacing--large);
}

/* Pagination */

.pagination {
	--wp--custom--spacing--block-gap-override: var(--wp--preset--spacing--large);
}

:where(.pagination) .nav-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--small);
	justify-content: center;
}
:where(.pagination .nav-links) .page-numbers {
	background-color: var(--wp--preset--color--base);
	border: 2px solid var(--wp--preset--color--contrast);
	border-radius: 8px;
	display: grid;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	min-block-size: 44px;
	min-inline-size: 44px;
	place-content: center;
	text-align: center;
	text-decoration: none;
}

:where(.pagination) .nav-links a:where(:focus, :hover) {
	background-color: var(--wp--preset--color--white);
} 

:where(.pagination) .nav-links .current {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--white);
}

:where(.pagination) .nav-links .dots {
	border-color: transparent;
	min-inline-size: auto;
}


/* Archive Styles */

.archive-posts {
	--_archive-columns: 1;
	align-items: start;
	gap: 1.25rem;
	grid-template-columns: repeat(var(--_archive-columns), 1fr);
	margin-block-start: var(--wp--preset--spacing--large);
}

/*.featured-grid {
	gap: 2.5rem 1.25rem;
}*/

.featured-grid-top {
	align-items: start;
	background-image: linear-gradient(90deg, rgb(0 0 0 / 0.2) 25%, transparent 25%);
	background-position: 50% 100%;
	background-repeat: space no-repeat;
	background-size: 8px 2px;
	gap: 1.25rem 2.5rem;
	padding-block-end: 1.25rem;
}

.post-summary {
	align-items: stretch;
	flex-direction: column;
	position: relative;
}

.post-summary__placeholder {
	aspect-ratio: 1920 / 1080;
	object-fit: cover;
}

.post-summary__thumbnail img {
	border: 4px solid;
	border-radius: 10px;
	inline-size: 100%;
}

.post-summary__title {
	font-size: var(--wp--preset--font-size--large);
}

.post-summary__categories {
	--wp--custom--spacing--block-gap-override: var(--wp--preset--spacing--small);
}

.post-summary__category {
	--_border-color: var(--wp--preset--color--primary);
	border: 2px solid var(--_border-color);
	border-radius: 100vmax;
	display: inline-block;
	font-weight: 700;
	line-height: 1;
	padding: 0.25rem 0.5rem;
	text-decoration: none;
	text-transform: uppercase;
}

.post-summary__category:nth-child(even) {
	--_border-color: var(--wp--preset--color--quaternary);
}

.post-summary--featured .post-summary__title {
	font-size: var(--wp--preset--font-size--huge);
}

.post-summary__icon {
	transform: translateY(-0.125ex);
	margin-inline-end: 0.5ex;
}

.featured-grid-top .post-summary:where(:not(.post-summary--featured)) {
	background-image: linear-gradient(90deg, rgb(0 0 0 / 0.2) 25%, transparent 25%);
	background-position: 50% 0%;
	background-repeat: space no-repeat;
	background-size: 8px 2px;
	padding-block-start: 1.25rem;
}

@media ( width > 800px ) {
	:where(.archive, .blog, .search) .archive-posts {
		--_archive-columns: 2;
	}

	:where(.archive, .blog, .search) .featured-grid {
		--_archive-columns: 3;
	}

	.featured-grid-top {
		grid-auto-columns: 1fr;
		grid-column: 1 / -1;
	}

	.featured-grid-top .post-summary--featured {
		grid-area: featured;
		position: relative;
	}

	/*.featured-grid-top .post-summary:nth-child(2) {
		position: relative;
	}*/

	.featured-grid-top .post-summary--featured::before {
		background-image: linear-gradient(0deg, rgb(0 0 0 / 0.2) 25%, transparent 25%);
		background-position: 100% 0%;
		background-repeat: no-repeat space, no-repeat space;
		background-size: 2px 8px;
		block-size: 100%;
		content: "";
		display: block;
		inline-size: 2px;
		inset-block-start: 0;
		inset-inline-end: -1.25rem;
		position: absolute;
	}
}

@media ( 800px < width <= 1000px ) {
	:where(.featured-grid) .featured-grid-top {
/*		align-content: stretch;*/
		align-items: stretch;
		gap: 1rem 2.5rem;
		grid-template-areas:
			"featured post1"
			"featured post2"
			"featured post3"
			"featured post4";
/*			"featured .";*/
	}

	.featured-grid-top .post-summary {
		align-items: start;
		flex-direction: row;
		flex-wrap: nowrap;
	}

	.featured-grid-top .post-summary:where(:not(.post-summary--featured)) {
		background-image: none;
		padding-block-start: 0;
	}

	.featured-grid-top .post-summary__thumbnail {
		flex-basis: 50%;
		flex-shrink: 0;
	}
}

@media ( width > 1000px ) {
	:where(.archive, .blog, .search) .archive-posts {
		--_archive-columns: 4;
		margin-inline: auto;
		max-inline-size: var(--wp--custom--layout--wide-size);
	}

	:where(.archive, .blog, .search) .featured-grid {
		--_archive-columns: 3;
		gap: 2.5rem;
	}

	:where(.featured-grid) .featured-grid-top {
		align-items: stretch;
		grid-template-areas:
			"featured featured post1 post2"
			"featured featured post3 post4";
/*			"featured featured . .";*/
		padding-block-end: 2.5rem;
		row-gap: 0;
	}

	/*.featured-grid-top .post-summary:where(:not(.post-summary--featured)) {
		padding-block-end: 1.25rem;
	}*/

	.featured-grid-top .post-summary:nth-child(even)::before {
		background-image: linear-gradient(0deg, rgb(0 0 0 / 0.2) 25%, transparent 25%);
		background-position: 100% 0%;
		background-repeat: no-repeat space, no-repeat space;
		background-size: 2px 8px;
		block-size: 100%;
		content: "";
		display: block;
		inline-size: 2px;
		inset-block-start: 0;
		inset-inline-end: -1.25rem;
		position: absolute;
	}

	.featured-grid-top .post-summary:where(:nth-child(n+2):nth-child(-n+3)) {
		background-image: none;
		padding-block-end: 1.25rem;
		padding-block-start: 0;
	}

	.featured-grid-top .post-summary:where(:nth-child(n+4)) {
		background-image: linear-gradient(90deg, rgb(0 0 0 / 0.2) 25%, transparent 25%);
		background-position: 50% 0%;
		background-repeat: space no-repeat;
		background-size: 8px 2px;
		padding-block-start: 1.25rem;
	}
}


.page .content-area:where(:has( .entry-content > .wp-block-group.alignfull.has-background:last-child )) {
	padding-block-end: 0;
}


.block-section-before-footer {
	margin-block: var(--wp--preset--spacing--large);
}

.block-section-before-footer:where(:has( > .wp-block-group.alignfull.has-background:first-child )) {
	margin-block-start: 0;
}

.block-section-before-footer:where(:has( > .wp-block-group.alignfull.has-background:last-child )) {
	margin-block-end: 0;
}

/* Related Articles */

.entry-related-articles {
	margin-block-start: var(--wp--preset--spacing--large);
}

@media ( width > 600px ) {
	.entry-related-articles {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media ( width > 1000px ) {
	.entry-related-articles {
		grid-template-columns: repeat(3, 1fr);
	}
}

.entry-related-videos {
	margin-block-start: var(--wp--preset--spacing--large);
}

.entry-related-videos .archive-posts {
	margin-block-start: var(--wp--preset--spacing--medium);
}

.entry-related-videos .featured-grid-top {
	background-image: none;
	padding-block-end: 0;
}


/* Entry Categories */

.entry-categories {
	background-image: linear-gradient(90deg, rgb(0 0 0 / 0.2) 25%, transparent 25%), linear-gradient(90deg, rgb(0 0 0 / 0.2) 25%, transparent 25%);
	background-position: 50% 0%, 50% 100%;
	background-repeat: space no-repeat, space no-repeat;
	background-size: 8px 2px, 8px 2px;
	gap: 0.625rem;
	line-height: var(--wp--custom--typography--line-height--small);
	margin-block-start: var(--wp--preset--spacing--large);
	padding-block: var(--wp--preset--spacing--medium);
}

.entry-categories__title {
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1rem;
	font-weight: 800;
}

.entry-categories__list {
	display: contents;
	list-style-type: "";
	padding-inline-start: 0;
}

