
/* v3.6.60 restore responsive gallery column classes */
.amd-gallery.amd-tablet-cols-1{--amd-tablet-cols:1;}
.amd-gallery.amd-tablet-cols-2{--amd-tablet-cols:2;}
.amd-gallery.amd-tablet-cols-3{--amd-tablet-cols:3;}
.amd-gallery.amd-tablet-cols-4{--amd-tablet-cols:4;}
.amd-gallery.amd-tablet-cols-5{--amd-tablet-cols:5;}
.amd-gallery.amd-tablet-cols-6{--amd-tablet-cols:6;}
.amd-gallery.amd-mobile-cols-1{--amd-mobile-cols:1;}
.amd-gallery.amd-mobile-cols-2{--amd-mobile-cols:2;}
.amd-gallery.amd-mobile-cols-3{--amd-mobile-cols:3;}
.amd-gallery.amd-mobile-cols-4{--amd-mobile-cols:4;}
@media (max-width: 900px){
  .amd-gallery{grid-template-columns:repeat(var(--amd-tablet-cols,2), minmax(0,1fr)) !important;}
}
@media (max-width: 640px){
  .amd-gallery{grid-template-columns:repeat(var(--amd-mobile-cols,3), minmax(0,1fr)) !important;}
}

.amd-gallery{--amd-desktop-cols:4;--amd-tablet-cols:2;--amd-mobile-cols:3;display:grid;gap:12px;margin:12px 0;grid-template-columns:repeat(var(--amd-desktop-cols),minmax(0,1fr));}
.amd-gallery.amd-cols-1{--amd-desktop-cols:1;}
.amd-gallery.amd-cols-2{--amd-desktop-cols:2;}
.amd-gallery.amd-cols-3{--amd-desktop-cols:3;}
.amd-gallery.amd-cols-4{--amd-desktop-cols:4;}
.amd-gallery.amd-cols-5{--amd-desktop-cols:5;}
.amd-gallery.amd-cols-6{--amd-desktop-cols:6;}
.amd-gallery.amd-cols-7{--amd-desktop-cols:7;}
.amd-gallery.amd-cols-8{--amd-desktop-cols:8;}
html.amd-lightbox-open, html.amd-lightbox-open body{overflow:hidden;}
.amd-lightbox{position:fixed;inset:0;z-index:99999;display:none;}
.amd-lightbox.is-open{display:block;}
.amd-lightbox__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.82);backdrop-filter:blur(6px);}
.amd-lightbox__dialog{position:absolute;inset:0;display:grid;grid-template-columns:64px 1fr 64px;grid-template-rows:1fr auto;align-items:center;}
.amd-lightbox__stage{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;max-width:min(92vw,1400px);max-height:80vh;margin:0 auto;position:relative;}
.amd-lightbox__img,.amd-lightbox__video{max-width:100%;max-height:80vh;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.35);background:#000;}
.amd-lightbox__video{display:none;}
.amd-lightbox__nav,.amd-lightbox__close{appearance:none;border:0;background:rgba(255,255,255,.12);color:#fff;width:46px;height:46px;border-radius:999px;cursor:pointer;font-size:30px;line-height:1;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(8px);}
.amd-lightbox__close{position:absolute;top:18px;right:18px;z-index:4;}
.amd-lightbox__prev{grid-column:1;justify-self:center;}
.amd-lightbox__next{grid-column:3;justify-self:center;}
.amd-lightbox__bar{grid-column:2;grid-row:2;display:flex;justify-content:space-between;gap:16px;align-items:center;color:#fff;max-width:min(92vw,1400px);margin:14px auto 24px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.08);backdrop-filter:blur(10px);}
.amd-lightbox__meta{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.amd-lightbox__actions{display:flex;gap:10px;align-items:center;}
.amd-lightbox__download,.amd-lightbox__share{appearance:none;border:0;text-decoration:none;background:rgba(255,255,255,.14);color:#fff;padding:10px 14px;border-radius:999px;font-size:13px;line-height:1;cursor:pointer;}
.amd-lightbox__download:hover,.amd-lightbox__share:hover,.amd-lightbox__nav:hover,.amd-lightbox__close:hover{background:rgba(255,255,255,.22);color:#fff;}
@media (max-width: 640px){
  .amd-lightbox__dialog{grid-template-columns:48px 1fr 48px;}
  .amd-lightbox__bar{flex-direction:column;align-items:stretch;gap:12px;}
  .amd-lightbox__actions{justify-content:space-between;}
}

.amd-item:focus-within .amd-actions{opacity:1;transform:translateY(0);}
@media (hover:none){
  .amd-actions{opacity:1;transform:none;}
}


.amd-gallery.amd-theme-gold{
  --amd-gold-1:#fff8ea;
  --amd-gold-2:#f7e7ba;
  --amd-gold-3:#d6b25e;
  --amd-gold-4:#8b6a22;
  --amd-gold-5:#2b2214;
}
.amd-gallery.amd-theme-gold .amd-item{
  background:#fff;
  border:none;
  border-radius:22px;
  overflow:visible;
  box-shadow:0 10px 24px rgba(43,34,20,.08);
  backdrop-filter:blur(14px) saturate(1.08);
}
.amd-gallery.amd-theme-gold .amd-thumb{
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.72), rgba(255,255,255,0) 38%),
    linear-gradient(180deg, rgba(255,248,234,.34), rgba(239,221,172,.12));
  border:1px solid rgba(214,178,94,.44);
  border-radius:18px;
  box-shadow:
    0 8px 18px rgba(43,34,20,.08),
    inset 0 1px 0 rgba(255,255,255,.72),
    inset 0 -1px 0 rgba(214,178,94,.16);
}
.amd-gallery.amd-theme-gold .amd-thumb::after{
  background:
    linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.32) 42%, rgba(255,255,255,0) 80%);
}
.amd-gallery.amd-theme-gold .amd-caption{
  background:transparent;
  color:var(--amd-gold-5);
  border-top:none;
  font-weight:600;
  letter-spacing:.01em;
  padding:8px 2px 0;
}
.amd-gallery.amd-theme-gold .amd-action{
  background:
    linear-gradient(180deg, rgba(245,232,192,.98), rgba(205,170,84,.98) 48%, rgba(154,113,30,.99));
  color:#fffdf7;
  border:1px solid rgba(255,245,214,.46);
  box-shadow:
    0 10px 22px rgba(86,59,10,.18),
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(97,68,16,.28);
  text-shadow:0 1px 1px rgba(71,49,9,.22);
  border-radius:999px;
  font-weight:600;
  letter-spacing:.01em;
}
.amd-gallery.amd-theme-gold .amd-action:hover{
  background:
    linear-gradient(180deg, rgba(249,237,203,1), rgba(214,180,92,.99) 48%, rgba(166,121,32,1));
  color:#fffefb;
}
.amd-gallery.amd-theme-gold .amd-actions{
  bottom:14px;
  right:14px;
}
.amd-gallery.amd-theme-gold .amd-item:hover{
  box-shadow:0 14px 28px rgba(43,34,20,.12);
}
.amd-gallery.amd-theme-gold .amd-item:hover .amd-caption{
  background:transparent;
  color:#4c3710;
}
.amd-gallery.amd-theme-gold .amd-lightbox__bar,
.amd-theme-gold .amd-lightbox__bar{
  background:
    linear-gradient(180deg, rgba(83,61,15,.52), rgba(54,39,10,.60));
  border:1px solid rgba(235,204,126,.24);
}
.amd-gallery.amd-theme-gold .amd-lightbox__download,
.amd-gallery.amd-theme-gold .amd-lightbox__share{
  background:
    linear-gradient(180deg, rgba(198,158,66,.95), rgba(142,104,27,.98));
  color:#fff9ef;
}
.amd-gallery.amd-hover-off .amd-item:hover{transform:none;box-shadow:none;border-color:rgba(0,0,0,.12);}
.amd-gallery.amd-hover-off .amd-item:hover .amd-thumb::after{opacity:0;transform:translateX(-18%);}
.amd-gallery.amd-hover-off .amd-item:hover .amd-thumb img{transform:none;filter:none;}
.amd-gallery.amd-hover-off .amd-item:hover .amd-caption{color:inherit;background:transparent;}
.amd-gallery.amd-hover-on .amd-item:hover{transform:translateY(-3px) scale(1.004);box-shadow:0 12px 24px rgba(0,0,0,.12);border-color:rgba(0,0,0,.18);}

.amd-gallery.amd-theme-gold.amd-hover-off .amd-item{
  box-shadow:
    0 8px 20px rgba(43,34,20,.10),
    inset 0 1px 0 rgba(255,255,255,.78),
    inset 0 -1px 0 rgba(214,178,94,.18);
}

.amd-gallery.amd-theme-gold .amd-media-wrap{
  display:block;
  border-radius:18px;
  overflow:hidden;
  position:relative;
}
.amd-gallery.amd-theme-gold .amd-actions{
  right:10px;
  bottom:10px;
  gap:7px;
}
.amd-gallery.amd-theme-gold .amd-action{
  padding:8px 13px;
  font-size:11px;
}
.amd-gallery.amd-theme-gold .amd-item{
  padding:0 0 6px;
}
.amd-gallery.amd-theme-gold .amd-caption{
  margin:0 6px;
}


/* v3.6.5 gold refinements */
.amd-gallery.amd-theme-gold .amd-item{
  background:transparent;
  box-shadow:none;
  padding:0 0 4px;
}
.amd-gallery.amd-theme-gold .amd-media-wrap{
  border-radius:18px;
  overflow:hidden;
  display:block;
  position:relative;
  background:transparent;
}
.amd-gallery.amd-theme-gold .amd-thumb{
  border:1px solid rgba(214,178,94,.44);
  border-radius:18px;
  overflow:hidden;
  box-shadow:
    0 8px 18px rgba(43,34,20,.08),
    inset 0 1px 0 rgba(255,255,255,.72),
    inset 0 -1px 0 rgba(214,178,94,.16);
}
.amd-gallery.amd-theme-gold .amd-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.amd-gallery.amd-theme-gold .amd-caption{
  background:transparent;
  border:0;
  margin:0;
  padding:8px 2px 0;
}
.amd-gallery.amd-theme-gold .amd-actions{
  position:relative;
  right:auto;
  bottom:auto;
  margin-top:8px;
  padding:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  opacity:1;
  transform:none;
}
.amd-gallery.amd-theme-gold .amd-item:hover .amd-actions{
  opacity:1;
  transform:none;
}
.amd-gallery.amd-theme-gold .amd-action{
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,248,248,.96));
  color:#b2872c;
  border:1px solid rgba(214,178,94,.55);
  box-shadow:
    0 8px 18px rgba(86,59,10,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
  text-shadow:none;
}
.amd-gallery.amd-theme-gold .amd-action:hover{
  background:linear-gradient(180deg, rgba(255,255,255,1), rgba(252,252,252,.98));
  color:#946d18;
}
.amd-gallery.amd-theme-gold .amd-item:hover{
  box-shadow:none;
}
.amd-gallery.amd-theme-gold .amd-thumb::after{
  inset:0;
}


