:root {
	--wdr-shell-ink: #10233e;
	--wdr-shell-muted: #526276;
	--wdr-shell-blue: #3157d5;
	--wdr-shell-teal: #078b9c;
	--wdr-shell-rule: #e2e8f0;
	--wdr-shell-paper: #fff;
	--wdr-shell-soft: #f7f9fc;
	--wdr-shell-navy: #0b1f3b;
}

.wdr-shell-body {
	margin: 0;
	background: var(--wdr-shell-paper);
	color: var(--wdr-shell-ink);
	font-family: Inter, "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.55;
	overflow-wrap: anywhere;
}
.wdr-shell-body * { box-sizing: border-box; }
.wdr-shell-body a { color: inherit; }
.wdr-shell-skip,
.wdr-shell-body .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.wdr-shell-skip:focus {
	z-index: 10000;
	clip: auto;
	width: auto;
	height: auto;
	margin: 8px;
	padding: 12px 16px;
	background: #fff;
	color: var(--wdr-shell-ink);
	outline: 3px solid var(--wdr-shell-blue);
	border-radius: 6px;
}

.wdr-shell-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--wdr-shell-rule);
}
.admin-bar .wdr-shell-header { top: 32px; }
.wdr-shell-header__inner {
	width: min(100% - 64px, 1240px);
	min-height: 72px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.wdr-shell-brand { min-width: 0; display: flex; align-items: center; }
.wdr-shell-brand .custom-logo-link { display: inline-flex; align-items: center; max-width: 180px; }
.wdr-shell-brand img { display: block; width: auto; max-width: 180px; height: auto; max-height: 56px; object-fit: contain; }
.wdr-shell-logo-text { color: var(--wdr-shell-navy); font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.wdr-shell-navigation { min-width: 0; display: flex; align-items: center; gap: 24px; }
.wdr-shell-navigation__desktop { display: flex; align-items: center; gap: 28px; }
.wdr-shell-navigation__desktop > a,
.wdr-shell-topics > summary {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	color: var(--wdr-shell-ink);
	font-size: 1rem;
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
}
.wdr-shell-navigation__desktop > a:hover,
.wdr-shell-topics > summary:hover { color: var(--wdr-shell-blue); }
.wdr-shell-navigation a:focus-visible,
.wdr-shell-navigation summary:focus-visible,
.wdr-shell-menu__panel a:focus-visible,
.wdr-shell-search__panel :focus-visible,
.wdr-shell-footer a:focus-visible {
	outline: 3px solid var(--wdr-shell-blue);
	outline-offset: 3px;
	border-radius: 3px;
}
.wdr-shell-topics,
.wdr-shell-menu,
.wdr-shell-search { position: relative; }
.wdr-shell-topics > summary,
.wdr-shell-menu > summary,
.wdr-shell-search > summary { list-style: none; }
.wdr-shell-topics > summary::-webkit-details-marker,
.wdr-shell-menu > summary::-webkit-details-marker,
.wdr-shell-search > summary::-webkit-details-marker { display: none; }
.wdr-shell-topics > summary::after,
.wdr-shell-menu > summary::after { content: "⌄"; margin-left: 7px; font-size: 1rem; }
.wdr-shell-topics > ul {
	position: absolute;
	top: calc(100% + 8px);
	left: -20px;
	width: 270px;
	margin: 0;
	padding: 10px;
	list-style: none;
	border: 1px solid var(--wdr-shell-rule);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(16, 35, 62, .14);
}
.wdr-shell-topics li { margin: 0; }
.wdr-shell-topics li a,
.wdr-shell-menu__panel > a,
.wdr-shell-menu__panel li a {
	min-height: 44px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	border-radius: 7px;
	color: var(--wdr-shell-ink);
	font-size: 1rem;
	text-decoration: none;
}
.wdr-shell-topics li a:hover,
.wdr-shell-menu__panel a:hover { background: var(--wdr-shell-soft); color: var(--wdr-shell-blue); }
.wdr-shell-menu { display: none; }
.wdr-shell-search > summary {
	min-height: 44px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 6px;
	color: var(--wdr-shell-ink);
	font-size: 1rem;
	font-weight: 650;
	cursor: pointer;
}
.wdr-shell-search > summary:hover { background: var(--wdr-shell-soft); color: var(--wdr-shell-blue); }
.wdr-shell-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wdr-shell-search__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: min(640px, calc(100vw - 32px));
	padding: 22px;
	border: 1px solid var(--wdr-shell-rule);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(16, 35, 62, .16);
}
.wdr-shell-search__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.wdr-shell-search__form label,
.wdr-shell-search__form p { grid-column: 1 / -1; margin: 0; }
.wdr-shell-search__form label { font-size: 1rem; font-weight: 700; }
.wdr-shell-search__form p { color: var(--wdr-shell-muted); }
.wdr-shell-search__form input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #9aa8b8; border-radius: 8px; font: inherit; font-size: 1rem; }
.wdr-shell-search__form button,
.wdr-shell-button {
	min-height: 48px;
	padding: 10px 17px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	background: var(--wdr-shell-blue);
	color: #fff !important;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.wdr-shell-search__form button:hover,
.wdr-shell-button:hover { background: #2346bb; }

.wdr-shell-content { width: 100%; min-width: 0; min-height: 30vh; }
.wdr-shell-archive-heading,
.wdr-shell-singular-heading,
.wdr-shell-message { width: min(100% - 48px, 1120px); margin: clamp(40px, 6vw, 76px) auto 32px; }
.wdr-shell-archive-heading h1,
.wdr-shell-singular-heading h1,
.wdr-shell-message h1 { margin: 0 0 14px; color: var(--wdr-shell-navy); font-family: Manrope, Inter, system-ui, sans-serif; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.12; letter-spacing: -.035em; }
.wdr-shell-eyebrow { margin: 0 0 14px; color: var(--wdr-shell-teal); font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.wdr-shell-archive-description { max-width: 72ch; color: var(--wdr-shell-muted); font-size: 1.1rem; }
.wdr-shell-archive-heading .wdr-shell-eyebrow { color: #00717d; }
.wdr-category-archive { width: min(100% - 48px, 1240px); margin: 0 auto clamp(56px, 8vw, 100px); }
.wdr-category-archive__grid,
.wdr-shell-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wdr-shell-results { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.wdr-shell-result { min-width: 0; overflow: hidden; border: 1px solid var(--wdr-shell-rule); border-radius: 14px; background: #fff; }
.wdr-shell-result__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f2f5f9; }
.wdr-shell-result__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wdr-shell-result__body { padding: 20px; }
.wdr-shell-result h2 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.35; }
.wdr-shell-result h2 a { text-decoration: none; }
.wdr-shell-result h2 a:hover,
.wdr-shell-result h2 a:focus-visible { color: var(--wdr-shell-blue); text-decoration: underline; text-underline-offset: 3px; }
.wdr-shell-result__body > p { color: var(--wdr-shell-muted); }
.wdr-shell-result__date { font-size: .875rem; }
.wdr-shell-empty { width: min(100% - 48px, 1120px); margin: 0 auto 64px; padding: 24px; border: 1px solid var(--wdr-shell-rule); border-radius: 14px; background: var(--wdr-shell-soft); color: var(--wdr-shell-muted); }
.wdr-shell-message { padding: clamp(24px, 5vw, 56px); border-radius: 22px; background: var(--wdr-shell-navy); color: #fff; }
.wdr-shell-message h1 { color: #fff; }
.wdr-shell-message > p { max-width: 65ch; }
.wdr-shell-message .wdr-shell-search__form--inline { position: static; width: min(100%, 420px); margin: 24px 0; box-shadow: none; }
.wdr-shell-content .elementor { min-width: 0; }
.wdr-shell-content img,
.wdr-shell-content video,
.wdr-shell-content iframe { max-width: 100%; }
.wdr-shell-content table { max-width: 100%; }

.wdr-shell-footer { margin-top: clamp(60px, 9vw, 112px); background: #f7f9fc; color: var(--wdr-shell-ink); }
.wdr-shell-footer__main {
	width: min(100% - 56px, 1240px);
	margin-inline: auto;
	padding: 52px 0 42px;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr);
	gap: 32px;
}
.wdr-shell-footer__main > * { min-width: 0; }
.wdr-shell-footer__brand .custom-logo-link { display: inline-flex; max-width: 180px; }
.wdr-shell-footer__brand img { display: block; width: auto; max-width: 180px; height: auto; max-height: 72px; object-fit: contain; }
.wdr-shell-footer__brand p { max-width: 28ch; margin: 18px 0 0; color: var(--wdr-shell-muted); }
.wdr-shell-footer nav h2 { margin: 0 0 14px; color: var(--wdr-shell-navy); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wdr-shell-footer ul { margin: 0; padding: 0; display: grid; gap: 2px; list-style: none; }
.wdr-shell-footer li { margin: 0; padding: 0; }
.wdr-shell-footer a { min-height: 44px; padding: 9px 4px; display: inline-flex; align-items: center; color: var(--wdr-shell-ink); text-decoration: none; text-underline-offset: 3px; }
.wdr-shell-footer a:hover { color: var(--wdr-shell-blue); text-decoration: underline; }
.wdr-shell-footer__legal { width: min(100% - 56px, 1240px); margin-inline: auto; padding: 14px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--wdr-shell-rule); color: var(--wdr-shell-muted); font-size: .875rem; }
.wdr-shell-footer__legal p { margin: 0; }
.wdr-shell-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.wdr-shell-body .navigation.pagination { width: min(100% - 48px, 1240px); margin: 32px auto 72px; }
.wdr-shell-body .navigation.pagination .nav-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.wdr-shell-body .navigation.pagination a,
.wdr-shell-body .navigation.pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 9px 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--wdr-shell-rule); border-radius: 8px; text-decoration: none; }
.wdr-shell-body .navigation.pagination .current { background: var(--wdr-shell-navy); color: #fff; }

@media (max-width: 1024px) {
	.admin-bar .wdr-shell-header { top: 46px; }
	.wdr-shell-header__inner { width: min(100% - 48px, 1240px); min-height: 64px; }
	.wdr-shell-navigation__desktop { display: none; }
	.wdr-shell-menu { display: block; }
	.wdr-shell-menu > summary { min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 6px; color: var(--wdr-shell-ink); font-size: 1rem; font-weight: 650; cursor: pointer; }
	.wdr-shell-menu > summary:hover { background: var(--wdr-shell-soft); }
	.wdr-shell-menu__panel { position: absolute; top: calc(100% + 9px); right: -72px; width: min(420px, calc(100vw - 32px)); max-height: min(75vh, 620px); overflow: auto; padding: 14px; border: 1px solid var(--wdr-shell-rule); border-radius: 12px; background: #fff; box-shadow: 0 14px 38px rgba(16, 35, 62, .16); }
	.wdr-shell-menu__panel > p { margin: 12px 12px 4px; color: var(--wdr-shell-muted); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
	.wdr-shell-menu__panel ul { margin: 0; padding: 0; list-style: none; }
	.wdr-shell-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
	.wdr-category-archive__grid,
	.wdr-shell-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 782px) { .admin-bar .wdr-shell-header { top: 0; } }
@media (max-width: 767px) {
	.wdr-shell-header__inner { width: calc(100% - 32px); min-height: 64px; gap: 8px; }
	.wdr-shell-brand .custom-logo-link,
	.wdr-shell-brand img { max-width: 112px; max-height: 48px; }
	.wdr-shell-navigation { gap: 4px; }
	.wdr-shell-menu > summary { padding: 0 8px; }
	.wdr-shell-menu__panel { right: -120px; }
	.wdr-shell-search > summary { padding: 0 8px; }
	.wdr-shell-search__panel { right: -6px; padding: 18px; }
	.wdr-shell-search__form { grid-template-columns: minmax(0, 1fr); }
	.wdr-shell-search__form label,
	.wdr-shell-search__form p { grid-column: 1; }
	.wdr-shell-archive-heading,
	.wdr-shell-message { width: calc(100% - 36px); margin: 40px auto 24px; }
	.wdr-category-archive,
	.wdr-shell-empty { width: calc(100% - 36px); }
	.wdr-shell-results { width: calc(100% - 36px); }
	.wdr-category-archive__grid,
	.wdr-shell-results { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.wdr-shell-result__body { padding: 18px; }
	.wdr-shell-footer { margin-top: 56px; }
	.wdr-shell-footer__main { width: calc(100% - 40px); padding: 38px 0 30px; grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.wdr-shell-footer__legal { width: calc(100% - 40px); align-items: flex-start; flex-direction: column; gap: 8px; }
	.wdr-shell-footer__legal ul { gap: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) { .wdr-shell-body * { scroll-behavior: auto !important; transition: none !important; } }
