/**
 * Daily Paranormal — frontend styles v0.1.0
 * Design direction (from reference mockup):
 *   deep navy/black background, blood-red accents, off-white text,
 *   thin red borders, professional eerie news-outlet feel.
 */

.dp-wrap {
	--dp-bg:        #0b0b12;
	--dp-panel:     #101019;
	--dp-panel-2:   #14141f;
	--dp-border:    rgba(185, 28, 28, 0.45);
	--dp-border-dim: rgba(185, 28, 28, 0.22);
	--dp-red:       #c41e1e;
	--dp-red-bright:#e23d3d;
	--dp-red-dark:  #7f1212;
	--dp-text:      #e8e4d8;
	--dp-text-dim:  #b9b4a6;
	--dp-muted:     #7d7a70;

	background: var(--dp-bg);
	color: var(--dp-text);
	font-size: 16px;
	line-height: 1.6;
	padding: 24px 16px;
	border-radius: 8px;
}

.dp-wrap *, .dp-wrap *::before, .dp-wrap *::after { box-sizing: border-box; }

.dp-wrap a { color: var(--dp-text); text-decoration: none; transition: color 0.15s ease; }
.dp-wrap a:hover { color: var(--dp-red-bright); }

.dp-red { color: var(--dp-red-bright); }
.dp-small { font-size: 13px; }
.dp-muted { color: var(--dp-muted); }
.dp-empty { color: var(--dp-text-dim); font-style: italic; margin: 0; }

/* ---------- Layout: homepage main + sidebar ---------- */
.dp-home { display: block; }
.dp-home-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr) 320px;
	gap: 24px;
	align-items: stretch;
	margin-bottom: 30px;
}
.dp-home-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.dp-home-sidebar { gap: 20px; }
/* Let the last box in the left and sidebar columns grow so all three
   columns end at the same baseline (the red divider). */
.dp-home-left > .dp-trending { flex: 1 1 auto; }
/* The last box in the sidebar grows to fill — works whether or not the ad
   slot is present (it's hidden when no ad code is set). */
.dp-home-sidebar > *:last-child { flex: 1 1 auto; }
.dp-home-sidebar > .dp-ad-slot { display: flex; align-items: center; justify-content: center; }
/* Middle column: let the last box grow so it fills to match the others. */
.dp-home-middle > .dp-community-box:last-child { flex: 1 1 auto; }
.dp-home-middle > .dp-original:last-child { flex: 1 1 auto; }
.dp-home-feed { display: flex; flex-direction: column; gap: 28px; }