/* v3.6.21 lightbox fit fixes */
.amd-lightbox,
.amd-lightbox *{
  box-sizing:border-box;
}
.amd-lightbox__dialog{
  width:100vw;
  height:100vh;
  padding:14px;
  overflow:hidden;
}
.amd-lightbox__stage{
  width:100%;
  max-width:min(92vw, 1400px);
  max-height:min(78vh, calc(100vh - 140px));
  padding:0;
  overflow:hidden;
}
.amd-lightbox__img,
.amd-lightbox__video{
  width:auto;
  max-width:100%;
  height:auto;
  max-height:min(78vh, calc(100vh - 140px));
  object-fit:contain;
}
.amd-lightbox__bar{
  width:min(92vw, 1400px);
  max-width:100%;
  margin:14px auto 20px;
  overflow:hidden;
}
.amd-lightbox__meta{
  min-width:0;
  flex:1 1 auto;
}
.amd-lightbox__actions{
  flex:0 1 auto;
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:100%;
}
.amd-lightbox__download,
.amd-lightbox__share{
  max-width:100%;
  white-space:nowrap;
}
@media (max-width: 900px){
  .amd-lightbox__dialog{
    grid-template-columns:48px minmax(0,1fr) 48px;
    padding:10px;
  }
  .amd-lightbox__stage{
    max-width:calc(100vw - 96px);
    max-height:calc(100vh - 170px);
  }
  .amd-lightbox__img,
  .amd-lightbox__video{
    max-width:calc(100vw - 96px);
    max-height:calc(100vh - 170px);
  }
  .amd-lightbox__bar{
    width:calc(100vw - 20px);
    max-width:calc(100vw - 20px);
    padding:10px 12px;
    gap:10px;
  }
}
@media (max-width: 640px){
  .amd-lightbox__dialog{
    grid-template-columns:40px minmax(0,1fr) 40px;
    grid-template-rows:1fr auto;
    padding:8px;
  }
  .amd-lightbox__close{
    top:10px;
    right:10px;
    width:40px;
    height:40px;
  }
  .amd-lightbox__nav{
    width:38px;
    height:38px;
    font-size:24px;
  }
  .amd-lightbox__stage{
    max-width:calc(100vw - 80px);
    max-height:calc(100vh - 190px);
  }
  .amd-lightbox__img,
  .amd-lightbox__video{
    max-width:calc(100vw - 80px);
    max-height:calc(100vh - 190px);
    border-radius:12px;
  }
  .amd-lightbox__bar{
    width:calc(100vw - 16px);
    max-width:calc(100vw - 16px);
    margin:10px auto 10px;
    padding:10px;
    border-radius:12px;
    flex-direction:column;
    align-items:stretch;
  }
  .amd-lightbox__actions{
    width:100%;
    justify-content:space-between;
    flex-wrap:nowrap;
    gap:8px;
  }
  .amd-lightbox__download,
  .amd-lightbox__share{
    flex:1 1 0;
    min-width:0;
    text-align:center;
    padding:10px 12px;
    font-size:13px;
  }
  .amd-lightbox__meta{
    width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}
@media (max-width: 420px){
  .amd-lightbox__dialog{
    grid-template-columns:34px minmax(0,1fr) 34px;
    padding:6px;
  }
  .amd-lightbox__nav{
    width:32px;
    height:32px;
    font-size:20px;
  }
  .amd-lightbox__stage{
    max-width:calc(100vw - 68px);
    max-height:calc(100vh - 200px);
  }
  .amd-lightbox__img,
  .amd-lightbox__video{
    max-width:calc(100vw - 68px);
    max-height:calc(100vh - 200px);
  }
  .amd-lightbox__bar{
    width:calc(100vw - 12px);
    max-width:calc(100vw - 12px);
    padding:8px;
  }
}



/* v3.6.27 restore Apple-style luxury gold theme */
.amd-gallery.amd-theme-gold{
  --amd-gold-1:#fff8ea;
  --amd-gold-2:#f3e2b5;
  --amd-gold-3:#d6b25e;
  --amd-gold-4:#b2872c;
  --amd-gold-5:#946d18;
  --amd-gold-6:#2b2214;
}
.amd-gallery.amd-theme-gold .amd-item{
  background:transparent !important;
  border:none !important;
  border-radius:22px;
  overflow:visible;
  box-shadow:none !important;
  padding:0 0 6px;
}
.amd-gallery.amd-theme-gold .amd-media-wrap{
  display:block;
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:transparent !important;
}
.amd-gallery.amd-theme-gold .amd-thumb{
  border-radius:18px;
  overflow:hidden;
  position:relative;
  border:1px solid rgba(214,178,94,.45) !important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.80) !important;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.70), rgba(255,255,255,0) 45%),
    linear-gradient(180deg, var(--amd-gold-1), var(--amd-gold-2)) !important;
}
.amd-gallery.amd-theme-gold .amd-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 45%, rgba(255,255,255,0) 80%);
  pointer-events:none;
}
.amd-gallery.amd-theme-gold .amd-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.amd-gallery.amd-theme-gold .amd-caption{
  background:transparent !important;
  color:var(--amd-gold-6) !important;
  border:0 !important;
  margin:0;
  padding:6px 2px 0;
  font-weight:600;
  letter-spacing:.01em;
}
.amd-gallery.amd-theme-gold .amd-actions{
  position:relative;
  right:auto;
  bottom:auto;
  margin-top:8px;
  padding:0;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  opacity:1 !important;
  transform:none !important;
  gap:8px;
}
.amd-gallery.amd-theme-gold .amd-item:hover .amd-actions{
  opacity:1 !important;
  transform:none !important;
}
.amd-gallery.amd-theme-gold .amd-action{
  background:#ffffff !important;
  color:var(--amd-gold-4) !important;
  border-radius:999px;
  border:1px solid rgba(214,178,94,.55) !important;
  padding:8px 14px;
  font-weight:600;
  font-size:12px;
  box-shadow:
    0 8px 16px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.90) !important;
  text-shadow:none;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    color .25s ease,
    background .25s ease;
}
.amd-gallery.amd-theme-gold .amd-action:hover{
  color:var(--amd-gold-5) !important;
  background:#ffffff !important;
  box-shadow:
    0 12px 22px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,1) !important;
}
.amd-gallery.amd-theme-gold .amd-item:hover .amd-thumb{
  transform:translateY(-3px);
  box-shadow:
    0 18px 36px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
  transition:all .35s ease;
}
.amd-gallery.amd-theme-gold.amd-hover-off .amd-item:hover .amd-thumb{
  transform:none;
  box-shadow:
    0 10px 24px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.80) !important;
}
.amd-gallery.amd-theme-gold .amd-lightbox__bar{
  background:linear-gradient(180deg, rgba(83,61,15,.52), rgba(54,39,10,.60));
  border:1px solid rgba(235,204,126,.24);
}
.amd-gallery.amd-theme-gold .amd-lightbox__download,
.amd-gallery.amd-theme-gold .amd-lightbox__share{
  background:#ffffff;
  color:var(--amd-gold-4);
  border:1px solid rgba(214,178,94,.55);
  box-shadow:
    0 8px 16px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.90);
}



