/* ==========================================================================
   Paradynamics - overrides layered on top of the mirrored Weebly theme.
   Everything here is additive: nothing in sites.css / main_style.css is edited,
   so the original look is preserved and this file holds all local changes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Footer (replaces the Weebly "powered by" advert)
   -------------------------------------------------------------------------- */
.pd-footer {
	font-size: 12px;
	line-height: 1.9;
	text-align: center;
	padding: 14px 20px;
	color: #9a9a9a;
}

.pd-footer a {
	color: #9a9a9a;
	text-decoration: none;
	border-bottom: 1px solid rgba(154, 154, 154, 0.35);
}

.pd-footer a:hover,
.pd-footer a:focus {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.6);
}

.pd-footer .pd-sep {
	padding: 0 8px;
	opacity: 0.5;
}

@media screen and (max-width: 600px) {
	.pd-footer .pd-sep { display: block; height: 0; overflow: hidden; padding: 0; }
	.pd-footer span, .pd-footer a { display: block; }
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

/* Honeypot: hidden from people, still reachable by the bots that fill it in.
   Deliberately not display:none - some bots skip those. */
.pd-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.pd-form button.wsite-button {
	border: 0;
	cursor: pointer;
	font: inherit;
	padding: 0;
	background: none;
}

.pd-form button.wsite-button[disabled] {
	opacity: 0.55;
	cursor: default;
}

.pd-form-status {
	margin: 12px 0 0;
	font-size: 14px;
	min-height: 1.4em;
}

.pd-form-status.is-error   { color: #d24a43; }
.pd-form-status.is-success { color: #4a9d5f; }

.pd-form .wsite-form-input.pd-invalid,
.pd-form textarea.pd-invalid {
	border-color: #d24a43 !important;
	box-shadow: 0 0 0 1px rgba(210, 74, 67, 0.35);
}

/* --------------------------------------------------------------------------
   Lightbox (replaces Weebly's fancybox, which shipped inside its runtime JS)
   -------------------------------------------------------------------------- */
.pd-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.9);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.pd-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.pd-lightbox img {
	max-width: 92vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	box-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}

.pd-lightbox-btn {
	position: absolute;
	background: none;
	border: 0;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	padding: 14px 20px;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.15s ease;
	font-family: Arial, Helvetica, sans-serif;
}

.pd-lightbox-btn:hover,
.pd-lightbox-btn:focus {
	opacity: 1;
	outline: none;
}

.pd-lightbox-close { top: 6px; right: 10px; font-size: 34px; }
.pd-lightbox-prev  { left: 4px;  top: 50%; transform: translateY(-50%); }
.pd-lightbox-next  { right: 4px; top: 50%; transform: translateY(-50%); }

.pd-lightbox-count {
	position: absolute;
	bottom: 14px;
	left: 0;
	right: 0;
	text-align: center;
	color: #ddd;
	font-size: 13px;
	letter-spacing: 0.05em;
}

.pd-lightbox[hidden] { display: none; }

body.pd-lightbox-open { overflow: hidden; }

@media screen and (max-width: 700px) {
	.pd-lightbox-btn { font-size: 30px; padding: 10px 12px; }
}

/* --------------------------------------------------------------------------
   Accessibility / general polish
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid #4a9fd8;
	outline-offset: 2px;
}

.pd-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: #1a1a1a;
	color: #fff;
	padding: 10px 16px;
	text-decoration: none;
}

.pd-skip-link:focus {
	left: 8px;
	top: 8px;
}

/* Weebly emitted width="523" style values without units on some images. */
.wsite-image img { height: auto; }

img { max-width: 100%; }
