/* Condensed padding for specific front-page sections */
.box-1--condensed {
	/* larger even padding on all sides; keep content vertically centered */
	padding: 80px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start; /* preserve left-aligned content on desktop */
}

@media (max-width: 991.98px) {
	.box-1--condensed {
		padding: 32px; /* even padding on smaller screens */
		align-items: center; /* center content on mobile */
		text-align: center;
	}
}

/* Typography: body copy uses Inter, headings use Outfit */
body,
p,
button,
input,
textarea,
select,
.text-2,
.feature-text,
.review-text,
.portfolio-item-title,
.portfolio-item-price {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.feature-title,
.review-title {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
}

/* Small adjustments so headings and body sizes remain balanced */
body { font-weight: 400; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Shared page header title: slightly larger and wider */
.header.box-1 .post-title {
	width: 100%;
	max-width: 860px;
	flex: 0 0 860px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

@media (max-width: 991.98px) {
	.header.box-1 .post-title {
		max-width: 720px;
		flex-basis: 720px;
	}
}

/* Front-page features: keep cards equal height regardless of copy length */
.features-wrap {
	padding-bottom: 40px;
}

.features-wrap .row {
	row-gap: 40px;
}

.features-wrap .row > [class*="col-"] {
	display: flex;
}

.features-wrap .feature.feature-2 {
	width: 100%;
	height: 100%;
}

.features-wrap .feature.feature-2 .feature-cont {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
}

.features-wrap .feature.feature-2 .decorated {
	margin-top: auto;
	width: 100%;
	}

/* PLACE YOU CUSTOM STYLES IN THIS FILE */

/* Fixes for Store & Product pages - align to original template */
/* Ensure isotope filter aligns and does not duplicate UI */
.isotope-container .isotope-filter {
	display: flex;
	gap: 18px;
	padding-left: 0;
}

.isotope-container .isotope-filter:nth-of-type(n+2) {
	display: none;
}

/* Ensure grid items can expand and not cut off */
.isotope-grid .portfolio-item {
	overflow: visible;
}

/* Sticky sidebar adjustments to avoid content cutting under the footer */
.sticky {
	position: relative;
	z-index: 2;
}

/* Product gallery fixes for mobile - allow larger images without clipping */
.gallery .gallery-item .img,
.gallery .gallery-item img {
	max-width: 100%;
	height: auto;
}

/* Make sure box-5 spacing mirrors the original template */
.box-5 { padding: 80px 0 }

/* --------------------------------------------------
   bbPress -> Amdesk mapping
   Basic rules to make bbPress markup inherit theme styles
   -------------------------------------------------- */

/* Tables: bbPress topic/forum lists inherit the theme table styling below. */

/* Titles */
.bbp-forum-title a,
.bbp-topic-title a,
.bbp-topic-permalink {
	display: block;
	font-weight: 600;
	color: inherit;
}

/* Meta lines (author/date) */
.bbp-topic-meta,
.bbp-topic-starter,
.bbp-reply-author,
.bbp-forum-content .author {
	color: #6c6c6c;
	font-size: 14px;
}

/* Replies: present like dx-comment */
.bbp-replies .bbp-reply,
.bbp-reply {
	display: flex;
	gap: 18px;
	padding: 22px 0;
	border-bottom: 1px solid #eee;
}
.bbp-reply .bbp-reply-author {
	width: 72px;
}
.bbp-reply .bbp-reply-author img,
.bbp-author-avatar img {
	max-width: 64px;
	height: auto;
	border-radius: 50%;
}
.bbp-reply .bbp-reply-content {
	flex: 1;
}

/* Reply form: align buttons and editor spacing */
.bbp-reply-form .bbp-submit-wrapper .button,
.bbp-reply-form input[type="submit"],
.bbp-submit-wrapper .button {
	background: var(--amdesk-accent, #2b6fbf);
	border: none;
	color: #fff;
	padding: 10px 18px;
	border-radius: 4px;
}

/* Pagination mapping to dx-pagination */
.bbp-pagination,
.bbp-replies .bbp-pagination,
.bbp-topic-pagination {
	margin-top: 24px;
}

/* Small responsive fixes for topic tables */
@media (max-width: 991px) {
	.table.table-default thead { display: none; }
	.table.table-default tbody tr { display: block; margin-bottom: 18px; }
}

/* --------------------------------------------------
   Navbar dropdown helpers (mobile touch support)
   These rules complement the existing `amdesk` navbar styles
   - `.nav-item-drop` is added by the theme walker
   - `.open` is toggled by `nav-dropdown.js` on small screens
   -------------------------------------------------- */

/* show dropdown when `open` class is present */
.navbar .nav-item-drop.open > .navbar-dropdown {
	visibility: visible;
	opacity: 1;
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

.navbar .nav-item-drop > .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.navbar .nav-item-drop > .nav-link .nav-link-indicator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.625rem;
	line-height: 1;
	opacity: 0.78;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar .nav-item-drop:hover > .nav-link .nav-link-indicator,
.navbar .nav-item-drop:focus-within > .nav-link .nav-link-indicator,
.navbar .nav-item-drop.open > .nav-link .nav-link-indicator {
	opacity: 1;
}

.navbar .nav-item-drop.open > .nav-link .nav-link-indicator {
	transform: rotate(180deg);
}

.navbar-fullscreen .nav-link-indicator,
.navbar-fullscreen .navbar-dropdown-triangle {
	display: none !important;
}

.navbar-fullscreen .nav-item-drop > .nav-link {
	gap: 0;
}

.navbar-fullscreen .navbar-content {
	gap: 32px;
}

.navbar-fullscreen .navbar-content .nav + .nav {
	margin-top: 0;
}

.navbar.navbar-fullscreen .navbar-content .nav.nav-align-right,
.navbar.navbar-fullscreen .navbar-content .nav.nav-align-right:last-child {
	flex: 0 0 auto;
	align-self: flex-start;
	justify-content: flex-start;
	align-items: flex-start;
	margin-left: 0;
	width: auto;
	min-width: 0;
}

.navbar.navbar-fullscreen .navbar-content .nav.nav-align-right > li {
	margin: 0 12px 0 0;
}

.navbar.navbar-fullscreen .navbar-content .nav.nav-align-right > li:last-child {
	margin-right: 0;
}

.social-menu {
	align-items: center;
	flex: 0 0 auto;
	flex-grow: 0;
	gap: 4px;
	justify-content: flex-end;
	margin-left: 20px;
	min-width: 0;
	padding-left: 0;
	width: auto;
}

.social-menu > li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-menu a {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	height: 34px;
	padding: 0;
	position: relative;
	text-decoration: none;
	transition: background-color .2s linear, color .2s linear;
	width: 34px;
}

.navbar-top .social-menu a {
	min-height: 34px;
}

.navbar-fullscreen .social-menu {
	align-self: flex-start;
	justify-content: flex-start;
	margin-left: 0;
	margin-top: 0;
	width: auto;
}

.navbar-fullscreen .social-menu a {
	min-height: 34px;
	width: 34px;
}

.dark .social-menu a {
	background: rgba( 0, 0, 0, 0.25 );
	color: #fff;
}

.social-menu a:hover,
.social-menu a.active,
.social-menu .current-menu-item > a,
.social-menu .current-menu-parent > a,
.social-menu .current-menu-ancestor > a {
	background: #fff;
	color: #121212;
	text-decoration: none;
}

.dark .social-menu a:hover,
.dark .social-menu a.active,
.dark .social-menu .current-menu-item > a,
.dark .social-menu .current-menu-parent > a,
.dark .social-menu .current-menu-ancestor > a {
	background: rgba( 0, 0, 0, .9 );
	color: #fff;
}

.social-menu a::before {
	content: '\f0c1';
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Font Awesome 7 Free';
	font-size: 16px;
	position: absolute;
		inset: 0;
	transition: transform .3s ease-out;
	text-align: center;
	z-index: 2;
}

.social-menu .screen-reader-text {
	clip: rect( 1px, 1px, 1px, 1px );
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

/* NON-BRAND ICONS */

.social-menu a[href*="mailto"]::before { content: '\f0e0'; }
.social-menu a[href*="/feed/"]::before,
.social-menu a[href*="rss"]::before { content: '\f09e'; }

/* BRAND ICONS */

.social-menu a[href*="500px.com"]::before { content: '\f26e'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="amazon.com"]::before { content: '\f270'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="angel.co"]::before { content: '\f209'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="audible.com"]::before { content: '\f373'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="behance.net"]::before { content: '\f1b4'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="blogger.com"]::before { content: '\f37d'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="codepen.io"]::before { content: '\f1cb'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="creativecommons.com"]::before { content: '\f25e'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="deviantart.com"]::before { content: '\f1bd'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="digg.com"]::before { content: '\f1a6'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="discordapp.com"]::before,
.social-menu a[href*="discord.com"]::before { content: '\f392'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="dribbble.com"]::before { content: '\f17d'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="ebay"]::before { content: '\f4f4'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="etsy.com"]::before { content: '\f2d7'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="facebook.com"]::before { content: '\f39e'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="flickr.com"]::before { content: '\f16e'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="github.com"]::before { content: '\f113'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="gitlab.com"]::before { content: '\f296'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="goodreads.com"]::before { content: '\f3a9'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="houzz"]::before { content: '\f27c'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="imdb.com"]::before { content: '\f2d8'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="instagram.com"]::before { content: '\f16d'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="kickstarter.com"]::before { content: '\f3bc'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="jsfiddle.net"]::before { content: '\f1cc'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="linkedin.com"]::before { content: '\f0e1'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="last.fm"]::before { content: '\f202'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="medium.com"]::before { content: '\f3c7'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="meetup.com"]::before { content: '\f2e0'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="mixcloud.com"]::before { content: '\f289'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="patreon.com"]::before { content: '\f3d9'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="pscp.tv"]::before { content: '\f3da'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="pinterest"]::before { content: '\f231'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="play.google.com"]::before { content: '\f3ab'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="plus.google.com"]::before { content: '\f0d5'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="producthunt.com"]::before { content: '\f288'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="quora.com"]::before { content: '\f2c4'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="reddit.com"]::before { content: '\f281'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="slack.com"]::before { content: '\f198'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="soundcloud.com"]::before { content: '\f1be'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="spotify.com"]::before { content: '\f1bc'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="tumblr.com"]::before { content: '\f173'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="twitch"]::before { content: '\f1e8'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="twitter.com"]::before { content: '\f099'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="x.com"]::before { content: '\e61b'; font-family: 'Font Awesome 7 Brands'; }

.social-menu a[href*="vimeo.com"]::before { content: '\f27d'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="wordpress.org"]::before,
.social-menu a[href*="wordpress.com"]::before { content: '\f411'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="youtube.com"]::before { content: '\f167'; font-family: 'Font Awesome 7 Brands'; font-weight: 400; }
.social-menu a[href*="unsplash.com"]::before { content: '\f030'; font-family: 'Font Awesome 7 Free'; font-weight: 900; }

/* --------------------------------------------------
   DX Navbar compatibility
   Ensure the `dx-` navbar fullscreen classes mirror the non-dx rules
-------------------------------------------------- */
.dx-navbar.dx-navbar-fullscreen {
	visibility: hidden;
	opacity: 0;
	transition: visibility .3s ease-in-out, opacity .3s ease-in-out;
	z-index: -1000;
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	width: 100vw;
	overflow-x: hidden;
	overflow-y: auto;
}

.dx-navbar.dx-navbar-fullscreen.dx-navbar-fullscreen-open {
	visibility: visible;
	opacity: 1;
	z-index: 1000;
}

.dx-navbar.dx-navbar-fullscreen .dx-navbar-content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 90px 20px;
}

.dx-navbar.dx-navbar-fullscreen .dx-nav {
	display: flex;
	flex-direction: column;
}

.dx-navbar-burger,
.navbar-burger {
	cursor: pointer;
}

html {
	scroll-behavior: smooth;
}

/* --------------------------------------------------
   Services page refresh
   -------------------------------------------------- */

.services-page {
	--services-bg: #f6f4ef;
	--services-ink: #151515;
	--services-muted: #5d5a54;
	--services-panel: #fffcf6;
	--services-border: rgba(21, 21, 21, 0.12);
	--services-accent: var(--amdesk-accent, #2b6fbf);
	background: var(--services-bg);
	color: var(--services-ink);
}

.services-kicker {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border-radius: 999px;
	background: transparent;
	border: 0;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--services-muted);
}

.services-kicker--soft {
	color: var(--services-muted);
}

.services-intro .container,
.services-list-section .container,
.services-cta .container {
	position: relative;
	z-index: 1;
}

.services-intro {
	padding: 64px 0;
}

.services-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
	gap: 56px;
	align-items: start;
}

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

.services-intro h1 {
	margin: 16px 0 18px;
	font-size: clamp(3rem, 2.5rem + 1.8vw, 4.75rem);
	line-height: 0.95;
	letter-spacing: -0.055em;
	color: var(--services-ink);
}

.services-intro__lead {
	max-width: 640px;
	margin: 0;
	font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
	line-height: 1.72;
	color: var(--services-muted);
}

.services-intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.services-intro__actions .btn,
.services-cta__inner .btn {
	min-width: 180px;
	background: var(--services-accent);
	border: 1px solid var(--services-accent);
	color: #fff;
}

.services-intro__actions .btn:hover,
.services-intro__actions .btn:focus,
.services-cta__inner .btn:hover,
.services-cta__inner .btn:focus {
	background: transparent;
	border-color: var(--services-accent);
	color: var(--services-accent);
}

.services-intro__actions .btn.btn-transparent {
	background: transparent;
	border-color: var(--services-border);
	color: var(--services-ink);
}

.services-intro__actions .btn.btn-transparent:hover,
.services-intro__actions .btn.btn-transparent:focus {
	border-color: var(--services-ink);
	background: #fff;
}

.services-intro__body {
	max-width: 680px;
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--services-border);
}

.services-intro__body,
.services-intro__body p {
	color: var(--services-muted);
	line-height: 1.78;
}

.services-intro__aside {
	padding-top: 12px;
}

.services-intro__eyebrow {
	margin: 0 0 16px;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--services-ink);
}

.services-summary-list {
	border-top: 1px solid var(--services-border);
}

.services-summary-list__item {
	padding: 20px 0;
	border-bottom: 1px solid var(--services-border);
}

.services-section-heading h2 {
	margin: 12px 0 0;
	font-size: clamp(2rem, 1.65rem + 0.9vw, 2.9rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
	color: var(--services-ink);
}

.services-summary-list__item h2,
.services-list__content h3,
.services-cta__inner h2 {
	margin: 0 0 8px;
	color: var(--services-ink);
	letter-spacing: -0.03em;
}

.services-section-heading p,
.services-summary-list__item p,
.services-list__content p,
.services-cta__inner p {
	color: var(--services-muted);
	line-height: 1.68;
}

.services-summary-list__item h2 {
	font-size: 1.15rem;
	line-height: 1.15;
}

.services-summary-list__item p {
	margin: 0;
	font-size: 0.97rem;
}

.services-list-section {
	padding: 20px 0 88px;
}

.services-list {
	margin-top: 36px;
	border-top: 1px solid var(--services-border);
}

.services-list__item {
	display: grid;
	grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
	gap: 28px;
	padding: 24px 0;
	border-bottom: 1px solid var(--services-border);
}

.services-list__meta {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
}

.services-card__tag {
	display: inline-block;
	margin: 0;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--services-muted);
}

.services-list__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--services-border);
	border-radius: 50%;
	color: var(--services-ink);
	font-size: 1rem;
	background: rgba(255, 255, 255, 0.55);
}

