/* Jaydigital Photo Frames – front-end styles. */

.ifg {
	--ifg-width: 260px;
	--ifg-gap: 28px;
	--ifg-frame: #fff;
	--ifg-caption-color: #333;
	--ifg-bg: transparent;
	--ifg-ratio: 1 / 1;
	/* Item width. Percentages resolve against the gallery's own content width. */
	--ifg-item-w: min(var(--ifg-width), 100%);
	--ifg-pad: min(calc(var(--ifg-item-w) * 0.06), 3vw);

	/* Fill the available width even when a parent shrink-wraps its content (common in Elementor
	   flex containers): 100vw gives the parent a large natural size, max-width:100% then clamps it. */
	width: 100vw;
	max-width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: var(--ifg-gap);
	margin: 1.5em 0;
	padding: calc(var(--ifg-gap) / 2);
	background: var(--ifg-bg);
}

.ifg *,
.ifg *::before,
.ifg *::after {
	box-sizing: border-box;
}

.ifg--align-left { justify-content: flex-start; }
.ifg--align-right { justify-content: flex-end; }

.ifg-empty {
	padding: 1em;
	border: 1px dashed currentColor;
	text-align: center;
}

/* ---------------------------------------------------------------- Items */

.ifg-item {
	position: relative;
	flex: 0 0 auto;
	width: var(--ifg-item-w);
	margin: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ifg-link {
	display: block;
	color: inherit;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
}
.ifg-link[data-ifg-lb] { cursor: zoom-in; }
.ifg-link:focus-visible { outline: 3px solid #2271b1; outline-offset: 2px; }

.ifg-photo {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: var(--ifg-ratio);
	background: rgba(0, 0, 0, 0.06);
}
.ifg-photo img {
	/* Pinned to all four edges so the photo always fills the whole window, whatever the theme does to <img>. */
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: center;
}
.ifg--ratio-original .ifg-photo { aspect-ratio: auto; }
.ifg--ratio-original .ifg-photo img,
.ifg--masonry .ifg-photo img {
	position: static;
	height: auto !important;
}

/* ------------------------------------------------------------- Polaroid */

.ifg--polaroid .ifg-item {
	padding: var(--ifg-pad) var(--ifg-pad) 0;
	background: var(--ifg-frame);
	transform: rotate(var(--ifg-rot, 0deg));
}
.ifg--polaroid.ifg--shadow .ifg-item {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 8px 18px rgba(0, 0, 0, 0.14);
}
.ifg--polaroid .ifg-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.28);
	pointer-events: none;
}
.ifg--polaroid.ifg--cap-hover .ifg-item,
.ifg--polaroid .ifg-item--nocap { padding-bottom: var(--ifg-pad); }

.ifg--polaroid.ifg--hover .ifg-item:hover,
.ifg--polaroid.ifg--hover .ifg-item:focus-within {
	z-index: 5;
	transform: rotate(0deg) scale(1.06);
}
.ifg--polaroid.ifg--hover.ifg--shadow .ifg-item:hover,
.ifg--polaroid.ifg--hover.ifg--shadow .ifg-item:focus-within {
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2), 0 18px 34px rgba(0, 0, 0, 0.22);
}

/* ---------------------------------------------------------- Decorations */

.ifg--polaroid.ifg--deco-tape .ifg-item::before {
	content: "";
	position: absolute;
	top: -11px;
	left: 50%;
	z-index: 3;
	width: 34%;
	height: 24px;
	background: rgba(255, 236, 170, 0.7);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
	transform: translateX(-50%) rotate(-3deg);
	pointer-events: none;
}
.ifg--polaroid.ifg--deco-pin .ifg-item::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 50%;
	z-index: 3;
	width: 16px;
	height: 16px;
	margin-left: -8px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #ff8a80 0, #d32f2f 55%, #8e1b1b 100%);
	box-shadow: 0 3px 4px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

/* ------------------------------------------------------------- Captions */

.ifg-caption {
	display: block;
	margin: 0;
	color: var(--ifg-caption-color);
	font-size: 1rem;
	line-height: 1.3;
	text-align: center;
	overflow-wrap: anywhere;
}
.ifg--font-hand .ifg-caption {
	font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Marker Felt", "Comic Sans MS", cursive;
}
.ifg--font-serif .ifg-caption {
	font-family: Georgia, "Times New Roman", serif;
}

.ifg--polaroid.ifg--cap-below .ifg-caption {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.4em;
	padding: calc(var(--ifg-pad) * 0.5) 0;
}

