/* =============================================================================
   Longwood Compliance Plugin — Frontend styles
   - Notice pages (Nondiscrimination, Availability, Privacy)
   - Footer compliance bar
   - Print rules
   ============================================================================= */

/* --- Notice container -------------------------------------------------------- */
.lcp-notice {
	max-width: 800px;
	margin: 1.5em auto;
	padding: 0 1em;
	font-size: 16px;
	line-height: 1.6;
	color: #1f1f1f;
}

.lcp-notice h2 {
	font-size: 1.6em;
	margin: 0 0 0.6em;
	border-bottom: 2px solid #2c3e50;
	padding-bottom: 0.25em;
}

.lcp-notice h3 {
	font-size: 1.15em;
	margin: 1.4em 0 0.4em;
	color: #2c3e50;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.lcp-notice p {
	margin: 0 0 0.9em;
}

.lcp-notice ul,
.lcp-notice ol {
	margin: 0 0 0.9em 1.5em;
}

.lcp-notice a {
	color: #1d4ed8;
	text-decoration: underline;
}

.lcp-notice a:focus,
.lcp-notice a:hover {
	color: #0f3a96;
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

.lcp-notice address {
	font-style: normal;
	background: #f8f9fa;
	border: 1px solid #d1d5db;
	border-left: 4px solid #2c3e50;
	padding: 0.9em 1.1em;
	margin: 1em 0;
	border-radius: 4px;
	line-height: 1.55;
}

.lcp-notice .lcp-version {
	margin-top: 2.5em;
	font-size: 0.85em;
	color: #666;
	border-top: 1px dashed #ccc;
	padding-top: 0.6em;
	text-align: right;
}

/* --- Privacy notice specifics ----------------------------------------------- */
.lcp-notice-privacy .lcp-subtitle {
	color: #555;
	margin-top: -0.4em;
	font-size: 0.95em;
}

.lcp-notice-privacy .lcp-callout {
	background: #fff8d6;
	border: 1px solid #d8c66a;
	border-left: 5px solid #c79b1f;
	padding: 0.9em 1.1em;
	margin: 1.2em 0;
	border-radius: 4px;
	font-size: 0.97em;
}

.lcp-notice-privacy .lcp-callout strong {
	color: #5b3d00;
}

.lcp-notice-privacy .lcp-pdf-download {
	margin: 1em 0 1.5em;
}

.lcp-notice-privacy .lcp-pdf-download a.button,
.lcp-notice-privacy .lcp-pdf-download a {
	display: inline-block;
	background: #2c3e50;
	color: #fff !important;
	padding: 0.7em 1.2em;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	border: 0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	transition: background-color 0.15s ease, transform 0.05s ease;
}

.lcp-notice-privacy .lcp-pdf-download a:hover,
.lcp-notice-privacy .lcp-pdf-download a:focus {
	background: #1d2b3c;
	color: #fff !important;
	outline: 2px solid #1d2b3c;
	outline-offset: 2px;
	transform: translateY(-1px);
}

.lcp-notice-privacy .lcp-facility-contact {
	background: #fff;
	border: 2px solid #2c3e50;
	border-radius: 6px;
	padding: 1em 1.2em;
	margin: 1.2em 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lcp-notice-privacy .lcp-facility-contact strong {
	display: inline-block;
	font-size: 1.1em;
	margin-bottom: 0.3em;
}

.lcp-missing {
	color: #c00 !important;
	font-weight: bold;
	background: #fff0f0;
	padding: 0 0.3em;
	border-radius: 2px;
}

/* --- Availability taglines table -------------------------------------------- */
.lcp-taglines {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0 1.5em;
	font-size: 0.97em;
	border: 1px solid #d1d5db;
}

.lcp-taglines th,
.lcp-taglines td {
	padding: 0.7em 0.9em;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
}

.lcp-taglines thead th {
	background: #2c3e50;
	color: #fff;
	font-weight: 600;
	border-bottom: 2px solid #1d2b3c;
}

.lcp-taglines tbody tr:nth-child(odd) {
	background: #fafafa;
}

.lcp-taglines tbody th[scope="row"] {
	font-weight: 700;
	width: 22%;
	white-space: nowrap;
	color: #1f1f1f;
}

.lcp-taglines tr[dir="rtl"] th[scope="row"],
.lcp-taglines tr[dir="rtl"] td {
	text-align: right;
	direction: rtl;
}

.lcp-taglines a {
	color: #1d4ed8;
	text-decoration: underline;
}

/* --- Footer compliance bar -------------------------------------------------- */
.lcp-compliance-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	padding: 15px 10px;
	font-size: 13px;
	text-align: center;
	line-height: 1.5;
}

.lcp-compliance-footer-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 10px;
}

.lcp-compliance-footer .lcp-footer-link {
	text-decoration: underline;
	margin: 0 4px;
}

.lcp-compliance-footer .lcp-footer-link:focus,
.lcp-compliance-footer .lcp-footer-link:hover {
	text-decoration: none;
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.lcp-compliance-footer .lcp-footer-sep {
	margin: 0 4px;
	opacity: 0.55;
}

/* --- Responsive -------------------------------------------------------------- */
@media (max-width: 600px) {
	.lcp-notice {
		font-size: 15px;
	}
	.lcp-taglines th,
	.lcp-taglines td {
		padding: 0.55em 0.6em;
	}
	.lcp-taglines tbody th[scope="row"] {
		width: auto;
		display: block;
		margin-bottom: 0.2em;
	}
	.lcp-compliance-footer {
		font-size: 12px;
	}
	.lcp-compliance-footer .lcp-footer-link {
		display: inline-block;
		margin: 4px 4px;
	}
}

/* --- Print ------------------------------------------------------------------- */
@media print {
	.lcp-compliance-footer,
	.lcp-pdf-download,
	#wpadminbar,
	header[role="banner"],
	nav,
	.site-navigation,
	.main-navigation,
	footer[role="contentinfo"] .widget-area {
		display: none !important;
	}
	body {
		background: #fff !important;
		color: #000 !important;
	}
	.lcp-notice {
		max-width: none;
		margin: 0;
		padding: 0;
		font-size: 12pt;
		color: #000;
	}
	.lcp-notice a {
		color: #000;
		text-decoration: none;
	}
	.lcp-notice .lcp-callout {
		background: #fff;
		border: 1px solid #555;
	}
	.lcp-taglines thead th {
		background: #fff !important;
		color: #000 !important;
		border-bottom: 2px solid #000;
	}
	.lcp-taglines tbody tr:nth-child(odd) {
		background: #fff;
	}
	.lcp-missing {
		background: transparent !important;
	}
}
