/* Stemmerne Støtter – bruger temaets farver, hvis de findes */
.stoette-paywall, .stoette-box, .stoette-account {
	--st-ink: var(--ink, #1A1612);
	--st-paper: var(--paper, #F3EEE4);
	--st-accent: var(--accent, #D63A22);
	--st-accent-text: var(--accent-text, #B8301B);
	--st-muted: var(--muted, #5E564C);
	--st-line: var(--line, #D9D0C2);
}

.stoette-teaser { position: relative; }
.stoette-teaser::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
	background: linear-gradient(to bottom, rgba(243, 238, 228, 0), var(--paper, #F3EEE4));
}

.stoette-paywall, .stoette-box {
	border: 2px solid var(--st-ink); border-radius: 20px; background: #FFFFFF;
	padding: 32px; margin: 32px 0; font-family: inherit; color: var(--st-ink);
}
.stoette-paywall { box-shadow: 8px 8px 0 var(--st-accent); }
.stoette-paywall h2, .stoette-box h2 { margin: 12px 0 8px; font-size: 30px; line-height: 1.15; }
.stoette-paywall p, .stoette-box p { margin: 0 0 12px; font-size: 17px; line-height: 1.55; }
.stoette-account { display: flex; flex-direction: column; gap: 0; }
.stoette-account .stoette-box { margin: 0 0 24px; }

.stoette-badge {
	display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans, inherit);
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--st-accent-text);
}
.stoette-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st-accent); }
.stoette-status.is-expired .stoette-badge { color: var(--st-muted); }
.stoette-status.is-expired .stoette-badge::before { background: var(--st-muted); }

.stoette-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.stoette-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
	border-radius: 999px; border: 2px solid var(--st-ink); background: transparent; color: var(--st-ink) !important;
	font: inherit; font-weight: 700; font-size: 16px; text-decoration: none !important; cursor: pointer; white-space: nowrap;
}
.stoette-btn-primary { background: var(--st-ink); color: var(--st-paper) !important; }
.stoette-btn:hover { transform: translateY(-1px); }
.stoette-link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--st-muted); text-decoration: underline; cursor: pointer; }

.stoette-small { font-size: 14px !important; color: var(--st-muted); }
.stoette-small a { color: inherit; }
.stoette-optional { font-weight: 400; color: var(--st-muted); }

.stoette-form p { margin: 0 0 16px; }
.stoette-form label, .stoette-account label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.stoette-form input[type="email"], .stoette-form input[type="text"], .stoette-form input[type="password"], .stoette-account input[type="text"],
.stoette-box #user_login, .stoette-box #user_pass {
	width: 100%; height: 52px; border: 2px solid var(--st-ink); border-radius: 12px; padding: 0 16px;
	font: inherit; font-size: 17px; background: var(--st-paper); color: var(--st-ink); box-sizing: border-box;
}
#stoette-kode, #stoette-ny-kode { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.stoette-row { display: flex; gap: 12px; align-items: stretch; }
.stoette-row input { flex: 1 1 auto; min-width: 0; }
.stoette-check { display: flex; gap: 10px; align-items: flex-start; }
.stoette-check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.stoette-check label { font-weight: 400; font-size: 15px; margin: 0; }
.stoette-hp { position: absolute !important; left: -9999px !important; }

.stoette-box .login-remember label { display: inline; font-weight: 400; }
.stoette-box #wp-submit {
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--st-ink); color: var(--st-paper);
	font: inherit; font-weight: 700; cursor: pointer;
}

.stoette-notice { padding: 14px 18px; border-radius: 12px; font-weight: 600; margin: 0 0 20px; border: 2px solid var(--st-ink); }
.stoette-notice.is-error { background: #FBE3DE; border-color: var(--st-accent-text); color: #6E1B0F; }
.stoette-notice.is-success { background: #E4F1E8; border-color: #1A7F4B; color: #0E4A2B; }

.stoette-editor-note {
	font-size: 14px !important; font-weight: 600; padding: 10px 14px; border-radius: 10px;
	background: #FFF4D6; border: 1.5px dashed #B98B00; color: #5A4300;
}

.stoette-list { list-style: none; padding: 0; margin: 0; }
.stoette-list li { padding: 12px 0; border-top: 1.5px solid var(--st-line); display: flex; justify-content: space-between; gap: 16px; }
.stoette-list a { font-weight: 700; color: var(--st-ink); }

.stoette-help { margin: 8px 0 16px; font-size: 15px; }
.stoette-help summary { cursor: pointer; font-weight: 600; }
.stoette-help ul { padding-left: 1.2em; }

@media (max-width: 600px) {
	.stoette-paywall, .stoette-box { padding: 22px; border-radius: 16px; }
	.stoette-paywall { box-shadow: 5px 5px 0 var(--st-accent); }
	.stoette-paywall h2, .stoette-box h2 { font-size: 24px; }
	.stoette-row { flex-direction: column; }
	.stoette-actions .stoette-btn { width: 100%; }
	.stoette-list li { flex-direction: column; gap: 2px; }
}

/* Inde i temaets artikeltekst */
.entry-content .stoette-paywall h2, .entry-content .stoette-box h2 { margin-top: 12px; }
.entry-content .stoette-box h2:first-child { margin-top: 0; }
.entry-content .stoette-paywall > * + *, .entry-content .stoette-box > * + * { margin-top: 12px; }
.entry-content .stoette-list { padding-left: 0; }
.entry-content .stoette-list li + li { margin-top: 0; }
.entry-content .stoette-list a { color: var(--st-ink); text-decoration: none; }
.entry-content .stoette-list a:hover { color: var(--st-accent-text); }
.stoette-inline { margin-top: 20px; }
.stoette-teaser::after { height: 80px; }