/* Middle column — The Daily Paranormal Original */
.dp-original-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.5rem;
	line-height: 1.25;
	margin: 12px 0 6px;
}
.dp-original-title a { color: var(--dp-text, #ece8e1); text-decoration: none; }
.dp-original-title a:hover { color: var(--dp-red-bright, #e5484d); }
.dp-original-byline { color: var(--dp-muted, #9aa0aa); font-size: 0.82rem; margin: 0 0 14px; }
.dp-original-img { display: block; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.dp-original-img img { width: 100%; height: auto; display: block; }
.dp-original-excerpt { color: var(--dp-text, #ece8e1); line-height: 1.65; margin: 0 0 18px; }

@media (max-width: 1100px) {
	.dp-home-hero { grid-template-columns: minmax(0, 1fr) 300px; }
	.dp-home-middle { grid-column: 1 / -1; order: 3; }
	.dp-home-sidebar { order: 2; }
	.dp-home-left { order: 1; }
}

/* ---------- Panels ---------- */
.dp-panel {
	background: var(--dp-panel);
	border: 1px solid var(--dp-border-dim);
	border-radius: 8px;
	padding: 20px;
}
.dp-panel-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dp-red-bright);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--dp-border-dim);
}

/* ---------- Buttons ---------- */
.dp-btn {
	display: inline-block;
	background: var(--dp-red-dark);
	color: #f5efe3;
	border: 1px solid var(--dp-red);
	border-radius: 4px;
	padding: 10px 22px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.dp-btn:hover { background: var(--dp-red); color: #fff; }
.dp-btn-sm { padding: 6px 14px; font-size: 11px; }
.dp-btn-block { display: block; text-align: center; }
.dp-btn-outline { background: transparent; color: var(--dp-red-bright); }
.dp-btn-outline:hover { background: var(--dp-red-dark); color: #fff; }

/* ---------- Badges ---------- */
.dp-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid var(--dp-border);
	color: var(--dp-text-dim);
	background: rgba(196, 30, 30, 0.08);
}
.dp-badge-cat { color: var(--dp-red-bright); text-transform: uppercase; }
.dp-badge-source { color: #e7a13c; border-color: rgba(231, 161, 60, 0.4); background: rgba(231, 161, 60, 0.07); }
.dp-badge-trending { color: var(--dp-text); background: var(--dp-panel-2); }

/* ---------- Featured story ---------- */
.dp-featured {
	background: var(--dp-panel);
	border: 1px solid var(--dp-border-dim);
	border-radius: 8px;
	padding: 20px;
}
.dp-featured-label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dp-red-bright);
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--dp-border-dim);
}
.dp-featured-inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 20px;
	align-items: start;
}
.dp-featured-media { display: block; border: 1px solid var(--dp-border-dim); border-radius: 6px; overflow: hidden; }
.dp-featured-media img { display: block; width: 100%; height: auto; filter: saturate(0.85) brightness(0.92); }
.dp-featured-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 28px;
	line-height: 1.25;
	margin: 12px 0;
}
.dp-featured-excerpt { color: var(--dp-text-dim); font-size: 15px; margin: 0 0 12px; }
.dp-featured-curated { font-size: 13px; color: var(--dp-muted); margin: 0 0 16px; }

/* ---------- Trending rows ---------- */
.dp-trend-row {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid rgba(185, 28, 28, 0.12);
}
.dp-trend-row:last-child { border-bottom: none; padding-bottom: 0; }
.dp-trend-thumb { display: block; width: 88px; height: 66px; border: 1px solid var(--dp-border-dim); border-radius: 4px; overflow: hidden; }
.dp-trend-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.92); }
.dp-trend-thumb .dp-card-placeholder { height: 100%; font-size: 26px; }
.dp-trend-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.dp-trend-score { font-size: 12px; color: var(--dp-muted); }
.dp-trend-title { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; margin: 0 0 4px; line-height: 1.3; }
.dp-trend-excerpt { font-size: 13px; color: var(--dp-text-dim); margin: 0; }

/* ---------- Card grid ---------- */
.dp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}
.dp-card {
	background: var(--dp-panel);
	border: 1px solid var(--dp-border-dim);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.dp-card:hover { border-color: var(--dp-border); transform: translateY(-2px); }
.dp-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dp-panel-2); }
.dp-card-media img.dp-card-img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.92); }
.dp-card-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-size: 44px;
	background:
		radial-gradient(ellipse at 50% 120%, rgba(196, 30, 30, 0.18), transparent 65%),
		linear-gradient(180deg, #11111a 0%, #0a0a10 100%);
	border-bottom: 1px solid var(--dp-border-dim);
}
.dp-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dp-card-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-card-title { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.3; margin: 0; }
.dp-card-excerpt { font-size: 13px; color: var(--dp-text-dim); margin: 0; flex: 1; }
.dp-card .dp-btn-sm { align-self: flex-start; }

/* ---------- Sidebar boxes ---------- */
.dp-sidebar-box p { margin: 0 0 12px; color: var(--dp-text-dim); font-size: 14px; }
.dp-sidebar-box p:last-child { margin-bottom: 0; }
.dp-ad-space {
	min-height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(ellipse at 50% 130%, rgba(196, 30, 30, 0.10), transparent 60%),
		var(--dp-panel);
	border-style: dashed;
}