.services-list__content h3 {
	font-size: clamp(1.35rem, 1.25rem + 0.28vw, 1.55rem);
	line-height: 1.08;
}

.services-list__content p {
	margin: 0;
	max-width: 760px;
	font-size: 1rem;
}

.services-cta {
	padding: 0 0 96px;
}

.services-cta__inner {
	max-width: 760px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding-top: 8px;
}

.services-cta__inner h2 {
	margin: 0;
	font-size: clamp(2rem, 1.75rem + 0.8vw, 2.8rem);
	line-height: 1.02;
}

.services-cta__inner p {
	max-width: 620px;
	margin: 0 0 10px;
}

@media (max-width: 1199.98px) {
	.services-intro__grid {
		gap: 40px;
	}
}

@media (max-width: 991.98px) {
	.services-intro {
		padding: 64px 0 36px;
	}

	.services-intro__grid,
	.services-list__item {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 767.98px) {
	.services-intro {
		padding: 108px 0 24px;
	}

	.services-intro h1 {
		margin-bottom: 14px;
	}

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

	.services-intro__body {
		margin-top: 28px;
		padding-top: 22px;
	}

	.services-list-section {
		padding: 12px 0 64px;
	}

	.services-list {
		margin-top: 28px;
	}

	.services-list__item {
		padding: 20px 0;
		gap: 16px;
	}

	.services-cta {
		padding-bottom: 72px;
	}

	.services-intro__actions .btn,
	.services-cta__inner .btn {
		width: 100%;
	}
}

/* Keep anchored sections visible below the sticky navbar. */
[id] {
	scroll-margin-top: 110px;
}


/* On small screens, make dropdowns flow in the document instead of absolute-positioned */
@media (max-width: 991.98px) {
	[id] {
		scroll-margin-top: 90px;
	}

	.navbar .navbar-dropdown {
		position: static;
		transform: none !important;
		opacity: 1 !important;
		visibility: visible !important;
		padding-left: 0;
		background: #fff;
		box-shadow: 0 6px 18px rgba(0,0,0,0.08);
		margin-top: 12px;
		padding: 12px 0;
	}
	.navbar .navbar-dropdown .nav-link {
		padding-left: 18px;
		text-transform: none;
		font-weight: 500;
	}

	/* show the triangle as a centered element above the static dropdown */
	.navbar .navbar-dropdown .navbar-dropdown-triangle {
		display: block;
		position: relative;
		width: 0;
		height: 0;
		margin: 0 auto 8px auto;
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 8px solid #fff;
	}

	.navbar .nav-item-drop > .nav-link {
		display: flex;
		justify-content: space-between;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* --------------------------------------------------
   Footer widget responsive refinements
   -------------------------------------------------- */
.footer .box-1 {
	padding-top: 28px;
	padding-bottom: 28px;
}

.footer .widget-footer {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 10px 0;
	gap: 16px;
}

.footer .widget-footer .widget-title {
	margin-bottom: 8px;
	line-height: 1.45;
	letter-spacing: 0.08em;
}

.footer .widget-footer .widget-text,
.footer .widget-footer .widget-post-text {
	line-height: 1.65;
}

.footer .widget-footer .widget-logo {
	margin-bottom: 0;
	line-height: 1.15;
	word-break: break-word;
}

.footer .footer-social ul,
.footer .footer-links ul {
	display: grid;
	gap: 12px;
}

.footer .footer-social li,
.footer .footer-links li {
	margin: 0;
	padding: 0;
}

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

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

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

.footer .widget-post .widget-post-text {
	gap: 6px;
}

.footer .widget-post .widget-post-title,
.footer .widget-post .widget-post-date {
	line-height: 1.45;
	word-break: break-word;
}

@media (max-width: 991.98px) {
	.footer .box-1 {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.footer .row > [class*='col-'] {
		margin-bottom: 22px;
	}

	.footer .row > [class*='col-']:last-child {
		margin-bottom: 0;
	}

	.footer .widget-footer {
		padding: 12px 0;
		gap: 14px;
	}

	.footer .widget-footer .widget-title {
		margin-bottom: 4px;
	}
}

@media (max-width: 575.98px) {
	.footer .row > .col-6,
	.footer .row > .col-lg-3,
	.footer .row > .col-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.footer .box-1 {
		padding-top: 16px;
		padding-bottom: 18px;
	}

	.footer .widget-footer {
		padding: 14px 0;
		gap: 12px;
	}

	.footer .widget-footer .widget-title {
		font-size: 0.78rem;
		margin-bottom: 2px;
	}

	.footer .footer-social ul,
	.footer .footer-links ul {
		gap: 10px;
	}

	.footer .widget-post + .widget-post {
		margin-top: 14px;
		padding-top: 14px;
	}
}

/* --------------------------------------------------
   Blog archive masonry grid
   -------------------------------------------------- */

.blog-archive-layout {
	width: 100%;
}

.blog-archive-entry {
	height: 100%;
	margin: 0;
}

.blog-archive-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: linear-gradient(180deg, #ffffff 0%, #fcfcfa 100%);
	border-color: rgba(21, 21, 21, 0.12);
	box-shadow: 0 18px 36px rgba(21, 21, 21, 0.05);
}

.blog-archive-card .blog-archive-card__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
	gap: 0;
}


.blog-archive-card--text-only .blog-archive-card__info {
	padding-top: 26px;
}

.blog-archive-card__meta {
	margin-bottom: 14px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #6b665f;
}

.blog-archive-card__title {
	width: 100%;
	margin: 0;
}

.blog-archive-card .blog-archive-card__title .portfolio-item-title,
.blog-archive-card .blog-archive-card__link {
	min-height: 0;
	padding: 0;
	border-left: 0;
	color: #171717;
}

.blog-archive-card .blog-archive-card__title .portfolio-item-title {
	display: block;
	width: 100%;
	font-size: clamp(1.35rem, 1.2rem + 0.45vw, 1.7rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.blog-archive-card__excerpt {
	width: 100%;
	margin-top: 16px;
	color: #5d5a54;
	line-height: 1.72;
}

.blog-archive-card__excerpt p {
	margin: 0;
}

.blog-archive-card .blog-archive-card__link {
	display: inline-flex;
	align-items: center;
	margin-top: 22px;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #171717;
}

.blog-archive-card .blog-archive-card__link:hover,
.blog-archive-card .blog-archive-card__link:focus,
.blog-archive-card .blog-archive-card__title .portfolio-item-title:hover,
.blog-archive-card .blog-archive-card__title .portfolio-item-title:focus {
	color: var(--amdesk-accent, #2b6fbf);
}

.portfolio-item-title {
	color: #212121 !important;
}

@media (max-width: 1199.98px) {
	.blog-archive-card .blog-archive-card__info {
		padding: 22px;
	}
}

@media (max-width: 767.98px) {
	.blog-archive-card .blog-archive-card__info {
		padding: 20px;
	}

	.blog-archive-card__meta {
		margin-bottom: 12px;
		font-size: 0.74rem;
	}

	.blog-archive-card__excerpt {
		margin-top: 14px;
	}

	.blog-archive-card .blog-archive-card__link {
		margin-top: 18px;
	}
}