.ifg--grid.ifg--cap-below .ifg-caption,
.ifg--masonry.ifg--cap-below .ifg-caption {
	margin-top: 0.5em;
	font-size: 0.9rem;
}

.ifg--cap-hover .ifg-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1.6em 0.8em 0.6em;
	color: #fff;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}
.ifg--cap-hover .ifg-item:hover .ifg-caption,
.ifg--cap-hover .ifg-item:focus-within .ifg-caption {
	opacity: 1;
}
@media (hover: none) {
	.ifg--cap-hover .ifg-caption { opacity: 1; }
}

/* -------------------------------------------------- Grid & masonry extras */

.ifg--grid .ifg-photo { border-radius: 4px; }
.ifg--masonry .ifg-photo { border-radius: 4px; aspect-ratio: auto; }

.ifg--masonry {
	display: block;
	column-width: var(--ifg-width);
	column-gap: var(--ifg-gap);
}
.ifg--masonry .ifg-item {
	width: auto;
	margin: 0 0 var(--ifg-gap);
	break-inside: avoid;
}

/* --------------------------------------------------------------- Mobile */

/* Photos per row: desktop, then tablet, then phone. */
.ifg--fixd {
	--ifg-cols: var(--ifg-cols-d);
	--ifg-item-w: calc((100% - (var(--ifg-cols) - 1) * var(--ifg-gap)) / var(--ifg-cols) - 0.1px);
}
.ifg--masonry.ifg--fixd { column-width: auto; column-count: var(--ifg-cols-d); }

@media (max-width: 900px) {
	.ifg { --ifg-item-w: min(var(--ifg-width), 100%); }
	.ifg--masonry { column-width: var(--ifg-width); column-count: auto; }
	.ifg--fixt {
		--ifg-cols: var(--ifg-cols-t);
		--ifg-item-w: calc((100% - (var(--ifg-cols) - 1) * var(--ifg-gap)) / var(--ifg-cols) - 0.1px);
	}
	.ifg--masonry.ifg--fixt { column-width: auto; column-count: var(--ifg-cols-t); }
}

@media (max-width: 560px) {
	.ifg { --ifg-item-w: min(var(--ifg-width), 100%); }
	.ifg--masonry { column-width: var(--ifg-width); column-count: auto; }
	.ifg--fixm {
		--ifg-cols: var(--ifg-cols-m);
		--ifg-item-w: calc((100% - (var(--ifg-cols) - 1) * var(--ifg-gap)) / var(--ifg-cols) - 0.1px);
	}
	.ifg--masonry.ifg--fixm { column-width: auto; column-count: var(--ifg-cols-m); }
}

@media (prefers-reduced-motion: reduce) {
	.ifg-item,
	.ifg--cap-hover .ifg-caption { transition: none; }
}

/* ------------------------------------------------------------- Lightbox */

html.ifg-lb-open { overflow: hidden; }

.ifg-lb {
	--ifg-frame: #fff;
	--ifg-caption-color: #333;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3vh 4vw;
	background: rgba(10, 10, 10, 0.9);
}
.ifg-lb[hidden] { display: none; }

.ifg-lb *,
.ifg-lb *::before,
.ifg-lb *::after { box-sizing: border-box; }

.ifg-lb__figure {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	max-width: min(100%, 1400px);
	margin: 0;
}
.ifg-lb__img {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
	transition: opacity 0.2s ease;
}
.ifg-lb--loading .ifg-lb__img { opacity: 0.25; }

.ifg-lb__caption {
	margin: 0;
	padding: 0.7em 0.5em 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.4;
	text-align: center;
}
.ifg-lb__caption:empty { display: none; }

.ifg-lb--polaroid .ifg-lb__figure {
	padding: 14px;
	background: var(--ifg-frame);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.ifg-lb--polaroid .ifg-lb__img { max-height: 70vh; }
.ifg-lb--polaroid .ifg-lb__caption {
	min-height: 0;
	margin-bottom: -4px;
	padding: 14px 6px 6px;
	color: var(--ifg-caption-color);
	font-size: 1.1rem;
}
.ifg-lb--polaroid .ifg-lb__caption:empty { display: none; }
.ifg-lb--polaroid[data-font="hand"] .ifg-lb__caption {
	font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Marker Felt", "Comic Sans MS", cursive;
}
.ifg-lb--polaroid[data-font="serif"] .ifg-lb__caption {
	font-family: Georgia, "Times New Roman", serif;
}

.ifg-lb__btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	background: rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: background 0.15s ease;
}
.ifg-lb__btn[hidden] { display: none; }
.ifg-lb__btn:hover { background: rgba(0, 0, 0, 0.75); }
.ifg-lb__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ifg-lb__bar {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: flex;
	gap: 8px;
}
.ifg-lb__bar .ifg-lb__btn { position: static; text-decoration: none; }
.ifg-lb__bar .ifg-lb__btn[hidden] { display: none; }
.ifg-lb__download svg,
.ifg-lb__play svg { display: block; }

