/* Private Communities — dark gold "Special Reports" styling.
   Builds on vigilante-reports' reports.css (.dvr palette, .dvr-hero, .dvr-wrap,
   .dvr-section-head, .dvr-btn). Only communities-specific rules live here. */

.dvc { --body: 'Rubik', Arial, Helvetica, sans-serif; }
.dvc-body { padding: 56px 0 72px; }

/* Hero background: the final AI "private communities" image (16:9), stored
   beside this stylesheet as assets/hero-privatecommunities.jpg — same pattern
   as vigilante-roundup's hero-roundup.jpg. Only the url(...) below (and the
   mobile override at the bottom) would change if the image is replaced. */
.dvc .dvc-hero {
	background:
		radial-gradient(ellipse 60% 80% at 50% 0%, rgba(210, 154, 55, .22), transparent 70%),
		linear-gradient(180deg, rgba(11, 11, 16, .55), var(--bg)),
		url('hero-privatecommunities.jpg') center 55% / cover no-repeat;
}

/* Three gold-accented community panels. */
.dvc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
	align-items: start;
}
/* One general note above all three community panels (applies to every group). */
.dvc-note {
	grid-column: 1 / -1;
	margin: 0;
	padding: 13px 20px;
	border-radius: 12px;
	text-align: center;
	font-family: var(--body);
	font-size: 14px;
	line-height: 1.6;
	color: #e6d3a6;
	background: rgba(210, 154, 55, .07);
	box-shadow: inset 0 0 0 1px rgba(210, 154, 55, .22);
}
.dvc-panel {
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	padding: 30px 26px 32px;
	background:
		radial-gradient(ellipse 70% 90% at 50% 0%, rgba(210, 154, 55, .14), transparent 70%),
		var(--panel);
	box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45);
}
.dvc-panel-media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	margin-bottom: 20px;
}
.dvc-panel-media img {
	max-width: 200px;
	max-height: 150px;
	width: auto;
	height: auto;
	border-radius: 12px;
	filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .55));
}
.dvc-icon { display: grid; place-items: center; }
.dvc-icon svg { width: 84px; height: 84px; color: var(--gold); filter: drop-shadow(0 0 18px rgba(210, 154, 55, .35)); }
.dvc-icon img { width: 84px; height: 84px; border-radius: 0; object-fit: cover; filter: drop-shadow(0 0 18px rgba(210, 154, 55, .35)); }
/* "VIC" wordmark icon: double-size letters, box height stays 84px so the panel
   headings below stay aligned with the two SVG-icon panels. Width is auto
   (min 84px) so the wider wordmark centres and may overflow horizontally. */
.dvc-icon-text { display: flex; align-items: center; justify-content: center; width: auto; min-width: 84px; height: 84px; font-family: var(--display); font-size: 76px; line-height: 1; letter-spacing: .04em; text-indent: .04em; color: var(--gold); filter: drop-shadow(0 0 18px rgba(210, 154, 55, .35)); }

.dvc-panel-title {
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.05;
	text-transform: uppercase;
	text-align: center;
}
.dvc-panel-lede {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: #cfcfd8;
	text-align: center;
}
.dvc-panel-form { margin-top: 22px; }
.dvc-panel-message {
	margin: 18px 0 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--panel-2);
	box-shadow: 0 0 0 1px rgba(210, 154, 55, .28);
	font-size: 14px;
	line-height: 1.55;
	color: #e6e6ee;
	text-align: center;
}

/* Gravity Forms: keep the plugin's own fields readable on the dark panel. */
.dvc-panel-form .gform_wrapper,
.dvc-panel-form .gform_wrapper.gravity-theme { margin: 0; color: var(--ink); }
.dvc-panel-form .gform_wrapper .gform_heading { display: none; }
.dvc-panel-form .gform_wrapper .gfield_label,
.dvc-panel-form .gform_wrapper legend.gfield_label { color: var(--ink); font-family: var(--body); }
.dvc-panel-form .gform_wrapper .gfield_description { color: var(--muted); }
.dvc-panel-form .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.dvc-panel-form .gform_wrapper textarea,
.dvc-panel-form .gform_wrapper select {
	background: var(--panel-2);
	border: 1px solid var(--line);
	color: var(--ink);
	border-radius: 8px;
}
.dvc-panel-form .gform_wrapper input:focus,
.dvc-panel-form .gform_wrapper textarea:focus,
.dvc-panel-form .gform_wrapper select:focus { border-color: var(--gold); outline: none; }
/* Single-line text inputs: fill the panel like the "Looks like you already…" status boxes. */
.dvc-panel-form .gform_wrapper .gfield input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="image"]):not([type="file"]) {
	width: 100%;
	max-width: 100%;
}
/* Drop Gravity Forms' legacy 16px right gutter on the field so the inputs span the full panel width. */
.dvc-panel-form .gform_wrapper ul.gform_fields li.gfield { padding-right: 0; }
.dvc-panel-form .gform_wrapper .gform_button,
.dvc-panel-form .gform_wrapper input[type="submit"] {
	background: var(--gold);
	border: 1px solid var(--gold);
	color: #111;
	border-radius: 999px;
	font-family: var(--display);
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s, border-color .2s;
}
.dvc-panel-form .gform_wrapper .gform_button:hover,
.dvc-panel-form .gform_wrapper input[type="submit"]:hover { background: var(--gold-hi); border-color: var(--gold-hi); }

/* Logged-out teaser (shown instead of the WP Fusion "no permission" message). */
.dvc-locked {
	max-width: 620px;
	margin: 0 auto;
	padding: 40px 32px;
	text-align: center;
	border-radius: 18px;
	background:
		radial-gradient(ellipse 60% 100% at 50% 0%, rgba(210, 154, 55, .16), transparent 70%),
		var(--panel);
	box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45);
}
.dvc-locked > svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--gold); }
.dvc-locked h2 { font-size: clamp(28px, 3.6vw, 40px); text-transform: uppercase; }
.dvc-locked p { max-width: 460px; margin: 14px auto 0; font-size: 16px; line-height: 1.65; color: #cfcfd8; }
.dvc-locked-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dvc-locked-actions .dvr-btn { flex: 0 0 auto; min-height: 46px; padding: 12px 28px; font-size: 16px; }

@media (max-width: 780px) {
	.dvc-body { padding: 40px 0 56px; }
	.dvc-panel { padding: 26px 20px 28px; }
	/* Narrow screens crop the wide image horizontally: bias left-of-centre so the
	   subject stays visible while the dark centre still sits behind the headline. */
	.dvc .dvc-hero {
		background:
			radial-gradient(ellipse 60% 80% at 50% 0%, rgba(210, 154, 55, .22), transparent 70%),
			linear-gradient(180deg, rgba(11, 11, 16, .55), var(--bg)),
			url('hero-privatecommunities.jpg') 40% 55% / cover no-repeat;
	}
}
@media (max-width: 640px) {
	.dvc-locked { padding: 30px 20px; }
	.dvc-locked-actions { flex-direction: column; }
	.dvc-locked-actions .dvr-btn { width: 100%; }
}
