/* DUK page (page-duk.php) */

.duk-page {
	padding-bottom: 64px;
	font-family: 'Inter', sans-serif;
	color: #212121;
}

.duk-hero {
	padding: 48px 0 56px;
	background-color: #0f69af;
	background-image: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .14), transparent 45%), linear-gradient(135deg, #0f69af 0%, #0b4f86 100%);
	color: #fff;
}

.duk-hero__title {
	margin: 0 0 10px;
	color: #fff;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.duk-hero__lead {
	margin: 0;
	color: rgba(255, 255, 255, .9);
	font-size: 17px;
	line-height: 1.6;
}

.duk-wrap {
	max-width: 900px;
}

/* Topic chips */
.duk-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: -22px 0 36px;
	padding: 16px;
	border: 1px solid #E6EBF0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(16, 24, 40, .08);
}

a.duk-chip,
a.duk-chip:visited,
a.duk-chip:hover,
a.duk-chip:focus,
a.duk-chip:active {
	padding: 8px 16px;
	border: 1px solid #cfe0ef;
	border-radius: 999px;
	background: #f1f7fc;
	color: #0f69af;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}

a.duk-chip:hover {
	border-color: #0f69af;
	background: #e8f1f9;
}

a.duk-chip:focus-visible,
a.duk-btn:focus-visible {
	outline: 2px solid #0f69af;
	outline-offset: 2px;
}

/* Groups + accordions */
.duk-content h2 {
	margin: 40px 0 14px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	scroll-margin-top: 150px;
}

.duk-content h2:first-child {
	margin-top: 0;
}

.duk-content details {
	margin: 0 0 10px;
	border: 1px solid #E6EBF0;
	border-radius: 12px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.duk-content details[open] {
	border-color: #cfe0ef;
	box-shadow: 0 8px 24px rgba(15, 105, 175, .08);
}

.duk-content summary {
	position: relative;
	padding: 18px 56px 18px 20px;
	color: #212121;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.duk-content summary::-webkit-details-marker {
	display: none;
}

.duk-content summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: #f1f7fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f69af' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform .2s ease;
}

.duk-content details[open] summary::after {
	transform: rotate(180deg);
}

.duk-content summary:hover {
	color: #0f69af;
}

.duk-content summary:focus-visible {
	outline: 2px solid #0f69af;
	outline-offset: -2px;
	border-radius: 12px;
}

.duk-content details > :not(summary) {
	margin: 0;
	padding: 0 20px 6px;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.7;
}

.duk-content details > :last-child {
	padding-bottom: 18px;
}

/* CTA */
.duk-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 48px;
	padding: 32px 36px;
	border-radius: 16px;
	background-color: #0f69af;
	background-image: linear-gradient(135deg, #0f69af 0%, #0b4f86 100%);
	color: #fff;
}

.duk-cta__title {
	margin: 0 0 6px;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
}

.duk-cta p {
	margin: 0;
	color: rgba(255, 255, 255, .88);
}

.duk-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

a.duk-btn,
a.duk-btn:visited,
a.duk-btn:hover,
a.duk-btn:focus,
a.duk-btn:active {
	display: inline-flex;
	align-items: center;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s ease;
}

a.duk-btn--light,
a.duk-btn--light:visited,
a.duk-btn--light:focus,
a.duk-btn--light:active {
	background: #fff;
	color: #0f69af;
}

a.duk-btn--light:hover {
	background: #e8f1f9;
	color: #0b5590;
}

a.duk-btn--ghost,
a.duk-btn--ghost:visited,
a.duk-btn--ghost:focus,
a.duk-btn--ghost:active {
	border-color: rgba(255, 255, 255, .6);
	background: transparent;
	color: #fff;
}

a.duk-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

@media (max-width: 575px) {
	.duk-hero__title {
		font-size: 28px;
	}
	.duk-chips {
		margin-top: -18px;
		padding: 12px;
		gap: 8px;
	}
	.duk-content summary {
		padding: 16px 52px 16px 16px;
		font-size: 15px;
	}
	.duk-content details > :not(summary) {
		padding-left: 16px;
		padding-right: 16px;
	}
	.duk-cta {
		padding: 26px 20px;
	}
	.duk-cta__actions a.duk-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.duk-content summary::after {
		transition: none;
	}
}

/* Hero text aligned with the narrower content column. */
.duk-hero .container {
	max-width: 900px;
}

/* Product page tab "DUK" */
.duk-content--tab {
	max-width: 860px;
}

.duk-tab-more {
	margin: 16px 0 0;
}

a.duk-tab-more__link,
a.duk-tab-more__link:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0f69af;
	font-weight: 600;
	text-decoration: none;
}

a.duk-tab-more__link::after {
	content: "\2192";
	transition: transform .15s ease;
}

a.duk-tab-more__link:hover,
a.duk-tab-more__link:focus,
a.duk-tab-more__link:active {
	color: #0b5590;
	text-decoration: none;
}

a.duk-tab-more__link:hover::after {
	transform: translateX(3px);
}

a.duk-tab-more__link:focus-visible {
	outline: 2px solid #0f69af;
	outline-offset: 3px;
	border-radius: 4px;
}

/* No topic chips any more: keep air between the hero and the list. */
.duk-wrap > .duk-content {
	margin-top: 36px;
}

@media (max-width: 575px) {
	.duk-wrap > .duk-content {
		margin-top: 24px;
	}
}

/* CTA buttons on the blue band: a white focus ring (blue would be invisible). */
.duk-cta a.duk-btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}