/* Apple-style luxury gold theme (ensured in build 3.6.33) */
.amd-gallery.amd-theme-gold .amd-thumb{
border-radius:18px;
overflow:hidden;
position:relative;
border:1px solid rgba(214,178,94,.45);
box-shadow:
0 10px 24px rgba(0,0,0,.08),
inset 0 1px 0 rgba(255,255,255,.8);
background:
radial-gradient(circle at top left, rgba(255,255,255,.7), rgba(255,255,255,0) 45%),
linear-gradient(180deg,#fff8ea,#f3e2b5);
}
.amd-gallery.amd-theme-gold .amd-thumb::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
135deg,
rgba(255,255,255,0) 0%,
rgba(255,255,255,.35) 45%,
rgba(255,255,255,0) 80%
);
pointer-events:none;
}
.amd-gallery.amd-theme-gold .amd-action{
background:#ffffff;
color:#b2872c;
border-radius:999px;
border:1px solid rgba(214,178,94,.55);
padding:8px 14px;
font-weight:600;
font-size:12px;
box-shadow:
0 8px 16px rgba(0,0,0,.08),
inset 0 1px 0 rgba(255,255,255,.9);
transition:all .25s ease;
}
.amd-gallery.amd-theme-gold .amd-action:hover{
color:#946d18;
background:#ffffff;
box-shadow:
0 12px 22px rgba(0,0,0,.12),
inset 0 1px 0 rgba(255,255,255,1);
}
.amd-gallery.amd-theme-gold .amd-item:hover .amd-thumb{
transform:translateY(-3px);
box-shadow:
0 18px 36px rgba(0,0,0,.12),
inset 0 1px 0 rgba(255,255,255,.9);
transition:all .35s ease;
}