/* ---------- Content warning inside posts ---------- */
.dp-content-warning {
	border-left: 3px solid var(--dp-red);
	padding: 8px 14px;
	background: rgba(196, 30, 30, 0.07);
	font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.dp-home-hero { grid-template-columns: 1fr; }
	.dp-home-middle { grid-column: auto; order: 0; }
	.dp-featured-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.dp-wrap { padding: 16px 10px; }
	.dp-featured-title { font-size: 22px; }
	.dp-trend-row { grid-template-columns: 64px minmax(0, 1fr); }
	.dp-trend-row .dp-btn-sm { grid-column: 2; justify-self: start; }
	.dp-trend-thumb { width: 64px; height: 48px; }
}

/* ----- v0.2.0: Daily Paranormal Activity Score ----- */
.dp-score-panel {
	background: linear-gradient(180deg, #141927 0%, var(--dp-bg-2, #10141f) 100%);
	border: 1px solid var(--dp-red-border, #2a1518);
	border-radius: 8px;
	padding: 18px;
	margin-bottom: 22px;
}
.dp-score-heading {
	font-family: Georgia, "Times New Roman", serif;
	color: var(--dp-red-bright, #e5484d);
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.dp-score-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--dp-red, #c41e1e);
	box-shadow: 0 0 8px rgba(196, 30, 30, 0.9);
	animation: dp-pulse 2s ease-in-out infinite;
}
@keyframes dp-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}
.dp-score-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}
.dp-score-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 0;
	border-bottom: 1px solid rgba(196, 30, 30, 0.12);
	font-size: 0.86rem;
	color: var(--dp-muted, #9a958a);
}
.dp-score-value {
	color: var(--dp-text, #e8e4d8);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.dp-score-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 10px;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dp-muted, #9a958a);
}
.dp-score-total strong {
	font-size: 1.5rem;
	color: var(--dp-red-bright, #e03434);
	font-family: Georgia, serif;
}

/* ----- v0.2.0: Category spotlight sections ----- */
.dp-cat-section { margin-top: 22px; }
.dp-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dp-cat-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(196, 30, 30, 0.12);
}
.dp-cat-list li:last-child { border-bottom: 0; }
.dp-cat-list a {
	color: var(--dp-text, #e8e4d8);
	text-decoration: none;
	font-size: 0.95rem;
	line-height: 1.4;
}
.dp-cat-list a:hover { color: var(--dp-red-bright, #e03434); }
.dp-cat-date {
	color: var(--dp-muted, #9a958a);
	font-size: 0.74rem;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* ===== v0.4.0: Community submission form ===== */
.dp-submit-form-wrap {
	max-width: 720px;
	margin: 0 auto;
	background: var(--dp-panel, #12151c);
	border: 1px solid var(--dp-border, rgba(255,255,255,0.08));
	border-radius: 10px;
	padding: 32px 30px;
}
.dp-submit-heading {
	font-family: Georgia, 'Times New Roman', serif;
	color: var(--dp-text, #ece8e1);
	margin: 0 0 10px;
	font-size: 1.6rem;
}
.dp-submit-intro {
	color: var(--dp-muted, #9aa0aa);
	margin: 0 0 22px;
	line-height: 1.6;
}
.dp-submit-form .dp-field { margin: 0 0 18px; display: block; }
.dp-submit-form label {
	display: block;
	color: var(--dp-text, #ece8e1);
	font-size: 0.92rem;
	font-weight: 600;
	margin-bottom: 6px;
}
.dp-submit-form .dp-req { color: var(--dp-red-bright, #e5484d); }
.dp-submit-form input[type="text"],
.dp-submit-form input[type="email"],
.dp-submit-form select,
.dp-submit-form textarea {
	width: 100%;
	background: var(--dp-bg, #0c0e13);
	border: 1px solid var(--dp-border, rgba(255,255,255,0.12));
	border-radius: 6px;
	color: var(--dp-text, #ece8e1);
	padding: 11px 13px;
	font-size: 0.98rem;
	box-sizing: border-box;
}
.dp-submit-form textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.dp-submit-form input:focus,
.dp-submit-form select:focus,
.dp-submit-form textarea:focus {
	outline: none;
	border-color: var(--dp-red, #b32d2e);
	box-shadow: 0 0 0 2px rgba(179, 45, 46, 0.25);
}
.dp-field-hint { display: block; color: var(--dp-muted, #9aa0aa); font-size: 0.8rem; margin-top: 5px; }
.dp-field-row { display: flex; gap: 18px; }
.dp-field-half { flex: 1; }
.dp-submit-actions { margin-top: 24px; }
.dp-submit-disclaimer { color: var(--dp-muted, #9aa0aa); font-size: 0.8rem; line-height: 1.5; margin-top: 14px; }
.dp-form-notice { padding: 13px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 0.95rem; }
.dp-form-success { background: rgba(42, 160, 120, 0.12); border: 1px solid rgba(42, 160, 120, 0.4); color: #5ad6a0; }
.dp-form-error { background: rgba(179, 45, 46, 0.12); border: 1px solid rgba(179, 45, 46, 0.4); color: #e5797c; }
@media (max-width: 600px) {
	.dp-field-row { flex-direction: column; gap: 0; }
	.dp-submit-form-wrap { padding: 22px 18px; }
}

/* v0.4.3: select option readability + anon toggle + char counter */
.dp-submit-form select.dp-select { color: var(--dp-text, #ece8e1); }
/* Dropdown option list — force readable colors (native menus ignore most styling,
   but color + background help on most browsers/OS). */
.dp-submit-form select.dp-select option {
	background: #14171f;
	color: #ece8e1;
}
.dp-anon-toggle {
	display: flex !important;
	align-items: center;
	gap: 7px;
	margin-top: 9px;
	font-weight: 400 !important;
	font-size: 0.86rem !important;
	color: var(--dp-muted, #9aa0aa) !important;
	cursor: pointer;
}
.dp-anon-toggle input { width: auto; margin: 0; }
.dp-field-hint.dp-hint-ok { color: #5ad6a0; }
.dp-char-ok { color: #5ad6a0; font-weight: 700; }
.dp-submit-form input:disabled { opacity: 0.5; cursor: not-allowed; }

/* v0.5.0: Category index tiles ([daily_paranormal_categories]) */
.dp-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
}
.dp-cat-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 22px 16px;
	background: var(--dp-panel, #12151c);
	border: 1px solid var(--dp-border, rgba(255,255,255,0.08));
	border-radius: 10px;
	text-decoration: none;
	transition: border-color .15s, transform .15s, background .15s;
}
.dp-cat-tile:hover {
	border-color: var(--dp-red, #b32d2e);
	background: #171a22;
	transform: translateY(-2px);
}
.dp-cat-tile-icon { font-size: 1.9rem; line-height: 1; }
.dp-cat-tile-name {
	font-family: Georgia, 'Times New Roman', serif;
	color: var(--dp-text, #ece8e1);
	font-size: 0.98rem;
	font-weight: 600;
}
.dp-cat-tile-count {
	color: var(--dp-muted, #9aa0aa);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* v0.5.1: Reader evidence gallery (in-post) + evidence page */
.dp-evidence-gallery {
	margin: 32px 0;
	padding: 22px;
	background: var(--dp-panel, #12151c);
	border: 1px solid var(--dp-border, rgba(255,255,255,0.08));
	border-radius: 10px;
}
.dp-evidence-title {
	font-family: Georgia, 'Times New Roman', serif;
	color: var(--dp-text, #ece8e1);
	margin: 0 0 4px;
	font-size: 1.25rem;
}
.dp-evidence-note { color: var(--dp-muted, #9aa0aa); font-size: 0.82rem; margin: 0 0 16px; font-style: italic; }
.dp-evidence-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.dp-evidence-item {
	display: block;
	border: 1px solid var(--dp-border, rgba(255,255,255,0.1));
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #0c0e13;
	transition: border-color .15s, transform .15s;
}
.dp-evidence-item:hover { border-color: var(--dp-red, #b32d2e); transform: scale(1.02); }
.dp-evidence-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Evidence page hero */
.dp-evidence-hero {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 22px;
	align-items: center;
	background: var(--dp-panel, #12151c);
	border: 1px solid var(--dp-border, rgba(255,255,255,0.08));
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 30px;
	position: relative;
}
.dp-evidence-hero-tag {
	position: absolute;
	top: 14px; left: 14px;
	background: var(--dp-red, #b32d2e);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 2;
}
.dp-evidence-hero-img { display: block; }
.dp-evidence-hero-img img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.dp-evidence-hero-body { padding: 26px 26px 26px 4px; }
.dp-evidence-hero-body h2 { font-family: Georgia, serif; margin: 10px 0 12px; line-height: 1.25; }
.dp-evidence-hero-body h2 a { color: var(--dp-text, #ece8e1); text-decoration: none; }
.dp-evidence-hero-body h2 a:hover { color: var(--dp-red-bright, #e5484d); }
.dp-evidence-hero-body p { color: var(--dp-muted, #9aa0aa); line-height: 1.6; margin: 0 0 18px; }
.dp-evidence-cat { margin-bottom: 34px; }
.dp-evidence-cat-title {
	font-family: Georgia, serif;
	color: var(--dp-text, #ece8e1);
	font-size: 1.3rem;
	border-bottom: 1px solid var(--dp-border, rgba(255,255,255,0.1));
	padding-bottom: 8px;
	margin-bottom: 16px;
}
@media (max-width: 680px) {
	.dp-evidence-hero { grid-template-columns: 1fr; }
	.dp-evidence-hero-body { padding: 0 20px 22px; }
}

/* v0.5.2: submission uploading overlay */
.dp-submit-form-wrap { position: relative; }
.dp-submit-overlay {
	display: none;
	position: absolute;
	inset: 0;
	background: rgba(8, 10, 14, 0.92);
	border-radius: 10px;
	z-index: 10;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.dp-submit-overlay.is-active { display: flex; }
.dp-submit-overlay-inner { padding: 30px; max-width: 360px; }
.dp-overlay-text {
	font-family: Georgia, 'Times New Roman', serif;
	color: var(--dp-text, #ece8e1);
	font-size: 1.15rem;
	margin: 18px 0 6px;
}
.dp-overlay-sub { color: var(--dp-muted, #9aa0aa); font-size: 0.85rem; margin: 0; }
.dp-spinner {
	width: 44px;
	height: 44px;
	margin: 0 auto;
	border: 3px solid rgba(196, 30, 30, 0.25);
	border-top-color: var(--dp-red, #b32d2e);
	border-radius: 50%;
	animation: dp-spin 0.8s linear infinite;
}
@keyframes dp-spin { to { transform: rotate(360deg); } }

/* v0.5.4: section "view all" links + Community Highlights box */
.dp-section-link {
	display: inline-block;
	margin-top: 14px;
	color: var(--dp-red-bright, #e5484d);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}
.dp-section-link:hover { color: #ff6b6e; }

.dp-community-sub { margin: -4px 0 12px; }
.dp-community-row {
	display: flex;
	gap: 11px;
	align-items: center;
	padding: 9px 0;
	border-bottom: 1px solid rgba(196, 30, 30, 0.12);
}
.dp-community-row:last-of-type { border-bottom: 0; }
.dp-community-thumb {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 6px;
	overflow: hidden;
	background: #0c0e13;
	border: 1px solid var(--dp-border, rgba(255,255,255,0.08));
}
.dp-community-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-community-body { min-width: 0; }
.dp-community-title { margin: 0 0 2px; font-size: 0.9rem; line-height: 1.3; font-family: Georgia, serif; }
.dp-community-title a { color: var(--dp-text, #ece8e1); text-decoration: none; }
.dp-community-title a:hover { color: var(--dp-red-bright, #e5484d); }
.dp-community-meta { color: var(--dp-muted, #9aa0aa); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* v0.6.0: Original badge */
.dp-badge-original {
	color: #d4af37;
	border-color: rgba(212, 175, 55, 0.45);
	background: rgba(212, 175, 55, 0.08);
	font-weight: 700;
}

/* v0.6.1: inline section images in Originals */
.dp-original-inline-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 18px 0 22px;
}

/* v0.6.3: keep the trending "view all" link pinned to the bottom when the
   box is stretched to align columns */
.dp-home-left > .dp-trending { display: flex; flex-direction: column; }
.dp-home-left > .dp-trending .dp-section-link { margin-top: auto; padding-top: 14px; }
.dp-home-middle > .dp-community-box { display: flex; flex-direction: column; }
.dp-home-middle > .dp-community-box .dp-section-link { margin-top: auto; padding-top: 14px; }

/* Single-post sidebar (placed via [daily_paranormal_post_sidebar]) */
.dp-post-sidebar { display: flex; flex-direction: column; gap: 22px; }
.dp-post-sidebar .dp-panel,
.dp-post-sidebar .dp-sidebar-box {
	margin: 0;
	background: linear-gradient(180deg, var(--dp-panel-2, #14141f) 0%, var(--dp-panel, #101019) 100%);
	border: 1px solid var(--dp-border-dim, rgba(185,28,28,0.22));
	border-top: 3px solid var(--dp-red, #c41e1e);
	border-radius: 8px;
	padding: 20px 18px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.dp-post-sidebar .dp-panel-title {
	font-size: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--dp-border-dim, rgba(185,28,28,0.22));
	color: var(--dp-red-bright, #e23d3d);
}
.dp-related .dp-community-row { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.dp-related .dp-community-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.dp-related .dp-community-thumb { flex: 0 0 58px; }
.dp-related .dp-community-thumb img { width: 58px; height: 58px; object-fit: cover; border-radius: 5px; display: block; border: 1px solid rgba(255,255,255,0.08); }
.dp-related .dp-community-title { font-size: 14px; margin: 0 0 4px; line-height: 1.35; }
.dp-related .dp-community-title a { color: #ece9e2; }
.dp-related .dp-community-title a:hover { color: var(--dp-red-bright, #e23d3d); }
.dp-related .dp-community-meta { font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dp-muted, #7d7a70); }
.dp-post-sidebar .dp-ad-space {
	min-height: 250px;
	display: flex; align-items: center; justify-content: center;
	border: 1px dashed rgba(255,255,255,0.15);
	border-top: 3px solid var(--dp-red, #c41e1e);
	color: var(--dp-muted, #7d7a70);
}
.dp-post-sidebar .dp-btn-block { display: block; text-align: center; margin-top: 6px; }
.dp-post-sidebar .dp-newsletter-box .dp-small { line-height: 1.5; }

/* Live ad slots (homepage + post sidebar) — only render when ad code is set */
.dp-ad-slot { text-align: center; }
.dp-ad-slot img { max-width: 100%; height: auto; }
.dp-post-sidebar .dp-ad-slot { padding: 14px; }

/* Glowing red newsletter Subscribe button */
.dp-btn-glow {
	background: linear-gradient(180deg, #e02323 0%, #b01818 100%);
	color: #fff !important;
	border: 1px solid #ff4d4d;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 0 10px rgba(226,35,35,0.55), 0 0 22px rgba(226,35,35,0.30);
	transition: box-shadow 0.25s ease, transform 0.15s ease, background 0.25s ease;
}
.dp-btn-glow:hover {
	background: linear-gradient(180deg, #ff2f2f 0%, #c91d1d 100%);
	box-shadow: 0 0 16px rgba(255,60,60,0.85), 0 0 34px rgba(255,60,60,0.45);
	transform: translateY(-1px);
	color: #fff !important;
}

/* Pagination for [daily_paranormal_all] */
.dp-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 36px 0 8px; }
.dp-page-link {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--dp-border-dim, rgba(185,28,28,0.22));
	border-radius: 6px;
	color: #ece9e2;
	background: var(--dp-panel, #101019);
	text-decoration: none;
	font-size: 14px;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.dp-page-link:hover { background: var(--dp-red-dark, #7f1212); border-color: var(--dp-red, #c41e1e); color: #fff; }
.dp-page-current { background: var(--dp-red, #c41e1e); border-color: var(--dp-red-bright, #e23d3d); color: #fff; font-weight: 700; }
.dp-page-dots { color: var(--dp-muted, #7d7a70); padding: 0 4px; }
.dp-page-prev, .dp-page-next { font-weight: 600; }
