/**
 * DK Blog Archive Styles
 * Matching site design: gold (#d6ab27, #d09e2b), dark grey (#424242)
 */

/* ============================================
   Filter UI - Sticky & Compact
   ============================================ */

.dk-blog-filters--sticky {
	position: sticky;
	top: 112px;
	z-index: 9;
	background: #fff;
	transition: all 0.2s ease;
	width: 100%;
	min-width: 100%;
	box-sizing: border-box;
}

.admin-bar .dk-blog-filters--sticky {
	top: 144px;
}

.dk-blog-filters--sticky.is-stuck {
	/* Keep position: sticky - don't override it! */
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	width: 100vw;
	left: 0;
	right: 0;
	border-bottom: 1px solid #919191;
	transition: all 0.2s ease;
	box-sizing: border-box;
	/* Ensure container maintains minimum width to prevent collapse */
	min-width: 1400px;
}

.dk-blog-filters--sticky.is-stuck .dk-blog-filters__container {
	max-width: 100%;
	width: 100%;
}

.dk-blog-filters--sticky.is-stuck .dk-blog-filters__no-results {
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	width: 100vw;
	left: 0;
	right: 0;
	box-sizing: border-box;
}

.dk-blog-filters--sticky.is-stuck .dk-blog-filters__no-results-wrapper {
	/* Maintain width constraint even when stuck - override any parent width */
	min-width: 1400px !important;
	max-width: 1400px !important;
	width: 1400px !important;
	margin-left: auto;
	margin-right: auto;
}


/* Ensure parent containers don't constrain the sticky element */
.elementor-widget-shortcode:has(.dk-blog-filters--sticky),
.elementor-element:has(.dk-blog-filters--sticky),
.elementor-widget-shortcode:has(.dk-blog-filters--sticky.is-stuck),
.elementor-element:has(.dk-blog-filters--sticky.is-stuck) {
	overflow: visible !important;
	max-width: none !important;
	width: auto !important;
}

/* Break out of Elementor container constraints if needed */
.e-con:has(.dk-blog-filters--sticky),
.e-con:has(.dk-blog-filters--sticky.is-stuck) {
	overflow: visible !important;
	max-width: none !important;
}

.dk-blog-filters__container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	padding: 0.875rem 1.5rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	flex-wrap: wrap;
}

/* Dropdown Styles */
.dk-blog-filters__dropdown {
	position: relative;
	flex-shrink: 0;
}

.dk-blog-filters__dropdown-toggle {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.375rem !important;
	padding: 0.375rem 0.75rem !important;
	min-width: 90px !important;
	height: 36px !important;
	background: #f5f5f5 !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 6px !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 0.75rem !important;
	font-weight: 400 !important;
	color: #424242 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	white-space: nowrap !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
}

.dk-blog-filters__dropdown-toggle:hover {
	background: #e8e8e8 !important;
	border-color: #d0d0d0 !important;
}

.dk-blog-filters__dropdown-toggle[aria-expanded="true"] {
	background: #f5f5f5 !important;
	border-color: #d0d0d0 !important;
}

.dk-blog-filters__dropdown--tags .dk-blog-filters__dropdown-toggle {
	background: #f5f5f5 !important;
}

.dk-blog-filters__dropdown--tags .dk-blog-filters__dropdown-toggle:hover {
	background: #e8e8e8 !important;
}

.dk-blog-filters__dropdown-label {
	font-weight: 400 !important;
	font-size: 0.75rem !important;
}

.dk-blog-filters__dropdown-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 14px !important;
	height: 14px !important;
	min-width: 14px !important;
	min-height: 14px !important;
	flex-shrink: 0 !important;
	margin-left: 0.375rem !important;
	opacity: 1 !important;
	transition: transform 0.2s ease !important;
}

.dk-blog-filters__dropdown-icon path {
	stroke: #666 !important;
	transition: stroke 0.2s ease !important;
}

.dk-blog-filters__dropdown-toggle[aria-expanded="true"] .dk-blog-filters__dropdown-icon {
	transform: rotate(180deg) !important;
}

.dk-blog-filters__dropdown-toggle[aria-expanded="true"] .dk-blog-filters__dropdown-icon path {
	stroke: #424242 !important;
}

.dk-blog-filters__dropdown-menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 0;
	min-width: 600px;
	max-width: 1200px;
	width: auto;
	max-height: 400px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: all 0.2s ease;
	overflow: hidden;
	z-index: 1001;
}