.amd-pagination{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  align-items:center;
}
.amd-pagination .amd-page{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 12px;
  border-radius:999px;
  text-decoration:none;
  background:#111;
  color:#fff;
  box-shadow:0 6px 14px rgba(0,0,0,.10);
}
.amd-pagination .amd-page.active{
  background:linear-gradient(135deg,#d4af37,#ffd700);
  color:#000;
  font-weight:700;
}
.amd-gallery.amd-theme-gold + .amd-pagination .amd-page{
  background:#ffffff;
  color:#b2872c;
  border:1px solid rgba(214,178,94,.55);
  box-shadow:0 8px 16px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.90);
}
.amd-gallery.amd-theme-gold + .amd-pagination .amd-page.active{
  background:linear-gradient(180deg,#fff8ea,#f3e2b5);
  color:#946d18;
}



/* v3.6.51 force premium Apple-style gold theme */
.amd-gallery.amd-theme-gold{
  --amd-gold-1:#fff8ea;
  --amd-gold-2:#f3e2b5;
  --amd-gold-3:#d6b25e;
  --amd-gold-4:#b2872c;
  --amd-gold-5:#946d18;
  --amd-gold-6:#2b2214;
}
.amd-gallery.amd-theme-gold .amd-item{
  background:transparent !important;
  border:none !important;
  border-radius:22px;
  overflow:visible;
  box-shadow:none !important;
  padding:0 0 6px;
}
.amd-gallery.amd-theme-gold .amd-media-wrap{
  display:block;
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:transparent !important;
}
.amd-gallery.amd-theme-gold .amd-thumb{
  border-radius:18px;
  overflow:hidden;
  position:relative;
  border:1px solid rgba(214,178,94,.45) !important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.80) !important;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.70), rgba(255,255,255,0) 45%),
    linear-gradient(180deg, var(--amd-gold-1), var(--amd-gold-2)) !important;
}
.amd-gallery.amd-theme-gold .amd-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 45%, rgba(255,255,255,0) 80%);
  pointer-events:none;
}
.amd-gallery.amd-theme-gold .amd-caption{
  background:transparent !important;
  color:var(--amd-gold-6) !important;
  border:0 !important;
  margin:0;
  padding:6px 2px 0;
  font-weight:600;
  letter-spacing:.01em;
}
.amd-gallery.amd-theme-gold .amd-actions{
  position:relative;
  right:auto;
  bottom:auto;
  margin-top:8px;
  padding:0;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  opacity:1 !important;
  transform:none !important;
  gap:8px;
}
.amd-gallery.amd-theme-gold .amd-item:hover .amd-actions{
  opacity:1 !important;
  transform:none !important;
}
.amd-gallery.amd-theme-gold .amd-action,
.amd-gallery.amd-theme-gold + .amd-pagination .amd-page{
  background:#ffffff !important;
  color:var(--amd-gold-4) !important;
  border-radius:999px;
  border:1px solid rgba(214,178,94,.55) !important;
  padding:8px 14px;
  font-weight:600;
  font-size:12px;
  text-decoration:none;
  box-shadow:
    0 8px 16px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.90) !important;
  text-shadow:none;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    color .25s ease,
    background .25s ease;
}
.amd-gallery.amd-theme-gold .amd-action:hover,
.amd-gallery.amd-theme-gold + .amd-pagination .amd-page:hover{
  color:var(--amd-gold-5) !important;
  background:#ffffff !important;
  box-shadow:
    0 12px 22px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,1) !important;
}
.amd-gallery.amd-theme-gold + .amd-pagination .amd-page.active{
  background:linear-gradient(180deg, #fff8ea, #f3e2b5) !important;
  color:var(--amd-gold-5) !important;
}
.amd-gallery.amd-theme-gold .amd-item:hover .amd-thumb{
  transform:translateY(-3px);
  box-shadow:
    0 18px 36px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
  transition:all .35s ease;
}
.amd-gallery.amd-theme-gold.amd-hover-off .amd-item:hover .amd-thumb{
  transform:none;
  box-shadow:
    0 10px 24px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.80) !important;
}
.amd-gallery.amd-theme-gold .amd-lightbox__bar{
  background:linear-gradient(180deg, rgba(83,61,15,.52), rgba(54,39,10,.60));
  border:1px solid rgba(235,204,126,.24);
}
.amd-gallery.amd-theme-gold .amd-lightbox__download,
.amd-gallery.amd-theme-gold .amd-lightbox__share{
  background:#ffffff !important;
  color:var(--amd-gold-4) !important;
  border:1px solid rgba(214,178,94,.55) !important;
  box-shadow:
    0 8px 16px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.90) !important;
}


