/* SoftwareSelects Header — softwareselects.com
   Colours from the site icon: deep indigo (trust), indigo (links, actions), teal, yellow (the check badge).
   Six group colours separate the review hubs in the mega menu. */

.swh {
	--swh-cyan: #4338CA;
	--swh-deep: #3730A3;
	--swh-ink: #1E1B4B;
	--swh-ink2: #4B4F72;
	--swh-line: #E0E0F3;
	--swh-mist: #F5F5FE;
	--swh-amber: #FACC15;
	--swh-amber-d: #EAB308;
	--swh-g1: #4338CA;
	--swh-g2: #0D9488;
	--swh-g3: #7C4DDB;
	--swh-g4: #E5762D;
	--swh-g5: #0284C7;
	--swh-g6: #C2417F;
	--swh-max: 1280px;
	--swh-off: 0px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.3;
	color: var(--swh-ink);
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
.swh *,
.swh *::before,
.swh *::after { box-sizing: border-box; }
.swh ul { list-style: none; margin: 0; padding: 0; }
.swh li { margin: 0; padding: 0; }
.swh p { margin: 0; }
.swh a { color: inherit; text-decoration: none; box-shadow: none; }
.swh img { display: block; max-width: none; height: auto; border-radius: 0; box-shadow: none; }
.swh button {
	font: inherit; color: inherit; background: none; border: 0; border-radius: 0;
	padding: 0; margin: 0; min-height: 0; box-shadow: none; cursor: pointer;
	text-transform: none; letter-spacing: 0; line-height: inherit;
}
.swh .swh-ic { display: block; flex: none; width: 18px; height: 18px; }
.swh a:focus-visible,
.swh button:focus-visible { outline: 2px solid var(--swh-deep); outline-offset: 2px; border-radius: 6px; }
.swh .swh-wrap { max-width: var(--swh-max); margin: 0 auto; padding: 0 24px; }

.swh .swh-skip {
	position: absolute; left: 12px; top: -60px; z-index: 5;
	background: var(--swh-ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.swh .swh-skip:focus { top: 10px; }

/* Trust bar */
.swh .swh-top { background: var(--swh-ink); color: #D1D2EE; font-size: 14px; font-weight: 500; }
.swh .swh-top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.swh .swh-top__trust { display: flex; align-items: center; gap: 8px; min-width: 0; }
.swh .swh-top__trust .swh-ic { width: 16px; height: 16px; color: #FACC15; }
.swh .swh-top__trust span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swh .swh-top__trust a { flex: none; color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.swh .swh-top__trust a:hover { border-bottom-color: #fff; }
.swh .swh-top__disc { flex: none; font-size: 13px; color: #A4A6CE; }
.swh .swh-top__short { display: none; }
.swh .swh-top__disc a:hover { color: #fff; }

/* Main bar */
.swh .swh-holder { position: relative; z-index: 990; }
.swh .swh-bar { position: relative; background: #fff; border-bottom: 1px solid var(--swh-line); }
.swh .swh-bar.is-stuck {
	position: fixed; top: var(--swh-off); left: 0; right: 0; z-index: 990;
	box-shadow: 0 10px 28px -14px rgba(30, 27, 75, .35);
}
.swh .swh-bar__in { display: flex; align-items: stretch; gap: 18px; min-height: 78px; }
.swh .swh-logo { display: flex; align-items: center; flex: none; }
.swh .swh-logo { gap: 10px; }
.swh .swh-mark { display: block; width: 40px; height: 40px; flex: none; }
.swh .swh-word { font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: var(--swh-ink); }

.swh .swh-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }
.swh .swh-cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--swh-amber); color: var(--swh-ink);
	border: 1.5px solid var(--swh-amber);
	font-weight: 700; font-size: 15.5px; white-space: nowrap;
	padding: 11px 18px; border-radius: 999px;
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.swh .swh-cta .swh-ic { width: 17px; height: 17px; }
.swh .swh-cta:hover { background: var(--swh-amber-d); border-color: var(--swh-amber-d); color: var(--swh-ink); }
.swh .swh-cta:active { transform: translateY(1px); }
.swh .swh-burger { display: none; }

/* "Reviews" has no page of its own: its title is a button */
.swh .swh-link--btn { cursor: pointer; }

/* Submenus */
.swh .swh-sub { display: none; }
.swh .swh-tog .swh-ic { width: 16px; height: 16px; transition: transform .18s ease; }
.swh .swh-item.is-open > .swh-tog .swh-ic { transform: rotate(180deg); }

/* ---------- Desktop ---------- */
@media (min-width: 1180px) {
	.swh .swh-nav { display: flex; flex: 1; justify-content: center; min-width: 0; }
	.swh .swh-nav__head,
	.swh .swh-nav__foot,
	.swh .swh-scrim { display: none; }
	.swh .swh-menu { display: flex; align-items: stretch; }
	.swh .swh-item { position: relative; display: flex; align-items: center; }
	.swh .swh-item.is-mega { position: static; }
	.swh .swh-link {
		display: flex; align-items: center; align-self: stretch;
		padding: 0 12px; font-weight: 600; font-size: 16.5px; white-space: nowrap;
		color: var(--swh-ink); transition: color .15s ease;
	}
	.swh .swh-item.has-sub > .swh-link { padding-right: 2px; }
	.swh .swh-tog { display: grid; place-items: center; width: 22px; align-self: stretch; margin-right: 6px; color: var(--swh-ink2); }
	.swh .swh-item:hover > .swh-link,
	.swh .swh-item.is-open > .swh-link,
	.swh .swh-item.is-current > .swh-link { color: var(--swh-deep); }
	/* Small square marks the section being viewed */
	.swh .swh-link { position: relative; }
	.swh .swh-item.is-current > .swh-link::before {
		content: ""; position: absolute; left: 12px; right: 12px; bottom: 0;
		height: 3px; border-radius: 3px 3px 0 0; background: var(--swh-cyan);
	}
	.swh .swh-item.has-sub.is-current > .swh-link::before { right: 2px; }

	.swh .swh-item.is-open > .swh-sub,
	.swh:not(.swh--js) .swh-item:hover > .swh-sub,
	.swh:not(.swh--js) .swh-item:focus-within > .swh-sub { display: block; }

	/* Dropdown */
	.swh .swh-drop { position: absolute; top: 100%; left: -6px; z-index: 20; animation: swh-in .16s ease both; }
	.swh .swh-item--end .swh-drop { left: auto; right: -6px; }
	.swh .swh-drop__panel {
		min-width: 270px; padding: 10px; background: #fff;
		border: 1px solid var(--swh-line); border-top: 3px solid var(--swh-cyan);
		border-radius: 0 0 14px 14px;
		box-shadow: 0 26px 50px -22px rgba(30, 27, 75, .45);
	}
	.swh .swh-drop--wide .swh-drop__panel { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; min-width: 500px; }
	.swh .swh-drop__panel a {
		display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
		font-weight: 500; font-size: 16px; color: var(--swh-ink); white-space: nowrap;
	}
	.swh .swh-drop__panel a::before {
		content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--swh-line);
		transition: background-color .15s ease;
	}
	.swh .swh-drop__panel a:hover { background: var(--swh-mist); color: var(--swh-deep); }
	.swh .swh-drop__panel a:hover::before { background: var(--swh-cyan); }

	/* Mega menu */
	.swh .swh-mega { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; animation: swh-in .16s ease both; }
	.swh .swh-mega__panel {
		background: #fff; border-top: 1px solid var(--swh-line);
		box-shadow: 0 30px 50px -26px rgba(30, 27, 75, .5);
		max-height: calc(100vh - 140px); overflow-y: auto;
	}
	.swh .swh-mega__in { display: grid; grid-template-columns: repeat(var(--swh-cols, 5), minmax(0, 1fr)); gap: 26px 30px; padding-top: 28px; padding-bottom: 26px; }
	.swh .swh-grp { border-top: 4px solid var(--swh-g); padding-top: 14px; }
	.swh .swh-grp__t {
		display: flex; align-items: flex-end; min-height: 0; margin-bottom: 8px;
		font-weight: 700; font-size: 18px; line-height: 1.2; color: var(--swh-ink);
	}
	.swh .swh-grp li a {
		display: flex; align-items: baseline; gap: 10px; padding: 7px 0;
		font-weight: 500; font-size: 16px; line-height: 1.3; color: var(--swh-ink2);
		transition: color .15s ease;
	}
	.swh .swh-grp li a::before {
		content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px;
		background: var(--swh-g); opacity: .55; transform: translateY(-1px);
		transition: opacity .15s ease;
	}
	.swh .swh-grp li a:hover { color: var(--swh-ink); }
	.swh .swh-grp li a:hover::before { opacity: 1; }
	.swh .swh-mega__foot { background: var(--swh-mist); border-top: 1px solid var(--swh-line); }
	.swh .swh-mega__foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; }
	.swh .swh-mega__all { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--swh-deep); border-bottom: 2px solid var(--swh-cyan); padding-bottom: 1px; }
	.swh .swh-mega__all .swh-ic { width: 16px; height: 16px; }
	.swh .swh-mega__all:hover { color: var(--swh-ink); }
	.swh .swh-mega__help { color: var(--swh-ink2); font-size: 15.5px; }
	.swh .swh-mega__help a { font-weight: 700; color: var(--swh-ink); white-space: nowrap; }
	.swh .swh-mega__help a:hover { color: var(--swh-deep); }
}
@media (min-width: 1380px) {
	.swh .swh-link { padding: 0 15px; }
	.swh .swh-item.is-current > .swh-link::before { left: 15px; right: 15px; }
}

.swh .swh-grp { --swh-g: var(--swh-g1); }
.swh .swh-grp--1 { --swh-g: var(--swh-g1); }
.swh .swh-grp--2 { --swh-g: var(--swh-g2); }
.swh .swh-grp--3 { --swh-g: var(--swh-g3); }
.swh .swh-grp--4 { --swh-g: var(--swh-g4); }
.swh .swh-grp--5 { --swh-g: var(--swh-g5); }
.swh .swh-grp--6 { --swh-g: var(--swh-g6); }

@keyframes swh-in {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1179.98px) {
	.swh .swh-wrap { padding: 0 16px; }
	.swh .swh-bar__in { min-height: 66px; gap: 12px; }
	.swh .swh-mark { width: 36px; height: 36px; }
	.swh .swh-word { font-size: 22px; }

	.swh .swh-burger {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 46px; height: 46px; padding: 0 12px;
		border: 1px solid var(--swh-line); border-radius: 10px; background: #fff;
	}
	.swh .swh-burger span { display: block; height: 2px; border-radius: 2px; background: var(--swh-ink); }
	.swh .swh-burger span:nth-child(2) { width: 70%; }
	.swh .swh-actions .swh-cta { padding: 10px 14px; font-size: 15px; }

	/* Drawer */
	.swh .swh-nav {
		position: fixed; top: var(--swh-off); right: 0; bottom: 0; z-index: 1001;
		display: flex; flex-direction: column;
		width: min(420px, 100%); background: #fff;
		transform: translateX(100%); visibility: hidden;
		transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .28s;
		box-shadow: -24px 0 48px -24px rgba(30, 27, 75, .5);
	}
	.swh.is-open .swh-nav { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
	.swh .swh-scrim {
		position: fixed; inset: 0; z-index: 1000; background: rgba(30, 27, 75, .55);
		opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s;
	}
	.swh.is-open .swh-scrim { opacity: 1; visibility: visible; transition: opacity .28s ease; }

	.swh .swh-nav__head {
		display: flex; align-items: center; justify-content: space-between; flex: none;
		padding: 12px 16px; border-bottom: 1px solid var(--swh-line);
	}
	.swh .swh-close { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--swh-line); border-radius: 10px; }
	.swh .swh-close .swh-ic { width: 22px; height: 22px; }

	.swh .swh-menu { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 16px; }
	.swh .swh-item { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--swh-line); }
	.swh .swh-link { padding: 16px 0; font-weight: 600; font-size: 18px; color: var(--swh-ink); }
	.swh .swh-item.is-current > .swh-link { color: var(--swh-deep); }
	.swh .swh-tog { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; color: var(--swh-ink2); }
	.swh .swh-tog .swh-ic { width: 20px; height: 20px; }
	.swh .swh-sub { grid-column: 1 / -1; padding: 0 0 14px; }
	.swh .swh-item.is-open > .swh-sub { display: block; }

	.swh .swh-drop__panel a,
	.swh .swh-grp li a {
		display: flex; align-items: baseline; gap: 10px; padding: 10px 0 10px 4px;
		font-weight: 500; font-size: 16.5px; color: var(--swh-ink2);
	}
	.swh .swh-drop__panel a::before,
	.swh .swh-grp li a::before {
		content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px;
		background: var(--swh-g, var(--swh-cyan)); opacity: .45; transform: translateY(-1px);
	}
	.swh .swh-mega__in { padding: 0; }
	.swh .swh-grp { border-left: 4px solid var(--swh-g); padding: 2px 0 2px 12px; margin-bottom: 14px; }
	.swh .swh-grp__t {
		display: block; padding: 6px 0 2px;
		font-weight: 700; font-size: 19px; color: var(--swh-ink);
	}
	.swh .swh-mega__foot-in { padding: 0; }
	.swh .swh-mega__all { font-weight: 700; color: var(--swh-deep); border-bottom: 2px solid var(--swh-cyan); }
	.swh .swh-mega__help { display: none; }

	.swh .swh-nav__foot {
		flex: none; display: grid; gap: 10px;
		padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
		background: var(--swh-mist); border-top: 1px solid var(--swh-line);
	}
	.swh .swh-nav__foot .swh-cta { width: 100%; padding: 14px 10px; font-size: 16.5px; }
	.swh .swh-nav__disc { text-align: center; font-size: 13.5px; color: var(--swh-ink2); }
	.swh .swh-mega__all .swh-ic { width: 16px; height: 16px; }
	.swh .swh-mega__all { display: inline-flex; align-items: center; gap: 8px; }
}

@media (max-width: 1099.98px) {
	.swh .swh-top__disc { display: none; }
}
@media (max-width: 600px) {
	.swh .swh-top { font-size: 13px; }
	.swh .swh-top__in { min-height: 34px; }
	.swh .swh-top__long { display: none; }
	.swh .swh-top__short { display: inline; }
	.swh .swh-actions .swh-cta { display: none; }
	.swh .swh-actions { gap: 8px; }
}

html.swh-lock,
html.swh-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.swh .swh-nav,
	.swh .swh-scrim,
	.swh .swh-cta,
	.swh .swh-tog .swh-ic { transition: none !important; }
	.swh .swh-drop,
	.swh .swh-mega { animation: none !important; }
}

@media (max-width: 1179.98px) {
	.swh .swh-link--btn { width: 100%; text-align: left; }
}

/* Theme button styles (Hello Elementor colours buttons pink on hover/focus) must not leak in */
.swh button:hover,
.swh button:focus { background: none; color: inherit; text-decoration: none; }
.swh .swh-burger:hover,
.swh .swh-burger:focus { background: #fff; }

/* Fallback if the theme still prints its page title */
.page-header .entry-title { display: none; }