.dk-blog-filters__dropdown[data-open="true"] .dk-blog-filters__dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dk-blog-filters__dropdown-content {
	max-height: 400px;
	overflow-y: auto;
	padding: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dk-blog-filters__dropdown-content::-webkit-scrollbar {
	width: 6px;
}

.dk-blog-filters__dropdown-content::-webkit-scrollbar-track {
	background: #f0f0f0;
}

.dk-blog-filters__dropdown-content::-webkit-scrollbar-thumb {
	background: #d6ab27;
	border-radius: 3px;
}

.dk-blog-filters__dropdown-item {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.375rem !important;
	width: auto !important;
	padding: 0.25rem 0.5rem !important;
	background: #f0f0f0 !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 4px !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 0.7rem !important;
	font-weight: 400 !important;
	color: #424242 !important;
	text-align: left !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
	white-space: nowrap !important;
	line-height: 1.3 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.dk-blog-filters__dropdown-item:hover {
	background: #e8e8e8 !important;
	border-color: #d0d0d0 !important;
}

.dk-blog-filters__dropdown-item[aria-pressed="true"] {
	background: #d6ab27 !important;
	border-color: #d6ab27 !important;
	color: #fff !important;
}

.dk-blog-filters__item-check {
	display: none !important;
}

.dk-blog-filters__item-text {
	flex: 0 0 auto !important;
    text-transform: capitalize !important;
}

/* Search Styles */
.dk-blog-filters__search {
	position: relative;
	flex: 1;
	min-width: 200px;
	max-width: 400px;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.dk-blog-filters__search-input {
	flex: 1;
	padding: 0.375rem 0.75rem;
	height: 36px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	font-family: Montserrat, sans-serif;
	font-size: 0.75rem;
	color: #424242;
	background: #fff;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.dk-blog-filters__search-input:focus {
	outline: none;
	border-color: #d6ab27;
}

.dk-blog-filters__search-input::placeholder {
	color: #999;
}


/* Clear Filters Button */
.dk-blog-filters__clear-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0.375rem 0.5rem !important;
	height: auto !important;
	min-height: 36px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 0.75rem !important;
	font-weight: 400 !important;
	color: #666 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	white-space: nowrap !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
	margin-left: 1rem !important;
}

.dk-blog-filters__clear-btn:hover {
	color: #424242 !important;
}

/* Hidden state for clear button - remove from layout so View All occupies same slot */
.dk-blog-filters__clear-btn--hidden {
	display: none !important;
}

/* Single slot for Clear vs View All (same position) */
.dk-blog-filters__action-slot {
	display: inline-flex;
	align-items: center;
	margin-left: 1rem;
	min-width: 8.5rem;
	flex-shrink: 0;
}
.dk-blog-filters__action-slot .dk-blog-filters__clear-btn {
	margin-left: 0 !important;
}

.dk-blog-filters__clear-icon {
	width: 14px !important;
	height: 14px !important;
	stroke: currentColor !important;
	fill: none !important;
	stroke-width: 1.5 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	transition: all 0.2s ease !important;
}

/* View All Resources link (lives in action slot, no extra margin) */
.dk-blog-filters__view-all-link {
	display: inline;
	font-family: Montserrat, sans-serif;
	font-size: 0.75rem;
	font-weight: 400;
	color: #666;
	text-decoration: none;
	flex-shrink: 0;
	transition: color 0.2s ease;
}
.dk-blog-filters__view-all-link:hover {
	color: #424242;
	text-decoration: underline;
}

/* Global No Results Message */
.dk-blog-filters__no-results {
	width: 100%;
	min-width: 100%;
	box-sizing: border-box;
	/* Always render to establish width, even when hidden */
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.35s ease, visibility 0.35s ease, height 0.25s ease;
}

.dk-blog-filters__no-results-wrapper {
	width: 100%;
	min-width: 1400px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 4rem 1.5rem;
	box-sizing: border-box;
	text-align: center;
}

.dk-blog-filters__no-results-message {
	font-family: Montserrat, sans-serif;
	font-size: 1.125rem;
	font-weight: 500;
	color: #424242;
	line-height: 1.6;
	margin: 0;
	letter-spacing: 0.01em;
}

/* ============================================
   Blog Section
   ============================================ */

.dk-blog-section {
	margin-bottom: 4rem;
}

.dk-blog-section__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 2rem 0rem;
	gap: 1rem;
	flex-wrap: wrap;
}

h2.dk-blog-section__title, h3.dk-blog-section__title {
	font-family: "korolev-compressed", "Barlow Condensed", sans-serif !important;
	font-size: 4rem;
	font-weight: 500;
	margin: 0;
	color: #bc9721 !important;
	flex: 1 1 auto;
}

.dk-blog-section__read-all {
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	color: #666;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
	flex-shrink: 0;
}

.dk-blog-section__read-all:hover {
	color: #d6ab27;
}

/* Dynamic Results Container (shown when filters are active) */
.dk-blog-filters__dynamic-results {
	margin-top: 3rem;
	animation: fadeIn 0.3s ease;
}

.dk-blog-filters__dynamic-results .dk-blog-section__posts {
	width: 100%;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dk-blog-section__loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 3.5rem 2rem;
	min-height: 180px;
	gap: 1.25rem;
}

.dk-blog-section__spinner {
	display: inline-block;
	width: 48px;
	height: 48px;
	border: 3px solid #e8e8e8;
	border-top-color: #bc9721;
	border-radius: 50%;
	animation: dk-spin 0.75s linear infinite;
	flex-shrink: 0;
}

.dk-blog-section__loading-text {
	font-family: Montserrat, sans-serif;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #666;
	letter-spacing: 0.02em;
}

/* Dynamic results: slightly larger loading area */
.dk-blog-filters__dynamic-results .dk-blog-section__loading {
	min-height: 220px;
	padding: 4rem 2rem;
}

.dk-blog-filters__dynamic-results .dk-blog-section__spinner {
	width: 52px;
	height: 52px;
	border-width: 3px;
}

@keyframes dk-spin {
	to {
		transform: rotate(360deg);
	}
}

.dk-blog-section__posts {
	transition: opacity 0.3s ease;
	min-height: 100px; /* Prevent collapse when empty */
}

.dk-blog-section__posts--empty {
	display: block !important;
    height: 1px !important;
}

.dk-blog-section__posts--empty .dk-blog-featured-layout,
.dk-blog-section__posts--empty .dk-blog-masonry-layout {
	display: none !important;
}

/* Collapse section when it contains empty posts */
.dk-blog-section:has(.dk-blog-section__posts--empty),
.dk-blog-section--has-empty {
	max-height: 1px;
	margin-bottom: 0;
	overflow: hidden;
}

/* Dynamic results: do not collapse when empty so inline no-results message is visible */
.dk-blog-filters__dynamic-results.dk-blog-section:has(.dk-blog-section__posts--empty) {
	max-height: none;
	overflow: visible;
}

.dk-blog-section__no-results-inline {
	padding: 3rem 1.5rem;
	text-align: center;
}

.dk-blog-section__no-results-inline-message {
	font-family: Montserrat, sans-serif;
	font-size: 1.125rem;
	font-weight: 500;
	color: #424242;
	line-height: 1.6;
	margin: 0;
}

/* Spacer to maintain container width when sections are empty */
.dk-blog-section__spacer {
	width: 100%;
	height: 1px;
	background: transparent;
	visibility: hidden;
	pointer-events: none;
	/* Establish minimum width to prevent container collapse */
	min-width: 1400px;
}

.dk-blog-section__posts.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Featured Layout (Default) */
.dk-blog-section__posts--featured {
	display: block;
}

.dk-blog-featured-layout {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

.dk-blog-featured-layout[data-featured-side="right"] {
	flex-direction: row-reverse;
}

.dk-blog-featured-layout__featured {
	flex: 0 0 calc((100% - 2rem) * 0.6);
	max-width: calc((100% - 2rem) * 0.6);
	margin: 0;
	box-sizing: border-box;
}

.dk-blog-featured-layout__horizontal {
	flex: 0 0 calc((100% - 2rem) * 0.4);
	max-width: calc((100% - 2rem) * 0.4);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 0;
	box-sizing: border-box;
}

/* Masonry Layout (Filtered) */
.dk-blog-section__posts--masonry {
	display: block;
}

.dk-blog-masonry-layout {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	width: 100%;
	min-width: 100%;
	grid-auto-flow: row dense;
}

/* Make masonry layout respect data-columns attribute */
.dk-blog-section__posts[data-columns="2"] .dk-blog-masonry-layout {
	grid-template-columns: repeat(2, 1fr);
}

.dk-blog-section__posts[data-columns="3"] .dk-blog-masonry-layout {
	grid-template-columns: repeat(3, 1fr);
}

.dk-blog-section__posts[data-columns="4"] .dk-blog-masonry-layout {
	grid-template-columns: repeat(4, 1fr);
}

.dk-blog-section__posts[data-columns="5"] .dk-blog-masonry-layout {
	grid-template-columns: repeat(5, 1fr);
}

/* Break out of Elementor container constraints for archive sections */
.elementor-widget-shortcode:has(.dk-blog-section--archive),
.elementor-element:has(.dk-blog-section--archive),
.e-con:has(.dk-blog-section--archive) {
	max-width: 100% !important;
	width: 100% !important;
}

.dk-blog-section--archive {
	max-width: 1400px !important;
	margin: 0 auto !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.dk-blog-section--archive .dk-blog-masonry-layout {
	min-width: 100% !important;
	width: 100% !important;
}

.dk-blog-masonry-layout .dk-blog-card {
	/* Remove break-inside properties (not needed for grid) */
	margin-bottom: 0; /* Gap handles spacing */
	width: 100%; /* Cards fill grid cell */
	opacity: 1;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

/* New cards fade in */
.dk-blog-masonry-layout .dk-blog-card.is-loading {
	opacity: 0;
	transform: translateY(20px);
}

/* Row Grid Layout (Height-Matched) */
.dk-blog-section__posts--row {
	display: block;
}

.dk-blog-row-layout {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	width: 100%;
}

/* Dynamic column support for row layout */
.dk-blog-section__posts[data-columns="2"] .dk-blog-row-layout {
	grid-template-columns: repeat(2, 1fr);
}

.dk-blog-section__posts[data-columns="3"] .dk-blog-row-layout {
	grid-template-columns: repeat(3, 1fr);
}

.dk-blog-section__posts[data-columns="4"] .dk-blog-row-layout {
	grid-template-columns: repeat(4, 1fr);
}

.dk-blog-section__posts[data-columns="5"] .dk-blog-row-layout {
	grid-template-columns: repeat(5, 1fr);
}

.dk-blog-row-layout .dk-blog-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.dk-blog-section__no-posts,
.dk-blog-section__error {
	display: block;
	width: 100%;
	text-align: center;
	padding: 3rem 1rem;
	color: #666;
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	line-height: 1.6;
}

/* Ensure no-posts message works in all layout contexts */
.dk-blog-section__posts--featured .dk-blog-section__no-posts,
.dk-blog-section__posts--masonry .dk-blog-section__no-posts,
.dk-blog-section__posts--row .dk-blog-section__no-posts,
.dk-blog-featured-layout .dk-blog-section__no-posts,
.dk-blog-masonry-layout .dk-blog-section__no-posts,
.dk-blog-row-layout .dk-blog-section__no-posts {
	display: block;
	width: 100%;
	grid-column: unset;
	column-span: all;
}

/* Pagination UI (replaces Load More) */
.dk-blog-section__load-more-wrapper.dk-blog-section__pagination-ui {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-width: 300px;
	margin: 3rem auto 2rem;
	box-sizing: border-box;
}

.dk-blog-section__pagination-summary {
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	color: #424242;
	line-height: 1.5;
	text-align: center;
	word-wrap: break-word;
	max-width: 100%;
}

.dk-blog-section__pagination-nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
}

.dk-blog-section__pagination-prev,
.dk-blog-section__pagination-next {
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	padding: 0.5rem 1.25rem;
	background: #fff;
	color: #424242;
	border: 2px solid #bc9721;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.dk-blog-section__pagination-prev:hover:not(:disabled),
.dk-blog-section__pagination-next:hover:not(:disabled) {
	background: #bc9721;
	color: #fff;
}

.dk-blog-section__pagination-prev:disabled,
.dk-blog-section__pagination-next:disabled {
	background: #f0f0f0;
	color: #999;
	border-color: #e0e0e0;
	cursor: default;
}

.dk-spinner {
	width: 18px;
	height: 18px;
	animation: rotate 1s linear infinite;
}

.dk-spinner circle {
	stroke-dasharray: 125;
	stroke-dashoffset: 25;
	animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
	100% { transform: rotate(360deg); }
}

@keyframes dash {
	0% { stroke-dashoffset: 125; }
	50% { stroke-dashoffset: 25; }
	100% { stroke-dashoffset: 125; }
}

/* ============================================
   Post Cards
   ============================================ */

.dk-blog-card {
	background: #fff;
	border-radius: 5px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
}

/* Subtle box shadows for masonry and row layouts only */
.dk-blog-masonry-layout .dk-blog-card,
.dk-blog-row-layout .dk-blog-card {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dk-blog-masonry-layout .dk-blog-card:hover,
.dk-blog-row-layout .dk-blog-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
}

.dk-blog-card__image {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 aspect ratio */
	overflow: hidden;
	background: #f0f0f0;
}

.dk-blog-card__image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.dk-blog-card:hover .dk-blog-card__image img {
	transform: scale(1.05);
}

.dk-blog-card__content {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dk-blog-card__title {
	font-family: "korolev-compressed", "Barlow Condensed", sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	margin: 0 0 1rem 0;
	line-height: 1.3;
	overflow-wrap: break-word;
	word-wrap: break-word;
	min-width: 0;
}

.dk-blog-card__title a {
	color: #424242;
	text-decoration: none;
	transition: color 0.3s ease;
}

.dk-blog-card__title a:hover {
	color: #d6ab27;
}

.dk-blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: #666;
	font-family: Montserrat, sans-serif;
	min-width: 0;
}

.dk-blog-card__date {
	color: #666;
}

.dk-blog-card__categories,
.dk-blog-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dk-blog-card__category,
.dk-blog-card__tag {
	padding: 0.25rem 0.5rem;
	background: #f0f0f0;
	color: #424242 !important;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
	display: inline-block;
    text-transform: capitalize;
}

.dk-blog-card__category:hover, .dk-blog-card__tag:hover {
	background-color: #e8e8e8 !important;
}

.dk-blog-card__excerpt {
	flex: 1;
	margin-bottom: 1rem;
	color: #666;
	line-height: 1.6;
	font-family: Montserrat, sans-serif;
	overflow-wrap: break-word;
	word-wrap: break-word;
	min-width: 0;
}

.dk-blog-card__footer {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid #e0e0e0;
}

.dk-blog-card__read-more {
	display: inline-block;
	color: #d6ab27;
	text-decoration: none;
	font-weight: 500;
	font-family: Montserrat, sans-serif;
	transition: color 0.3s ease;
	position: relative;
	padding-right: 1.5rem;
}

.dk-blog-card__read-more::after {
	content: '→';
	position: absolute;
	right: 0;
	transition: transform 0.3s ease;
}

.dk-blog-card__read-more:hover {
	color: #424242;
}

.dk-blog-card__read-more:hover::after {
	transform: translateX(4px);
}

/* Featured Card Styles */
.dk-blog-card--featured {
	height: auto;
}

.dk-blog-card--featured .dk-blog-card__image {
	padding-top: 56.25%;
	margin-bottom: 1.5rem;
}

.dk-blog-card--featured .dk-blog-card__content {
	padding: 0;
}

.dk-blog-card__category-tag {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: #f0f0f0;
	color: #424242;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 500;
	font-family: Montserrat, sans-serif;
	margin-bottom: 1rem;
	text-transform: capitalize;
	letter-spacing: 0.5px;
	width: fit-content;
	align-self: flex-start;
}

.dk-blog-card__category-tag a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.dk-blog-card__category-tag a:hover {
	color: #d6ab27;
}

.dk-blog-card__title--featured {
	font-size: 2rem;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.dk-blog-card__excerpt--featured {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	color: #666;
}

.dk-blog-card__meta--featured {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	color: #666;
	font-family: Montserrat, sans-serif;
}

.dk-blog-card__author {
	font-weight: 500;
}

.dk-blog-card__separator {
	color: #999;
}

/* Horizontal Card Styles */
.dk-blog-card--horizontal {
	flex-direction: row;
	align-items: flex-start;
	gap: 1rem;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 1.5rem;
}

.dk-blog-card--horizontal:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.dk-blog-card--horizontal:hover {
	transform: none;
	box-shadow: none;
}

.dk-blog-card__thumbnail {
	flex: 0 0 auto;
	width: 160px;
	height: 80px;
	overflow: hidden;
	border-radius: 6px;
	background: #f0f0f0;
	aspect-ratio: 2 / 1;
}

.dk-blog-card__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.dk-blog-card--horizontal:hover .dk-blog-card__thumbnail img {
	transform: scale(1.05);
}

.dk-blog-card__content--horizontal {
	flex: 1;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dk-blog-card__title--horizontal {
	font-size: 1rem;
	font-weight: 500;
	margin: 0;
	line-height: 1.4;
}

.dk-blog-card__title--horizontal a {
	color: #424242;
}

.dk-blog-card__title--horizontal a:hover {
	color: #d6ab27;
}

.dk-blog-card__meta--horizontal {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: #666;
	font-family: Montserrat, sans-serif;
}

.dk-blog-card__category {
	font-weight: 500;
}

/* Layout Transition */
.dk-blog-section__posts {
	transition: opacity 0.3s ease;
}

.dk-blog-featured-layout,
.dk-blog-masonry-layout {
	animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
	.dk-blog-section__posts[data-columns="3"],
	.dk-blog-section__posts[data-columns="4"] {
		grid-template-columns: repeat(2, 1fr);
	}

	.dk-blog-masonry-layout {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	/* Row layout: reduce columns for legibility */
	.dk-blog-section__posts[data-columns="4"] .dk-blog-row-layout,
	.dk-blog-section__posts[data-columns="5"] .dk-blog-row-layout {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.dk-blog-section__posts[data-columns="3"] .dk-blog-row-layout {
		gap: 1.5rem;
	}
}

@media (max-width: 768px) {
	.dk-blog-filters--sticky {
		position: sticky;
		top: 0;
	}

	.dk-blog-filters__container {
		padding: 0.75rem 1rem;
		gap: 0.5rem;
		flex-wrap: wrap;
	}

	.dk-blog-filters__dropdown-toggle {
		min-width: 100px;
		padding: 0.5rem 0.75rem;
		font-size: 0.8rem;
	}

	.dk-blog-filters__search {
		min-width: 100%;
		order: 3;
	}

	.dk-blog-filters__search-input {
		padding: 0.5rem 0.75rem;
		font-size: 0.85rem;
	}


	.dk-blog-filters__dropdown-menu {
		min-width: 240px;
		max-width: calc(100vw - 2rem);
		left: auto;
		right: 0;
	}

	.dk-blog-filters__dropdown--topics .dk-blog-filters__dropdown-menu {
		left: 0;
		right: auto;
	}

	.dk-blog-section__title {
		font-size: 1.75rem;
	}

	.dk-blog-section__posts {
		gap: 1.5rem;
	}

	.dk-blog-section__posts[data-columns="2"],
	.dk-blog-section__posts[data-columns="3"],
	.dk-blog-section__posts[data-columns="4"] {
		grid-template-columns: 1fr;
	}

	/* Featured layout - stack on mobile */
	.dk-blog-featured-layout {
		flex-direction: column;
		gap: 1.5rem;
	}

	.dk-blog-featured-layout[data-featured-side="right"] {
		flex-direction: column;
	}

	.dk-blog-featured-layout__featured {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.dk-blog-featured-layout__horizontal {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.dk-blog-masonry-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Row layout: single column on small screens */
	.dk-blog-section__posts[data-columns="2"] .dk-blog-row-layout,
	.dk-blog-section__posts[data-columns="3"] .dk-blog-row-layout,
	.dk-blog-section__posts[data-columns="4"] .dk-blog-row-layout,
	.dk-blog-section__posts[data-columns="5"] .dk-blog-row-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Section padding so content doesn't touch viewport edges */
	.dk-blog-section {
		padding-left: 1rem;
		padding-right: 1rem;
		box-sizing: border-box;
	}

	.dk-blog-card__content {
		padding: 1.25rem;
	}

	.dk-blog-card__title {
		font-size: 1.25rem;
	}

	.dk-blog-card__title--featured {
		font-size: 1.5rem;
	}

	/* Horizontal cards: keep readable when featured layout stacks */
	.dk-blog-card__title--horizontal {
		font-size: 0.95rem;
	}
}

@media (max-width: 480px) {
	.dk-blog-filters__buttons {
		gap: 0.5rem;
	}

	.dk-blog-filters__button {
		font-size: 0.8rem;
		padding: 0.35rem 0.7rem;
	}

	.dk-blog-section__title {
		font-size: 1.5rem;
		margin-bottom: 1.5rem;
	}

	.dk-blog-section {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	/* Row layout: tighter gap on very small screens */
	.dk-blog-section__posts .dk-blog-row-layout {
		gap: 1.25rem;
	}

	.dk-blog-card__content {
		padding: 1rem;
	}

	.dk-blog-card__title {
		font-size: 1.125rem;
	}

	.dk-blog-card__excerpt {
		font-size: 0.875rem;
		line-height: 1.55;
	}

	.dk-blog-card__title--featured {
		font-size: 1.25rem;
	}

	/* Horizontal cards: stack thumbnail above content for legibility */
	.dk-blog-card--horizontal {
		flex-direction: column;
		gap: 0.75rem;
		padding-bottom: 1.25rem;
	}

	.dk-blog-card__thumbnail {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 2 / 1;
		min-height: 80px;
	}

	.dk-blog-card__title--horizontal {
		font-size: 0.9375rem;
	}
}

/* ============================================
   Single Blog Post
   ============================================ */

.dk-blog-post {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	box-sizing: border-box;
}

/* Breadcrumb */
.dk-blog-post__breadcrumb {
	margin-bottom: 2rem;
}

.dk-blog-post__breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.5rem;
	font-family: Montserrat, sans-serif;
	font-size: 0.875rem;
	color: #666;
}

.dk-blog-post__breadcrumb-item {
	display: flex;
	align-items: center;
}

.dk-blog-post__breadcrumb-item:not(:last-child)::after {
	content: '›';
	margin: 0 0.5rem;
	color: #999;
}

.dk-blog-post__breadcrumb-item a {
	color: #666;
	text-decoration: none;
	transition: color 0.2s ease;
}

.dk-blog-post__breadcrumb-item a:hover {
	color: #d6ab27;
}

.dk-blog-post__breadcrumb-item--current {
	color: #424242;
	font-weight: 500;
}

/* Post Header */
.dk-blog-post__header {
	margin-bottom: 3rem;
}

.dk-blog-post__title {
	font-family: "korolev-compressed", "Barlow Condensed", sans-serif;
	font-size: 3rem;
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 1.5rem 0;
	color: #424242;
}

.dk-blog-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
	font-family: Montserrat, sans-serif;
	font-size: 0.875rem;
	color: #666;
}

.dk-blog-post__date {
	color: #666;
}

.dk-blog-post__author {
	color: #666;
}

.dk-blog-post__author::before {
	content: '•';
	margin: 0 0.5rem;
	color: #999;
}

.dk-blog-post__categories,
.dk-blog-post__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dk-blog-post__category,
.dk-blog-post__tag {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: #f0f0f0;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	color: #424242;
	text-decoration: none;
	font-size: 0.75rem;
	transition: all 0.2s ease;
}

.dk-blog-post__category:hover,
.dk-blog-post__tag:hover {
	background: #d6ab27;
	border-color: #d6ab27;
	color: #fff;
}

.dk-blog-post__featured-image {
	margin-bottom: 2rem;
	border-radius: 5px;
	overflow: hidden;
}

.dk-blog-post__featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.dk-blog-post__excerpt {
	font-family: Montserrat, sans-serif;
	font-size: 1.125rem;
	line-height: 1.7;
	color: #666;
	margin-bottom: 2rem;
	font-style: italic;
}

/* Table of Contents */
.dk-blog-post__toc {
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 1.5rem;
	margin-bottom: 3rem;
}

.dk-blog-post__toc-title {
	font-family: Montserrat, sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
	color: #424242;
}

.dk-blog-post__toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dk-blog-post__toc-item {
	margin-bottom: 0.5rem;
}

.dk-blog-post__toc-item:last-child {
	margin-bottom: 0;
}

.dk-blog-post__toc-link {
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	color: #666;
	text-decoration: none;
	transition: color 0.2s ease;
	display: block;
	padding: 0.25rem 0;
}

.dk-blog-post__toc-link:hover,
.dk-blog-post__toc-link.is-active {
	color: #d6ab27;
}

/* Post Content */
.dk-blog-post__content {
	font-family: Montserrat, sans-serif;
	font-size: 1rem;
	line-height: 1.8;
	color: #424242;
	margin-bottom: 3rem;
}

.dk-blog-post__content h2 {
	font-family: "korolev-compressed", "Barlow Condensed", sans-serif;
	font-size: 2rem;
	font-weight: 500;
	margin: 2.5rem 0 1rem 0;
	color: #424242;
	scroll-margin-top: 100px; /* Offset for sticky headers */
}

.dk-blog-post__content h3 {
	font-family: Montserrat, sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	margin: 2rem 0 1rem 0;
	color: #424242;
}

.dk-blog-post__content h4 {
	font-family: Montserrat, sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	margin: 1.5rem 0 0.75rem 0;
	color: #424242;
}

.dk-blog-post__content p {
	margin: 0 0 1.5rem 0;
}

.dk-blog-post__content ul,
.dk-blog-post__content ol {
	margin: 0 0 1.5rem 1.5rem;
	padding: 0;
}

.dk-blog-post__content li {
	margin-bottom: 0.5rem;
}

.dk-blog-post__content img {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
	margin: 1.5rem 0;
}

.dk-blog-post__content a {
	color: #c19a20;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.dk-blog-post__content a:hover {
	color: #d6ab27;
}

.dk-blog-post__content blockquote {
	border-left: 4px solid #d6ab27;
	padding-left: 1.5rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: #666;
}

.dk-blog-post__content code {
	background: #f5f5f5;
	padding: 0.125rem 0.375rem;
	border-radius: 3px;
	font-size: 0.9em;
	font-family: 'Courier New', monospace;
}

.dk-blog-post__content pre {
	background: #f5f5f5;
	padding: 1rem;
	border-radius: 5px;
	overflow-x: auto;
	margin: 1.5rem 0;
}

.dk-blog-post__content pre code {
	background: transparent;
	padding: 0;
}

/* Social Sharing */
.dk-blog-post__sharing {
	margin: 3rem 0;
	padding: 2rem 0;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}

.dk-blog-post__sharing-title {
	font-family: Montserrat, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
	color: #424242;
}

.dk-blog-post__sharing-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.dk-blog-post__sharing-button {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	color: #424242;
	text-decoration: none;
	font-family: Montserrat, sans-serif;
	font-size: 0.875rem;
	transition: all 0.2s ease;
}

.dk-blog-post__sharing-button:hover {
	background: #d6ab27;
	border-color: #d6ab27;
	color: #fff;
}

.dk-blog-post__sharing-button svg {
	flex-shrink: 0;
}

.dk-blog-post__sharing-button span {
	white-space: nowrap;
}

/* Related Posts */
.dk-blog-post__related {
	margin-top: 4rem;
}

.dk-blog-post__related-title {
	font-family: "korolev-compressed", "Barlow Condensed", sans-serif;
	font-size: 2.5rem;
	font-weight: 500;
	margin: 0 0 2rem 0;
	color: #424242;
}

.dk-blog-post__related-grid {
	column-count: 3;
	column-gap: 2rem;
	column-fill: balance;
}

.dk-blog-post__related-grid .dk-blog-card {
	break-inside: avoid;
	page-break-inside: avoid;
	margin-bottom: 2rem;
	display: inline-block;
	width: 100%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dk-blog-post__related-grid .dk-blog-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
}

.dk-blog-post__error {
	font-family: Montserrat, sans-serif;
	color: #d32f2f;
	padding: 1rem;
	background: #ffebee;
	border: 1px solid #ffcdd2;
	border-radius: 5px;
}

/* Responsive Styles for Blog Post */
@media (max-width: 1024px) {
	.dk-blog-post__related-grid {
		column-count: 2;
		column-gap: 1.5rem;
	}
}

@media (max-width: 768px) {
	.dk-blog-post {
		padding: 1.5rem 1rem;
	}

	.dk-blog-post__title {
		font-size: 2rem;
	}

	.dk-blog-post__content h2 {
		font-size: 1.75rem;
	}

	.dk-blog-post__content h3 {
		font-size: 1.25rem;
	}

	.dk-blog-post__toc {
		padding: 1rem;
	}

	.dk-blog-post__sharing-buttons {
		flex-direction: column;
	}

	.dk-blog-post__sharing-button {
		width: 100%;
		justify-content: center;
	}

	.dk-blog-post__related-title {
		font-size: 2rem;
	}

	.dk-blog-post__related-grid {
		column-count: 1;
		column-gap: 1.5rem;
	}
}

@media (max-width: 480px) {
	.dk-blog-post__title {
		font-size: 1.75rem;
	}

	.dk-blog-post__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.dk-blog-post__author::before {
		display: none;
	}
}

/* ============================================
   Accessibility
   ============================================ */

.dk-blog-filters__dropdown-toggle:focus,
.dk-blog-filters__dropdown-item:focus,
.dk-blog-filters__search-input:focus,
.dk-blog-filters__clear-btn:focus {
	outline: 2px solid #d6ab27;
	outline-offset: 2px;
}

.dk-blog-card__read-more:focus {
	outline: none;
	outline-offset: 2px;
}

/* Ensure dropdown items are keyboard accessible */
.dk-blog-filters__dropdown-item:focus-visible {
	background: #f5f5f5;
}

/* Screen reader only text */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ============================================
   Job Posting Specific Styles
   ============================================ */

/* Job cards inherit all .dk-blog-card styles */
.dk-job-card__location {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	background: #f0f0f0;
	color: #424242;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 500;
	margin-right: 0.5rem;
}

.dk-job-card__employment-type {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	background: #f0f0f0;
	color: #424242;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 500;
	margin-right: 0.5rem;
}

/* ============================================
   Testimonials Carousel
   ============================================ */

.dk-testimonials-carousel {
	width: 100%;
	position: relative;
}

/* Layout container - thirds on desktop */
.dk-testimonials-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: flex-start;
}

/* Left third: Title and controls */
.dk-testimonials-left {
	flex: 0 0 calc(33.333% - 1rem);
	max-width: calc(33.333% - 1rem);
}

.dk-testimonials-controls {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Right 2/3: Carousel area */
.dk-testimonials-right {
	flex: 0 0 calc(66.667% - 1rem);
	max-width: calc(66.667% - 1rem);
}

.dk-testimonials-carousel__wrapper {
	overflow: hidden;
	width: 100%;
}

.dk-testimonials-carousel__track {
	display: flex;
	transition: transform 0.5s ease;
	width: 100%;
}

.dk-testimonial-item {
	flex: 0 0 50%;
	min-width: 50%;
	padding: 1rem;
	box-sizing: border-box;
}

.dk-testimonial-item .elementor-widget-text-editor {
	width: 100%;
}

.dk-testimonial-item .elementor-widget-text-editor p {
	margin-bottom: 1rem;
}

.dk-testimonial-item .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.dk-testimonial-item .elementor-widget-text-editor p em {
	font-style: italic;
	color: #424242;
}

.dk-testimonial-item .elementor-widget-text-editor p strong {
	font-weight: bold;
	color: #424242;
}

/* Testimonials Title */
.dk-testimonials-carousel .elementor-heading-title {
	color: #d6ab27;
	font-size: 2.5rem;
	font-weight: 600;
	margin-bottom: 0;
	line-height: 1.2;
	font-size: 4rem !important;
    margin-bottom: 2rem;
	text-align: end;
}

.dk-testimonials-left.dk-testimonials-controls {
	text-align: end;
}

/* Testimonials Navigation Buttons - Single horizontal row */
.dk-testimonials-carousel .uael-dual-button-wrap {
	display: flex;
	flex-direction: row;
	gap: 0;
	align-items: center;
	flex-wrap: nowrap;
	justify-content: flex-end; /* Align buttons to the right on desktop */
}

.dk-testimonials-carousel .uael-button-wrapper {
	margin: 0;
}

.dk-testimonials-carousel .uael-dual-button-0 a.elementor-button {
	background-color: #d6ab27;
	color: #fff;
	border: 2px solid #d6ab27;
	border-radius: 0;
	padding: 0.875rem 1.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
	transition: all 0.3s ease;
	display: inline-block;
	border-right: none; /* Remove right border to attach to next button */
}

.dk-testimonials-carousel .uael-dual-button-0 a.elementor-button:hover {
	background-color: #424242;
	border-color: #424242;
	color: #fff;
}

.dk-testimonials-carousel .uael-dual-button-1 a.elementor-button,
.dk-testimonials-carousel .uael-dual-button-2 a.elementor-button {
	background-color: #fff;
	color: #d6ab27;
	border: 2px solid #d6ab27;
	border-radius: 0;
	cursor: pointer;
	padding: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	min-width: 48px;
	text-decoration: none;
	border-left: none; /* Remove left border to attach to previous button */
}

.dk-testimonials-carousel .uael-dual-button-1 a.elementor-button {
	border-left: 2px solid #d6ab27; /* Keep left border for first arrow */
}

.dk-testimonials-carousel .uael-dual-button-1 a.elementor-button:hover,
.dk-testimonials-carousel .uael-dual-button-2 a.elementor-button:hover {
	background-color: #d6ab27;
	color: #fff;
	border-color: #d6ab27;
	text-decoration: none;
}

.dk-testimonials-carousel .uael-dual-button-1 a.elementor-button.disabled,
.dk-testimonials-carousel .uael-dual-button-2 a.elementor-button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: #f5f5f5;
	border-color: #e0e0e0;
	color: #999;
	pointer-events: none;
}

.dk-testimonials-carousel .uael-dual-button-1 a.elementor-button svg,
.dk-testimonials-carousel .uael-dual-button-2 a.elementor-button svg {
	fill: currentColor;
	width: 20px;
	height: 20px;
}

.dk-testimonials-carousel .uael-dual-button-1 a.elementor-button:hover svg,
.dk-testimonials-carousel .uael-dual-button-2 a.elementor-button:hover svg {
	fill: currentColor;
}

/* Responsive: Stack on mobile */
@media (max-width: 767px) {
	.dk-testimonials-layout {
		flex-direction: column;
		gap: 2rem;
	}
	
	.dk-testimonials-left {
		flex: 0 0 100%;
		max-width: 100%;
		order: 1; /* Title first */
	}
	
	.dk-testimonials-right {
		flex: 0 0 100%;
		max-width: 100%;
		order: 2; /* Testimonials second */
		display: flex;
		flex-direction: column;
	}
	
	.dk-testimonials-controls {
		align-items: center;
		text-align: center;
	}
	
	.dk-testimonials-carousel .elementor-heading-title {
		text-align: center;
		margin-bottom: 1.5rem;
	}
	
	/* Hide buttons in the left section on mobile */
	.dk-testimonials-left .uael-dual-button-wrap {
		display: none;
	}
	
	/* Show mobile controls below testimonials */
	.dk-testimonials-mobile-controls {
		display: block;
		margin-top: 2rem;
		order: 3;
	}
	
	.dk-testimonial-item {
		flex: 0 0 100%;
		min-width: 100%;
	}
	
	/* Buttons in a single attached row on mobile - no gaps, centered */
	.dk-testimonials-mobile-controls .uael-dual-button-wrap {
		flex-direction: row;
		justify-content: center; /* Center buttons on mobile */
		gap: 0 !important; /* No gaps between buttons */
		width: 100%;
	}
	
	/* Also center desktop buttons wrapper on mobile (if visible) */
	.dk-testimonials-left .uael-dual-button-wrap {
		justify-content: center; /* Center on mobile if visible */
	}
	
	.dk-testimonials-mobile-controls .uael-dual-button-0 a.elementor-button {
		border-right: none; /* Attach to next button */
	}
	
	.dk-testimonials-mobile-controls .uael-dual-button-1 a.elementor-button {
		border-left: 2px solid #d6ab27; /* Keep left border */
		border-right: none; /* Attach to next button */
	}
	
	.dk-testimonials-mobile-controls .uael-dual-button-2 a.elementor-button {
		border-left: none; /* Attach to previous button */
	}
}

/* Hide mobile controls on desktop */
@media (min-width: 768px) {
	.dk-testimonials-mobile-controls {
		display: none;
	}
}

/* Job sections inherit all .dk-blog-section styles */

/* ============================================
   Single Job Posting Styles
   ============================================ */

.dk-job-post {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 0;
}

.dk-job-post__header {
	margin-bottom: 2rem;
}

.dk-job-post__title {
	font-family: "korolev-compressed", "Barlow Condensed", sans-serif;
	font-size: 2.5rem;
	font-weight: 500;
	margin: 0 0 1rem 0;
	line-height: 1.2;
	color: #424242;
}

.dk-job-post__meta {
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: #f8f8f8;
	border-radius: 5px;
}

.dk-job-post__meta-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.875rem;
	color: #666;
	font-family: Montserrat, sans-serif;
}

.dk-job-post__meta-item {
	display: inline-block;
}

.dk-job-post__meta-item strong {
	color: #424242;
	margin-right: 0.5rem;
}

.dk-job-post__section-title {
	font-family: "korolev-compressed", "Barlow Condensed", sans-serif;
	font-size: 1.75rem;
	font-weight: 500;
	margin: 2rem 0 1rem 0;
	color: #424242;
	border-bottom: 2px solid #d6ab27;
	padding-bottom: 0.5rem;
}

.dk-job-post__content {
	font-family: Montserrat, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #424242;
	margin-bottom: 1.5rem;
}

.dk-job-post__content p {
	margin-bottom: 1rem;
}

.dk-job-post__list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem 0;
}

.dk-job-post__list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.75rem;
	font-family: Montserrat, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #424242;
}

.dk-job-post__list li:before {
	content: "•";
	position: absolute;
	left: 0;
	color: #d6ab27;
	font-weight: bold;
	font-size: 1.2rem;
}

.dk-job-post__apply {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 2px solid #e0e0e0;
	text-align: center;
}

.dk-job-post__apply-btn {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: #d6ab27;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-family: Montserrat, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	transition: background 0.3s ease, transform 0.2s ease;
}

.dk-job-post__apply-btn:hover {
	background: #c49a1f;
	transform: translateY(-2px);
	color: #fff;
}

.dk-job-post__error {
	padding: 2rem;
	background: #fee;
	border: 1px solid #fcc;
	border-radius: 5px;
	color: #c33;
	text-align: center;
}

/* Additional job card meta styles */
.dk-job-card__department,
.dk-job-card__flsa-status {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	background: #f0f0f0;
	color: #424242;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 500;
	margin-right: 0.5rem;
}

.dk-job-card__compensation {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	background: #d6ab27;
	color: #fff;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 600;
	margin-right: 0.5rem;
}

