/* ==========================================================================
   SLB Solo Ad Wall — Styles
   ========================================================================== */

.slb-wall-wrap {
	max-width: 900px;
	margin: 0 auto;
}

/* HEADER */
.slb-wall-header {
	text-align: center;
	background: linear-gradient( 135deg, #1E1A14 0%, #2A241A 100% );
	border-radius: 12px;
	padding: 2rem 1.5rem;
	margin-bottom: 2rem;
}

.slb-wall-header__title {
	font-size: clamp( 1.6rem, 4vw, 2.2rem );
	font-weight: 800;
	color: #fff;
	margin: 0 0 0.5rem;
}

.slb-wall-header__sub {
	color: #c5bfb4;
	font-size: 0.9rem;
	margin: 0 0 1.25rem;
}

/* GRID */
.slb-wall-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 340px, 1fr ) );
	gap: 1.25rem;
}

/* CARD */
.slb-wall-card {
	background: var( --slb-white, #fff );
	border: 0.5px solid rgba(0,0,0,0.08);
	border-radius: 12px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	transition: box-shadow 0.2s;
}

.slb-wall-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.slb-wall-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.slb-wall-card__author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: var( --slb-ink, #1E1A14 );
	font-weight: 600;
	font-size: 0.82rem;
}

.slb-wall-card__author:hover {
	color: var( --slb-orange, #E05A1A );
}

.slb-wall-card__photo {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid var( --slb-gold, #C08A20 );
}

.slb-wall-card__date {
	font-size: 0.72rem;
	color: var( --slb-slate, #8A8278 );
	white-space: nowrap;
}

.slb-wall-card__subject {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	color: var( --slb-ink, #1E1A14 );
	line-height: 1.3;
}

.slb-wall-card__footer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(0,0,0,0.06);
}

.slb-wall-card__read-btn,
.slb-wall-card__cta {
	font-size: 0.82rem;
	padding: 0.45em 1em;
}

.slb-wall-card__clicks {
	font-size: 0.72rem;
	color: var( --slb-slate, #8A8278 );
	margin-left: auto;
}

/* PAGINATION */
.slb-wall-pagination {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 1.5rem;
	flex-wrap: wrap;
}

.slb-wall-pagination__link {
	display: inline-block;
	padding: 0.4em 0.85em;
	border-radius: 6px;
	border: 1px solid rgba(0,0,0,0.1);
	color: var( --slb-ink, #1E1A14 );
	text-decoration: none;
	font-size: 0.85rem;
}

.slb-wall-pagination__link--active {
	background: var( --slb-orange, #E05A1A );
	border-color: var( --slb-orange, #E05A1A );
	color: #fff;
}

/* READ SOLO MODAL */
.slb-wall-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.55);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.slb-wall-modal--open {
	display: flex;
}

.slb-wall-modal__inner {
	background: #fff;
	border-radius: 10px;
	max-width: 640px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	padding: 1.75rem;
	position: relative;
}

.slb-wall-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.9rem;
	background: none;
	border: none;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	color: var( --slb-slate, #8A8278 );
}

.slb-wall-modal__meta {
	font-size: 0.85rem;
	color: var( --slb-slate, #8A8278 );
	margin-bottom: 1rem;
	padding-right: 1.5rem;
}

.slb-wall-modal__body {
	font-size: 0.9rem;
	line-height: 1.65;
	color: var( --slb-ink-dim, #5A5448 );
	word-break: break-word;
}

.slb-wall-modal__body img {
	max-width: 100%;
	height: auto;
}

.slb-wall-modal__footer {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(0,0,0,0.08);
	text-align: right;
}

/* EMPTY */
.slb-wall-empty {
	text-align: center;
	padding: 3rem 1rem;
	color: var( --slb-slate, #8A8278 );
}

/* ==========================================================================
   Post Solo Ad Form
   ========================================================================== */

.slb-solo-post-wrap {
	max-width: 760px;
	margin: 0 auto;
}

.slb-solo-no-slot {
	text-align: center;
	padding: 3rem 1rem;
	background: var( --slb-surface, #F8F7F4 );
	border-radius: 12px;
}

.slb-solo-no-slot h2 { margin: 0 0 0.75rem; }
.slb-solo-no-slot p  { color: var( --slb-slate, #8A8278 ); margin-bottom: 1.25rem; }

.slb-solo-post-header {
	margin-bottom: 1.5rem;
}

.slb-solo-post-header h2 { margin: 0 0 0.4rem; }
.slb-solo-post-header p  { color: var( --slb-slate, #8A8278 ); margin: 0; }

.slb-solo-wall-badge {
	display: inline-block;
	margin-top: 0.75rem;
	background: #E8F5E9;
	color: #2E7D32;
	padding: 0.4em 0.85em;
	border-radius: 6px;
	font-size: 0.82rem;
	font-weight: 600;
}

.slb-solo-post-form {
	background: var( --slb-white, #fff );
	border: 0.5px solid rgba(0,0,0,0.08);
	border-radius: 12px;
	padding: 1.5rem;
}

.slb-mailer-placeholders {
	background: var( --slb-surface, #F8F7F4 );
	border-radius: 6px;
	padding: 0.6rem 0.9rem;
	font-size: 0.8rem;
	margin-bottom: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.slb-mailer-placeholders code {
	background: var( --slb-gold, #C08A20 );
	color: #fff;
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 0.78rem;
}

.slb-mailer-field {
	margin-bottom: 1.1rem;
}

.slb-mailer-field label {
	display: block;
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.slb-mailer-field input[type="text"],
.slb-mailer-field textarea {
	width: 100%;
	padding: 0.55em 0.75em;
	border: 1.5px solid rgba(0,0,0,0.12);
	border-radius: 6px;
	font-size: 0.9rem;
	font-family: inherit;
	box-sizing: border-box;
}

.slb-mailer-field textarea {
	resize: vertical;
	min-height: 220px;
	font-family: monospace;
	font-size: 0.85rem;
	line-height: 1.6;
}

.slb-mailer-submit-row {
	padding-top: 1rem;
	border-top: 1px solid rgba(0,0,0,0.07);
}

/* Slot Info Bar */
.slb-solo-slot-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	background: var( --slb-surface, #F8F7F4 );
	border-radius: 10px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	border: 0.5px solid rgba(0,0,0,0.07);
}

.slb-solo-slot-bar__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 90px;
}

.slb-solo-slot-bar__num {
	font-size: 1.8rem;
	font-weight: 800;
	color: var( --slb-gold, #C08A20 );
	line-height: 1;
}

.slb-solo-slot-bar__label {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var( --slb-slate, #8A8278 );
	margin-top: 3px;
	text-align: center;
}

.slb-solo-slot-bar__notice {
	font-size: 0.82rem;
	color: var( --slb-ink-dim, #5A5448 );
	background: #FFF8E1;
	border-radius: 6px;
	padding: 0.5rem 0.85rem;
	flex: 1;
}

/* MY SOLO ADS LISTING */
.slb-solo-my-ads {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0,0,0,0.08);
}

.slb-solo-my-ads h2 {
	font-size: 1.1rem;
	margin-bottom: 0.85rem;
}

.slb-solo-my-ads__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.slb-solo-my-ads__table th {
	text-align: left;
	padding: 0.5rem 0.75rem;
	background: #F5F2EC;
	color: var( --slb-slate, #8A8278 );
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.slb-solo-my-ads__table td {
	padding: 0.6rem 0.75rem;
	border-bottom: 1px solid rgba(0,0,0,0.06);
	color: var( --slb-ink-dim, #5A5448 );
}

.slb-solo-my-ads__table tr:last-child td {
	border-bottom: none;
}
