/* WSN Sponsors: staff page. Inherits the site's fonts; same look as News Desk and Team. */
.wsn-sp {
	--wsn-sp-accent: #2a3b8e;
	--wsn-sp-line: #d9dce5;
	--wsn-sp-muted: #5b6070;
	max-width: 960px;
	margin: 0 auto;
	padding: 32px 16px 48px;
	box-sizing: border-box;
	color: #1a1d26;
}
.wsn-sp *, .wsn-sp *::before, .wsn-sp *::after { box-sizing: border-box; }
.wsn-sp h2 { margin: 0; font-size: 1.75rem; line-height: 1.2; }
.wsn-sp__title { margin: 0 0 16px !important; }
.wsn-sp__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.wsn-sp__head-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wsn-sp__head-links a:not(.wsn-sp__btn), .wsn-sp__back { color: var(--wsn-sp-accent); font-weight: 600; }
.wsn-sp__card { background: #fff; border: 1px solid var(--wsn-sp-line); border-radius: 10px; padding: 20px; margin: 0 0 20px; }
.wsn-sp__center { max-width: 460px; margin: 0 auto; text-align: center; }
.wsn-sp__center p { margin: 8px 0 16px; }
.wsn-sp__intro { color: var(--wsn-sp-muted); margin: 0 0 18px; }
.wsn-sp__small { font-size: .85rem; color: var(--wsn-sp-muted); margin: 6px 0 0; }
.wsn-sp__empty { padding: 14px 16px; background: #f4f5f8; border-radius: 8px; margin: 0; }

/* Buttons (themes style every <button>: keep ours as designed) */
.wsn-sp .wsn-sp__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px;
	font: inherit; font-weight: 600; font-size: .95rem; border-radius: 6px; cursor: pointer; text-decoration: none !important;
	border: 1px solid var(--wsn-sp-accent) !important; background: #fff !important; color: var(--wsn-sp-accent) !important;
	box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; line-height: 1.2;
}
.wsn-sp .wsn-sp__btn--primary { background: var(--wsn-sp-accent) !important; color: #fff !important; }
.wsn-sp .wsn-sp__btn--danger { border-color: #b3261e !important; color: #b3261e !important; }
.wsn-sp :focus-visible { outline: 3px solid var(--wsn-sp-accent); outline-offset: 2px; }

/* Messages */
.wsn-sp__msg { padding: 12px 16px; border-radius: 8px; margin: 0 0 20px; border-left: 5px solid #1e7e34; background: #eef8f0; }
.wsn-sp__msg--error { border-color: #b3261e; background: #fdeeee; }

/* List */
.wsn-sp__list { list-style: none; margin: 0; padding: 0; }
.wsn-sp__item {
	display: grid; grid-template-columns: 120px minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
	border: 1px solid var(--wsn-sp-line); border-radius: 10px; margin-bottom: 8px; background: #fff; padding: 10px 14px;
}
.wsn-sp__item.is-off { opacity: .6; }
.wsn-sp__logo { display: flex; align-items: center; justify-content: center; width: 120px; height: 56px; background: #f4f5f8; border-radius: 6px; overflow: hidden; text-decoration: none !important; }
.wsn-sp__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.wsn-sp__logo span { font-size: .8rem; color: var(--wsn-sp-muted); }
.wsn-sp__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: inherit; text-decoration: none !important; }
.wsn-sp__main strong { color: var(--wsn-sp-accent); font-size: 1.05rem; overflow-wrap: anywhere; }
.wsn-sp__main small { color: var(--wsn-sp-muted); overflow-wrap: anywhere; }
.wsn-sp__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.wsn-sp__tag { font-style: normal; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #eceef3; color: #3c4150; white-space: nowrap; }
.wsn-sp__tag--premium { background: #fff1d6; color: #7a4a00; }
.wsn-sp__tag--off { background: #fdeeee; color: #a3221b; }
.wsn-sp__actions { display: flex; gap: 8px; }
.wsn-sp__actions form { margin: 0; }

/* Form */
.wsn-sp__label { display: block; font-weight: 700; margin: 18px 0 6px; padding: 0; }
.wsn-sp__form > .wsn-sp__label:first-of-type { margin-top: 0; }
.wsn-sp input[type=text] {
	display: block; width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; min-height: 46px;
	border: 1px solid #b8bdcc; border-radius: 6px; background: #fff; color: inherit;
}
.wsn-sp input[type=file] { font-size: 15px; max-width: 100%; }
.wsn-sp__has-logo { display: inline-flex; align-items: center; justify-content: center; width: 220px; max-width: 100%; height: 90px; background: #f4f5f8; border-radius: 6px; padding: 8px; margin: 0 0 8px; }
.wsn-sp__has-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.wsn-sp__need { margin: 0 0 10px; }
/* Preview in the strip's own shape: one third of the strip for Standard, the whole strip for Premium. */
.wsn-sp__preview { display: flex; align-items: center; justify-content: center; height: 84px; padding: 8px 14px; margin: 0 0 10px; background: #fff; border: 1px solid var(--wsn-sp-line); border-radius: 8px; }
.wsn-sp__preview[hidden] { display: none; }
.wsn-sp__preview--std { width: 240px; max-width: 100%; }
.wsn-sp__preview--premium { width: 100%; }
.wsn-sp__preview img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.wsn-sp__check { margin: 8px 0 0; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: .9rem; }
.wsn-sp__check[hidden] { display: none; }
.wsn-sp__check.is-ok { background: #eef8f0; color: #1e6b2e; }
.wsn-sp__check.is-bad { background: #fdeeee; color: #a3221b; }
.wsn-sp__fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wsn-sp__choices { display: grid; gap: 8px; }
.wsn-sp__choice { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--wsn-sp-line); border-radius: 8px; cursor: pointer; font-weight: 400; margin: 0; }
.wsn-sp__choice input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.wsn-sp__choice small { display: block; margin-top: 2px; color: var(--wsn-sp-muted); font-size: .85rem; }
.wsn-sp__choice.is-disabled { opacity: .45; cursor: default; }
.wsn-sp__all { margin-bottom: 4px; }
.wsn-sp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 8px; }
.wsn-sp__formactions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.wsn-sp__remove { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }

@media (max-width: 767px) {
	.wsn-sp { padding: 20px 12px 32px; }
	.wsn-sp h2 { font-size: 1.4rem; }
	.wsn-sp__item { grid-template-columns: 96px minmax(0, 1fr); }
	.wsn-sp__logo { width: 96px; height: 48px; }
	.wsn-sp__tags { grid-column: 2; }
	.wsn-sp__actions { grid-column: 1 / -1; }
	.wsn-sp__actions > * { flex: 1 1 0; }
	.wsn-sp__actions .wsn-sp__btn { width: 100%; }
	.wsn-sp__formactions .wsn-sp__btn { flex: 1 1 100%; }
	.wsn-sp__head-links { width: 100%; justify-content: space-between; }
}
