/**
 * Videographer demo styles.
 *
 * Ported 1:1 from the demo design; body kept byte-identical so upstream
 * fixes diff cleanly. Additive sections, if any, are marked below.
 */

/* ----------------------------------------------------------------
	Canvas: Videographer
-----------------------------------------------------------------*/

:root, .not-dark {
	--cnvs-themecolor: #e69c48;
	--cnvs-themecolor-rgb: 230, 156, 72;
	--cnvs-dark-color: #000;

	--cnvs-body-font: "area-normal", sans-serif;
	--cnvs-primary-font: 'arsenica-variable', sans-serif;
	--cnvs-secondary-font: "afronaut", sans-serif;

	--cnvs-slider-arrows-bg-color: transparent;
	--cnvs-slider-arrows-bg-hover-color: transparent;

	--cnvs-frame-offset: 20px;
	--cnvs-frame-bg: var(--cnvs-contrast-200);
	--cnvs-slider-gradient-bg: var(--cnvs-contrast-rgb);
	font-variation-settings: "opsz" 100, "wght" 400;

	--cnvs-header-bg: transparent;
}

body.dark,
.dark {
	--cnvs-body-bg: var(--cnvs-dark-color);
	/* --cnvs-header-bg: var(--cnvs-body-bg); */
	--cnvs-frame-bg: var(--cnvs-contrast-200);
	--cnvs-header-sticky-bg: transparent;
}

.dark .not-dark .menu-link {
	--cnvs-primary-menu-color: #fff;
}

.swiper-slide .button:not(:hover) {
	border-color: rgba(var(--cnvs-contrast-rgb),.25) !important;
}

/* Dark Mode Switch */
.body-scheme-toggle {
	position: fixed;
	top: auto;
	right: calc(var(--cnvs-frame-offset) + 15px);
	bottom: calc(var(--cnvs-frame-offset) + 15px);
	text-align: center;
	margin: 0 auto;
	z-index: 299;
}

.swiper-kenburn-effect .swiper-slide .swiper-slide-bg {
	transition: 10s ease-out;
	transform: scale(1);
}

.swiper-kenburn-effect .swiper-slide.swiper-slide-active .swiper-slide-bg {
	transform: scale(1.1);
}

#header {
	--cnvs-primary-menu-font-size: 1.25rem;
	--cnvs-primary-menu-font: var(--cnvs-primary-font);
	--cnvs-primary-menu-font-weight: 400;
	--cnvs-primary-menu-ls: 0px;
	--cnvs-primary-menu-tt: none;
}

.is-expanded-menu #header + .include-header {
	margin-top: -181px;
}

/* Image Hover */
.img-hover-block {
	z-index: 0;
}

.img-hover-block span {
	position: relative;
	color: var(--cnvs-contrast-1000);
}

.img-hover-block small {
	position: absolute;
	font-size: 26%;
	font-weight: normal;
	top: 5px;
	right: 5px;
	color: var(--cnvs-themecolor);
}

.img-hover-block:hover span {
	mix-blend-mode: difference;
	z-index: 2;
}

body:not(.dark) .img-hover-block:hover span {
	color: var(--cnvs-contrast-0);
}

.hover-reveal {
	position: fixed;
	width: 220px;
	height: 280px;
	top: 0;
	left: 0;
	pointer-events: none;
	opacity: 0;
	z-index: 1;
}

.hover-reveal__inner,
.hover-reveal__img {
	width: 100%;
	height: 100%;
	position: relative;
}

.hover-reveal__inner {
	overflow: hidden;
}

.hover-reveal__img {
	background-size: cover;
	background-position: 50% 50%;
	border-radius: 4px;
}

.portfolio-desc h3 {
	font-size: 1.5rem;
}

.grid-filter li a {
	font-family: monospace;
	font-weight: normal !important;
	--cnvs-grid-filter-item-font-size: 1rem;
}

.grid-filter li:not(.activeFilter):not(:hover) a {
	color: var(--cnvs-contrast-400);
}