/* Thumbnail strip */
.ifg-lb__thumbs {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex;
	gap: 6px;
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
	overflow-x: auto;
	overflow-y: hidden;
	background: rgba(0, 0, 0, 0.55);
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.ifg-lb__thumbs[hidden] { display: none; }
.ifg-lb__thumbs::before,
.ifg-lb__thumbs::after { content: ""; flex: 1 0 0; }
.ifg-lb__thumb {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 3px;
	background: #222;
	opacity: 0.6;
	cursor: pointer;
	overflow: hidden;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}
.ifg-lb__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ifg-lb__thumb:hover { opacity: 0.9; }
.ifg-lb__thumb:focus-visible { outline: 3px solid #fff; outline-offset: 1px; }
.ifg-lb__thumb.is-active { opacity: 1; border-color: #fff; }

/* Leave room for the strip */
.ifg-lb--thumbs { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
.ifg-lb--thumbs .ifg-lb__img { max-height: 66vh; }
.ifg-lb--thumbs.ifg-lb--polaroid .ifg-lb__img { max-height: 58vh; }
.ifg-lb__prev { top: 50%; left: 12px; transform: translateY(-50%); }
.ifg-lb__next { top: 50%; right: 12px; transform: translateY(-50%); }
.ifg-lb__count {
	position: absolute;
	top: 22px;
	left: 20px;
	color: #fff;
	font-size: 14px;
	opacity: 0.8;
}

@media (max-width: 600px) {
	.ifg-lb__btn { width: 48px; height: 48px; }
	.ifg-lb__bar { top: 10px; right: 10px; gap: 6px; }
	.ifg-lb__thumb { width: 50px; height: 50px; }
	.ifg-lb__prev { left: 6px; }
	.ifg-lb__next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
	.ifg-lb__img,
	.ifg-lb__btn { transition: none; }
}

/* v1.7.0: fixed-size full-bleed rows. Each card width is measured from the
   visible row, then assigned as px by carousel.js to avoid indefinite sizing. */
.ifg-carousel-shell {width:100%;max-width:100%;min-width:0;position:relative;--ifg-accent:#f5a623;box-sizing:border-box;}
.ifg-carousel-shell--bleed {width:100vw;max-width:none;position:relative;left:50%;margin-left:-50vw;}
.ifg-carousel-rows {display:grid;gap:16px;width:100%;min-width:0;}
.ifg-carousel-shell .ifg--carousel {
  display:block;position:relative;width:100%;max-width:none;min-width:0;
  padding:0;margin:0;overflow:hidden;flex-wrap:nowrap;box-sizing:border-box;
  cursor:grab;touch-action:pan-y;overscroll-behavior-x:contain;
  background:transparent;scroll-snap-type:none;
}
.ifg-carousel-shell .ifg--carousel.ifg--dragging {cursor:grabbing;user-select:none;}
.ifg-carousel-shell .ifg-carousel-track {display:flex;align-items:stretch;gap:var(--ifg-gap,16px);width:max-content;will-change:transform;}
.ifg-carousel-shell .ifg-carousel-set {display:flex;gap:var(--ifg-gap,16px);align-items:stretch;flex:0 0 auto;width:max-content;min-width:0;}
.ifg-carousel-shell .ifg--carousel .ifg-item {
  flex:0 0 var(--ifg-card-px,200px);width:var(--ifg-card-px,200px);min-width:var(--ifg-card-px,200px);
  margin:0;overflow:hidden;border-radius:var(--ifg-card-radius,12px);
  background:var(--ifg-frame,#fff);box-shadow:0 4px 16px rgba(15,23,42,.10);
  transition:box-shadow .2s ease,transform .2s ease;
}
.ifg-carousel-shell .ifg--carousel .ifg-item:hover {box-shadow:0 7px 22px rgba(15,23,42,.17);transform:translateY(-2px);}
.ifg-carousel-shell .ifg--carousel .ifg-photo {border-radius:var(--ifg-card-radius,12px) var(--ifg-card-radius,12px) 0 0;}
.ifg-carousel-shell .ifg--carousel .ifg-item--nocap .ifg-photo {border-radius:var(--ifg-card-radius,12px);}
.ifg-carousel-shell .ifg--carousel .ifg-caption {padding:10px 12px;text-align:left;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;}
.ifg-carousel-shell .ifg-carousel-controls {display:flex;justify-content:flex-end;gap:8px;margin:8px 10px 0;}
.ifg-carousel-shell .ifg-carousel-arrow {
  appearance:none;width:36px;height:36px;border:1px solid rgba(23,32,51,.1);border-radius:50%;
  background:var(--ifg-accent,#f5a623);color:#172033;box-shadow:0 2px 10px rgba(15,23,42,.1);
  font-size:19px;font-weight:700;line-height:1;cursor:pointer;transition:transform .2s ease,opacity .2s ease;
}
.ifg-carousel-shell .ifg-carousel-arrow:hover {transform:translateY(-1px);}
.ifg-carousel-shell .ifg-carousel-arrow:focus-visible,.ifg-carousel-shell .ifg--carousel:focus-visible {outline:3px solid var(--ifg-accent,#f5a623);outline-offset:2px;}
@media(max-width:600px){
  .ifg-carousel-rows{gap:12px;}
  .ifg-carousel-shell .ifg-carousel-arrow{width:34px;height:34px;font-size:18px;}
  .ifg-carousel-shell .ifg-carousel-controls{margin-top:7px;}
}
@media(prefers-reduced-motion:reduce){
  .ifg-carousel-shell .ifg--carousel .ifg-item,.ifg-carousel-shell .ifg-carousel-arrow{transition:none;}
}


/* v1.8.0 — Elementor boxed alignment and accessible, reachable photo viewer. */
/* Constrain inside Elementor; only the explicit full-screen option may bleed. */
.ifg-carousel-shell:not(.ifg-carousel-shell--bleed) {
  width:100% !important; max-width:100% !important; min-width:0;
  left:auto !important; right:auto !important; margin-left:0 !important; margin-right:0 !important;
}
.ifg-carousel-shell:not(.ifg-carousel-shell--bleed) .ifg-carousel-rows,
.ifg-carousel-shell:not(.ifg-carousel-shell--bleed) .ifg--carousel{width:100%;max-width:100%;}

/* Fixed viewport dialog stays above WordPress/theme headers and overlays. */
html .ifg-lb:not([hidden]) {position:fixed !important;inset:0 !important;z-index:2147483000 !important;
  display:flex !important;justify-content:center;align-items:center;
  width:100vw;height:100dvh;max-width:none;max-height:none;
  padding:68px max(52px,calc((100vw - 1120px)/2)) 104px;
  background:rgba(7,12,21,.94);isolation:isolate;
}
html .ifg-lb .ifg-lb__figure {max-width:min(100%,1040px);max-height:100%;margin:0 auto;align-items:center;justify-content:center;}
html .ifg-lb .ifg-lb__img {display:block;width:auto !important;height:auto !important;
  max-width:100% !important;max-height:min(68dvh,calc(100dvh - 190px)) !important;
  object-fit:contain;margin:0 auto;}
html .ifg-lb .ifg-lb__caption{color:#fff;font-size:14px;text-align:center;max-width:90vw;}
/* Controls are placed alongside the centred image stage, rather than at distant screen corners. */
html .ifg-lb .ifg-lb__bar{position:absolute !important;top:max(12px,env(safe-area-inset-top));
  right:max(14px,calc((100vw - 1100px)/2));z-index:100;display:flex;align-items:center;gap:10px;}
html .ifg-lb .ifg-lb__btn{appearance:none;display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;
  border:1px solid rgba(255,255,255,.7);border-radius:999px;
  background:#172033 !important;color:#fff !important;
  font-family:Arial,sans-serif;font-size:28px;font-weight:600;line-height:1;
  opacity:1;visibility:visible;box-shadow:0 2px 10px rgba(0,0,0,.65);
  text-shadow:none;cursor:pointer;transition:background-color .2s ease,transform .2s ease;}
html .ifg-lb .ifg-lb__btn:hover{background:#ad2428 !important;color:#fff !important;}
html .ifg-lb .ifg-lb__btn:focus-visible{outline:3px solid #ffcf62;outline-offset:3px;}
html .ifg-lb .ifg-lb__btn[hidden]{display:none !important;}
html .ifg-lb .ifg-lb__close{font-size:30px;font-weight:400;
  background:#ad2428 !important;border:2px solid white;}
html .ifg-lb .ifg-lb__close:hover{background:#8c181e !important;}
html .ifg-lb .ifg-lb__prev,html .ifg-lb .ifg-lb__next{
  position:absolute !important;z-index:90;top:50%;transform:translateY(-50%);
  font-size:34px;background:#172033 !important;color:#fff !important;
  border:2px solid rgba(255,255,255,.85);}
html .ifg-lb .ifg-lb__prev{left:max(8px,calc((100vw - 1170px)/2));right:auto;}
html .ifg-lb .ifg-lb__next{right:max(8px,calc((100vw - 1170px)/2));left:auto;}
html .ifg-lb .ifg-lb__thumbs{z-index:80;max-width:1100px;
  left:50%;right:auto;transform:translateX(-50%);width:100%;}
html .ifg-lb .ifg-lb__count{position:absolute;top:max(20px,env(safe-area-inset-top));
  left:max(14px,calc((100vw - 1100px)/2));z-index:100;color:#fff;font-size:14px;}
@media(max-width:700px){
 html .ifg-lb:not([hidden]){padding:72px 38px 94px;}
 html .ifg-lb .ifg-lb__bar{right:max(10px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));gap:6px;}
 html .ifg-lb .ifg-lb__btn{width:40px;height:40px;min-width:40px;min-height:40px;}
 html .ifg-lb .ifg-lb__prev{left:4px;}
 html .ifg-lb .ifg-lb__next{right:4px;}
 html .ifg-lb .ifg-lb__count{left:10px;top:20px;}
 html .ifg-lb .ifg-lb__img{max-height:min(64dvh,calc(100dvh - 195px)) !important;}
 html .ifg-lb .ifg-lb__thumbs{width:100%;}
}


/* v1.8.1 — Compact, legible navigation that overrides theme/Elementor buttons. */
.ifg-carousel-shell .ifg-carousel-controls {
  display:flex !important;justify-content:flex-end !important;align-items:center !important;
  gap:8px !important;margin:9px 0 0 !important;padding:0 2px !important;
}
.ifg-carousel-shell .ifg-carousel-controls .ifg-carousel-arrow {
  box-sizing:border-box !important;display:inline-flex !important;align-items:center !important;
  justify-content:center !important;flex:0 0 36px !important;
  width:36px !important;height:36px !important;min-width:36px !important;min-height:36px !important;
  max-width:36px !important;max-height:36px !important;padding:0 !important;margin:0 !important;
  border:1px solid rgba(23,32,51,.18) !important;border-radius:999px !important;
  background:#fff !important;background-image:none !important;
  color:#172033 !important;fill:#172033 !important;
  font-family:Arial,Helvetica,sans-serif !important;font-size:20px !important;font-weight:500 !important;
  line-height:1 !important;text-align:center !important;letter-spacing:0 !important;
  opacity:1 !important;box-shadow:0 2px 8px rgba(15,23,42,.12) !important;
  text-shadow:none !important;cursor:pointer !important;
  transition:background-color .2s ease,color .2s ease,box-shadow .2s ease !important;
}
.ifg-carousel-shell .ifg-carousel-controls .ifg-carousel-arrow:hover {
  background:#172033 !important;color:#fff !important;fill:#fff !important;
  box-shadow:0 3px 11px rgba(15,23,42,.17) !important;transform:none !important;
}
.ifg-carousel-shell .ifg-carousel-controls .ifg-carousel-arrow:active {
  background:#172033 !important;color:#fff !important;transform:scale(.96) !important;
}
.ifg-carousel-shell .ifg-carousel-controls .ifg-carousel-arrow:focus-visible {
  outline:2px solid var(--ifg-accent,#f5a623) !important;outline-offset:3px !important;
}
@media(max-width:600px){
  .ifg-carousel-shell .ifg-carousel-controls{gap:7px !important;margin-top:8px !important;padding-right:4px !important;}
  .ifg-carousel-shell .ifg-carousel-controls .ifg-carousel-arrow{
    flex-basis:34px !important;width:34px !important;height:34px !important;
    min-width:34px !important;min-height:34px !important;max-width:34px !important;max-height:34px !important;
    font-size:19px !important;
  }
}


/* v1.9.0: per-row feathered edges and visitor guidance; constrained to gallery width. */
.ifg-carousel-shell .ifg-carousel-rows--faded .ifg--carousel{
  -webkit-mask-image:linear-gradient(to right,transparent 0,black var(--ifg-edge-fade,24px),black calc(100% - var(--ifg-edge-fade,24px)),transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,black var(--ifg-edge-fade,24px),black calc(100% - var(--ifg-edge-fade,24px)),transparent 100%);
}
@media (max-width:900px){
  .ifg-carousel-shell .ifg-carousel-rows--faded .ifg--carousel{
    -webkit-mask-image:linear-gradient(to right,transparent 0,black var(--ifg-edge-fade-tablet,16px),black calc(100% - var(--ifg-edge-fade-tablet,16px)),transparent 100%);
    mask-image:linear-gradient(to right,transparent 0,black var(--ifg-edge-fade-tablet,16px),black calc(100% - var(--ifg-edge-fade-tablet,16px)),transparent 100%);
  }
}
@media (max-width:600px){
  .ifg-carousel-shell .ifg-carousel-rows--faded .ifg--carousel{
    -webkit-mask-image:linear-gradient(to right,transparent 0,black var(--ifg-edge-fade-mobile,8px),black calc(100% - var(--ifg-edge-fade-mobile,8px)),transparent 100%);
    mask-image:linear-gradient(to right,transparent 0,black var(--ifg-edge-fade-mobile,8px),black calc(100% - var(--ifg-edge-fade-mobile,8px)),transparent 100%);
  }
  .ifg-carousel-shell .ifg-carousel-rows{gap:var(--ifg-mobile-gap,10px);}
  .ifg-carousel-shell .ifg-carousel-mobile-ratio--square .ifg-photo{aspect-ratio:1 / 1;}
  .ifg-carousel-shell .ifg-carousel-mobile-ratio--portrait .ifg-photo{aspect-ratio:3 / 4;}
  .ifg-carousel-shell .ifg-carousel-mobile-ratio--landscape .ifg-photo{aspect-ratio:4 / 3;}
}
.ifg-carousel-shell .ifg-carousel-controls.ifg-carousel-hint{
  display:flex !important;align-items:center !important;justify-content:center !important;
  gap:8px !important;margin:12px 0 2px !important;padding:2px 6px !important;
  min-height:28px !important;max-width:100% !important;
  color:var(--ifg-hint-color,#475569) !important;
  font-size:var(--ifg-hint-size,14px) !important;font-weight:var(--ifg-hint-weight,400) !important;
  line-height:1.5 !important;letter-spacing:normal !important;
}
.ifg-carousel-shell .ifg-carousel-hint--sans{font-family:Arial,Helvetica,sans-serif !important;}
.ifg-carousel-shell .ifg-carousel-hint--serif{font-family:Georgia,'Times New Roman',serif !important;}
.ifg-carousel-shell .ifg-carousel-hint--mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace !important;}
.ifg-carousel-shell .ifg-carousel-hint--theme{font-family:inherit !important;}
.ifg-carousel-shell .ifg-carousel-hint-text{font-family:inherit !important;font-size:inherit !important;font-weight:inherit !important;color:inherit !important;max-width:min(85%,600px);text-align:center;overflow-wrap:anywhere;}
.ifg-carousel-shell .ifg-carousel-hint .ifg-carousel-hint-chevron,
.ifg-carousel-shell .ifg-carousel-controls .ifg-carousel-hint-chevron{
  appearance:none !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;
  flex:0 0 22px !important;width:22px !important;height:28px !important;min-width:22px !important;min-height:28px !important;
  padding:0 !important;margin:0 !important;border:0 !important;border-radius:0 !important;
  background:transparent !important;background-image:none !important;box-shadow:none !important;
  font-family:Arial,Helvetica,sans-serif !important;font-size:23px !important;font-weight:400 !important;
  color:var(--ifg-hint-color,#475569) !important;opacity:.76 !important;
  text-shadow:none !important;transform:none !important;cursor:pointer !important;
}
.ifg-carousel-shell .ifg-carousel-hint .ifg-carousel-hint-chevron:hover,
.ifg-carousel-shell .ifg-carousel-hint .ifg-carousel-hint-chevron:focus-visible{opacity:1 !important;color:var(--ifg-hint-color,#475569) !important;outline-offset:1px !important;}
@media(max-width:600px){.ifg-carousel-shell .ifg-carousel-controls.ifg-carousel-hint{margin-top:10px !important;gap:5px !important;}}
