/* Customer Cloud Gallery frontend styles */

.ccgal-gallery {
	--ccgal-img-size: 300px;
	--ccgal-gap: 10px;
	--ccgal-accent: var(--ccgal-accent-override, var(--wp--preset--color--primary, var(--wp--preset--color--accent, var(--ast-global-color-0, #b08e5a))));
	--ccgal-accent-dark: var(--ccgal-hover-override, color-mix(in srgb, var(--ccgal-accent) 80%, #000));
	--ccgal-surface: #faf8f4;
	--ccgal-surface-alt: #f1ede3;
	--ccgal-border: var(--ccgal-border-override, #e6dfce);
	--ccgal-text: #2b2a28;
	--ccgal-muted: #7a756c;
	--ccgal-tile-bg: #ece8df;
	--ccgal-radius: 3px;
	--ccgal-shadow: 0 1px 2px rgba(20, 18, 14, 0.06), 0 6px 18px rgba(20, 18, 14, 0.06);
	max-width: 100%;
	margin: 0 auto;
	color: var(--ccgal-text);
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Toolbar */
.ccgal-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--ccgal-border);
	justify-content: flex-start;
}

.ccgal-gallery[data-toolbar-align="center"] .ccgal-toolbar { justify-content: center; }
.ccgal-gallery[data-toolbar-align="right"]  .ccgal-toolbar { justify-content: flex-end; }

.ccgal-selection-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ccgal-selection-count {
	font-size: 0.9em;
	font-weight: 500;
	color: var(--ccgal-muted);
	letter-spacing: 0.02em;
}

/* Das hidden-Attribut muss gewinnen: .ccgal-btn und .ccgal-selection-controls setzen display
   und ueberstimmten [hidden] — sichtbare "Mehr laden"-/"Auswahl …"-Knoepfe ohne Funktion
   (seit dem ersten Stand, gefunden beim Live-Test 23.09.2026). */
.ccgal-gallery [hidden] { display: none !important; }

/* Buttons */
.ccgal-btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 18px;
	font: inherit;
	font-size: 0.92em;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.2;
	text-transform: none;
	color: var(--ccgal-text);
	background: #fff;
	border: 1px solid var(--ccgal-border);
	border-radius: var(--ccgal-radius);
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
	min-height: 44px;
}

.ccgal-btn:hover,
.ccgal-btn:focus-visible {
	background: var(--ccgal-surface);
	border-color: var(--ccgal-accent);
	color: var(--ccgal-accent-dark);
	outline: none;
}

.ccgal-btn:focus-visible {
	box-shadow: 0 0 0 3px rgba(176, 142, 90, 0.2);
}

/* Mouse-Click hinterlässt :focus (nicht :focus-visible). Manche Themes stylen
   button:focus mit ihrer CTA-Farbe — Reset hier, sonst „klebt" die Theme-Farbe
   bis zum nächsten Klick woanders. Keyboard-Fokus (:focus-visible) bleibt accessible. */
.ccgal-btn:focus:not(:focus-visible) {
	background: #fff;
	border-color: var(--ccgal-border);
	color: var(--ccgal-text);
	box-shadow: none;
	outline: none;
}

.ccgal-btn-primary:focus:not(:focus-visible),
.ccgal-btn.is-active:focus:not(:focus-visible) {
	background: var(--ccgal-accent);
	border-color: var(--ccgal-accent);
	color: #fff;
}

.ccgal-btn-ghost:focus:not(:focus-visible) {
	background: transparent;
}

.ccgal-btn[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.ccgal-btn-primary {
	background: var(--ccgal-accent);
	border-color: var(--ccgal-accent);
	color: #fff;
}

.ccgal-btn-primary:hover,
.ccgal-btn-primary:focus-visible {
	background: var(--ccgal-accent-dark);
	border-color: var(--ccgal-accent-dark);
	color: #fff;
}

.ccgal-btn-ghost {
	background: transparent;
}

.ccgal-btn.is-active {
	background: var(--ccgal-accent);
	border-color: var(--ccgal-accent);
	color: #fff;
}

/* Justified Rows: Lesereihenfolge strikt horizontal, jede Zeile füllt exakt 100 % */
.ccgal-grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ccgal-gap);
	align-content: flex-start;
}

.ccgal-grid.is-filtered-favs .ccgal-tile:not(.is-favorited) {
	display: none;
}

/* Hover-Effekt (Pro): Standard ist der leichte Zoom mit Verlauf (oben). */
.ccgal-gallery[data-hover="none"] .ccgal-tile:hover .ccgal-tile-img,
.ccgal-gallery[data-hover="darken"] .ccgal-tile:hover .ccgal-tile-img {
	transform: none;
}
.ccgal-gallery[data-hover="none"] .ccgal-tile:hover::after,
.ccgal-gallery[data-hover="none"] .ccgal-tile:focus-within::after {
	opacity: 0;
}
.ccgal-gallery[data-hover="darken"] .ccgal-tile::after {
	background: rgba(0, 0, 0, 0.38);
}

/* Beschriftung (Pro): Dateiname unten auf der Kachel, eigener Verlauf fuer Lesbarkeit. */
.ccgal-tile-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 26px 56px 10px 12px; /* rechts Platz fuer den Download-Knopf (unten rechts) */
	color: #fff;
	font-size: 0.82em;
	line-height: 1.3;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 1;
}
.ccgal-gallery[data-caption="hover"] .ccgal-tile:hover .ccgal-tile-caption,
.ccgal-gallery[data-caption="hover"] .ccgal-tile:focus-within .ccgal-tile-caption,
.ccgal-gallery[data-caption="always"] .ccgal-tile-caption {
	opacity: 1;
}

/* Helle Lightbox (Pro) */
.ccgal-gallery[data-lb-theme="light"] .ccgal-lightbox {
	background: rgba(250, 248, 244, 0.97);
}
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-img,
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-video {
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-close,
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-prev,
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-next,
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-close:focus:not(:focus-visible),
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-prev:focus:not(:focus-visible),
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-next:focus:not(:focus-visible) {
	background: rgba(0, 0, 0, 0.06);
	color: #2b2a28;
	border-color: rgba(0, 0, 0, 0.12);
}
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-close:hover,
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-prev:hover,
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-next:hover,
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-close:focus-visible,
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-prev:focus-visible,
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-next:focus-visible {
	background: rgba(0, 0, 0, 0.12);
	border-color: rgba(0, 0, 0, 0.2);
}
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-controls {
	background: rgba(0, 0, 0, 0.05);
	border-color: rgba(0, 0, 0, 0.1);
}
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-btn {
	color: #2b2a28;
}

/* Thumbnail-Leiste in der Lightbox (Pro) */
.ccgal-lb-thumbs {
	position: absolute;
	left: 50%;
	bottom: 84px;
	transform: translateX(-50%);
	max-width: calc(100% - 96px);
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding: 4px;
	z-index: 2;
	scrollbar-width: thin;
}
.ccgal-lb-thumb {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	background: rgba(127, 127, 127, 0.25);
	cursor: pointer;
	opacity: 0.6;
	overflow: hidden;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}
.ccgal-lb-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ccgal-lb-thumb:hover,
.ccgal-lb-thumb:focus-visible {
	opacity: 0.9;
	outline: none;
}
.ccgal-lb-thumb.is-current {
	opacity: 1;
	border-color: var(--ccgal-accent);
}
.ccgal-lb-thumb[hidden] { display: none; }
.ccgal-gallery[data-lb-thumbs="1"] .ccgal-lb-img,
.ccgal-gallery[data-lb-thumbs="1"] .ccgal-lb-video {
	max-height: calc(100vh - 240px);
}

/* Layout-Varianten (Pro) — die Masse setzt gallery.js, hier nur das Modell. */
.ccgal-gallery[data-layout="masonry"] .ccgal-grid {
	display: block;
	position: relative;
}
.ccgal-gallery[data-layout="masonry"] .ccgal-tile {
	position: absolute;
}
.ccgal-gallery[data-layout="filmstrip"] .ccgal-grid {
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
}
.ccgal-gallery[data-layout="filmstrip"] .ccgal-tile {
	scroll-snap-align: start;
}

.ccgal-tile {
	position: relative;
	overflow: hidden;
	background: var(--ccgal-tile-bg);
	cursor: pointer;
	border-radius: var(--ccgal-radius);
	display: block;
	flex: 0 0 auto;
	box-shadow: 0 1px 2px rgba(20, 18, 14, 0.04);
	transition: box-shadow 0.25s ease;
}

.ccgal-tile:hover {
	box-shadow: var(--ccgal-shadow);
}

.ccgal-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 45%);
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.ccgal-tile:hover::after,
.ccgal-tile:focus-within::after {
	opacity: 1;
}

.ccgal-tile-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ccgal-tile:hover .ccgal-tile-img {
	transform: scale(1.035);
}

.ccgal-tile.is-selected {
	outline: 2px solid var(--ccgal-accent);
	outline-offset: -2px;
	box-shadow: 0 0 0 4px rgba(176, 142, 90, 0.15);
}

.ccgal-tile-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	color: #fff;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.ccgal-tile-fav,
.ccgal-tile-sel,
.ccgal-tile-dl {
	position: absolute;
	width: 38px;
	height: 38px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: #2b2a28;
	cursor: pointer;
	opacity: 0;
	transform: translateY(-2px);
	transition: opacity 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
	box-shadow: 0 2px 6px rgba(20, 18, 14, 0.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	z-index: 1;
}

.ccgal-tile-fav svg,
.ccgal-tile-sel svg,
.ccgal-tile-dl svg {
	display: block;
}

.ccgal-tile:hover .ccgal-tile-fav,
.ccgal-tile:hover .ccgal-tile-sel,
.ccgal-tile:hover .ccgal-tile-dl,
.ccgal-tile:focus-within .ccgal-tile-fav,
.ccgal-tile:focus-within .ccgal-tile-sel,
.ccgal-tile:focus-within .ccgal-tile-dl,
.ccgal-tile-fav.is-active,
.ccgal-tile.is-selected .ccgal-tile-sel {
	opacity: 1;
	transform: translateY(0);
}

.ccgal-tile-fav:hover,
.ccgal-tile-sel:hover,
.ccgal-tile-dl:hover {
	background: #fff;
}

.ccgal-tile-fav:active,
.ccgal-tile-sel:active,
.ccgal-tile-dl:active {
	transform: scale(0.93);
}

.ccgal-tile-fav { top: 10px; right: 10px; }
.ccgal-tile-sel { top: 10px; left: 10px; }
.ccgal-tile-dl  { bottom: 10px; right: 10px; }

.ccgal-tile-fav.is-active {
	background: var(--ccgal-accent);
	color: #fff;
}

.ccgal-tile.is-selected .ccgal-tile-sel {
	background: var(--ccgal-accent);
	color: #fff;
}

/* Status- und Hinweis-Leiste */
.ccgal-status {
	margin: 24px 0 8px;
	text-align: center;
	font-size: 0.9em;
	letter-spacing: 0.04em;
	color: var(--ccgal-muted);
}

.ccgal-error {
	color: #b00020;
}

.ccgal-load-more-wrap {
	text-align: center;
	margin: 28px 0 8px;
}

.ccgal-scroll-sentinel {
	height: 1px;
}


/* Lightbox */
.ccgal-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99998;
	background: rgba(12, 10, 8, 0.96);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	animation: ccgal-lb-fade 0.2s ease-out;
}

@keyframes ccgal-lb-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

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

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

.ccgal-lb-stage {
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ccgal-lb-img,
.ccgal-lb-video {
	max-width: 100%;
	max-height: calc(100vh - 140px);
	object-fit: contain;
	background: #0a0908;
	display: block;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.ccgal-lb-video {
	width: auto;
	height: auto;
}

.ccgal-lb-close,
.ccgal-lb-prev,
.ccgal-lb-next {
	position: absolute;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	width: 48px;
	height: 48px;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	padding: 0;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.ccgal-lb-close:hover,
.ccgal-lb-prev:hover,
.ccgal-lb-next:hover,
.ccgal-lb-close:focus-visible,
.ccgal-lb-prev:focus-visible,
.ccgal-lb-next:focus-visible {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.28);
	outline: none;
}

.ccgal-lb-close:focus:not(:focus-visible),
.ccgal-lb-prev:focus:not(:focus-visible),
.ccgal-lb-next:focus:not(:focus-visible) {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.14);
	color: #fff;
	box-shadow: none;
	outline: none;
}

.ccgal-lb-close { top: 20px; right: 20px; }
.ccgal-lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.ccgal-lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.ccgal-lb-controls {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 2;
	padding: 6px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
}

.ccgal-lb-btn {
	appearance: none;
	-webkit-appearance: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease;
}

.ccgal-lb-btn svg { display: block; }

.ccgal-lb-btn:hover,
.ccgal-lb-btn:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	outline: none;
}

.ccgal-lb-btn:focus:not(:focus-visible) {
	background: transparent;
	color: #fff;
	box-shadow: none;
	outline: none;
}

.ccgal-lb-favorite.is-active:focus:not(:focus-visible),
.ccgal-lb-select.is-active:focus:not(:focus-visible) {
	background: var(--ccgal-accent);
	color: #fff;
}

.ccgal-lb-btn:active { transform: scale(0.94); }

.ccgal-lb-favorite.is-active,
.ccgal-lb-select.is-active {
	background: var(--ccgal-accent);
	color: #fff;
}
.ccgal-lb-favorite.is-active:hover,
.ccgal-lb-select.is-active:hover {
	background: var(--ccgal-accent-dark);
}

/* Shimmer während Bilder laden */
.ccgal-tile-img:not([src]) {
	background: linear-gradient(90deg, #eae4d4 0%, #f2ecdd 50%, #eae4d4 100%);
	background-size: 200% 100%;
	animation: ccgal-shimmer 1.4s linear infinite;
}

@keyframes ccgal-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Reduced Motion respektieren */
@media (prefers-reduced-motion: reduce) {
	.ccgal-tile-img,
	.ccgal-tile,
	.ccgal-tile-fav,
	.ccgal-tile-sel,
	.ccgal-tile-dl,
	.ccgal-lb-btn,
	.ccgal-btn {
		transition: none;
	}
	.ccgal-tile:hover .ccgal-tile-img { transform: none; }
	.ccgal-tile-img:not([src]) { animation: none; }
	.ccgal-lightbox { animation: none; }
}

/* Mobile */
@media (max-width: 600px) {
	.ccgal-gallery { --ccgal-gap: 6px; }

	.ccgal-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding-bottom: 14px;
	}
	.ccgal-toolbar > .ccgal-btn {
		width: 100%;
		padding: 12px 16px;
	}
	.ccgal-selection-controls {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}
	.ccgal-selection-controls > .ccgal-btn {
		width: 100%;
	}
	.ccgal-selection-count {
		text-align: center;
	}

	.ccgal-tile-fav,
	.ccgal-tile-sel,
	.ccgal-tile-dl {
		opacity: 1;
		transform: none;
		width: 36px;
		height: 36px;
	}

	/* Hover-Scale auf Touch deaktivieren, sonst hängt der Zoom-Zustand */
	.ccgal-tile:hover .ccgal-tile-img {
		transform: none;
	}
	.ccgal-tile::after { display: none; }

	.ccgal-lightbox { padding: 12px; }

	.ccgal-lb-close,
	.ccgal-lb-prev,
	.ccgal-lb-next {
		width: 42px;
		height: 42px;
		font-size: 22px;
	}
	.ccgal-lb-close { top: 10px; right: 10px; }
	.ccgal-lb-prev  { left: 8px; }
	.ccgal-lb-next  { right: 8px; }

	.ccgal-lb-controls {
		bottom: 14px;
		gap: 6px;
		padding: 4px;
	}
	.ccgal-lb-btn {
		width: 42px;
		height: 42px;
	}
	.ccgal-lb-img,
	.ccgal-lb-video {
		max-height: calc(100vh - 150px);
	}
}

/* Bulk-Download Progress-Toast — nicht blockierend, Galerie bleibt nutzbar */
.ccgal-bulk-toast {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #fff;
	color: #1f2937;
	border-radius: 10px;
	padding: 14px 16px 12px;
	width: 320px;
	max-width: calc(100vw - 40px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
	z-index: 9999;
	font-family: inherit;
	pointer-events: auto;
	animation: ccgal-toast-in 220ms ease-out;
}
/* Kapitel (Pro): Unterordner als Abschnitte mit Sprungnavigation. Die Pillen
   nutzen dieselben Farbvariablen wie die Toolbar-Buttons. */
.ccgal-chapter-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}
.ccgal-chapter-nav[hidden] { display: none; }
.ccgal-chapter-link {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--ccgal-border);
	color: inherit;
	text-decoration: none;
	font-size: 0.9em;
	line-height: 1.3;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.ccgal-chapter-link:hover,
.ccgal-chapter-link:focus-visible {
	border-color: var(--ccgal-accent);
	color: var(--ccgal-accent-dark);
	text-decoration: none;
}
.ccgal-chapter-link.is-current {
	background: var(--ccgal-accent);
	border-color: var(--ccgal-accent);
	color: #fff;
}
.ccgal-chapter-link[hidden] { display: none; }
.ccgal-chapter { margin-top: 36px; }
.ccgal-chapter[hidden] { display: none; }
.ccgal-chapter-title {
	font-size: 1.3em;
	line-height: 1.25;
	margin: 0 0 14px;
	scroll-margin-top: 24px;
}
@media (prefers-reduced-motion: reduce) {
	.ccgal-chapter-link { transition: none; }
}

/* Kurzer Hinweis „ZIP laeuft noch" beim Einzeldownload — oben mittig, damit er
   weder den Fortschritts-Toast (unten rechts) verdeckt noch von der Lightbox
   (z-index 99998) ueberdeckt wird. */
.ccgal-wait-note {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	max-width: min(520px, calc(100vw - 40px));
	background: #fff;
	color: #1f2937;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
	z-index: 99999;
}
.ccgal-wait-note[hidden] { display: none; }

@keyframes ccgal-toast-in {
	from { transform: translateY(20px); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}
.ccgal-bulk-toast-title {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	display: flex;
	align-items: center;
	gap: 6px;
}
.ccgal-bulk-toast-title::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ccgal-accent, #2563eb);
	animation: ccgal-toast-pulse 1.4s ease-in-out infinite;
}
@keyframes ccgal-toast-pulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.35; }
}
.ccgal-bulk-toast-status {
	margin: 0 0 8px;
	font-size: 12px;
	color: #4b5563;
	min-height: 1.1em;
}
.ccgal-bulk-progress {
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: #e5e7eb;
	overflow: hidden;
	margin-bottom: 8px;
}
.ccgal-bulk-progress-bar {
	height: 100%;
	width: 0%;
	background: var(--ccgal-accent, #2563eb);
	transition: width 200ms ease-out;
}
.ccgal-bulk-toast-current {
	margin: 0 0 8px;
	font-size: 11px;
	color: #6b7280;
	min-height: 1.1em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ccgal-bulk-toast-actions {
	display: flex;
	justify-content: flex-end;
}
.ccgal-bulk-toast-actions .ccgal-bulk-cancel {
	font-size: 12px;
	padding: 4px 10px;
}
@media (max-width: 600px) {
	.ccgal-bulk-toast {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
	}
}
@media (prefers-color-scheme: dark) {
	.ccgal-bulk-toast {
		background: #1f2937;
		color: #f3f4f6;
		box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
	}
	.ccgal-bulk-toast-status { color: #d1d5db; }
	.ccgal-bulk-toast-current { color: #9ca3af; }
	.ccgal-bulk-progress { background: #374151; }
}

/* ─────────────────────────────────────────────────────────────────────────
 * Title image / hero (1.15.0) — rendered by CCGAL_Hero above the toolbar.
 * ─────────────────────────────────────────────────────────────────────── */
.ccgal-hero {
	position: relative;
	height: var(--ccgal-hero-height, 420px);
	max-height: 90vh;
	margin: 0 0 24px;
	overflow: hidden;
	background: var(--ccgal-tile-bg);
	border-radius: var(--ccgal-radius);
}
.ccgal-hero--full {
	width: calc(100vw - var(--ccgal-sbw, 0px));
	margin-left: calc(50% - (100vw - var(--ccgal-sbw, 0px)) / 2);
	border-radius: 0;
}
.ccgal-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
	margin: 0;
}
.ccgal-hero--focus-top .ccgal-hero-img    { object-position: center top; }
.ccgal-hero--focus-bottom .ccgal-hero-img { object-position: center bottom; }
.ccgal-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.ccgal-hero--overlay-gradient::after {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 75%);
}
.ccgal-hero--overlay-dark::after { background: rgba(0, 0, 0, 0.38); }
.ccgal-hero--overlay-none::after { display: none; }
.ccgal-hero-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 28px 32px;
	text-align: center;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.ccgal-hero--overlay-dark .ccgal-hero-text {
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ccgal-hero-title {
	margin: 0;
	padding: 0;
	font-size: clamp(1.6em, 4vw, 2.8em);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #fff;
}
.ccgal-hero-subtitle {
	margin: 8px 0 0;
	font-size: clamp(0.95em, 1.6vw, 1.15em);
	color: #fff;
	opacity: 0.92;
}
@media (max-width: 600px) {
	.ccgal-hero { height: min(var(--ccgal-hero-height, 420px), 60vh); }
	.ccgal-hero-text { padding: 18px 16px; }
}

/* Tastaturfokus Kachel (Review 23.09.2026) */
.ccgal-tile-img:focus { outline: none; }
.ccgal-tile-img:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -3px;
	box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.55);
}

/* Video ohne Vorschaubild */
.ccgal-tile.is-thumbless { background: #1f1f1f; }
.ccgal-tile.is-thumbless .ccgal-tile-img { opacity: 0; }

/* Video, das der Browser nicht abspielen kann */
.ccgal-lb-video-error {
	max-width: 420px;
	padding: 24px;
	text-align: center;
	color: #fff;
}
.ccgal-lb-video-error p { margin: 0 0 16px; line-height: 1.5; }
.ccgal-gallery[data-lb-theme="light"] .ccgal-lb-video-error { color: #1f1f1f; }

/* Videos in der Vorschau-Leiste der Lightbox */
.ccgal-lb-thumb { position: relative; }
.ccgal-lb-thumb-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.ccgal-lb-thumb-play svg { width: 22px; height: 22px; }
.ccgal-lb-thumb.is-thumbless { background: #1f1f1f; }
.ccgal-lb-thumb.is-thumbless img { opacity: 0; }
    min-width: 45px;
    word-break: keep-all;
div[class*=ays-pb-modal_].ays_cmd_window,div[class*=ays-pb-modal_].ays_win98_window,div[class*=ays-pb-modal_].ays_winxp_window{z-index:1;pointer-events:fill;animation-fill-mode:forwards!important}.ays-pb-modals{position:fixed;left:0;top:0;right:0;bottom:0;z-index:9999999999;text-align:center;height:100%}.ays-pb-modals.ays-pb-notification-modal{position:unset;text-align:unset;height:auto}div[class*=ays-pb-modal_].ays_notification_window{width:100%;animation-duration:0s!important;position:relative}.ays_pb_fa,i.ays_pb_fa{font-weight:900}.ays_pb_fa{display:inline-block;font:900 14px/1 'Font Awesome 5 Free';font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ays_pb_far{font-weight:400!important}.ays_pb_fa_volume{content:"f028"}.ays_pb_fa_volume_off{content:"f026"}.fa-window-maximize:before{content:'';position:absolute;box-shadow:0 0 0 0 #ccc;width:10px;height:10px;border:1px solid #fff;border-top:3px solid #fff;top:4px;left:4px}.ays-close-button-on-off,.ays_pb_display_none_inp,input.ays-pb-modal-check[type=checkbox]{display:none!important}.ays-pb-modals:not(.ays-pb-modals.ays-pb-notification-modal)::before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.ays-pb-modal-check,.ays-pb-modal-check:checked~.ays-pb-modal{pointer-events:auto}.ays_button.ays_two{position:fixed;left:5px;top:5px;color:#9c00ff!important}div[class*=ays-pb-modal_].ays_cmd_window{width:450px;transition:.5s!important;position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;overflow-y:scroll}.ays_image_window .ays_image_main:not(.ays-pb-show-scrollbar),.ays_minimal_window .ays_minimal_main:not(.ays-pb-show-scrollbar),div[class*=ays-pb-modal_].ays-pb-modal:not(.ays-pb-show-scrollbar),div[class*=ays-pb-modal_].ays_cmd_window:not(.ays-pb-show-scrollbar),div[class*=ays-pb-modal_].ays_lil_window:not(.ays-pb-show-scrollbar),div[class*=ays-pb-modal_].ays_ubuntu_window:not(.ays-pb-show-scrollbar),div[class*=ays-pb-modal_].ays_window:not(.ays-pb-show-scrollbar),div[class*=ays-pb-modal_].ays_winxp_window:not(.ays-pb-show-scrollbar){scrollbar-width:none}.ays_cmd_window .ays_cmd_window-content{height:79%;position:relative;background:unset;box-shadow:unset;border:unset}.ays_cmd_window.ays_cmd_window--maximized,.ays_ubuntu_window.ays_ubuntu_window--maximized,.ays_window.ays_cmd_window--maximized,.ays_winxp_window.ays_winxp_window--maximized{width:98%!important;flex-grow:1!important;height:98%!important;top:unset!important}.ays_cmd_window.ays_cmd_window--minimized,.ays_window.ays_cmd_window--minimized{height:25px!important;width:250px!important;bottom:0!important;top:unset!important;overflow:visible}.ays-pb-dismiss-ad>button#ays_pb_dismiss_ad .ays_pb_dismiss_ad_text_mobile,.ays_cmd_window.ays_cmd_window--minimized .ays_cmd_window-content,.ays_pb_display_none,.ays_ubuntu_window.ays_ubuntu_window--minimized .ays_ubuntu_folder-info,.ays_window.ays_cmd_window--minimized .ays_cmd_window-content{display:none}.ays_cmd_window.ays_cmd_window--destroyed{opacity:0;width:0;height:0}.ays_cmd_window-header{background-color:#eee;height:25px;display:flex;position:sticky;top:0;z-index:12;box-shadow:unset;border-bottom:0}.ays_cmd_window-controls{display:flex;height:100%;justify-content:flex-end;align-items:center;width:20%;background-image:unset;padding:0;box-shadow:unset}.ays_cmd_window-header .ays_cmd_window_title{width:80%;cursor:pointer}.ays_cmd_window-header .ays_cmd_window_title h2{margin:0;padding:0;text-align:left;text-indent:5px;font-size:19px;overflow:hidden;text-overflow:ellipsis;word-break:unset;white-space:nowrap}.ays-pb-modal h2::before,.ays_cmd_window-header .ays_cmd_window_title h2::before,.ays_lil_header .ays_lil_title h2::before,.ays_ubuntu_window .ays_ubuntu_topbar h2::before,.ays_win98_header .ays_win98_title h2::before,.ays_winxp_title-bar .ays_winxp_title-bar-title h2::before{content:none}.ays_cmd_window-controls .ays_cmd_control-item{display:inline-block;width:25px;height:25px;text-align:center;vertical-align:middle;color:#333;transition:.15s ease-in;cursor:pointer;margin-bottom:0}.ays_cmd_window-controls .ays_cmd_control-item:hover{background-color:#ccc}.ays_cmd_control-item.ays_cmd_control-close{font-size:18px;line-height:22px;font-family:sans-serif!important;min-width:100%}.ays_cmd_control-item.ays_cmd_control-close:hover{background-color:#ec6060;color:#fff}.ays_cmd_control-item.ays_cmd_control-maximize{line-height:19px}.ays_cmd_control-item.ays_cmd_control-minimize{line-height:22px}.ays_cmd_window-cursor{display:flex;margin:5px;position:sticky;top:30px;z-index:10}.ays_cmd_window-cursor .ays_cmd_i-cursor-indicator{font-size:1em;font-family:Consolas,monospace;margin:0 2px 0 5px}.ays_cmd_window-cursor .ays_cmd_i-cursor-underscore{width:10px;height:3px;align-self:flex-end;margin-right:5px;-webkit-animation:steps(2,start) infinite ays_cmd_blink;-webkit-animation-duration:1s!important;animation:steps(2,start) infinite ays_cmd_blink;animation-duration:1s!important;animation-fill-mode:forwards}.ays_cmd_window-input{background-color:inherit!important;border:none!important;outline:0!important;color:transparent!important;text-shadow:0 0 0 #fff;font-family:Consolas,monospace;flex:1;height:0}.ays_cmd_window-input:focus{outline:0}.ays_cmd_i-prompt{width:62px;height:62px;background:url("https://cdn4.iconfinder.com/data/icons/small-n-flat/24/terminal-48.png") center no-repeat rgba(0,0,0,.35);border-radius:10px;box-shadow:0 3px 1px rgba(0,0,0,.25);cursor:pointer;transition:.15s ease-in-out}.ays_cmd_i-prompt:hover{background-position:center 4px}.ays_cmd_i-prompt.ays_cmd_hidden{width:0;height:0;opacity:0}@-webkit-keyframes ays_cmd_blink{to{visibility:hidden}}@keyframes ays_cmd_blink{to{visibility:hidden}}ul.ays_cmd_window-controls-ul{display:flex;list-style:none;padding:0 5px 0 0;margin:0}ul.ays_cmd_window-controls-ul li:not(:last-child){margin-right:7px;padding-bottom:5px}ul.ays_cmd_window-controls-ul li{margin:0;min-width:0}.ays_cmd_window .ays_cmd_window-content>p{position:sticky;bottom:6px;margin:auto}.ays_cmd_window>p,.ays_winxp_window .ays_winxp_content>div:first-child>p{margin:0;font-size:16px}.ays_cmd_window-cursor>input{box-shadow:none!important}div[class*=ays-pb-modal_].ays_winxp_window{position:absolute;width:200px;background-color:#091e89;overflow:hidden;border-radius:7px 7px 0 0;transition:.3s ease-in-out;top:0;left:0;right:0;bottom:0;margin:auto;overflow-y:scroll;font-family:"MS Reference",sans-serif}.ays_ubuntu_window.ays_ubuntu_window--minimized,.ays_winxp_window.ays_winxp_window--minimized{height:35px!important;width:350px!important;bottom:0!important;top:unset!important;overflow:visible}.ays_winxp_title-bar .ays_winxp_close{display:block;width:100%;height:100%;color:#fff;line-height:20px;font-size:14px;cursor:pointer}.ays_winxp_title-bar{width:100%;height:35px;background:linear-gradient(to bottom,#4094ff 0,#0056e4 13%,#0056e4 71%,#16428b 100%);position:sticky;top:0;z-index:2}.ays_winxp_title-bar .ays_winxp_title-bar-title{position:absolute;top:7.5px;left:2.5px;color:#fff;text-shadow:1px 1px #10397e;font-size:15px;width:80%;text-align:left}.ays_winxp_title-bar .ays_winxp_title-bar-title h2{margin:0;width:100%;font-size:18px;text-indent:5px;font-weight:400;word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ays_winxp_title-bar .ays_winxp_title-bar-close,.ays_winxp_title-bar .ays_winxp_title-bar-max,.ays_winxp_title-bar .ays_winxp_title-bar-min{position:absolute;width:20px;height:20px;top:5px;right:5px;border-radius:2px;border:1px solid #fff}.ays_winxp_title-bar .ays_winxp_title-bar-close{background:linear-gradient(135deg,#f1a689 0,#c0442a 50%,#c2311e 100%)}.ays-pb-modal_1 .ays_winxp_content>div:first-child hr{height:1px;background-color:#d3d3d3}.ays_winxp_title-bar-max.far.fa-window-maximize.fa-xs{display:inline-block;text-align:center;height:20px;line-height:20px;color:#fff;font-size:13px}.ays_winxp_title-bar .ays_winxp_title-bar-max,.ays_winxp_title-bar .ays_winxp_title-bar-min{background:linear-gradient(135deg,#7eaed6 0,#1b72ff 50%,#1655be 100%)}.ays_winxp_title-bar .ays_winxp_title-bar-max{right:30px;display:flex;align-items:center;justify-content:center}.ays_winxp_title-bar .ays_winxp_title-bar-min{right:55px}.ays_winxp_title-bar .ays_winxp_title-bar-close:hover{background:linear-gradient(135deg,#c0442a 100%,#c0442a 100%)}.ays_winxp_title-bar .ays_winxp_title-bar-max:hover,.ays_winxp_title-bar .ays_winxp_title-bar-min:hover{background:linear-gradient(#456eb3 50%,#617392 50%,#b0b4bb 50%,#4178d6 50%)}.ays_win98_window .ays_win98_header .ays_win98_btn-close,div[class*=ays-pb-modal_].ays_win98_window{position:absolute;margin:auto;background:silver;border-top:1px solid #fff;border-left:1px solid #fff;font-size:12px;top:0}.ays_winxp_title-bar-min:after{content:'';position:absolute;box-shadow:0 0 0 0 #ccc;width:10px;border-bottom:2px solid #fff;bottom:4px;left:4px}.ays_winxp_window .ays_winxp_content{position:relative;box-sizing:border-box;padding:10px;min-height:100%!important;width:100%!important;left:0;bottom:0;top:0;right:0;margin:auto;background-color:#fff}.ays_winxp_window .ays_winxp_content>p:last-child{position:sticky;margin:auto;font-size:16px}div[class*=ays-pb-modal_].ays_win98_window{left:0;right:0;bottom:0;width:30em;border-right:1px solid #111;border-bottom:1px solid #111;font-family:monospace,arial,sans-serif;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow-y:scroll}.ays_win98_window .ays_win98_head{position:sticky;top:0;z-index:2;width:100%;padding:2px;height:auto;box-shadow:unset;border:none}.ays_win98_window .ays_win98_header{min-height:25px;background:#008;background-image:linear-gradient(to right,#00007b,#1980cb);color:#fff;padding:0}.ays_win98_window .ays_win98_header .ays_win98_title{height:22px;padding:2px 0 0 5px;font-weight:700;width:90%;text-align:left}.ays_win98_window .ays_win98_header .ays_win98_btn-close{bottom:0;right:5px;display:block;height:15px;width:17px;border-right:1px solid #666;border-bottom:1px solid #666;box-shadow:1px 1px 0 #111;color:#000;font-weight:700;line-height:12px;cursor:pointer}.ays_win98_window .ays_win98_header .ays_win98_btn-close>div{display:block;width:100%;height:100%;margin:0;min-width:100%;color:#000}.ays_win98_window .ays_win98_header .ays_win98_btn-close:active{background:#b0b0b0;border-color:#333 #ddd #ddd #333;box-shadow:-1px -1px 0 #666}.ays_image_window .ays_image_header .ays_image_btn-close:active span,.ays_lil_window .ays_lil_header .ays_lil_btn-close:active span,.ays_minimal_window .ays_minimal_header .ays_minimal_btn-close:active span,.ays_video_window .ays_video_header .ays_video_btn-close:active span,.ays_win98_window .ays_win98_header .ays_win98_btn-close:active span,.ays_win98_window .ays_win98_main button:active span{position:relative;top:1px;left:1px}.ays_win98_window .ays_win98_main{font-family:monospace,arial,sans-serif;letter-spacing:-1px;padding-bottom:2px}.ays_win98_window .ays_win98_main .ays_win98_content{position:absolute;width:99%}.ays_win98_window .ays_win98_main .ays_win98_image{position:absolute;height:40px;width:40px;top:40px;left:20px;border-radius:5px;background-size:cover}.ays_win98_header .ays_win98_title h2{margin:0;font-size:19px;font-weight:500;font-family:monospace,arial,sans-serif;word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ays_lil_window .ays_lil_main .ays_lil_content hr,.ays_win98_window .ays_win98_main .ays_win98_content hr{height:1px;background-color:#d3d3d3;margin:0}.ays_win98_window .ays_win98_main .ays_win98_content>p:last-child{position:absolute;bottom:11px;right:0;left:0;margin:auto}.ays_image_window .ays_image_main .ays_image_content>p:first-child,.ays_lil_window .ays_lil_main .ays_lil_content>p:first-child,.ays_minimal_window .ays_minimal_main .ays_minimal_content>p:first-child,.ays_win98_window .ays_win98_main .ays_win98_content>p:first-child{margin-top:0;margin-bottom:0;padding:10px 0}.close-lil-btn{width:30px;height:30px;display:inline-block;position:absolute;-webkit-transition:.5s!important;transition:.5s!important;border-radius:100%;background:#d75f70;font-weight:lighter;font-size:25px;text-decoration:none!important;line-height:1;cursor:pointer;overflow:hidden;display:flex;justify-content:center;align-items:center}.ays-pb-modal,.ays-pb-modal-macos,.ays-pb-modal-macos:not(.ays-pb-show-scrollbar),.ays-pb-modal:not(.ays-pb-show-scrollbar),.ays_cmd_window,.ays_cmd_window:not(.ays-pb-show-scrollbar),.ays_ubuntu_window,.ays_ubuntu_window:not(.ays-pb-show-scrollbar),.ays_win98_window,.ays_win98_window:not(.ays-pb-show-scrollbar),.ays_window,.ays_window:not(.ays-pb-show-scrollbar),.ays_winxp_window,.ays_winxp_window:not(.ays-pb-show-scrollbar){-ms-overflow-style:none}.close-lil-btn-text{font-size:12px;text-align:center;display:flex;justify-content:center;align-items:center}.close-lil-btn:hover{-webkit-transform:rotate(180deg);transform:rotate(180deg)}div[class*=ays-pb-modal_].ays_lil_window{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;max-width:100%;max-height:100%;overflow-y:scroll;font-family:monospace,arial,sans-serif;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;pointer-events:fill;animation-duration:.5s;display:none;animation-fill-mode:forwards}div[class*=ays-pb-modal_].ays_image_window,div[class*=ays-pb-modal_].ays_minimal_window,div[class*=ays-pb-modal_].ays_template_window{left:0;bottom:0;max-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;pointer-events:fill;animation-duration:.5s;display:none;animation-fill-mode:forwards;position:absolute;right:0;font-family:monospace,arial,sans-serif;z-index:1;top:0;cursor:default;max-width:100%}div[class*=ays-pb-modal_].ays_template_window.ays-pb-show-scrollbar{overflow-y:auto}.ays_lil_window .ays_lil_head{position:sticky;top:0;z-index:4;width:100%;padding:2px 0;height:auto}.ays_lil_window .ays_lil_header .ays_lil_title{display:inline-block;font-weight:700;width:100%;text-align:left}.ays_template_window .ays_template_header .close-template-btn,.close-image-btn,.close-minimal-btn{font-size:19px;min-width:30px;text-align:start;z-index:1;position:absolute;line-height:1;cursor:pointer}.ays_lil_window .ays_lil_main{font-family:monospace,arial,sans-serif;letter-spacing:-1px;padding-bottom:2px;max-height:100%}.ays_image_window .ays_image_main .ays_image_content,.ays_lil_window .ays_lil_main .ays_lil_content,.ays_minimal_window .ays_minimal_main .ays_minimal_content{width:100%;height:100%;overflow:hidden}.ays_lil_header .ays_lil_title h2{margin:0!important;font-size:25px;padding-top:10px;padding-bottom:10px;text-align:center;color:#1a1a1a;font-weight:500;font-family:monospace,arial,sans-serif;word-break:break-all}.ays_lil_window .ays_lil_main .ays_lil_content>p:last-child{margin:auto}.ays_lil_header{height:100%}.close-image-btn,.close-minimal-btn{font-weight:100}div[class*=ays-pb-modal_].ays_image_window,div[class*=ays-pb-modal_].ays_minimal_window{margin:auto;user-select:none}.ays_image_window .ays_image_header .ays_popup_image_title,.ays_minimal_window .ays_minimal_header .ays_popup_minimal_title{font-weight:700}.ays_image_window .ays_image_head,.ays_minimal_window .ays_minimal_head,.ays_video_window .ays_video_head{height:20%}.ays_image_window .ays_image_main,.ays_minimal_window .ays_minimal_main{font-family:monospace,arial,sans-serif;letter-spacing:-1px;max-height:80%;overflow-y:scroll}.ays_image_header .ays_popup_image_title h2{margin:0!important;font-size:25px;padding-top:20px;text-align:center;color:#1a1a1a;font-weight:500;font-family:monospace,arial,sans-serif;word-break:break-all}.ays_image_window .ays_image_main .ays_image_content>p:last-child,.ays_minimal_window .ays_minimal_main .ays_minimal_content>p:last-child{margin:auto;font-size:15px;position:absolute;bottom:-30px;left:0;right:0}.ays_content_box{padding:20px}.ays_content_box.ays_notification_content_box{padding:20px;display:flex;align-items:center;height:100%;width:100%;gap:20px;box-sizing:border-box}.ays_pb_notification_logo{max-width:10%;width:100%;height:100%;text-align:center;display:flex;justify-content:center}.ays_pb_notification_logo a{display:flex;justify-content:center;align-items:center}.ays_pb_notification_main_content{max-width:80%;width:100%}.ays_notification_content_box_with_logo .ays_pb_notification_main_content{max-width:70%}.ays_pb_notification_button_1{width:20%;display:flex;align-items:center;justify-content:center;min-width:105px}.ays_pb_notification_button_1 a{text-decoration:none}.ays_pb_notification_button_1 button{display:flex;align-items:center;font-style:normal;line-height:normal;margin:0;cursor:pointer;word-break:keep-all}.ays_minimal_header .ays_popup_minimal_title h2{margin:0!important;font-size:25px;padding:5px 0;text-align:center;color:#1a1a1a;font-weight:500;font-family:monospace,arial,sans-serif;word-break:break-all}.ays_minimal_window .ays_content_box,div[class*=ays-pb-modal_].ays-pb-modal.ays-pb-modal-image-type-img,div[class*=ays-pb-modal_].ays-pb-modal.ays_facebook_window{padding:0}.ays-pb-modals div.ays_minimal_window div.ays_pb_description{margin:0;padding:5px 0;text-align:center;font-size:18px}div.ays_pb_description{word-break:break-word;word-wrap:break-word}.ays-pb-modals div.ays_minimal_window div.ays_pb_description p{margin:0;padding:0}.ays_template_window .ays_template_header .close-template-btn{font-weight:lighter;text-decoration:none!important}div[class*=ays-pb-modal_].ays_template_window{margin:auto;border-top:1px solid #fff;border-left:1px solid #fff;border-right:1px solid #111;border-bottom:1px solid #111;user-select:none;overflow:hidden}.ays_template_window .ays_template_header h2{margin:auto;font-size:26px;line-height:100%;word-break:break-all}.ays_template_window .ays_template_header .ays_template_title{height:100%;display:flex}.ays_template_window .ays_template_content{width:65%;padding:0 10px;overflow:hidden}.ays_template_window p.ays_pb_timer{position:absolute;bottom:-8px;right:0;width:inherit;text-align:center}.ays_template_window header.ays_template_head{height:12%;border:none}div[class*=ays-pb-modal_].ays_template_window.ays-pb-show-scrollbar footer.ays_template_footer,div[class*=ays-pb-modal_].ays_template_window.ays-pb-show-scrollbar header.ays_template_head{height:auto}.ays_template_window .ays_bg_image_box{width:35%}.ays_template_window footer.ays_template_footer{display:flex;height:88%;padding:0;background:unset;box-shadow:unset}div[class*=ays-pb-modal_].ays_ubuntu_window,div[class*=ays-pb-modal_].ays_window{box-shadow:0 0 20px 0 rgba(0,0,0,.43);pointer-events:fill;animation-fill-mode:forwards!important;position:absolute;left:0;right:0}.ays_template_window .ays_template_main{font-family:monospace,arial,sans-serif;letter-spacing:-1px;max-height:93%;overflow-y:auto;scrollbar-width:none}.ays_template_window .ays_template_header{height:100%;display:flex;justify-content:center;align-items:center}.ays_template_window footer.ays_template_footer .ays_template_content p{margin-bottom:5px!important}div[class*=ays-pb-modal_].ays_ubuntu_window{border-top-right-radius:12px;border-top-left-radius:12px;border:1px solid #3c3b37;background-color:#f2f1f0;transition:.3s;top:0;display:none;bottom:0;margin:auto;z-index:1;overflow-y:scroll}.ays_ubuntu_window .ays_ubuntu_topbar{height:40px;width:100%;display:flex;align-items:center;background-image:linear-gradient(#65645e,#3c3b37);border-top-right-radius:10px;border-top-left-radius:10px;border-bottom:1px solid #302f2c;position:sticky;top:0;z-index:100}.ays-pb-modal-macos .row p,.ays_ubuntu_window p{margin:0}.ays_ubuntu_window .ays_ubuntu_window_content{padding-top:5px}.ays_ubuntu_window .ays_ubuntu_window_content p{text-align:left;padding:0 10px;font-size:16px;white-space:initial}.ays_ubuntu_window .ays_ubuntu_topbar p{color:#dfdbd0;margin-left:20px}.ays_ubuntu_window .ays_ubuntu_topbar h2{margin:0;text-indent:10px;font-size:24px;font-weight:500;padding:0;word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ays_ubuntu_window .ays_ubuntu_topbar .ays_ubuntu_icons{background-image:linear-gradient(#363632,#4e4d48);margin-left:15px;border-radius:500px;padding:2px 3px 1px;height:25px;display:flex}.ays_ubuntu_window .ays_ubuntu_topbar .ays_ubuntu_icons .ays_ubuntu_close{width:20px;height:20px;border-radius:50%;background-image:linear-gradient(#f79674,#df5106);display:block;margin:0!important;cursor:pointer}.ays_ubuntu_window .ays_ubuntu_topbar .ays_ubuntu_icons .ays_ubuntu_close:hover{background-image:linear-gradient(#f8a082,#f85c09)}.ays_ubuntu_window .ays_ubuntu_tools ul li:hover,.ays_ubuntu_window .ays_ubuntu_topbar .ays_ubuntu_icons .ays_ubuntu_hide:hover,.ays_ubuntu_window .ays_ubuntu_topbar .ays_ubuntu_icons .ays_ubuntu_maximize:hover{background-image:linear-gradient(#a2a19d,#6b6b65)}.ays_ubuntu_window .ays_ubuntu_topbar .ays_ubuntu_icons .ays_ubuntu_hide,.ays_ubuntu_window .ays_ubuntu_topbar .ays_ubuntu_icons .ays_ubuntu_maximize{width:20px;height:20px;border-radius:50%;margin-left:5px;background-image:linear-gradient(#989792,#5a5a55);display:inline-block}.ays_ubuntu_window .ays_ubuntu_tools{height:30px;width:100%;display:flex;align-items:center;background-color:#3c3b37;color:#dfdbd0;position:sticky;top:40px;z-index:100}.ays_ubuntu_window .ays_ubuntu_tools ul{list-style:none;display:flex;align-items:center;justify-content:flex-start;margin:0;padding:0}.ays_ubuntu_window .ays_ubuntu_tools ul li{display:inline-block;padding:0 5px;margin-bottom:0}.ays_ubuntu_window .ays_ubuntu_tools ul li:hover{cursor:default;line-height:30px}.ays_ubuntu_window .ays_ubuntu_folder-info{height:30px;width:100%;display:flex;align-items:center;justify-content:space-between;background-color:#f2f1f0;border-top:1px solid #c5c1bc;position:sticky;bottom:0}.ays_ubuntu_window .ays_ubuntu_folder-info p.ays_ubuntu_right{position:relative}.ays_ubuntu_window .ays_ubuntu_folder-info p{color:#5f4c53;width:100%}div[class*=ays-pb-modal_].ays_window{transition:.2s;background:#fff;z-index:100000;display:none;top:0;bottom:0;margin:auto;border-radius:4px;vertical-align:middle;overflow:auto}.ays-pb-modal-macos .ays-pb-modal-close svg,.ays_window .ays-pb-modal-close svg{position:absolute;left:0;top:0;bottom:0;right:0;font-size:10px;margin:auto;opacity:0;transition:.5s ease-in-out}.ays_window .ays-pb-modal-close{position:relative;display:inline-block;top:0;left:0;right:0;bottom:0;cursor:pointer;pointer-events:auto;margin:0}.ays_window .ays_topBar{width:100%;height:50px;background-image:linear-gradient(#d3d3d3,#c8c8c8);border-bottom:1px solid grey;display:flex;align-items:center;border-top-right-radius:5px;border-top-left-radius:5px;pointer-events:fill;position:sticky;top:0;z-index:100}.ays_window .ays_topBar .ays_close,.ays_window .ays_topBar .ays_fullScreen,.ays_window .ays_topBar .ays_hide{cursor:pointer}.ays_window .ays_topBar h2{margin:0;width:100%;text-align:center;padding:0;font-size:25px;font-weight:500;word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div[class*=ays-pb-modal_].ays-pb-modal,div[class*=ays-pb-modal_].ays-pb-modal-macos{background:#fff;position:absolute;vertical-align:middle;overflow:auto;animation-fill-mode:forwards!important;right:0;bottom:0;display:none;z-index:1;top:0;left:0}.ays_window .ays_topBar h2::before{display:none;content:none;height:0}.ays_window .ays_topBar .ays_close{height:12px;width:12px;background-color:#f74544;border-radius:50%;margin-left:15px;border:1px solid #f62726;position:relative;display:inline-block;margin-bottom:0;min-width:30%}.ays_window .ays_topBar .ays_hide{height:12px;width:12px;background-color:#fbaf15;border-radius:50%;margin-left:10px;border:1px solid #f1a304;display:inline-block}.ays_window .ays_topBar .ays_fullScreen{height:12px;width:12px;background-color:#38c228;border-radius:50%;margin-left:10px;border:1px solid #32af24;display:inline-block}.ays_video_content,.ays_video_content video{height:100%;width:100%}.ays_window .ays_text{text-align:center;display:block;align-items:center;justify-content:center;font-family:Josefin Sans,sans-serif}.ays_window hr{margin:0 0 1.5em}.ays-pb-modals div.ays_pb_description,.ays_window p{margin:0;padding:10px;text-align:center;font-size:18px}.ays-pb-modal.ays-pb-modal_1>div>div,.ays_window .ays_pb_timer{text-align:center}.ays-pb-modal-image-type-img .ays_pb_timer{position:absolute;width:100%;bottom:10px;margin:0}.ays_pb_description>*,.ays_pb_timer{color:inherit}.ays_window .ays_text .ays_text-inner h1,.ays_window .ays_text .ays_text-inner h4{margin:15px}.ays_button{color:#fff!important;z-index:1}div[class*=ays-pb-modal_].ays-pb-modal-macos{border:3px solid #f1f1f1;margin:auto;text-align:center;border-radius:4px;white-space:normal;pointer-events:auto;max-height:95vh;animation-duration:.5s!important}.ays-pb-modal-macos .ays-pb-modal-close:hover svg{opacity:1}.ays-pb-modal-macos .ays-pb-modal-close{position:relative;display:inline-block;top:0;left:0;right:0;bottom:0;margin:auto;cursor:pointer;pointer-events:auto}.ays-pb-modal-macos .description,.ays-pb-modal-macos .row.description{padding:0;background-color:#f1f1f1}.ays-pb-modal-macos .row{padding:10px;background:#f1f1f1;border-top-left-radius:4px;border-top-right-radius:4px;margin:0!important}.ays-pb-modal-macos .column{float:left}.ays-pb-modal-macos .left{width:15%}.ays-pb-modal-macos .right{width:10%}.ays-pb-modal-macos .middle{width:75%}.ays-pb-modal-macos .row:after{content:"";display:table;clear:both}.ays-pb-modal-macos .dot{margin-top:4px;height:12px;width:12px;background-color:#bbb;border-radius:50%;display:inline-block;position:relative}.ays-pb-modal-macos input[type=text]{width:100%;border-radius:3px;border:none;background-color:#fff;margin-top:-8px;height:25px;color:#666;padding:5px;text-align:center}.ays-pb-modal-macos .gits{width:90%;margin:auto;border-bottom:1px solid #ccc}.ays-pb-modal-macos .bar{width:17px;height:3px;background-color:#aaa;margin:3px 0;display:block}.ays_window.ays-pb-modal_1>p:last-child{position:sticky;margin:auto}div[class*=ays-pb-modal_].ays-pb-modal{margin:auto;padding:25px;border-radius:4px}.ays-pb-modal.ays_facebook_window{display:flex;justify-content:center;padding-top:20px;max-width:500px;margin:0 auto}.ays-pb_default_container_box{position:relative;height:100%}.ays-pb-modal h2{text-align:center;padding:0;word-break:break-word}.ays-pb-modal-close{position:absolute;cursor:pointer}.ays-pb-modal.ays-pb-modal_1>p:last-child{position:sticky;margin:auto;background-color:#fff}.ays_window:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays_cmd_window:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays-pb-modal:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays-pb-modal-macos:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays_ubuntu_window:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays_winxp_window:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays_lil_window:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays_image_window .ays_image_main:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays_minimal_window .ays_minimal_main:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays_template_window:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays_win98_window:not(.ays-pb-show-scrollbar)::-webkit-scrollbar{width:0!important;scrollbar-width:none}.ays-pb-modals .mejs-container .mejs-controls button{background-color:#222}.ays-pb-modals .mejs-container,.ays-pb-modals video.wp-video-shortcode{width:100%!important}body[class^=pb_disable_scroll],html[class^=pb_disable_scroll]{overflow-y:hidden;position:fixed;width:100%}div[class*=ays-pb-modal_].ays_video_window{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;max-width:100%;max-height:100%;font-family:monospace,arial,sans-serif;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;pointer-events:fill;animation-duration:.5s;display:none;box-shadow:5px 10px 18px #888;animation-fill-mode:forwards}.ays_video_window .ays_video_main{font-family:monospace,arial,sans-serif;letter-spacing:-1px;padding-bottom:2px;max-height:80%;overflow-y:scroll}.close-video-btn{position:absolute;font-weight:100;font-size:10px;line-height:1;cursor:pointer;z-index:1}.ays_video_content{position:absolute;top:0;left:0;z-index:-1;display:flex}div.ays-pb-modals div.ays-pb-social-shares{display:flex;align-items:center;justify-content:center;margin:10px 0;flex-wrap:wrap}div.ays-pb-modals div.ays-pb-social-shares>a{width:48px;height:48px;display:flex;align-items:center;justify-content:center}div.ays-pb-modals div.ays-pb-social-buttons-content{max-width:100%}.ays-pb-modals .ays-pb-modal-image-type-img .ays_content_box{display:flex;align-items:center;justify-content:center;width:100%;height:100%;box-sizing:border-box}.ays-pb-modals .ays-pb-modal-image-type-img .ays_content_box img{max-width:100%;max-height:100%}.ays-pb-modals .ays_content_box,div.ays-pb-modals div.ays-pb-social-buttons-heading{word-break:break-word;max-width:100%}.ays-pb-dismiss-ad>button#ays_pb_dismiss_ad{cursor:pointer;font-size:12px}.ays-pb-dismiss-ad>button#ays_pb_dismiss_ad:hover{text-decoration:underline}div.ays_template_window header.ays_template_head div.ays_template_header .close-template-btn-container{min-width:auto;margin:0;color:#000}.ays-pb-visually-hidden-label{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;white-space:nowrap;clip:rect(0 0 0 0);overflow:hidden}.ays-pb-modals .ays-popup-hrs-default{margin:15px 0}@media screen and (max-width:768px){.ays-pb-dismiss-ad>button#ays_pb_dismiss_ad .ays_pb_dismiss_ad_text_pc{display:none}.ays-pb-dismiss-ad>button#ays_pb_dismiss_ad .ays_pb_dismiss_ad_text_mobile{display:inline}.ays_pb_show_desc_on_mobile,.ays_pb_show_title_on_mobile{display:block!important}.ays_pb_hide_desc_on_mobile,.ays_pb_hide_title_on_mobile{display:none!important}}