/* Business Hub — Tip της ημέρας */

.nstp-card {
	--nstp-c: #EF9F27;
	--nstp-soft: #FEF6EA;
	--nstp-line: #F6D9AE;
	--nstp-ink: #8A5310;
	position: relative;
	box-sizing: border-box;
	margin: 0 0 14px;
	border: 1px solid var(--nstp-line);
	border-radius: var(--neo-radius, 12px);
	background: var(--nstp-soft);
	color: var(--neo-text, #1d2327);
	overflow: hidden;
}

@supports (background: color-mix(in srgb, red 10%, white)) {
	.nstp-card,
	.nstp-modal,
	.nstp-sent,
	.nstp-archive {
		--nstp-soft: color-mix(in srgb, var(--nstp-c) 9%, var(--neo-bg, #fff));
		--nstp-line: color-mix(in srgb, var(--nstp-c) 35%, var(--neo-bg, #fff));
		--nstp-ink: color-mix(in srgb, var(--nstp-c) 62%, #000);
	}
}

.nstp-card *,
.nstp-modal * {
	box-sizing: border-box;
}

/* Κεφαλίδα */
.nstp-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px 0;
}

.nstp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--nstp-ink);
}

.nstp-bulb {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--nstp-c);
	font-size: 13px;
	line-height: 1;
}

.nstp-date {
	font-size: 12px;
	color: var(--neo-muted, #6b7177);
}

.neo-social .nstp-close {
	margin-left: auto;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--neo-muted, #6b7177);
	font-size: 22px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
}

.neo-social .nstp-close:hover,
.neo-social .nstp-close:focus-visible {
	background: rgba(0, 0, 0, .06);
	color: var(--neo-text, #1d2327);
}

/* Μέσα */
.nstp-media {
	margin: 10px 14px 0;
	border-radius: 10px;
	overflow: hidden;
	background: #000;
}

.nstp-kind-image .nstp-media {
	background: transparent;
}

.nstp-media img.nstp-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

.nstp-video {
	position: relative;
	aspect-ratio: 16 / 9;
}

.nstp-video iframe,
.nstp-video video,
.neo-social .nstp-play,
.neo-social .nstp-play img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.nstp-video video {
	background: #000;
}

.neo-social .nstp-play {
	padding: 0;
	margin: 0;
	background: #000;
	cursor: pointer;
}

.neo-social .nstp-play img {
	object-fit: cover;
	opacity: .92;
	transition: opacity .15s;
}

.neo-social .nstp-play:hover img {
	opacity: 1;
}

.neo-social .nstp-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .62);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.neo-social .nstp-play-btn::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -12px 0 0 -7px;
	border-style: solid;
	border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent #fff;
}

.neo-social .nstp-play:hover .nstp-play-btn,
.neo-social .nstp-play:focus-visible .nstp-play-btn {
	background: var(--nstp-c);
}

/* Κείμενο */
.nstp-body {
	padding: 10px 14px 14px;
}

.nstp-title {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--neo-text, #1d2327);
}

.nstp-text {
	font-size: 15px;
	line-height: 1.55;
	color: var(--neo-text, #1d2327);
	overflow-wrap: anywhere;
}

.nstp-text p {
	margin: 0 0 8px;
}

.nstp-text p:last-child {
	margin-bottom: 0;
}

.nstp-text a,
.nstp-more {
	color: var(--nstp-ink);
}

.nstp-more {
	display: inline-flex;
	gap: 4px;
	margin-top: 8px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.nstp-more:hover {
	text-decoration: underline;
}

/* Υποσέλιδο */
.nstp-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 10px 14px;
	border-top: 1px solid var(--nstp-line);
	font-size: 13px;
	color: var(--neo-muted, #6b7177);
}

.nstp-author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.nstp-author a,
.nstp-author strong {
	color: var(--neo-text, #1d2327);
	font-weight: 600;
	text-decoration: none;
}

.nstp-ava {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.neo-social .nstp-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-left: auto;
}

.neo-social .nstp-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 32px;
	padding: 4px 12px;
	border: 1px solid var(--nstp-line);
	border-radius: 999px;
	background: var(--neo-bg, #fff);
	color: var(--nstp-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.neo-social .nstp-link:hover,
.neo-social .nstp-link:focus-visible {
	border-color: var(--nstp-c);
}

/* Μήνυμα αποστολής */
.nstp-sent {
	margin: 0 0 14px;
	padding: 10px 14px;
	border: 1px solid var(--nstp-line, #F6D9AE);
	border-radius: var(--neo-radius, 12px);
	background: var(--nstp-soft, #FEF6EA);
	color: var(--neo-text, #1d2327);
	font-size: 14px;
}

/* Κουμπιά */
.neo-social .nstp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 8px 16px;
	border: 1px solid var(--neo-border, #e2e2e6);
	border-radius: 999px;
	background: var(--neo-bg, #fff);
	color: var(--neo-text, #1d2327);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.neo-social .nstp-btn-primary {
	border-color: var(--nstp-c, #EF9F27);
	background: var(--nstp-c, #EF9F27);
	color: #1d1300;
}

.neo-social .nstp-btn-primary:hover {
	filter: brightness(.95);
}

/* Παράθυρο πρότασης */
.nstp-modal {
	--nstp-c: #EF9F27;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .5);
}

.nstp-modal.is-open {
	display: flex;
}

.nstp-modal-box {
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow: auto;
	border-radius: var(--neo-radius, 12px);
	background: var(--neo-bg, #fff);
	color: var(--neo-text, #1d2327);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}

.nstp-modal-head {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	padding: 12px 14px;
	border-bottom: 1px solid var(--neo-border, #e2e2e6);
	background: var(--neo-bg, #fff);
	font-weight: 700;
	font-size: 16px;
}

.nstp-modal-body {
	padding: 14px;
}

.nstp-help {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--neo-muted, #6b7177);
}

.nstp-error {
	margin: 0 0 12px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #FCEBEB;
	color: #A32D2D;
	font-size: 14px;
}

.nstp-kinds {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.neo-social .nstp-kind {
	position: relative;
	cursor: pointer;
}

.neo-social .nstp-kind input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.neo-social .nstp-kind span {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid var(--neo-border, #e2e2e6);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}

.neo-social .nstp-kind input:checked + span {
	border-color: var(--nstp-c);
	background: var(--nstp-soft, #FEF6EA);
	color: var(--nstp-ink, #8A5310);
}

.neo-social .nstp-kind input:focus-visible + span {
	outline: 2px solid var(--nstp-c);
	outline-offset: 2px;
}

.nstp-field {
	display: block;
	margin: 0 0 12px;
}

.nstp-field[hidden],
[data-nstp-for][hidden] {
	display: none !important;
}

.nstp-field > span {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 600;
}

.nstp-field input[type="text"],
.nstp-field input[type="url"],
.nstp-field textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--neo-border-strong, #ccd0d5);
	border-radius: 8px;
	background: var(--neo-bg, #fff);
	color: var(--neo-text, #1d2327);
	font: inherit;
	font-size: 15px;
}

.nstp-field input[type="file"] {
	width: 100%;
	font-size: 14px;
}

.nstp-field small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--neo-muted, #6b7177);
}

.neo-social .nstp-actions {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

body.nstp-noscroll {
	overflow: hidden;
}

/* Σελίδα «Όλα τα tips» */
.neo-social .nstp-archive-top {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 14px;
}

.nstp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
	align-items: start;
}

.nstp-grid .nstp-card {
	margin: 0;
}

.nstp-empty {
	padding: 30px 14px;
	text-align: center;
	color: var(--neo-muted, #6b7177);
}

.nstp-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0;
}

.nstp-pager-info {
	font-size: 14px;
	color: var(--neo-muted, #6b7177);
}

/* Κινητό */
@media (max-width: 600px) {
	.nstp-head { padding: 10px 12px 0; }
	.nstp-media { margin: 8px 12px 0; }
	.nstp-body { padding: 8px 12px 12px; }
	.nstp-foot { padding: 10px 12px; }
	.nstp-title { font-size: 16px; }
	.neo-social .nstp-links { margin-left: 0; width: 100%; }
	.neo-social .nstp-link { flex: 1 1 auto; justify-content: center; }
	.nstp-modal { padding: 0; align-items: flex-end; }
	.nstp-modal-box { max-width: none; max-height: 92vh; border-radius: 16px 16px 0 0; }
	.neo-social .nstp-actions .nstp-btn { flex: 1 1 auto; }
	.nstp-grid { grid-template-columns: 1fr; }
}

/* Σκούρο θέμα */
[data-neo-theme="dark"] .nstp-card,
[data-neo-theme="dark"] .nstp-sent {
	--nstp-soft: #2a2113;
	--nstp-line: #4a3a1f;
	--nstp-ink: #F5C47A;
}

@supports (background: color-mix(in srgb, red 10%, white)) {
	[data-neo-theme="dark"] .nstp-card,
	[data-neo-theme="dark"] .nstp-sent,
	[data-neo-theme="dark"] .nstp-modal,
	[data-neo-theme="dark"] .nstp-archive {
		--nstp-soft: color-mix(in srgb, var(--nstp-c) 14%, var(--neo-bg, #18191a));
		--nstp-line: color-mix(in srgb, var(--nstp-c) 32%, var(--neo-bg, #18191a));
		--nstp-ink: color-mix(in srgb, var(--nstp-c) 70%, #fff);
	}
}

[data-neo-theme="dark"] .nstp-close:hover,
[data-neo-theme="dark"] .nstp-close:focus-visible {
	background: rgba(255, 255, 255, .08);
}

[data-neo-theme="dark"] .nstp-error {
	background: #3a1c1c;
	color: #F5B5B5;
}

/* 1.1.0: όριο τον μήνα, κλειδωμένο κουμπί */
.nstp-count {
	display: inline-block;
	margin: -4px 0 12px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--nstp-soft, #FEF6EA);
	color: var(--nstp-ink, #8A5310);
	font-size: 13px;
	font-weight: 600;
}

.nstp-locked {
	color: var(--neo-muted, #6b7177);
}

.nstp-pro {
	display: inline-block;
	margin-left: 2px;
	padding: 1px 7px;
	border-radius: 999px;
	background: #EEEDFE;
	color: #3C3489;
	font-size: 11px;
	font-weight: 700;
}

[data-neo-theme="dark"] .nstp-pro {
	background: #3C3489;
	color: #EEEDFE;
}

.neo-social .nstp-btn-primary.nstp-locked {
	border-color: var(--neo-border, #e2e2e6);
	background: var(--neo-bg, #fff);
	color: var(--neo-text, #1d2327);
}
