.grtr-gallery{display:grid;gap:10px;width:100%;min-width:0;align-items:stretch;--grtr-visible:3}.grtr-gallery--right{grid-template-columns:minmax(0,var(--grtr-main-width,68%)) minmax(0,1fr)}.grtr-gallery--left{grid-template-columns:minmax(0,1fr) minmax(0,var(--grtr-main-width,68%))}.grtr-gallery--left .grtr-gallery__main{order:2}.grtr-gallery--left .grtr-gallery__secondary{order:1}.grtr-gallery--top,.grtr-gallery--bottom{grid-template-columns:1fr}.grtr-gallery--top .grtr-gallery__secondary{order:0}.grtr-gallery--top .grtr-gallery__main{order:1}.grtr-gallery--bottom .grtr-gallery__main{order:0}.grtr-gallery--bottom .grtr-gallery__secondary{order:1}.grtr-gallery__main{position:relative;min-width:0;width:100%;height:var(--grtr-main-height,360px);overflow:hidden;border-radius:12px;background:#edf3f8}.grtr-gallery__main-image{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;margin:0!important;padding:0!important;border:0!important}.grtr-gallery__secondary{display:grid;grid-template-rows:repeat(var(--grtr-visible),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:9px;min-width:0;min-height:0;max-height:var(--grtr-main-height,360px);overflow-y:auto;overflow-x:hidden;align-content:start;scrollbar-width:thin}.grtr-gallery--top .grtr-gallery__secondary,.grtr-gallery--bottom .grtr-gallery__secondary{display:flex;flex-direction:row;max-height:none;overflow-x:auto;overflow-y:hidden}.grtr-gallery__thumb{position:relative;display:block;min-width:0;min-height:0;width:100%;height:100%;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#edf3f8;cursor:pointer}.grtr-gallery--top .grtr-gallery__thumb,.grtr-gallery--bottom .grtr-gallery__thumb{flex:0 0 calc((100% - (var(--grtr-visible) - 1)*9px)/var(--grtr-visible));height:auto;aspect-ratio:2/1}.grtr-gallery__thumb img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;margin:0!important;transition:transform .22s ease}.grtr-gallery__thumb:hover img{transform:scale(1.035)}.grtr-gallery__thumb.is-active{border-color:#14569a}.grtr-gallery__pin{position:absolute;left:18px;bottom:16px;z-index:2;display:inline-flex;align-items:center;gap:8px;max-width:calc(100% - 36px);padding:8px 13px;border-radius:999px;background:rgba(0,0,0,.58);color:#fff;font:600 13px/1.25 'Poppins',Arial,sans-serif;box-shadow:0 2px 8px rgba(0,0,0,.12)}.grtr-gallery__pin span{display:inline-block;width:10px;height:10px;background:#fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);flex:0 0 auto}.grtr-gallery__arrow{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:rgba(7,35,65,.72);color:#fff;font-size:28px;line-height:1;cursor:pointer}.grtr-gallery__arrow--prev{left:12px}.grtr-gallery__arrow--next{right:12px}.grtr-gallery__counter{position:absolute;right:12px;bottom:12px;z-index:3;padding:5px 9px;border-radius:20px;background:rgba(0,0,0,.55);color:#fff;font-size:12px}.grtr-gallery__open{position:absolute;right:12px;top:12px;z-index:3;padding:6px 10px;border-radius:20px;background:rgba(0,0,0,.5);color:#fff!important;font-size:11px;text-decoration:none!important}.grtr-gallery__open:hover{background:rgba(0,0,0,.75)}@media(max-width:900px){.grtr-gallery--right,.grtr-gallery--left{grid-template-columns:minmax(0,var(--grtr-main-width,68%)) minmax(0,1fr)}.grtr-gallery__main{height:clamp(230px,34vw,var(--grtr-main-height,360px))}.grtr-gallery__pin{left:10px;bottom:10px;padding:7px 10px;font-size:11px}}@media(max-width:560px){.grtr-gallery--right,.grtr-gallery--left{grid-template-columns:1fr}.grtr-gallery__main{height:auto;aspect-ratio:2/1}.grtr-gallery__secondary,.grtr-gallery--top .grtr-gallery__secondary,.grtr-gallery--bottom .grtr-gallery__secondary{display:flex;flex-direction:row;max-height:none;overflow-x:auto;overflow-y:hidden;gap:7px}.grtr-gallery__thumb,.grtr-gallery--top .grtr-gallery__thumb,.grtr-gallery--bottom .grtr-gallery__thumb{flex:0 0 30%;height:auto;aspect-ratio:2/1}.grtr-gallery--left .grtr-gallery__main,.grtr-gallery--left .grtr-gallery__secondary{order:initial}.grtr-gallery__pin{font-size:10px;max-width:calc(100% - 20px)}}
/* Identidade Guia Rio Tur: azul-marinho e azul, sem detalhes laranja */
.grtr-gallery .grtr-gallery__thumb,
.grtr-gallery .grtr-gallery__thumb:focus,
.grtr-gallery .grtr-gallery__thumb:hover{border-color:transparent!important;outline:none!important;box-shadow:none!important}
.grtr-gallery .grtr-gallery__thumb.is-active{border:2px solid #14569a!important;box-shadow:0 0 0 1px rgba(20,86,154,.16)!important}
.grtr-gallery .grtr-gallery__pin{background:rgba(7,35,65,.78)!important;border:1px solid rgba(88,160,220,.85)!important;color:#fff!important;box-shadow:0 2px 8px rgba(0,25,55,.22)!important}
.grtr-gallery .grtr-gallery__pin span{background:#fff!important}
.grtr-gallery .grtr-gallery__pin--bottom-left{left:18px;right:auto;top:auto;bottom:16px}
.grtr-gallery .grtr-gallery__pin--bottom-right{right:18px;left:auto;top:auto;bottom:16px}
.grtr-gallery .grtr-gallery__pin--top-left{left:18px;right:auto;top:16px;bottom:auto}
.grtr-gallery .grtr-gallery__pin--top-right{right:18px;left:auto;top:16px;bottom:auto}
@media(max-width:900px){.grtr-gallery .grtr-gallery__pin--bottom-left{left:10px;bottom:10px}.grtr-gallery .grtr-gallery__pin--bottom-right{right:10px;bottom:10px}.grtr-gallery .grtr-gallery__pin--top-left{left:10px;top:10px}.grtr-gallery .grtr-gallery__pin--top-right{right:10px;top:10px}}

/* GUIA RIO TUR — layout padrão: imagem principal ampla e miniaturas abaixo */
.grtr-gallery,
.grtr-gallery.grtr-gallery--right,
.grtr-gallery.grtr-gallery--left,
.grtr-gallery.grtr-gallery--top,
.grtr-gallery.grtr-gallery--bottom{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:12px!important;
  --grtr-visible:4!important;
}
.grtr-gallery .grtr-gallery__main{
  grid-row:1!important;grid-column:1!important;
  width:100%!important;height:clamp(360px,34vw,480px)!important;
  border-radius:13px!important;
}
.grtr-gallery .grtr-gallery__secondary,
.grtr-gallery--right .grtr-gallery__secondary,
.grtr-gallery--left .grtr-gallery__secondary{
  grid-row:2!important;grid-column:1!important;
  display:flex!important;flex-direction:row!important;
  gap:10px!important;width:100%!important;max-height:none!important;
  height:auto!important;overflow-x:auto!important;overflow-y:hidden!important;
  align-content:initial!important;padding:0 0 3px!important;
  scrollbar-width:thin!important;
}
.grtr-gallery .grtr-gallery__thumb,
.grtr-gallery--right .grtr-gallery__thumb,
.grtr-gallery--left .grtr-gallery__thumb{
  flex:0 0 calc((100% - 30px)/4)!important;
  width:calc((100% - 30px)/4)!important;
  height:auto!important;aspect-ratio:2/1!important;
  border:2px solid transparent!important;border-radius:10px!important;
  background:#edf3f8!important;overflow:hidden!important;
}
.grtr-gallery .grtr-gallery__thumb.is-active{
  border-color:#14569a!important;
  box-shadow:0 0 0 1px rgba(20,86,154,.12)!important;
}
.grtr-gallery .grtr-gallery__arrow{
  background:rgba(20,86,154,.88)!important;
  border:1px solid rgba(255,255,255,.8)!important;
  color:#fff!important;
}
.grtr-gallery .grtr-gallery__arrow:hover{background:#0b3768!important}
@media(max-width:900px){
 .grtr-gallery .grtr-gallery__main{height:clamp(300px,48vw,410px)!important}
 .grtr-gallery .grtr-gallery__thumb{flex-basis:calc((100% - 30px)/4)!important;width:calc((100% - 30px)/4)!important}
}
@media(max-width:560px){
 .grtr-gallery .grtr-gallery__main{height:auto!important;aspect-ratio:2/1!important}
 .grtr-gallery .grtr-gallery__secondary{gap:7px!important}
 .grtr-gallery .grtr-gallery__thumb{flex:0 0 calc((100% - 21px)/4)!important;width:calc((100% - 21px)/4)!important}
 .grtr-gallery .grtr-gallery__arrow{width:32px!important;height:32px!important;font-size:23px!important}
}


/* v1.3.4 — legenda individual da imagem, em cinza semitransparente */
.grtr-gallery .grtr-gallery__pin{
  background:rgba(105,112,120,.72)!important;
  border:1px solid rgba(255,255,255,.48)!important;
  color:#fff!important;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  box-shadow:0 2px 9px rgba(0,0,0,.14)!important;
}
.grtr-gallery .grtr-gallery__pin[hidden]{display:none!important}

/* v1.3.5 — legenda horizontal sem quebra, miniaturas com setas e controles consistentes */
.grtr-gallery .grtr-gallery__pin{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:max-content!important;
  max-width:calc(100% - 36px)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  padding:8px 13px!important;
  line-height:1!important;
}
.grtr-gallery .grtr-gallery__pin > span:first-child{
  display:inline-block!important;
  flex:0 0 10px!important;
  width:10px!important;height:10px!important;
  min-width:10px!important;min-height:10px!important;
  transform:rotate(-45deg)!important;
  border-radius:50% 50% 50% 0!important;
}
.grtr-gallery .grtr-gallery__pin .grtr-gallery__pin-text{
  display:inline-block!important;
  flex:0 1 auto!important;
  width:auto!important;height:auto!important;
  min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;
  transform:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
  line-height:1.2!important;
}
.grtr-gallery__thumbs-wrap{
  position:relative!important;
  min-width:0!important;
  width:100%!important;
}
.grtr-gallery .grtr-gallery__secondary{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  scroll-behavior:smooth!important;
  padding-bottom:0!important;
}
.grtr-gallery .grtr-gallery__secondary::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.grtr-gallery__thumbs-arrow{
  position:absolute!important;top:50%!important;z-index:5!important;
  display:grid!important;place-items:center!important;
  width:30px!important;height:30px!important;
  padding:0!important;margin:0!important;
  border:1px solid rgba(255,255,255,.78)!important;
  border-radius:50%!important;
  background:rgba(105,112,120,.58)!important;
  color:#fff!important;
  font:400 22px/1 Arial,sans-serif!important;
  box-shadow:0 1px 5px rgba(0,0,0,.16)!important;
  transform:translateY(-50%)!important;
  cursor:pointer!important;
}
.grtr-gallery__thumbs-arrow--prev{left:5px!important}
.grtr-gallery__thumbs-arrow--next{right:5px!important}
.grtr-gallery__thumbs-arrow:hover{background:rgba(80,88,98,.78)!important}
.grtr-gallery .grtr-gallery__arrow{
  display:grid!important;place-items:center!important;
  width:38px!important;height:38px!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.78)!important;
  border-radius:50%!important;
  background:rgba(105,112,120,.58)!important;
  color:#fff!important;
  font:400 25px/1 Arial,sans-serif!important;
  box-shadow:0 1px 5px rgba(0,0,0,.16)!important;
}
.grtr-gallery .grtr-gallery__arrow:hover{background:rgba(80,88,98,.78)!important}
@media(max-width:560px){
 .grtr-gallery .grtr-gallery__pin{max-width:calc(100% - 20px)!important;padding:7px 10px!important;font-size:10px!important}
 .grtr-gallery__thumbs-arrow{width:27px!important;height:27px!important;font-size:20px!important}
 .grtr-gallery .grtr-gallery__arrow{width:32px!important;height:32px!important;font-size:22px!important}
}

/* v1.3.6 — corrigir a legenda: o fundo branco não deve atingir o texto */
.grtr-gallery .grtr-gallery__pin > span:first-child{
  display:block!important;
  flex:0 0 11px!important;
  width:11px!important;min-width:11px!important;max-width:11px!important;
  height:11px!important;min-height:11px!important;max-height:11px!important;
  padding:0!important;margin:0!important;
  background:#fff!important;
  border:0!important;
  border-radius:50% 50% 50% 0!important;
  transform:rotate(-45deg)!important;
  line-height:0!important;
}
.grtr-gallery .grtr-gallery__pin > .grtr-gallery__pin-text{
  display:block!important;
  flex:0 1 auto!important;
  width:auto!important;min-width:0!important;max-width:calc(100% - 20px)!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;
  background:transparent!important;
  border:0!important;border-radius:0!important;
  color:#fff!important;
  font:600 12px/1.25 'Poppins',Arial,sans-serif!important;
  letter-spacing:normal!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
  transform:none!important;
}
.grtr-gallery .grtr-gallery__pin{
  width:max-content!important;
  max-width:calc(100% - 36px)!important;
  min-height:0!important;
  height:auto!important;
  box-sizing:border-box!important;
  background:rgba(105,112,120,.70)!important;
  border:1px solid rgba(255,255,255,.58)!important;
  border-radius:999px!important;
}

/* v1.3.7 — a imagem principal troca sozinha; não exibir setas sobre ela */
.grtr-gallery .grtr-gallery__main > .grtr-gallery__arrow{display:none!important}
.grtr-gallery .grtr-gallery__main-image{transition:opacity .35s ease!important}

/* v1.3.8 — legenda da foto: ícone independente e texto sem faixa branca */
.grtr-gallery .grtr-gallery__pin{
  all:unset!important;
  box-sizing:border-box!important;
  position:absolute!important;
  left:16px!important;
  bottom:16px!important;
  z-index:6!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:max-content!important;
  max-width:calc(100% - 32px)!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:7px 12px!important;
  border:1px solid rgba(255,255,255,.48)!important;
  border-radius:999px!important;
  background:rgba(105,112,120,.68)!important;
  color:#fff!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  box-shadow:0 2px 8px rgba(0,0,0,.12)!important;
}
.grtr-gallery .grtr-gallery__pin[hidden]{display:none!important}
.grtr-gallery .grtr-gallery__pin > span[aria-hidden="true"]{
  display:none!important;
  width:0!important;height:0!important;
  flex:none!important;
}
.grtr-gallery .grtr-gallery__pin::before{
  content:""!important;
  display:block!important;
  flex:0 0 11px!important;
  width:11px!important;height:11px!important;
  min-width:11px!important;min-height:11px!important;
  padding:0!important;margin:0!important;
  background:#fff!important;
  border:0!important;
  border-radius:50% 50% 50% 0!important;
  transform:rotate(-45deg)!important;
}
.grtr-gallery .grtr-gallery__pin .grtr-gallery__pin-text{
  all:unset!important;
  display:block!important;
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:calc(100% - 20px)!important;
  overflow:hidden!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-family:'Poppins',Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.25!important;
  letter-spacing:normal!important;
  text-align:left!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;margin:0!important;
  transform:none!important;
}
/* Sem setas sobre a imagem principal; as miniaturas mantêm sua navegação. */
.grtr-gallery .grtr-gallery__main .grtr-gallery__arrow{display:none!important}
@media(max-width:560px){
  .grtr-gallery .grtr-gallery__pin{
    left:10px!important;bottom:10px!important;
    max-width:calc(100% - 20px)!important;
    padding:6px 10px!important;
  }
  .grtr-gallery .grtr-gallery__pin .grtr-gallery__pin-text{font-size:11px!important}
}


/* 1.4.2 — galeria mobile: miniaturas interativas, autoplay e zoom por toque */
.grtr-gallery .grtr-gallery__thumb,
.grtr-gallery .grtr-gallery__main-image {
  pointer-events:auto !important;
  touch-action:manipulation !important;
}
.grtr-gallery .grtr-gallery__thumbs-wrap,
.grtr-gallery .grtr-gallery__secondary {
  pointer-events:auto !important;
}
.grtr-gallery__lightbox[hidden]{display:none!important}
.grtr-gallery__lightbox{
  position:fixed!important;inset:0!important;z-index:999999!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:18px!important;background:rgba(5,20,36,.94)!important;
}
.grtr-gallery__lightbox img{
  display:block!important;max-width:96vw!important;max-height:88vh!important;
  width:auto!important;height:auto!important;object-fit:contain!important;
}
.grtr-gallery__lightbox-close{
  position:absolute!important;top:12px!important;right:14px!important;
  width:42px!important;height:42px!important;border:1px solid rgba(255,255,255,.45)!important;
  border-radius:50%!important;background:rgba(110,120,130,.55)!important;
  color:#fff!important;font:400 30px/1 Arial,sans-serif!important;
}
@media(max-width:767px){
 .grtr-gallery .grtr-gallery__secondary{overflow-x:auto!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important}
 .grtr-gallery .grtr-gallery__thumb{min-width:0!important;cursor:pointer!important}
 .grtr-gallery .grtr-gallery__main-image{cursor:zoom-in!important}
}


/* 1.4.4 — exibir integralmente os títulos das fotos, sem reticências */
.grtr-gallery[data-grtr-gallery] .grtr-gallery__pin {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  max-width: calc(100% - 32px) !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 8px 13px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  border-radius: 14px !important;
  line-height: 1.35 !important;
}

.grtr-gallery[data-grtr-gallery] .grtr-gallery__pin .grtr-gallery__pin-text {
  display: block !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.35 !important;
}

@media (max-width: 560px) {
  .grtr-gallery[data-grtr-gallery] .grtr-gallery__pin {
    left: 10px !important;
    bottom: 10px !important;
    max-width: calc(100% - 20px) !important;
    padding: 7px 10px !important;
  }
  .grtr-gallery[data-grtr-gallery] .grtr-gallery__pin .grtr-gallery__pin-text {
    font-size: 11px !important;
  }
}
