/**
 * Dateka Expertises Widget CSS
 * Theme: Dark navy background (#002755) with glassmorphism cards and gold text (#D4AF37)
 *
 * @package Dateka_Custom
 */

.dateka-expertises {
	background-color: var(--dateka-navy, #002755);
	padding: 72px 24px;
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
}

.dateka-expertises__inner {
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
	position: relative;
	z-index: 1;
}

/* ─────────────────────────────────────
   SECTION HEADING
───────────────────────────────────── */
.dateka-expertises__heading {
	color: #ffffff;
	font-family: var(--e-global-typography-primary-font-family, Montserrat, Arial, sans-serif);
	font-size: clamp(1.5rem, 2.4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 auto 36px;
	max-width: 800px;
	text-align: center;
}

.dateka-expertises__heading em,
.dateka-expertises__heading strong {
	font-style: normal;
	color: var(--dateka-gold-accent, #D4AF37);
}

/* ─────────────────────────────────────
   GRID & GLASSMORPHISM CARDS
───────────────────────────────────── */
.dateka-expertises__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dateka-expertises__card {
	align-items: center;
	background-color: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(212, 175, 55, 0.28);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.12);
	box-sizing: border-box;
	color: var(--dateka-gold-accent, #D4AF37);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 140px;
	padding: 24px 18px;
	text-align: center;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* Subtle top glass sheen reflection */
.dateka-expertises__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
	pointer-events: none;
}

/* Card Hover Effects */
.dateka-expertises__card:hover,
.dateka-expertises__card--link:hover {
	background-color: rgba(255, 255, 255, 0.10);
	border-color: rgba(212, 175, 55, 0.65);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3), 0 0 16px rgba(212, 175, 55, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.2);
	transform: translateY(-4px);
}

.dateka-expertises__card--link:focus-visible {
	outline: 3px solid var(--dateka-gold-accent, #D4AF37);
	outline-offset: 3px;
}

/* ─────────────────────────────────────
   CARD ICON
───────────────────────────────────── */
.dateka-expertises__icon {
	color: var(--dateka-gold-accent, #D4AF37);
	display: inline-flex;
	font-size: 24px;
	line-height: 1;
	margin-bottom: 14px;
	transition: transform 200ms ease, color 200ms ease;
}

.dateka-expertises__icon svg {
	fill: currentColor;
	height: 1em;
	width: 1em;
}

.dateka-expertises__card:hover .dateka-expertises__icon {
	transform: scale(1.1);
}

/* ─────────────────────────────────────
   CARD TITLE & DESCRIPTION
───────────────────────────────────── */
.dateka-expertises__title {
	color: var(--dateka-gold-accent, #D4AF37);
	font-family: var(--e-global-typography-primary-font-family, Montserrat, Arial, sans-serif);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
	transition: color 200ms ease;
}

.dateka-expertises__description {
	color: var(--dateka-gold-accent, #D4AF37);
	font-family: var(--e-global-typography-text-font-family, "Roboto Mono", monospace);
	font-size: 0.75rem;
	line-height: 1.5;
	margin: 10px 0 0;
	opacity: 0.92;
}

/* ─────────────────────────────────────
   CTA LINK UNDER GRID
───────────────────────────────────── */
.dateka-expertises__cta-wrap {
	text-align: center;
	margin-top: 32px;
}

.dateka-expertises__cta {
	color: var(--dateka-gold-accent, #D4AF37);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--e-global-typography-text-font-family, "Roboto Mono", monospace);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 180ms ease, transform 180ms ease;
}

.dateka-expertises__cta:hover,
.dateka-expertises__cta:focus-visible {
	color: #ffffff;
	transform: translateY(-1px);
}

/* ─────────────────────────────────────
   RESPONSIVE DESIGN
───────────────────────────────────── */
@media (max-width: 1024px) {
	.dateka-expertises {
		padding: 64px 20px;
	}

	.dateka-expertises__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.dateka-expertises {
		padding: 48px 16px;
	}

	.dateka-expertises__heading {
		margin-bottom: 28px;
	}

	.dateka-expertises__grid {
		grid-template-columns: 1fr;
	}

	.dateka-expertises__card {
		min-height: 120px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dateka-expertises__card,
	.dateka-expertises__card--link,
	.dateka-expertises__icon,
	.dateka-expertises__cta {
		transition: none;
	}
}
