/* ----------------------------------------------------------------
    Agency demo styles
-----------------------------------------------------------------*/

:root {
	--cnvs-themecolor: #c0bb62;
	--cnvs-themecolor-rgb: 192, 187, 98;
}

#header {
	--cnvs-primary-menu-submenu-font-size:	0.875rem;
	--cnvs-primary-menu-submenu-font-weight:	400;
	--cnvs-primary-menu-submenu-hover-font-weight: 500;
	--cnvs-primary-menu-submenu-tt:	none;
}

#header {
	--cnvs-header-border-color: transparent;
}

.is-expanded-menu .mega-menu-style-2 .mega-menu-title > .menu-link {
	font-size: calc(var(--cnvs-primary-menu-submenu-font-size) * 0.9);
}

.is-expanded-menu .menu-link {
	--cnvs-primary-menu-padding-x: 20px;
}

#header:not(.sticky-header) #header-wrap .header-row {
	border-top: 1px solid rgba(var(--cnvs-contrast-rgb), 0.1);
	border-bottom: 1px solid rgba(var(--cnvs-contrast-rgb), 0.1);
}

@media (min-width: 992px) {

	.boxed-slider { padding-top: 60px; }

}

#footer {
	--cnvs-footer-bg: transparent;
	border: 0;
	margin: 0;
	padding: 0;
}

#footer .container {
	border-top: 1px solid rgba(var(--cnvs-contrast-rgb), 0.1);
	padding: 50px 0;
}

#copyrights {
	background-color: transparent;
	padding: 0;
}


/* RTL */

@media (min-width: 992px) {
	body.rtl .primary-menu.style-2 ul li .mega-menu-content {
		left: 0;
		right: -15px;
	}
	body:not(.device-sm):not(.device-xs):not(.device-xxs).rtl .primary-menu.style-2.center > div > ul { text-align: right; }
}



/* ----------------------------------------------------------------
    Additive: Agency demo composed surfaces
    (work single, blog single sidebar, blog feed, archive scope:
    styles for the demo's own designed pages; everything above this
    marker is the 1:1 ported demo stylesheet.)
-----------------------------------------------------------------*/

/* Work single */
.single-agency-work .work-image {
	width: 100%;
	border-radius: 0.25rem;
}

.single-agency-work .single-work-content .work-image {
	margin-bottom: 1.5rem;
}

.single-work-meta .work-category {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--cnvs-themecolor);
}

.work-attributes {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	border-top: 1px solid rgba(var(--cnvs-contrast-rgb), 0.1);
}

.work-attributes li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(var(--cnvs-contrast-rgb), 0.1);
}

.work-attributes .attr-label {
	color: rgba(var(--cnvs-contrast-rgb), 0.6);
}

.single-work-cta .button {
	margin: 0;
}

.single-work-footer {
	margin-top: 3rem;
}

.single-work-footer .single-work-back {
	margin: 0 0 2.5rem;
}

.related-works-title {
	margin-bottom: 1.5rem;
}

/* Blog single */
.agency-post .entry-content blockquote {
	border-left: 3px solid var(--cnvs-themecolor);
	padding-left: 1.25rem;
	font-family: var(--cnvs-secondary-font);
	font-style: italic;
}

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

.agency-post .sidebar .wp-block-categories li,
.agency-post .sidebar .wp-block-latest-posts__list li {
	padding: 0.375rem 0;
	border-bottom: 1px dashed rgba(var(--cnvs-contrast-rgb), 0.1);
}

.agency-post .sidebar .wp-block-tag-cloud .tag-cloud-link {
	display: inline-block;
	margin: 0 0.25rem 0.5rem 0;
	padding: 0.25rem 0.75rem;
	border: 1px solid rgba(var(--cnvs-contrast-rgb), 0.15);
	border-radius: 2rem;
	font-size: 0.8125rem !important;
	color: rgba(var(--cnvs-contrast-rgb), 0.7);
}

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

/* The demo's fonts line loads PT Serif as the display serif, but the design
   token still points at a font the demo never loads: wire the loaded font
   as the secondary/serif face on Agency views (body scope wins over :root). */
.agency {
	--cnvs-secondary-font: "PT Serif", serif;
}


/* Core's img[class*=wp-image-] { height:auto } rule makes the testimonial
   avatar resolve to its natural size instead of its 72px attribute size:
   restate the reference geometry under the demo scope. */
.agency .testimonial .slide .col-auto img {
	width: 72px;
	height: 72px;
}