.amd-gallery-toolbar{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin:0 0 12px;
}
.amd-gallery-toolbar .amd-download-album{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  background:#111;
  color:#fff;
  box-shadow:0 8px 16px rgba(0,0,0,.08);
}
.amd-gallery-toolbar.amd-theme-gold .amd-download-album{
  background:#ffffff !important;
  color:#b2872c !important;
  border:1px solid rgba(214,178,94,.55) !important;
  box-shadow:0 8px 16px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.90) !important;
}
.amd-gallery-toolbar.amd-theme-gold .amd-download-album:hover{
  color:#946d18 !important;
}
@media (max-width:640px){
  .amd-gallery-toolbar{justify-content:center;}
  .amd-gallery-toolbar .amd-download-album{width:100%; max-width:320px;}
}


.amd-gallery-toolbar{
  gap:10px;
  flex-wrap:wrap;
}
.amd-gallery-toolbar .amd-download-custom{
  font-weight:700;
}
.amd-gallery-toolbar.amd-theme-gold .amd-download-custom{
  background:linear-gradient(180deg,#fff8ea,#f3e2b5) !important;
  color:#946d18 !important;
  border:1px solid rgba(214,178,94,.55) !important;
  box-shadow:0 8px 16px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.90) !important;
}
@media (max-width:640px){
  .amd-gallery-toolbar{
    flex-direction:column;
    align-items:stretch;
  }
  .amd-gallery-toolbar .amd-download-custom,
  .amd-gallery-toolbar .amd-download-album{
    width:100%;
    max-width:none;
  }
}



