/* Avotales Secure Download – front-end styles */

.slideshow-container { display: none; }
.slideshow-container.slideshow-ready { display: block; }

/* Gallery ------------------------------------------------------------ */
.avt-sd-slide {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;           /* matches 1600x900 highlight images; override per page if needed */
	background: #111 center / cover no-repeat;
	border-radius: 8px;
	overflow: hidden;
	cursor: zoom-in;
}
.avt-sd-dots {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
}
.avt-sd-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	opacity: .6;
	cursor: pointer;
}
.avt-sd-dot.is-active { opacity: .95; }

.avt-sd-btn {
	cursor: pointer;
	border: none;
	border-radius: 6px;
	font: inherit;
}
.avt-sd-btn:focus-visible,
.avt-sd-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.avt-sd-download {
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 140px;
	padding: 10px 16px;
	background: #000;
	color: #fff;
}
.avt-sd-download[disabled] { cursor: progress; opacity: .85; }

/* Overlays ----------------------------------------------------------- */
.avt-sd-overlay {
	display: none;
	position: fixed;
	inset: 0;
	justify-content: center;
	align-items: center;
}
.avt-sd-overlay.is-open { display: flex; }

.avt-sd-zoom { background: rgba(0, 0, 0, .8); z-index: 9999; }
.avt-sd-zoom img {
	max-width: 90%;
	max-height: 90%;
	border-radius: 8px;
	box-shadow: 0 0 20px #000;
}
.avt-sd-zoom .avt-sd-nav,
.avt-sd-zoom .avt-sd-close {
	position: absolute;
	background: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
}
.avt-sd-zoom .avt-sd-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.avt-sd-zoom .avt-sd-next { right: 20px; top: 50%; transform: translateY(-50%); }
.avt-sd-zoom .avt-sd-close { right: 20px; top: 16px; font-size: 28px; }

.avt-sd-disclaimer { background: rgba(0, 0, 0, .6); z-index: 10000; }
.avt-sd-dialog {
	max-width: 420px;
	margin: 16px;
	padding: 20px;
	background: #fff;
	color: #111;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .3);
	text-align: center;
}
.avt-sd-dialog p { margin: 0 0 20px; }
.avt-sd-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.avt-sd-accept { padding: 10px 20px; background: #000; color: #fff; }
.avt-sd-cancel { padding: 10px 20px; background: #e5e5e5; color: #111; }

body.avt-sd-locked { overflow: hidden; }

/* Email form (2.1) ---------------------------------------------------- */
.avt-sd-dialog { text-align: left; max-width: 440px; width: calc(100% - 32px); box-sizing: border-box; padding: 24px; }
.avt-sd-dialog h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; color: #5e7a5a; }
.avt-sd-intro { margin: 0 0 16px; }
.avt-sd-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.avt-sd-form input[type="email"] {
	width: 100%; box-sizing: border-box; padding: 11px 12px; font: inherit;
	border: 1px solid #cfc8b8; border-radius: 6px; background: #fff; color: #111;
}
.avt-sd-form input[type="email"]:focus { outline: 2px solid #5e7a5a; outline-offset: 1px; border-color: #5e7a5a; }
.avt-sd-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 14px; line-height: 1.45; cursor: pointer; }
.avt-sd-check input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: #5e7a5a; }
.avt-sd-check a { color: #4a6347; }
.avt-sd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.avt-sd-turnstile { margin-top: 14px; }
.avt-sd-msg { min-height: 1.2em; margin: 12px 0 0; color: #b0412b; font-size: 14px; }
.avt-sd-msg:empty { margin: 0; min-height: 0; }
.avt-sd-dialog .avt-sd-actions { justify-content: flex-end; margin-top: 18px; }
.avt-sd-dialog .avt-sd-accept[disabled] { opacity: .7; cursor: progress; }
.avt-sd-fine { margin: 16px 0 0 !important; font-size: 12px; color: #77746b; }
.avt-sd-sent { text-align: center; }
.avt-sd-sent-icon { font-size: 36px; line-height: 1; color: #5e7a5a; margin-bottom: 8px; }
.avt-sd-sent .avt-sd-actions { justify-content: center; }