/* ----------------------------------------------------------------
	NOTE: hover-reveal states moved

	The design's hover image-reveal is driven by a script in the source
	document, which sets opacity and the wipe transforms from JavaScript.
	More than one design uses that same `.img-hover-block[data-img]`
	contract, so the behaviour and the transition states it toggles now
	ship as a shared, conditionally-loaded theme feature
	(assets/js/features/hover-reveal.js + assets/css/features/hover-reveal.css,
	detected by the `img-hover-block` class needle). Only the layer's SIZE
	and radius are design-owned, and those stay in the ported section above.
	Everything above this line is the ported design, unchanged.
-----------------------------------------------------------------*/

/* ----------------------------------------------------------------
	ADDITIVE: journal article + archive

	The design ships a news LIST only, so the article, the category /
	tag archives and the article sidebar are dressed here in the same
	vocabulary the list uses: display face for headings, monospace for
	meta, theme colour for links on hover. Tokens only, no new values.
-----------------------------------------------------------------*/

.videographer-post .entry,
.videographer-archive .entry {
	box-shadow: none;
}

.videographer-post .entry-title h1,
.videographer-post .entry-title h2,
.videographer-archive .entry-title h2,
.videographer-archive .entry-title h3 {
	font-family: var(--cnvs-primary-font);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.videographer-post .entry-title h1 {
	font-size: 2.5rem;
	line-height: 1.2;
}

.videographer-archive .entry-title h2 a,
.videographer-archive .entry-title h3 a {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.videographer-post .entry-meta li,
.videographer-archive .entry-meta li {
	font-family: monospace;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: .75rem;
	opacity: .6;
}

.videographer-post .entry-content p,
.videographer-archive .entry-content p {
	line-height: 1.9;
}

.videographer-post .sidebar .widget-title,
.videographer-archive .sidebar .widget-title {
	font-family: var(--cnvs-primary-font);
	font-weight: 400;
	font-size: 1.25rem;
	text-transform: none;
	letter-spacing: 0;
	margin-bottom: 20px;
}

.videographer-post .sidebar .widget + .widget {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid rgba(var(--cnvs-contrast-rgb), .1);
}

.videographer-post .sidebar .wp-block-latest-posts__list li,
.videographer-post .sidebar .wp-block-categories-list li {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.videographer-post .sidebar .wp-block-latest-posts__list,
.videographer-post .sidebar .wp-block-categories-list {
	margin: 0;
	padding: 0;
}

.videographer-post .sidebar .wp-block-latest-posts__post-title {
	display: block;
	font-family: var(--cnvs-primary-font);
	line-height: 1.4;
}

.videographer-post .sidebar .wp-block-latest-posts__post-date {
	display: block;
	font-family: monospace;
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: .5;
	margin-top: 4px;
}

.videographer-post .sidebar a,
.videographer-archive .sidebar a {
	color: var(--cnvs-contrast-800);
}

.videographer-post .sidebar a:hover,
.videographer-archive .sidebar a:hover {
	color: var(--cnvs-themecolor);
}

/* WordPress sets a per-tag inline font-size on tag-cloud links, so the
   demo's own size needs to win over that attribute. */
.videographer-post .sidebar .tag-cloud-link,
.videographer-archive .sidebar .tag-cloud-link {
	display: inline-block;
	font-family: monospace;
	font-size: .7rem !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 5px 12px;
	margin: 0 6px 6px 0;
	border: 1px solid rgba(var(--cnvs-contrast-rgb), .15);
	border-radius: 50rem;
}

.videographer-post .sidebar .tag-cloud-link:hover {
	border-color: var(--cnvs-themecolor);
}

.videographer-post .related-posts .entry-title h4 {
	font-family: var(--cnvs-primary-font);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

/* ----------------------------------------------------------------
	ADDITIVE: contact form chrome

	The form block adds its own `.cnvs-field-*` classes on top of the
	design's `form-control border-form-control` fields. Two of its
	defaults contradict the design: a smaller label and a filled input
	box, where this design wants the label at body size and an
	underline-only field. Scoped to the demo, values from the design.
-----------------------------------------------------------------*/

.videographer .cnvs-field-label {
	font-size: 1rem;
	line-height: 1.5;
}

.videographer .cnvs-field-input.border-form-control {
	background-color: transparent;
}