/* v3.6.75 luxury button + smoother hover refinements */
.amd-gallery.amd-theme-gold .amd-thumb::after{
  display:none !important;
  background:none !important;
}

.amd-gallery.amd-theme-gold .amd-item,
.amd-gallery.amd-theme-gold .amd-thumb,
.amd-gallery.amd-theme-gold .amd-thumb img,
.amd-gallery.amd-theme-gold .amd-action,
.amd-gallery-toolbar .amd-action{
  transition:
    transform .55s cubic-bezier(.22,1,.36,1),
    box-shadow .45s ease,
    filter .35s ease,
    border-color .35s ease,
    color .25s ease,
    background .25s ease !important;
}

.amd-gallery.amd-theme-gold .amd-item:hover .amd-thumb{
  transform:translateY(-2px) scale(1.003);
  box-shadow:
    0 14px 28px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.82) !important;
}

.amd-gallery.amd-theme-gold .amd-item:hover .amd-thumb img{
  transform:scale(1.015);
  filter:none !important;
}

.amd-gallery-toolbar .amd-download-custom,
.amd-gallery.amd-theme-gold .amd-download-custom{
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,247,247,.96)) !important;
  color:#b2872c !important;
  border:1px solid rgba(214,178,94,.55) !important;
  border-radius:999px !important;
  box-shadow:
    0 10px 20px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(214,178,94,.16) !important;
  font-weight:700 !important;
  letter-spacing:.01em;
  min-height:42px;
  padding:10px 18px !important;
  text-decoration:none !important;
  backdrop-filter:blur(12px) saturate(1.05);
}

