/**
 * Neo-Social — Απομόνωση στυλ (scoped reset)
 *
 * Σκοπός: το plugin να δείχνει ίδιο σε κάθε theme. Δεν μηδενίζουμε τα πάντα
 * (όχι `all: unset`) — μόνο τις ιδιότητες που στην πράξη σπάνε το layout.
 * Όλα είναι scoped κάτω από .neo-social, ώστε να μην αγγίζουμε το theme.
 *
 * Ενεργοποιείται από τα Settings → Γενικά → «Απομόνωση στυλ».
 */

/* ---------- Βάση ---------- */
.neo-social,
.neo-social *,
.neo-social *::before,
.neo-social *::after {
	box-sizing: border-box;
}

.neo-social {
	font-size: 15px;
	line-height: 1.5;
	color: var(--neo-text);
	text-align: left;
	word-wrap: break-word;
}

/* ---------- Πεδία φόρμας ---------- */
.neo-social input[type="text"],
.neo-social input[type="email"],
.neo-social input[type="url"],
.neo-social input[type="tel"],
.neo-social input[type="number"],
.neo-social input[type="password"],
.neo-social input[type="search"],
.neo-social input[type="date"],
.neo-social select,
.neo-social textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 0;
	height: auto;
	margin: 0;
	padding: 9px 12px;
	font-family: inherit;
	font-size: 14px;
	line-height: normal;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--neo-text);
	background-color: #fff;
	background-image: none;
	border: 1px solid var(--neo-border);
	border-radius: 9px;
	box-shadow: none;
	outline: none;
	transition: border-color .15s ease;
}

.neo-social textarea {
	resize: vertical;
	/* Το ύψος το ορίζει το κάθε στοιχείο — το reset δεν το ισοπεδώνει. */
	height: auto;
	min-height: 90px;
}

.neo-social select {
	width: auto;
	max-width: 100%;
	padding-right: 30px;
	cursor: pointer;
}

.neo-social input[type="text"]:focus,
.neo-social input[type="email"]:focus,
.neo-social input[type="url"]:focus,
.neo-social input[type="tel"]:focus,
.neo-social input[type="number"]:focus,
.neo-social input[type="password"]:focus,
.neo-social input[type="search"]:focus,
.neo-social input[type="date"]:focus,
.neo-social select:focus,
.neo-social textarea:focus {
	border-color: var(--neo-primary);
	box-shadow: none;
	outline: none;
}

.neo-social input[type="checkbox"],
.neo-social input[type="radio"] {
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
	vertical-align: middle;
}

.neo-social label {
	display: inline-block;
	margin: 0;
	font-weight: 400;
	font-size: inherit;
	text-transform: none;
	letter-spacing: normal;
	color: inherit;
}

/* ---------- Κουμπιά ---------- */
.neo-social button,
.neo-social .neo-social-btn,
.neo-social input[type="submit"],
.neo-social input[type="button"] {
	width: auto;
	min-width: 0;
	min-height: 0;
	height: auto;
	margin: 0;
	font-family: inherit;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	box-shadow: none;
	background-image: none;
	cursor: pointer;
}

/* ---------- Τυπογραφία ---------- */
.neo-social h1,
.neo-social h2,
.neo-social h3,
.neo-social h4,
.neo-social h5,
.neo-social h6 {
	margin: 0 0 8px;
	padding: 0;
	font-family: inherit;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: var(--neo-text);
	border: 0;
}

.neo-social p {
	margin: 0 0 10px;
	padding: 0;
	line-height: 1.5;
}

.neo-social p:last-child {
	margin-bottom: 0;
}

.neo-social a {
	box-shadow: none;
	text-decoration: none;
}

.neo-social a:hover,
.neo-social a:focus {
	box-shadow: none;
}

/* ---------- Λίστες ---------- */
.neo-social ul,
.neo-social ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.neo-social li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Το περιεχόμενο που γράφει ο χρήστης κρατάει κανονικές λίστες. */
.neo-social .neo-social-post-text ul,
.neo-social .neo-social-rich ul {
	margin: 0 0 10px;
	padding-left: 20px;
	list-style: disc;
}

.neo-social .neo-social-post-text ol,
.neo-social .neo-social-rich ol {
	margin: 0 0 10px;
	padding-left: 20px;
	list-style: decimal;
}

.neo-social .neo-social-post-text li,
.neo-social .neo-social-rich li {
	list-style: inherit;
}

/* ---------- Media ---------- */
.neo-social img,
.neo-social video,
.neo-social iframe {
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	vertical-align: middle;
}

.neo-social img {
	display: block;
}

/* ---------- Πίνακες ---------- */
.neo-social table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: inherit;
}

.neo-social th,
.neo-social td {
	padding: 8px 10px;
	text-align: left;
	vertical-align: middle;
	border: 0;
}

/* ---------- Λοιπά ---------- */
.neo-social hr {
	margin: 12px 0;
	border: 0;
	border-top: 1px solid var(--neo-border);
}

.neo-social blockquote {
	margin: 0 0 10px;
	padding: 0 0 0 12px;
	border-left: 3px solid var(--neo-border);
	font-style: normal;
	quotes: none;
}

.neo-social blockquote::before,
.neo-social blockquote::after {
	content: none;
}

.neo-social form {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.neo-social fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Τα dashicons να μην τα πειράζει το theme. */
.neo-social .dashicons,
.neo-social .dashicons-before::before {
	display: inline-block;
	font-family: dashicons;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	vertical-align: middle;
	text-decoration: none;
}
