/*
 * Diesel theme styles.
 *
 * One stylesheet, plain flexbox layout, no framework. Sections:
 *   1. Tokens and base type
 *   2. Layout: wrap, sections, colours, cols, with-sidebar, split
 *   3. Buttons
 *   4. Site navigation (top bar, dropdowns, full-screen menu)
 *   5. Page header
 *   6. Front page: hero, cta panels, features
 *   7. Filter bar and filterable grid
 *   8. Cards: products, blog posts, post content
 *   9. Sidebar and widgets
 *  10. Theme details
 *  11. Footer
 *  12. Pager and search
 *  13. Services page
 *  14. Responsive adjustments
 */

/* 1. Tokens and base type ------------------------------------------------- */

:root {
	--ink: #1b1b1b;
	--ink-soft: #3a3a3a;
	--text: #525252;
	--text-on-dark: #bcbcbc;
	--accent: #2b72e6;
	--accent-hover: #175ac7;
	--line: #ececec;
	--line-on-dark: #2e2e2e;
	--bg-soft: #f9f9f9;
	--card-radius: 3px;
	--gap: 30px;
	--wrap: 1200px;
	--sticky-top: 120px;
}

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

html {
	font-size: 16px;
}

body {
	margin: 0;
	overflow-x: hidden;
	background-color: var(--ink);
	color: var(--text);
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	letter-spacing: 0.005em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--ink);
	font-family: 'Outfit', 'Inter', system-ui, sans-serif;
	font-weight: 600;
	line-height: 1.2;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.15s;
}

a:hover,
a:focus {
	color: #124599;
	text-decoration: none;
}

/* Linked headings are not underlined. */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	text-decoration: none;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
	margin: 0 0 1.25em;
}

.main {
	overflow-x: hidden;
}

.separator {
	display: block;
	border-bottom: 1px solid var(--line);
}

/* 2. Layout --------------------------------------------------------------- */

.wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 15px;
}

/* Vertical padding for a page section. */
.section {
	position: relative;
	padding: 60px 0;
}

.section--tall {
	padding: 80px 0;
}

.section--hero {
	padding: 190px 0;
}

/* .section--more-bottom {
	padding-bottom: 100px;
} */