.amd-gallery-toolbar .amd-download-custom:hover,
.amd-gallery.amd-theme-gold .amd-download-custom:hover{
  color:#946d18 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,1), rgba(252,252,252,.98)) !important;
  box-shadow:
    0 14px 24px rgba(0,0,0,.11),
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(214,178,94,.20) !important;
  transform:translateY(-1px);
}


/* v3.6.114 pagination anchor */
.amd-gallery-anchor{display:block;position:relative;scroll-margin-top:28px;outline:none}
.amd-pagination{scroll-margin-top:28px}



/* v3.6.132 native pagination anchor position */
.amd-gallery-shell{scroll-margin-top:24px;}


/* v3.6.135 POST pagination */
.amd-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.amd-page-form{display:inline-flex;margin:0;padding:0}
.amd-page-form .amd-page{
  appearance:none;
  cursor:pointer;
  font:inherit;
}
.amd-page-form .amd-page.active{cursor:default}


/* v3.6.138 stable pagination positioning */
html:has(.amd-gallery-shell[data-amd-return-target="1"]){
  scroll-behavior:auto !important;
}


/* v3.6.153 carousel */
.amd-carousel{width:100%;max-width:100%;outline:none}
.amd-carousel-stage{position:relative;overflow:hidden;border:1px solid rgba(212,175,55,.58);border-radius:22px;background:#0f0f0f;box-shadow:0 18px 40px rgba(24,18,5,.14);aspect-ratio:16/10}
.amd-carousel-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transform:scale(.985);transition:opacity .38s ease,transform .38s ease,visibility .38s ease;display:flex;align-items:center;justify-content:center}
.amd-carousel-slide.is-active{opacity:1;visibility:visible;transform:scale(1);z-index:2}
.amd-carousel-slide img,.amd-carousel-slide video{width:100%;height:100%;object-fit:contain;display:block;background:#0f0f0f}
.amd-carousel-caption{position:absolute;left:18px;right:18px;bottom:16px;padding:9px 12px;border-radius:12px;background:rgba(0,0,0,.62);color:#fff;font-size:13px;backdrop-filter:blur(8px)}
.amd-carousel-arrow{position:absolute;top:50%;z-index:4;width:48px;height:48px;transform:translateY(-50%);border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(255,255,255,.9);color:#8a6810;box-shadow:0 10px 26px rgba(0,0,0,.20);cursor:pointer}
.amd-carousel-arrow:hover{transform:translateY(-50%) scale(1.06);background:#fff}.amd-carousel-arrow span{font-size:34px;line-height:1}.amd-carousel-prev{left:16px}.amd-carousel-next{right:16px}
.amd-carousel-filmstrip{display:flex;gap:10px;overflow-x:auto;padding:13px 4px 5px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#d4af37 transparent}
.amd-carousel-thumb{position:relative;flex:0 0 clamp(74px,11vw,126px);aspect-ratio:4/3;padding:0;overflow:hidden;border:2px solid transparent;border-radius:13px;background:#eee;cursor:pointer;scroll-snap-align:center;opacity:.68;transform:scale(.96);transition:.2s}
.amd-carousel-thumb img{width:100%;height:100%;object-fit:cover;display:block}.amd-carousel-thumb:hover,.amd-carousel-thumb.is-active{opacity:1;transform:scale(1);border-color:#d4af37;box-shadow:0 8px 18px rgba(83,59,0,.16)}
.amd-carousel-video-badge{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.72);color:#fff;font-size:13px}
@media(max-width:700px){.amd-carousel-stage{aspect-ratio:4/3;border-radius:16px}.amd-carousel-arrow{width:40px;height:40px}.amd-carousel-prev{left:9px}.amd-carousel-next{right:9px}.amd-carousel-thumb{flex-basis:78px;border-radius:10px}}


/* v3.6.183 cross-page carousel */
.amd-carousel.is-changing-page{
  opacity:.65;
  pointer-events:none;
}


/* v3.6.186 advanced carousel controls */
.amd-carousel-controls{position:absolute;top:14px;right:14px;z-index:6;display:flex;gap:8px}
.amd-carousel-control{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(255,255,255,.9);color:#7e5f00;box-shadow:0 10px 24px rgba(0,0,0,.18);cursor:pointer;transition:.2s}
.amd-carousel-control:hover{transform:scale(1.06);background:#fff;box-shadow:0 14px 28px rgba(0,0,0,.24)}
.amd-carousel-playpause .amd-icon-pause{display:none}.amd-carousel-playpause.is-playing .amd-icon-play{display:none}.amd-carousel-playpause.is-playing .amd-icon-pause{display:inline}
.amd-carousel-filmstrip{cursor:grab;overscroll-behavior-inline:contain}.amd-carousel-filmstrip.is-dragging{cursor:grabbing;user-select:none}
.amd-carousel:fullscreen,.amd-carousel.is-fullscreen{width:100vw;height:100vh;max-width:none;padding:18px;box-sizing:border-box;background:#080808;display:flex;flex-direction:column}
.amd-carousel:fullscreen .amd-carousel-stage,.amd-carousel.is-fullscreen .amd-carousel-stage{flex:1 1 auto;min-height:0;aspect-ratio:auto}
.amd-carousel:fullscreen .amd-carousel-filmstrip,.amd-carousel.is-fullscreen .amd-carousel-filmstrip{flex:0 0 auto;padding-top:14px}
.amd-carousel:fullscreen .amd-carousel-thumb,.amd-carousel.is-fullscreen .amd-carousel-thumb{flex-basis:110px}
@media(max-width:700px){.amd-carousel-controls{top:9px;right:9px}.amd-carousel-control{width:38px;height:38px}}


/* v3.6.189 reliable filmstrip thumbnails */
.amd-carousel-thumb{
  isolation:isolate;
}
.amd-carousel-thumb-placeholder{
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(110deg,rgba(255,255,255,.35) 8%,rgba(212,175,55,.16) 18%,rgba(255,255,255,.35) 33%);
  background-size:220% 100%;
  animation:amdThumbShimmer 1.5s linear infinite;
}
.amd-carousel-thumb img{
  position:relative;
  z-index:1;
  opacity:0;
  transition:opacity .24s ease;
}
.amd-carousel-thumb img.is-loaded{
  opacity:1;
}
.amd-carousel-thumb:has(img.is-loaded) .amd-carousel-thumb-placeholder{
  display:none;
}
.amd-carousel-thumb.has-thumb-error .amd-carousel-thumb-placeholder{
  animation:none;
  background:
    linear-gradient(135deg,#f7f3e7,#eee5c7);
}
.amd-carousel-thumb.has-thumb-error:after{
  content:"↻";
  position:absolute;
  z-index:3;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  color:#8a6810;
  font-size:18px;
}
@keyframes amdThumbShimmer{
  to{background-position-x:-220%}
}


/* v3.6.192 cached thumbnail visibility */
.amd-carousel-thumb img[src]:not([src=""]){
  will-change:opacity;
}
.amd-carousel-thumb img.is-loaded{
  visibility:visible;
}


/* v3.6.195 autoplay scroll containment */
.amd-carousel-filmstrip{
  scroll-behavior:auto;
  overflow-anchor:none;
}
.amd-carousel{
  overflow-anchor:none;
}


/* v3.6.198 YouTube playlist carousel */
.amd-youtube-carousel .amd-carousel-stage{
  aspect-ratio:16/9;
}
.amd-youtube-slide iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:#000;
}
.amd-youtube-thumb img{
  opacity:1;
}
.amd-youtube-gallery .amd-gallery-toolbar{
  margin-bottom:12px;
}

/* v3.6.210 video carousel playback */
.amd-youtube-slide{pointer-events:none}
.amd-youtube-slide.is-active{pointer-events:auto}
.amd-youtube-slide iframe{position:absolute;inset:0}


/* v3.6.222 panoramic masonry */
.amd-gallery .amd-item-panorama{grid-column:span 2}
.amd-gallery .amd-item-panorama.amd-panorama-span-3{grid-column:span 3}
.amd-gallery .amd-item-panorama.amd-panorama-span-full{grid-column:1 / -1}
.amd-gallery .amd-item-panorama .amd-thumb{aspect-ratio:auto!important;height:auto!important;min-height:0!important}
.amd-gallery .amd-item-panorama .amd-thumb img{width:100%!important;height:auto!important;max-height:none!important;display:block!important}
.amd-gallery[data-amd-panorama-fit="contain"] .amd-item-panorama .amd-thumb img{object-fit:contain!important}
.amd-gallery[data-amd-panorama-fit="cover"] .amd-item-panorama .amd-thumb img{object-fit:cover!important}
@media(max-width:900px){.amd-gallery .amd-item-panorama.amd-panorama-span-3{grid-column:1 / -1}}
@media(max-width:640px){.amd-gallery .amd-item-panorama{grid-column:1 / -1!important}}

/* v3.6.225 panorama ordering */
.amd-gallery.amd-panorama-mode-auto,.amd-gallery.amd-panorama-mode-manual{grid-auto-flow:dense}
.amd-gallery .amd-item-panorama.amd-panorama-span-full{grid-column:1 / -1!important}
.amd-gallery .amd-item-panorama.amd-panorama-span-2{grid-column:span 2}
.amd-gallery .amd-item-panorama.amd-panorama-span-3{grid-column:span 3}
