.map-container-hover .svg-map svg{
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.map-container-hover .active-point circle{
	fill: white;
	stroke: #00A600;
	stroke-width: 1px
}

.map-container-hover .active-point g path{
	fill: #00A600
}


.pagination-indicators {
  color: #E1C07B;
  font-size: 18px;
  font-family: 'Inter';
}

.pagination-indicators span{
	margin: 0 8px
}

.close-map {
    color: var(--Azul, #62B1CC);
    border: none;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    transition: background 0.2s ease, color 0.2s ease;
    background: transparent;
    width: auto;
    text-align: left;
    margin-bottom: 80px;
}

.map-info-column-1 {
    width: 65%;
    background: #00512A;
}

.map-info-column-1 img,
.map-info-column-1 video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TABS DE IMAGEM (Gallery / Flyover / 360 / Layout) */
.map-tab-panel {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.map-tab-panel.active {
    display: block;
}

/* Enquanto a imagem/vídeo da tab ainda não tem o 1º frame pronto (ex: vídeo
   lazy do Flyover/360 a começar a baixar), mostra um spinner em vez de
   deixar só o fundo verde da coluna 1 visível. */
.map-tab-panel.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 4px solid rgba(225, 192, 123, 0.25);
    border-top-color: #E1C07B;
    border-radius: 50%;
    z-index: 2;
    animation: zyrgon-map-spin 0.8s linear infinite;
}

.map-gallery-swiper,
.map-gallery-swiper .swiper-wrapper,
.map-gallery-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.map-gallery-swiper .swiper-button-prev,
.map-gallery-swiper .swiper-button-next {
    color: #E1C07B;
}

.map-gallery-swiper .swiper-pagination-bullet {
    background: #FFF0E0;
    opacity: 0.6;
}

.map-gallery-swiper .swiper-pagination-bullet-active {
    background: #E1C07B;
    opacity: 1;
}

.map-image-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 80px;
}

.map-image-tab {
    color: var(--Bege, #E1C07B);
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 6px 15px;
    background: transparent;
    border-radius: 7px;
    border: 1px solid var(--Bege, #E1C07B);
}

.map-image-tab.active,
.map-image-tab:hover {
    color: #FFF0E0;
    border-color: #FFF0E0;
}

.map-info-error {
    color: var(--Creme, #FFF0E0);
    padding: 30px;
    text-align: center;
}

.map-info-column-2 {
    width: 35%;
    padding: 80px 40px;
    background: #00512A;
    position: relative;
    overflow-y: auto;
}

@media (min-width: 768px){
	
    .map-info-column-1 {
        border-right: 2px solid #E1C07B;
    }
	
}

.map-container-column-2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 575px;
    margin: 0 auto;
}

.map-info {
    position: fixed;
    bottom: 0;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    z-index: 101;
    width: 100%;
    height: calc(100% - 100px);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.3s ease, visibility 0s linear 0.4s;
}

.map-info.map-info-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Animação de entrada ao trocar de buraco (evita troca abrupta/estranha em
   clique rápido ou internet lenta): o conteúdo novo entra deslizando da
   direita ("next"), da esquerda ("prev") ou com um leve subir + fade
   (clique direto num pino, sem direção). */
.map-info-visible .map-info-column-1,
.map-info-visible .map-info-column-2 {
    opacity: 1;
    transform: translateX(0) translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.map-info-visible.map-info-nav-next .map-info-column-1,
.map-info-visible.map-info-nav-next .map-info-column-2 {
    opacity: 0;
    transform: translateX(28px);
}

.map-info-visible.map-info-nav-prev .map-info-column-1,
.map-info-visible.map-info-nav-prev .map-info-column-2 {
    opacity: 0;
    transform: translateX(-28px);
}

.map-info-visible.map-info-nav-fade .map-info-column-1,
.map-info-visible.map-info-nav-fade .map-info-column-2 {
    opacity: 0;
    transform: translateY(16px);
}

/* Spinner de carregamento (mapa/overlay e página Buraco a Buraco): evita
   ficar só o fundo verde visível enquanto o próximo buraco carrega (o
   conteúdo em si já fica invisível durante a troca, ver acima). */
.zyrgon-map-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border: 4px solid rgba(225, 192, 123, 0.25);
    border-top-color: #E1C07B;
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.zyrgon-map-spinner.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease;
    animation: zyrgon-map-spin 0.8s linear infinite;
}

@keyframes zyrgon-map-spin {
    to {
        transform: rotate(360deg);
    }
}

.admin-bar .map-info {
    height: calc(100% - 132px);
}

body.map-info-open {
    overflow: hidden;
}

.svg-map svg{
	display: flex;
}

.svg-map {
    /*width: 100%;*/
}


.map-container {
    /* position: relative; */
    display: flex;
    justify-content: center;
}

ul.metro-list {
    list-style-type: none;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    width: 100% !important;
    margin-top: 45px;
}

/* Estilos comuns a todos os blocos */
li.list-metro-block {
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    padding: 2px 15px;
    text-transform: uppercase;
    line-height: normal;
}

/* Cores específicas para cada lista */
li.list-metro-block.lista-metro-1 {
    background: white;
    color: #212E40;
}
li.list-metro-block.lista-metro-2 {
    background: #EEDD62;
    color: #212E40;
}

li.list-metro-block.lista-metro-3 {
    background: #2E5599;
    color: white;
}
li.list-metro-block.lista-metro-4 {
    background: #B71C22;
    color: white;
}

/* Conteúdos específicos para cada lista */
li.list-metro-block::before {
    margin-right: 5px;
    font-size: 10px;
    top: -3px;
    position: relative;
}

li.list-metro-block.lista-metro-1::before {
    content: 'white';
}
li.list-metro-block.lista-metro-2::before {
    content: 'Yellow';
}
li.list-metro-block.lista-metro-3::before {
    content: 'Blue';
}
li.list-metro-block.lista-metro-4::before {
    content: 'Red';
}

.hole-pro-tips {
    margin-top: 30px;
}

.title-id {
    color: #FFF0E0;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "Playfair Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5em;
    text-transform: uppercase;
}

.hole-info {
    color: #FFF0E0;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5em;
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.hole-description {
    color: var(--Creme, #FFF0E0);
    text-align: justify;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    margin-top: 10px;
    margin-bottom: 50px;
}

.hole-pro-tips span{
    color: var(--Bege, #E1C07B);
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5em;
    margin-top: 30px;
}

ul.pro-tips-list li:last-child {
    margin-bottom: 0;
}

ul.pro-tips-list li {
    margin-bottom: 15px;
}
ul.pro-tips-list {
    color: var(--Creme, #FFF0E0);
    text-align: justify;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    margin-top: 15px;
}

.hole-button {
    margin: 50px 0;
}

.hole-button a {
    display: inline-flex;
    padding: 15px 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 7px;
    background: var(--Azul, #62B1CC);
    color: var(--Verde-2, #00512A);
    text-align: center;
    font-family: "Playfair Display";
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.slides-number {
    margin-top: auto;
    display: flex;
    justify-content: left;
	padding-bottom: 30px;
}

button.slide-number {
	margin: 0 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #E1C07B;
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    background: transparent;
    border: 1px solid #E1C07B;
}


button.slide-number.active {
    color: white;
    background: #E1C07B;
}

.prev-slide {
	width: 40px;
	height: 40px;
	margin-right: 15px;
	border: 0;
	background: transparent;
	background-image: none;
	background-image: url(/wp-content/uploads/2024/10/arrow-left-right.svg);
	background-repeat: no-repeat;
    background-position: center;
	border-radius:50%
}

.next-slide {
	width: 40px;
	height: 40px;
	border: 0;
	margin-left: 15px;
	background: transparent;
	background-image: none;
	background-image: url(/wp-content/uploads/2024/10/arrow-left-popup.svg);
	background-repeat: no-repeat;
    background-position: center;
	border-radius:50%
}


.next-slide:hover{
    background-color: #BC8C48;
	background-image: url(/wp-content/uploads/2024/11/arrow-left-popup-white.svg);
}

.prev-slide:hover {
    background-color: #BC8C48;
	background-image:url(/wp-content/uploads/2024/11/arrow-left-right-white.svg);

}
.title-map {
    color: #E1C07B;
    font-family: "Playfair Display";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.text-animation{
	animation: rotateText 10s linear infinite;
}

@keyframes rotateText {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}


/*MAPA HOVER*/

.map-container-hover .map-text {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.map-container-hover .map-text.active {
	opacity: 1;
}

.map-container-hover .map-text .content-box {
	fill: #E1C07B;
}

.map-container-hover .map-text text {
    font-family: 'Inter';
    font-size: 19px;
    fill: #00512A;
    font-weight: 400;
}

.map-container-hover .map-text text .title-hover-content {
    font-family: 'Inter';
    font-size: 18px;
    fill: #00A600;
    font-weight: 700;
}

.map-container-hover text {
	text-anchor: middle;
}

@media screen and (max-width: 1400px) and (min-width: 1025px){
	
	.map-info-column-1 {
		width: 53%;
	}

	.map-info-column-2 {
		width: 47%;
		padding: 40px;
	}
	
}

@media screen and (max-width: 1024px){

	/**/
	
	.admin-bar .map-info {
    	height: calc(100% - 112px);
	}

	.map-container .svg-map svg {
        display: flex;
		width: 100%;
        height: auto;
        object-position: center;
    }

	.map-info-column-1 {
    	width: 55%;
	}

	.map-info-column-2 {
    	width: 45%;
		padding: 50px 30px;
	}

	.close-map {
		font-size: 16px;
		margin-bottom: 30px;
	}

	.title-map {
	    font-size: 16px;
	}

	.hole-info,
	.hole-description {
	    font-size: 16px;
		margin-top: 20px
	}

	.hole-button a{
		font-size: 20px
	}

	.slides-number{
		margin-top: 30px
	}

	.map-image-tabs {
		gap: 8px;
		margin-bottom: 20px;
	}

	.map-image-tab {
		padding: 6px 14px;
		font-size: 12px;
	}

	.title-id{
		font-size: 40px
	}

	ul.metro-list{
		margin-top: 30px;
		gap: 10px
	}


	.hole-button{
		margin-top: 30px
	}

	.slides-number {
        margin-top: 30px;
    }

	li.list-metro-block::before {
    	margin-right: 5px;
		font-size: 8px;
		top: -2px;
	}

	li.list-metro-block{
		font-size: 14px;
		padding: 2px 7px
	}

	.map-container-hover .svg-map {
		display: flex;
		width: 124%;
	}

	.map-container-hover .svg-map svg {
        position: relative;
        left: 50%;
        transform: translateX(-58%);
        height: 100%;
    }
}

/* Widget "Zyrgon Map" com o SVG combinado Ria+Cima (resolução nativa 960px
   de largura): abaixo de 1600px (largura em que o cliente reportou perda de
   informação ao encolher), em vez de continuar encolhendo, passa a exibir em
   tamanho fixo com scroll horizontal — mesmo padrão já usado no breakpoint
   mobile (767px) mais abaixo, só que aplicado só a este mapa.
   Identificado pelo próprio atributo width="960" do SVG (dado do arquivo,
   não gerado pelo Elementor) — tentamos antes usar a aba Avançado > CSS
   Classes do widget, mas esse campo mostrou comportamento inconsistente
   neste ambiente (às vezes não era aplicado no render, mesmo salvo
   corretamente); e nunca usar o ID auto-gerado do elemento (ex:
   elementor-element-XXXXXXX), que muda entre ambientes/re-salvamentos e
   quebraria ao subir para produção. */
@media screen and (max-width: 1600px) {

	.map-container .svg-map:has(svg[width="960"]) {
		width: 100%;
		height: auto;
		overflow-x: scroll;
		overflow-y: hidden;
		white-space: nowrap;
	}

	.map-container .svg-map:has(svg[width="960"]) svg {
		display: flex;
		width: 200%;
		height: auto;
		object-position: center;
	}
}

/* Estilo do "cartão" de navegação (setas + texto "arraste"/"toque") que
   aparece sobre o mapa quando ele entra em modo de scroll horizontal —
   único para todos os mapas (mobile ≤767px e o mapa combinado Ria+Cima
   ≤1600px), já que é o JS (map.js) quem decide QUANDO criar estes
   elementos; aqui só cuida de COMO eles ficam. */
.navigation-wrapper {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	border-radius: 20px;
	color: #24461F;
	text-align: center;
	font-family: 'Inter', sans-serif;
}

.tap-text-container {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #24461F;
}

.navigation-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.navigation-container p.drag-text-container {
	margin: 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(36, 70, 31, 0.65);
}

.scroll-button {
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #E1C07B;
	border-radius: 50%;
	border: none;
	transition: background 0.2s ease;
}

.scroll-button:hover {
	background: #24461F;
}

/* Ordem no DOM é seta-esquerda, seta-direita, texto — reordenado aqui para
   ficar visualmente seta-esquerda, texto, seta-direita. */
button.button-rigth.scroll-button {
	order: 3;
}

button.button-left.scroll-button::before,
button.button-rigth.scroll-button::before {
	content: '';
	width: 6px;
	height: 6px;
	border: 1.5px solid #24461F;
	transform: rotate(45deg);
	transition: border-color 0.2s ease;
}

button.button-left.scroll-button::before {
	border-right: none;
	border-top: none;
	margin-left: 2px;
}

button.button-rigth.scroll-button::before {
	border-left: none;
	border-bottom: none;
	margin-right: 2px;
}

.scroll-button:hover::before {
	border-color: #FFF0E0;
}

/* A partir de 782px o WordPress muda a admin-bar de 32px para 46px de altura,
   independente dos nossos breakpoints de layout (1024px/767px) */
@media screen and (max-width: 782px){
	.admin-bar .map-info {
		height: calc(100% - 126px);
	}
}

@media screen and (max-width: 767px){

	.map-container-column-2{
		max-width: 100%
	}

	.map-container .svg-map {
		width: 100%;
		height: auto;
		overflow-x: scroll;
		overflow-y: hidden;
		white-space: nowrap;
	}

	.map-container .svg-map svg {
        display: flex;
        width: 200%;
        height: auto;
        object-position: center;
        overflow: hidden;
        margin-top: 12%;
    }

	.map-info {
		position: fixed;
		bottom: 0;
		max-width: 100%;
		display: flex;
		flex-direction: column;
		z-index: 101;
		width: 100%;
		height: calc(100% - 80px);
		background: #00512A;
		overflow-y: auto;
	}

	.admin-bar .map-info {
		height: calc(100% - 126px);
	}

	.map-info-column-1 {
		width: 100%;
		padding: 20px;
		height: 45vh;
	}

	.map-info-column-2 {
        padding: 30px 20px;
		width: 100%;
    }

	.slides-number {
		margin-bottom: 30px;
	}

	.close-map {
		font-size: 14px;
		margin-bottom: 20px;
	}

	.map-info-column-1 img,
	.map-info-column-1 video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

	.map-image-tabs {
		gap: 6px;
		margin-bottom: 15px;
	}

	.map-image-tab {
		padding: 5px 12px;
		font-size: 11px;
	}

	.hole-button a {
        font-size: 20px;
        padding: 7px;
        width: 100%;
    }

	button.slide-number {
		width: 30px;
		height: 30px;
		font-size: 14px;
	}

	.next-slide,
	.prev-slide {
		width: 30px;
		height: 30px;
		background-size: contain;
	}
}