.bg-soft { background-color: var(--bg-soft); }
.bg-ink { background-color: var(--ink); }
.bg-accent { background-color: var(--accent); }
.bg-white { background-color: #fff; }

.center { text-align: center; }
.on-dark { color: #fff; }
.dim { opacity: 0.8; }

/* A centred block: 83% wide on tablets, 67% on desktop. */
.narrow {
	width: 100%;
	margin-inline: auto;
}

/* Page text is held to a reading width on desktop. */
@media (min-width: 992px) {
	.narrow--page {
		max-width: 800px;
	}
}

@media (min-width: 768px) {
	.narrow { max-width: 83.3333%; }
}

@media (min-width: 992px) {
	.narrow { max-width: 66.6667%; }
}

/* Equal columns in a row. --cols sets the count, --gap the space between. */
.cols {
	--cols: 1;
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
	align-items: stretch;
}

.cols > * {
	min-width: 0;
	max-width: 100%;
	flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
}

.cols--2 { --cols: 1; }
.cols--3 { --cols: 1; }
.cols--3-xl { --cols: 1; }

@media (min-width: 768px) {
	.cols--2 { --cols: 2; }
	.cols--3 { --cols: 2; }
}

@media (min-width: 992px) {
	.cols--3 { --cols: 3; }
}

@media (min-width: 768px) {
	.cols--3-xl { --cols: 2; }
}

@media (min-width: 1200px) {
	.cols--3-xl { --cols: 3; }
}

/* Main content beside a sidebar: two thirds and one third from desktop up. */
.with-sidebar {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.with-sidebar > * {
	min-width: 0;
}

@media (min-width: 992px) {
	.with-sidebar {
		flex-direction: row;
		align-items: flex-start;
	}

	.with-sidebar > :first-child {
		flex: 1 1 0;
	}

	.with-sidebar > :last-child {
		flex: 0 0 33.3333%;
	}
}

/* Full-width halves: stacked on phones, side by side from desktop. */
.split {
	display: flex;
	flex-wrap: wrap;
}

.split > * {
	display: flex;
	align-items: center;
	min-width: 0;
	flex: 1 1 100%;
}

@media (min-width: 992px) {
	.split > * {
		flex-basis: 0;
	}
}

/* Shared spacing for page parts. */
.hero {
	position: relative;
	z-index: 1;
	display: block;
	padding: 190px 0;
}

.section-heading {
	margin-bottom: 60px;
}

.view-all {
	margin: 70px 0 20px;
}

.empty-state {
	padding: 50px 0;
	text-align: center;
}

.purchase-box {
	margin-bottom: 40px;
}

/* Purchase and preview buttons share the sidebar width: side by side when there are two. */
.purchase-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.purchase-buttons > * {
	min-width: 0;
	flex: 1 1 0;
}

.purchase-buttons .edd-submit,
.purchase-buttons .button {
	display: block;
	width: 100%;
}

.search-heading {
	padding: 60px 0;
}

.search-heading h1 {
	margin: 0 auto 30px;
	max-width: 680px;
	color: var(--ink);
	font-size: 2.25rem;
	text-align: center;
}

/* Shown on desktop only. */
.desktop-only {
	display: none;
}

@media (min-width: 992px) {
	.desktop-only {
		display: block;
	}
}

/* 3. Buttons -------------------------------------------------------------- */

/* .edd-submit is the Easy Digital Downloads purchase button; it uses the same styles. */
.button,
.edd-submit {
	position: relative;
	display: inline-block;
	padding: 11px 26px;
	margin: 0;
	border: 0;
	border-radius: var(--card-radius);
	background-color: var(--accent);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.02em;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.button:hover,
.button:focus,
.button:active {
	background-color: var(--accent-hover);
	color: #fff;
	text-decoration: none;
	outline: none;
}

.edd-submit {
	padding: 15px 20px;
	letter-spacing: 0.03em;
	border: 1px solid transparent;
}

.portfolio-item-overlay .edd-submit {
	margin-left: 10px;
}

.button--lg {
	padding: 21px 38px;
}

.button--sm {
	padding: 12px 25px;
	font-size: 0.8rem;
}

.button--block {
	display: block;
	width: 100%;
}

.button--dark {
	background-color: var(--ink-soft);
}

.button--dark:hover,
.button--dark:focus {
	background-color: #141414;
}

.button--outline {
	background-color: transparent;
	color: rgba(255, 255, 255, 0.8);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.button--outline:hover,
.button--outline:focus {
	background-color: #fff;
	color: var(--ink);
	box-shadow: inset 0 0 0 2px #fff;
}

/* 4. Site navigation ------------------------------------------------------ */

/* Top bar. Scrolls with the page; hides on scroll down and returns on scroll up. */
.site-nav {
	position: relative;
	z-index: 1000;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 100vw;
	min-height: 80px;
	background-color: var(--ink);
	transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.site-nav.is-scrolled {
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-nav--autohide {
	will-change: transform;
	transition: transform 0.2s ease-in-out;
	transform: translateY(0);
}

.site-nav--autohide.is-hidden {
	transform: translateY(-100px);
}

.site-nav--autohide.is-shown {
	transform: translateY(0);
}

/* A transformed ancestor traps position: fixed, so the open menu overlay would be
   confined to the bar. Drop the transform while the overlay is open. */
.site-nav--autohide:has(.wp-block-navigation__responsive-container.is-menu-open),
.site-nav--autohide:has(.menu-screen.is-open) {
	transform: none;
	transition: none;
	will-change: auto;
}

/* Mobile overlay menu: light text on the ink background, links centred in the screen. */
.site-nav .wp-block-navigation__responsive-container.is-menu-open {
	color: var(--text-on-dark);
	background-color: var(--ink);
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: center;
	justify-content: center;
	text-align: center;
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: none;
	height: 100%;
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--text-on-dark);
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--text-on-dark);
	font-size: 1.5rem;
	line-height: 1.4;
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus {
	color: #fff;
}

.site-nav__inner {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 15px;
}

.site-logo {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	max-width: 100%;
	margin-right: 50px;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

.site-logo a {
	color: #fff;
}

.site-logo:hover,
.site-logo:focus,
.site-logo:active {
	color: #fff;
	opacity: 0.5;
	text-decoration: none;
}

/* Uploaded logo (Customizer > Site Identity). Sized to fit the bar. */
.site-logo .custom-logo-link {
	display: flex;
	align-items: center;
}

.site-logo .custom-logo {
	display: block;
	width: auto;
	max-width: 240px;
	max-height: 40px;
}

/* Right-aligned menu. Floats are ignored on flex items, so margin-left: auto pushes it to the right edge. */
.site-nav__content {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	margin-left: auto;
	max-width: 100%;
}

/* Menus: the main menu fills its container. */
.menu {
	display: flex;
	flex: 1 1 0;
	flex-wrap: wrap;
	align-items: center;
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .menu:not(:last-child) {
	margin-right: auto;
}

.menu__item {
	position: relative;
	margin: 0 19px 0 0;
	padding: 0;
	list-style: none;
}

.menu__item:last-child {
	margin-right: 0;
}

.menu__link {
	display: flex;
	align-items: center;
	padding: 10px 0;
	color: var(--text-on-dark);
	font-size: 15px;
	line-height: 1;
	transition: color 0.2s ease-in-out;
}

.menu__link:hover,
.menu__link:focus,
.menu__link.is-active {
	color: #fff;
	text-decoration: none;
}

.menu__item.is-current > .menu__link {
	color: #fff;
}

/* .menu__item.is-current > .menu__link::before {
	content: "";
	position: absolute;
	right: -15px;
	bottom: 0;
	left: -15px;
	height: 2px;
} */

.menu__caret {
	margin-left: 6px;
	font-size: 0.7em;
}

/* Dropdown panel for items with children. */
.menu__sub {
	position: absolute;
	top: 100%;
	left: -20px;
	z-index: 10;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background-color: var(--ink);
	border-top: 2px solid var(--accent);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.menu__item:hover > .menu__sub,
.menu__item:focus-within > .menu__sub,
.menu__item.is-open > .menu__sub {
	display: block;
}

.menu__sub .menu__link {
	padding: 10px 20px;
	white-space: nowrap;
}

.menu__sub-arrow {
	display: none;
}

.menu__sub--flip-left {
	left: auto;
	right: 0;
}

.menu__sub--flip-right {
	left: 0;
}

/* Hamburger button. Hidden on desktop. */
.menu-toggle {
	position: absolute;
	right: 20px;
	display: none;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	width: 34px;
	height: 20px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	visibility: hidden;
}

.menu-toggle > span {
	display: flex;
	width: 24px;
	height: 2px;
	background-color: #fff;
	transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.menu-toggle > span + span {
	margin-top: 5px;
}

.menu-toggle > span:nth-child(2) {
	width: 16px;
}

.menu-toggle.is-active > span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active > span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-active > span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

.menu-toggle:hover > span,
.menu-toggle:focus > span {
	background-color: var(--accent);
}

/* Full-screen menu, used on phones and tablets. */
.menu-screen {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1000;
	display: none;
	width: 100vw;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: var(--ink);
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.menu-screen.is-open {
	z-index: 1000;
	visibility: visible;
	opacity: 1;
}

.menu-screen.is-open .menu-toggle {
	visibility: visible;
}

.menu-screen__content {
	display: flex;
	flex-direction: column;
	gap: 49px;
	padding: 90px 20px;
}

.menu-screen .menu {
	flex-direction: column;
	align-items: stretch;
	min-width: 240px;
}

.menu-screen .menu__item {
	margin: 0;
}

.menu-screen .menu__link {
	font-size: 0.875rem;
}

.menu-screen .menu__sub {
	position: static;
	display: block;
	min-width: 0;
	border-top: 0;
	box-shadow: none;
	padding-left: 16px;
}

/* Every item in the full-screen menu sits on the left edge. */
.menu-screen,
.menu-screen .menu,
.menu-screen .menu__item,
.menu-screen .menu__link,
.menu-screen .menu__sub {
	text-align: left;
}

/* Below desktop: the bar shows the hamburger, the full-screen menu holds the links. */
@media (max-width: 991px) {
	.site-nav__content {
		display: none;
	}

	.site-nav .menu-toggle {
		visibility: visible;
		display: flex;
	}

	.menu-screen {
		display: block;
	}
}

/* Close button inside the full-screen menu. JS aligns it with the bar's hamburger. */
.menu-screen .menu-toggle {
	display: flex;
}

.menu-toggle--screen {
	position: absolute;
	top: 0;
	left: 0;
}

/* 5. Page header ---------------------------------------------------------- */

.page-header {
	position: relative;
	z-index: 1;
	display: block;
	padding: 30px 0;
}

.page-header__inner {
	display: flex;
	justify-content: center;
}

.page-header__title {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
	color: #fff;
}

.page-header__title h1 {
	margin-bottom: 0;
	color: #fff;
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.2;
}

@media (max-width: 991.98px) {
	.page-header__title {
		max-width: 720px;
	}
}

.page-header .header-title-overlay {
	position: absolute;
	inset: 0;
}

.title-date {
	margin-top: 5px;
	text-align: center;
	color: #fff;
}

/* Background image with parallax. */
.bg-image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	overflow: hidden;
	background-position: 50% 50%;
	background-size: cover;
}

.bg-image > * {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background-position: 50% 50%;
	background-size: cover;
}

.bg-image-parallax {
	overflow: hidden;
}

.bg-image-parallax img,
.bg-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bg-image-parallax > img.jarallax-img {
	position: absolute;
	top: -20%;
	bottom: auto;
	left: 0;
	width: 100%;
	height: 140%;
	max-width: none;
	object-fit: cover;
	will-change: transform;
}

.display-title {
	font-size: 3rem;
	margin: 0;
}

.home-header {
	margin-bottom: 22px;
	font-size: 62px;
}

/* 6. Front page ----------------------------------------------------------- */

.hero-actions {
	margin-top: 10px;
}

.cta-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	padding: 80px;
	box-sizing: border-box;
}

.cta-panel h2 {
	color: #fff;
}

.cta-panel p {
	color: #fff;
	opacity: 0.8;
}

.cta-panel .button {
	margin-top: 30px;
}

@media (max-width: 991.98px) {
	.cta-panel {
		align-items: center;
		padding: 32px;
		text-align: center;
	}
}

.features-wrap {
	padding: 0;
	position: relative;
}

.features-content {
	width: 100%;
}

.features-content .alignwide,
.features-content .alignfull,
.features-content .wp-block-columns.alignwide,
.features-content .wp-block-columns.alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.features-content h3 {
	margin-top: 15px;
}

/* Core Columns block: each column is a feature card with the decorated pattern under its text. */
.features-content .wp-block-columns {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	align-items: stretch;
	margin: 0;
}

.features-content .wp-block-column {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-width: 0;
	padding: 40px 15px;
	color: var(--text-on-dark);
	text-align: left;
}

@media (max-width: 781.98px) {
	.features-content .wp-block-columns {
		flex-wrap: wrap;
	}

	.features-content .wp-block-column {
		flex-basis: 100%;
	}
}

.features-content .wp-block-column > * {
	padding-left: 15px;
	padding-right: 15px;
}

/* Icon: a Custom HTML block with <span class="icon pe-7s-…"></span> as the first block of a column. */
.features-content .wp-block-column > .icon {
	display: block;
	position: relative;
	top: -12px;
	height: 70px;
	margin-bottom: 8px;
	font-size: 3.75rem;
	line-height: 1;
	color: #fff;
}

.features-content .wp-block-column > * + * {
	margin-top: 16px;
}

.features-content .wp-block-column > .icon + * {
	margin-top: 0;
}

.features-content .wp-block-column h1,
.features-content .wp-block-column h2,
.features-content .wp-block-column h3,
.features-content .wp-block-column h4,
.features-content .wp-block-column h5,
.features-content .wp-block-column h6 {
	margin: 12px 0 0 0 !important;
	color: #fff;
	font-size: 1.125rem;
}

.features-content .wp-block-column a {
	color: #fff;
	text-decoration: underline;
}

.features-content .wp-block-column ul,
.features-content .wp-block-column ol {
	padding-left: calc(1.2em + 15px);
	text-align: left;
}

.features-content .wp-block-column::before {
	content: "";
	display: block;
	flex: none;
	order: 1;
	height: 45px;
}

.features-content .wp-block-column::after {
	content: "";
	display: block;
	flex: none;
	order: 2;
	width: 100%;
	height: 40px;
	margin-top: auto;
	background-image: url("../images/decorated-pattern-dark.svg");
}

/* 7. Filter bar and filterable grid --------------------------------------- */

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 36px;
	margin: 0;
	padding: 18px 0 28px;
	list-style: none;
}

.filter-bar > li {
	margin: 0;
	padding: 10px 0 0;
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.2s ease-in-out;
}

.filter-bar > li:hover,
.filter-bar > li.is-active {
	color: var(--accent);
}

.filter-bar > li a {
	color: inherit;
}

.filter-bar > li a:hover,
.filter-bar > li a:focus {
	text-decoration: none;
}

.filter-grid {
	position: relative;
}

.filter-grid__items {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
	align-items: flex-start;
}

.filter-grid__items > * {
	box-sizing: border-box;
	min-width: 0;
	flex: 0 0 100%;
}

@media (min-width: 768px) {
	.filter-grid__items > * {
		flex-basis: calc((100% - var(--gap)) / 2);
	}
}

@media (min-width: 992px) {
	.filter-grid__items > * {
		flex-basis: calc((100% - 2 * var(--gap)) / 3);
	}
}

.filter-grid__items > [hidden] {
	display: none;
}

/* Filter bar lives in a white band above the grid. */
.filter-band {
	padding: 0;
	background-color: #fff;
}

/* 8. Cards ---------------------------------------------------------------- */

/* Plain white card with the soft shadow (used for posts and content boxes). */
.card {
	position: relative;
	display: block;
	z-index: 1;
	background-color: #fff;
	border-radius: var(--card-radius);
	box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.05);
}

.card img {
	transform: scale(0.9) !important;
}

/* Tile: a white block with a lighter shadow that deepens on hover (product cards). */
.tile {
	background-color: #fff;
	border-radius: var(--card-radius);
	box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease-in-out;
}

.tile:hover {
	box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.08);
}

.portfolio-item {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid rgba(204, 204, 204, 0.39);
	border-radius: var(--card-radius);
}

.portfolio-item-image {
	position: relative;
	min-height: 220px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #3a3a3a;
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
}

.portfolio-item-image::after {
	content: "";
	display: block;
	padding-top: calc(60% - 2px);
}

.portfolio-item-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 !important;
	object-fit: cover;
	object-position: top center;
	z-index: 0;
	transform: scale(1);
	transition: transform 0.2s ease-in-out;
}

.portfolio-item:hover .portfolio-item-image img {
	transform: scale(1.02);
}

.portfolio-item-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.portfolio-item:hover .portfolio-item-overlay {
	visibility: visible;
	opacity: 1;
}

.portfolio-item-info {
	display: flex;
	align-items: stretch;
	border-top: 1px solid rgba(204, 204, 204, 0.39);
	color: var(--text);
	text-decoration: none;
}

.portfolio-item-info:hover .portfolio-item-title,
.portfolio-item-info:focus .portfolio-item-title {
	color: var(--accent);
}

.portfolio-item-title {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-height: 64px;
	padding: 14px 20px;
	color: #232323;
	font-weight: 600;
	font-size: 1.15rem;
	line-height: 1.2;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

.portfolio-item-price {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	padding: 14px 20px;
	border-left: 1px solid rgba(204, 204, 204, 0.39);
	color: #232323;
	font-size: 1.05rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}

.portfolio-item-info a:hover,
.portfolio-item-info a:focus {
	color: var(--accent);
	text-decoration: none;
}

/* Masonry: cards fill columns top to bottom, each column packed to its own height. */
.masonry {
	column-count: 1;
	column-gap: 30px;
	max-width: 1000px;
	margin-inline: auto;
}

@media (min-width: 768px) {
	.masonry {
		column-count: 2;
	}
}

.masonry > * {
	break-inside: avoid;
	margin: 0 0 30px;
}

.masonry > .blog-item {
	padding-top: 0;
}

.masonry > .blog-item + .blog-item {
	margin-top: 0;
}

.masonry .blog-item-cont {
	padding: 30px;
}

.masonry .blog-item-title {
	font-size: 1.5rem;
}

/* Blog cards. */
.blog-item {
	position: relative;
	padding-top: 10px;
}

.blog-item + .blog-item {
	margin-top: 40px;
}

.blog-item .card {
	overflow: hidden;
}

.blog-item-img {
	position: relative;
	display: block;
	margin: 0 10px;
	overflow: hidden;
}

.blog-item-img img {
	max-width: 100%;
	transform: scale(1);
	transition: transform 0.2s ease-in-out;
}

.blog-item-img::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(27, 27, 27, 0.5);
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
}

.blog-item-img:hover img {
	transform: scale(1.01);
}

.blog-item-img:hover::after {
	opacity: 1;
}

.blog-item-cont {
	padding: 50px;
}

.blog-item-title {
	margin: -7px 0 0;
	font-size: 1.875rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--ink);
	transition: color 0.2s ease-in-out;
}

.blog-item-title a {
	color: var(--ink);
	text-decoration: none;
}

.blog-item-title a:hover {
	color: var(--accent);
	text-decoration: none;
}

.index-date {
	margin: 3px 0 20px;
	font-size: 0.9rem;
	color: #7a7a7a;
}

.blog-item-text {
	margin-bottom: 28px;
}

.blog-item-text p:last-child {
	margin-bottom: 0;
}

.blog-post {
	padding: 0;
}

.blog-post-box {
	padding: 50px;
}

.blog-post-box > :last-child {
	margin-bottom: 0;
}

.blog-post-box--tight {
	padding-top: 30px;
	padding-bottom: 30px;
}

.img-wrap {
	position: relative;
	height: 438px;
	overflow: hidden;
	background-color: #3a3a3a;
}

.img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

/* A card with a thumbnail shows the whole image, not the 438px crop. */
.card.has-post-thumbnail {
	overflow: hidden;
}

.card.has-post-thumbnail > .img-wrap {
	height: auto;
	margin: -1px -1px 0;
}

.card.has-post-thumbnail > .img-wrap img {
	display: block;
	width: 100%;
	height: auto;
}

/* Long-form text inside posts and pages. */
.post-content {
	color: #46505e;
	font-size: clamp(1.03rem, 0.99rem + 0.2vw, 1.1rem);
	line-height: 1.78;
	letter-spacing: 0.003em;
}

.post-content p {
	margin: 0 0 1.45rem;
}

.post-content > :first-child {
	margin-top: 0;
}

.post-content > :last-child {
	margin-bottom: 0;
}

.post-content h1 {
	margin: 0 0 0.9rem;
	font-size: clamp(2rem, 1.75rem + 1vw, 2.7rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: #18202d;
	text-wrap: balance;
}

.post-content h2 {
	margin: 2.5rem 0 0.9rem;
	font-size: clamp(1.6rem, 1.45rem + 0.6vw, 2.1rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: #18202d;
}

.post-content h3 {
	margin: 2.5rem 0 0.9rem;
	font-size: clamp(1.35rem, 1.25rem + 0.35vw, 1.7rem);
	line-height: 1.18;
	color: #18202d;
}

.post-content ul,
.post-content ol {
	margin: 0 0 1.45rem;
	padding-left: 1.35em;
}

.post-content li + li {
	margin-top: 0.4rem;
}

.post-content blockquote {
	margin: 0 0 1.45rem;
	padding: 0.25rem 0 0.25rem 1.4rem;
	border-left: 3px solid rgba(43, 111, 191, 0.35);
	color: #2d3748;
	font-size: 1.08em;
	font-weight: 500;
}

.post-content strong {
	color: #18202d;
}

@media (max-width: 767px) {
	.post-content {
		font-size: 1rem;
		line-height: 1.72;
	}

	.post-content p {
		margin-bottom: 1.2rem;
	}
}

/* Account pages. */
.account-title {
	margin: 40px 0 20px;
	font-size: 20px;
}

.account-title:first-child {
	margin-top: 0;
}

/* 9. Sidebar and widgets -------------------------------------------------- */

.sidebar {
	position: relative;
	z-index: 1;
	height: auto;
}

.sidebar--sticky {
	position: sticky;
	top: var(--sticky-top);
	z-index: 2;
}

.widget {
	padding: 30px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: var(--card-radius);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
	color: #334155;
	overflow: hidden;
}

.widget ~ .widget {
	margin-top: 40px;
}

.widget > :last-child {
	margin-bottom: 0;
}

.widget a {
	color: #3a3a3a;
	text-decoration: none;
}

.widget a:hover,
.widget a:focus {
	color: var(--accent);
	text-decoration: none;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget-title {
	margin: -6px -30px 28px;
	padding: 0 30px 20px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: 1.125rem;
	font-weight: 600;
}

.widget-title > * {
	margin-bottom: 0;
}

.widget-text + .widget-text {
	margin-top: 20px;
}

.widget-post {
	display: flex;
	align-items: center;
	padding: 2px 0;
	color: inherit;
}

.widget-post + .widget-post {
	margin-top: 26px;
}

.widget-post:hover .widget-post-title {
	color: var(--accent);
}

.widget-post-text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.widget-post-title {
	display: block;
	margin: -5px 0 10px;
	font-weight: 600;
	color: var(--ink);
	transition: color 0.2s ease-in-out;
}

.widget-post-date {
	display: block;
	margin-bottom: -5px;
	color: #7a7a7a;
	font-size: 0.875rem;
}

.widget-categories > li {
	display: flex;
	align-items: center;
}

/* Single theme page: product card, purchase widget, details widget. */
.theme-single-card {
	overflow: hidden;
	padding: 0;
}

.theme-single-image {
	margin: 0;
	background: none;
	height: 600px;
	overflow: hidden;
	border-bottom: 4px solid #f7f7f7;
}

.theme-single-image img {
	background: rgba(27, 27, 27, .8);
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transform: none !important;
}

.theme-single-body {
	padding: 44px 48px 48px;
}

.theme-about-heading {
	margin: 0 0 18px;
	color: #7b8491;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Purchase widget: buttons stack at full width. */
.theme-cta-note {
	margin: 0 0 20px;
	color: #7b8491;
	font-size: 0.95rem;
	line-height: 1.5;
}

.theme-cta .purchase-buttons {
	flex-direction: column;
	gap: 12px;
}

.theme-cta .purchase-buttons > * {
	flex: none;
	width: 100%;
}

/* .widget a would otherwise set dark text on these buttons, and turn it blue on hover. */
.theme-cta .button,
.theme-cta .button:hover,
.theme-cta .button:focus {
	color: #fff;
}

/* Details widget: label above value, rows separated by hairlines. */
.theme-details .theme-detail-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.theme-details .theme-detail-row:first-of-type {
	padding-top: 0;
}

.theme-details .theme-detail-row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.theme-details .widget-information-title {
	color: #7b8491;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.theme-detail-value {
	color: var(--ink);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
}

.theme-detail-value a,
.theme-details a {
	color: var(--ink);
}

.theme-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.theme-tags a {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid rgba(35, 35, 35, 0.15);
	border-radius: 999px;
	color: var(--ink);
	font-size: 0.8125rem;
	line-height: 1.5;
	text-decoration: none;
	transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.theme-tags a:hover,
.theme-tags a:focus {
	border-color: var(--accent);
	color: var(--accent);
}

/* 10. Footer -------------------------------------------------------------- */

.footer {
	position: relative;
	z-index: 1;
	background-color: var(--ink);
	border-top: 1px solid var(--line-on-dark);
}

/* Footer widget row: four columns on desktop, two on tablet, stacked on phones. */
/* Gap between columns and rows comes from the flex row itself, not column padding. */
.footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 40px;
	margin: 0;
	padding: 56px 0 48px;
}

.footer__col {
	box-sizing: border-box;
	min-width: 0;
	flex: 0 0 100%;
	padding: 0;
}

@media (min-width: 576px) {
	.footer__col {
		/* Two across: (100% - one 40px gap) / 2 */
		flex-basis: calc((100% - 40px) / 2);
	}
}

@media (min-width: 992px) {
	.footer__col {
		/* Four across: (100% - three 40px gaps) / 4 */
		flex-basis: calc((100% - 120px) / 4);
	}
}

/* Shared type for everything dropped into a footer widget. */
.footer__col {
	color: #bababa;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.footer__col p {
	margin: 0 0 16px;
}

.footer__col p:last-child {
	margin-bottom: 0;
}

.footer__col .textwidget a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(255, 255, 255, 0.25);
}

.footer__col .textwidget a:hover {
	text-decoration-color: #fff;
}

/* Menus, recent posts and other lists: one column of rows with hairline dividers. */
.footer__col ul {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__col li {
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__col li:first-child {
	padding-top: 0;
}

.footer__col li:last-child {
	border-bottom: 0;
}

.footer__col li a {
	display: inline-block;
	color: #bababa;
	line-height: 1.5;
	text-decoration: none;
	word-break: break-word;
	transition: color 0.2s ease-in-out;
}

.footer__col li a:hover,
.footer__col li a:focus {
	color: #fff;
}

.footer__col .post-date {
	display: block;
	margin-top: 4px;
	font-size: 0.8125rem;
	opacity: 0.6;
}

/* Tag cloud as small outlined chips. WordPress inlines font sizes, so override them. */
.footer__col .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.footer__col .tagcloud a {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	color: #bababa;
	font-size: 0.8125rem !important;
	line-height: 1.5;
	text-decoration: none;
	transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.footer__col .tagcloud a:hover,
.footer__col .tagcloud a:focus {
	border-color: #fff;
	color: #fff;
}

@media (max-width: 991.98px) {
	.footer__inner {
		padding: 44px 0 36px;
	}
}

/* Copyright bar sits full width under the widget row. */
.footer__bottom {
	padding: 24px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #bababa;
	font-size: 14px;
	text-align: center;
}

.footer__bottom p {
	margin: 0;
}

.widget-footer {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
}

.footer__bottom a,
.widget-footer a {
	color: #bababa;
	text-decoration: none;
}

.widget-footer a:hover,
.widget-footer a:focus {
	color: #fff;
}

.widget-footer .widget-title {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.widget-footer .widget-text {
	color: #bababa;
}

.widget-logo {
	display: block;
	margin-bottom: 5px;
	color: #fff;
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none;
	word-break: break-word;
}

.widget-logo:hover,
.widget-logo:focus,
.widget-logo:active {
	color: #fff;
	text-decoration: none;
}

.footer-social ul,
.footer-links ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-social a,
.footer-links a {
	display: inline-block;
	line-height: 1.5;
	word-break: break-word;
}

.widget-footer .widget-post {
	align-items: flex-start;
	padding: 0;
	line-height: 1.5;
}

.widget-footer .widget-post + .widget-post {
	margin-top: 0;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.widget-footer .widget-post-title {
	margin: 0;
	color: #bababa;
	line-height: 1.45;
	word-break: break-word;
}

.widget-footer .widget-post-date {
	margin: 0;
	color: #bababa;
	opacity: 0.7;
	transition: opacity 0.2s ease-in-out;
}

.widget-footer .widget-post:hover .widget-post-title {
	color: #fff;
}

.widget-footer .widget-post:hover .widget-post-date {
	opacity: 1;
}

/* 11. Pager and search ---------------------------------------------------- */

.pager {
	margin-top: 50px;
	text-align: center;
}

.pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px;
}

.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0 5px 0 0;
	padding: 10px;
	border-radius: var(--card-radius);
	background-color: #fff;
	box-shadow: inset 0 0 0 1px rgba(229, 229, 229, 0.8);
	color: var(--ink-soft);
	font-size: 0.875rem;
	text-decoration: none;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.pager .page-numbers:hover,
.pager .page-numbers:focus {
	color: #141414;
	box-shadow: inset 0 0 0 1px #d4d4d4;
}

.pager .page-numbers.current {
	background-color: var(--accent);
	color: #fff;
	box-shadow: none;
}

.pager .page-numbers.dots {
	background: none;
	box-shadow: none;
}

.pager ul {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-bar {
	display: block;
	max-width: 480px;
}

.search-field {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(35, 35, 35, 0.15);
	border-radius: var(--card-radius);
	background: #fff;
	color: var(--ink);
	font: inherit;
}

/* 12. Services page ------------------------------------------------------- */

.services-page {
	--services-bg: #f3f3f3;
	--services-ink: #111111;
	--services-muted: #4c4c4c;
	--services-border: #d9d9d9;
	background: linear-gradient(180deg, #ffffff 0%, var(--services-bg) 100%);
	color: var(--services-ink);
}

.services-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid #111111;
	background: #111111;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.services-kicker--dark {
	background: #111111;
	border-color: #111111;
	color: #fff;
}

.services-hero {
	position: relative;
	overflow: hidden;
	padding: 152px 0 92px;
	background: #000;
	color: #fff;
}

.services-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 96px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000);
	pointer-events: none;
}

.services-hero__media {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.services-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.services-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.08) brightness(0.68);
}

.services-hero .wrap,
.services-overview .wrap,
.services-grid-section .wrap,
.services-cta-band .wrap {
	position: relative;
	z-index: 1;
}

.services-hero__content {
	max-width: 760px;
}

.services-hero h1 {
	margin: 18px 0 14px;
	color: #fff;
	font-size: clamp(3rem, 2.3rem + 2.5vw, 5rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.services-hero__lead {
	max-width: 620px;
	margin-bottom: 0;
	color: #d4d4d4;
	font-size: clamp(1.08rem, 1rem + 0.45vw, 1.32rem);
	line-height: 1.68;
}

.services-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0;
}

.services-hero__actions .button {
	min-width: 180px;
	border: 1px solid #fff;
	background: #fff;
	color: #111;
}

.services-hero__actions .button:hover,
.services-hero__actions .button:focus {
	border-color: #fff;
	background: #111;
	color: #fff;
}

.services-hero__actions .button--outline {
	background: #111;
	color: #fff;
}

.services-hero__actions .button--outline:hover,
.services-hero__actions .button--outline:focus {
	background: #fff;
	color: #111;
}

.services-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: stretch;
}

.services-hero__meta-item {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-width: 0;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(17, 17, 17, 0.82);
}

.services-hero__meta-item strong {
	display: block;
	margin-bottom: 8px;
	color: #fff;
	font-size: 1rem;
	line-height: 1.2;
}

.services-hero__meta-item span {
	display: block;
	color: #c9c9c9;
	font-size: 0.95rem;
	line-height: 1.5;
}

.services-overview {
	position: relative;
	padding: 34px 0 24px;
}

.services-overview__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
	gap: 22px;
	padding: 26px;
	border: 1px solid #d8d8d8;
	background: #fff;
}

.services-section-heading h2 {
	margin: 12px 0 10px;
	color: var(--services-ink);
	font-size: clamp(2rem, 1.6rem + 1vw, 3rem);
	line-height: 1.04;
	letter-spacing: -0.04em;
}

.services-section-heading p,
.services-mini-card p,
.services-card p,
.services-cta-band__panel p {
	color: var(--services-muted);
	line-height: 1.68;
}

.services-overview__highlights {
	display: grid;
	gap: 12px;
}

.services-mini-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 16px 18px;
	border: 1px solid var(--services-border);
	background: #fff;
}

.services-mini-card__icon,
.services-card__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	background: #111111;
	color: #fff;
	font-size: 1.35rem;
}

.services-mini-card h3,
.services-card h3,
.services-cta-band__panel h2 {
	margin: 0 0 10px;
	color: var(--services-ink);
	letter-spacing: -0.03em;
}

.services-mini-card h3 {
	font-size: 1.1rem;
	line-height: 1.2;
}

.services-mini-card p {
	margin: 0;
	font-size: 0.94rem;
}

.services-grid-section {
	padding: 34px 0 72px;
}

.services-section-heading--center {
	max-width: 760px;
	margin: 0 auto 24px;
	text-align: center;
}

.services-grid-section .cols > * {
	display: flex;
}

.services-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 24px;
	border: 1px solid var(--services-border);
	background: #fff;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.services-card::after {
	content: "";
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 0;
	height: 2px;
	background: #111111;
	opacity: 0;
	transform: translateY(12px);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.services-card:hover {
	transform: translateY(-4px);
	border-color: #111111;
}

.services-card:hover::after {
	opacity: 1;
	transform: translateY(-16px);
}

.services-card__tag {
	display: inline-block;
	margin: 16px 0 10px;
	color: #111111;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.services-card h3 {
	font-size: 1.5rem;
	line-height: 1.08;
}

.services-card p {
	margin-bottom: 0;
	font-size: 0.98rem;
}

.services-cta-band {
	padding: 0 0 72px;
}

.services-cta-band__panel {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 28px 32px;
	background: #111111;
}

.services-cta-band__panel .services-kicker,
.services-cta-band__panel h2,
.services-cta-band__panel p {
	color: #fff;
}

.services-cta-band__panel .services-kicker {
	padding-left: 0;
	padding-right: 0;
}

.services-cta-band__panel p {
	max-width: 680px;
	margin-bottom: 0;
	color: #d6d6d6;
}

.services-cta-band__actions {
	flex: 0 0 auto;
}

.services-cta-band__actions .button {
	border: 1px solid #fff;
	background: #fff;
	color: #111;
}

.services-cta-band__actions .button:hover,
.services-cta-band__actions .button:focus {
	border-color: #fff;
	background: #111;
	color: #fff;
}

/* 13. Responsive ---------------------------------------------------------- */

@media (max-width: 1199.98px) {
	.services-hero__meta-item {
		flex-basis: calc(50% - 7px);
	}
}

@media (max-width: 991.98px) {
	.services-hero {
		padding: 132px 0 78px;
	}

	.services-overview {
		padding-top: 26px;
	}

	.services-overview__panel,
	.services-cta-band__panel {
		display: grid;
		grid-template-columns: 1fr;
	}

	.services-cta-band__panel {
		padding: 24px;
	}

	.blog-post-box {
		padding: 50px 30px;
	}
}

@media (max-width: 991px) {
	.widget {
		padding: 30px 50px;
	}

	.widget-title {
		margin: -6px -50px 28px;
		padding: 0 50px 20px;
	}
}

@media (max-width: 767px) {
	.services-hero {
		padding: 118px 0 64px;
	}

	.services-hero h1 {
		margin-bottom: 16px;
	}

	.services-hero__lead {
		font-size: 1rem;
	}

	.services-hero__meta-item {
		flex-basis: 100%;
	}

	.services-overview__panel,
	.services-card,
	.services-cta-band__panel {
		padding: 20px;
	}

	.services-grid-section {
		padding: 28px 0 56px;
	}

	.services-mini-card {
		padding: 14px;
	}

	.services-cta-band {
		padding-bottom: 56px;
	}

	.services-cta-band__actions .button,
	.services-hero__actions .button {
		width: 100%;
	}

	.blog-item-cont,
	.blog-post-box {
		padding: 30px;
	}

	.widget {
		padding: 30px;
	}

	.widget-title {
		margin: -6px -30px 28px;
		padding: 0 30px 20px;
	}

	.widget ~ .widget {
		margin-top: 20px;
	}

	.display-title {
		line-height: 1.5;
	}
}

@media (max-width: 575.98px) {
	.footer__inner {
		padding: 36px 0 28px;
	}

	.services-overview__panel,
	.services-card,
	.services-cta-band__panel {
		padding: 20px;
	}
}
