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

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

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

.pagination-indicators {
  color: #E1C07B;
  font-size: 18px;
  font-family: "Roboto", Sans-serif;
}

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

.close-map {
	color: var(--Azul, #BC8C48);
    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: 40%;
}

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

/* TABS DE IMAGEM (Galeria / Flyover / 360 / Layout)
   Sem isto, todos os .map-tab-panel ficam visíveis ao mesmo tempo, empilhados
   (o botão de trocar de tab existe mas nada esconde o conteúdo das outras). */
.map-info-column-1 {
    width: 65%;
}

.map-tab-panel {
    display: none;
    width: 100%;
    height: 100%;
}

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

.map-tab-panel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* O Swiper precisa de altura explícita em toda a cadeia de pais — sem isto a
   galeria colapsa a 0px porque os slides (height:100%) não têm de que herdar. */
.map-tab-panel .swiper,
.map-tab-panel .swiper-wrapper,
.map-tab-panel .swiper-slide {
    width: 100%;
    height: 100%;
}

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

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

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

/* Botões de tab (Gallery / Flyover / 360° / Layout) */
.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, #BC8C48);
}

.map-image-tab:hover {
    border-color: #E1C07B;
}

.map-image-tab.active {
    background: #BC8C48;
    border-color: #BC8C48;
    color: #24461F;
}

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

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

.map-info {
   position: absolute;
    top: calc(50% - 100px);
    max-width: 1290px;
    display: flex;
    flex-direction: row;
    transform: translate(0%, -50%);
    margin: 50px;
    z-index: 101;
}

.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: "Roboto", Sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    padding: 2px 15px;
    text-transform: uppercase;
    line-height: normal;
	background: #BC8C48;
	color: #24461F
}

.image-real-hole {
    margin-top: 50px;
    width: 380px;
}

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

li.list-metro-block.lista-metro-1::before {
    content: '(62)';
}
li.list-metro-block.lista-metro-2::before {
    content: '(57)';
}
li.list-metro-block.lista-metro-3::before {
    content: '(54)';
}
li.list-metro-block.lista-metro-4::before {
    content: '(51)';
}
li.list-metro-block.lista-metro-5::before {
    content: '(47)';
}

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

.title-id {
    color: #BC8C48;
    font-family: "Courier Prime";
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.hole-info {
    color: #BC8C48;
    font-family: "Roboto", Sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5em;
    margin-top: 24px;
    display: flex;
    gap: 15px;
}

.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: "Roboto", Sans-serif;
    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: "Roboto", Sans-serif;
    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 12px 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 7px;
    background: #BC8C48;
    color: #24461F;
    text-align: center;
    font-family: "Courier Prime";
    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;
}

button.slide-number {
	margin: 0 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #E1C07B;
    text-align: center;
    font-family: "Roboto", Sans-serif;
    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-color: #24461F;
    background-image: url(/wp-content/uploads/2024/10/arrow_prev.svg);
    background-repeat: no-repeat;
    background-position: center;
	border-radius:50%
}

.next-slide {
	width: 40px;
	height: 40px;
	border: 0;
	background-color: #24461F;
	margin-left: 15px;
    background-repeat: no-repeat;
    background-position: center;
	background-image: url(/wp-content/uploads/2024/10/arrow_next.svg);
	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 {
    display: none;
}

/* Na página "Buraco a Buraco" não há mapa visível por trás para dar contexto,
   por isso aqui mostra-se o título do campo (escondido no overlay do mapa). */
.hole-slider-panel .title-map {
    display: block;
    color: #E1C07B;
    font-family: "Courier Prime";
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

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

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

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


/* SPINNER DE CARREGAMENTO (usado no overlay do mapa e na página Buraco a
   Buraco enquanto o conteúdo do ponto é buscado via AJAX) — sem isto o
   elemento existe no HTML mas fica invisível, e o painel parece "preso"
   em branco durante o pedido. */
.zyrgon-map-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    border: 3px solid rgba(225, 192, 123, 0.25);
    border-top-color: #E1C07B;
    z-index: 110;
    animation: zyrgonSpin 0.8s linear infinite;
}

.zyrgon-map-spinner.is-active {
    display: block;
}

@keyframes zyrgonSpin {
    to { transform: rotate(360deg); }
}

/* Enquanto a imagem/vídeo da tab ativa ainda não tem o primeiro frame pronto
   (classe aplicada via JS), escurece o conteúdo e mostra um spinner por cima. */
.map-tab-panel.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(36, 70, 31, 0.45);
    z-index: 1;
}

.map-tab-panel.is-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border-radius: 50%;
    border: 3px solid rgba(255, 240, 224, 0.3);
    border-top-color: #FFF0E0;
    z-index: 2;
    animation: zyrgonSpin 0.8s linear infinite;
}

.map-info-error {
    color: #FFF0E0;
    font-family: "Roboto", Sans-serif;
}

/* PÁGINA "BURACO A BURACO" (página cheia, sem o mapa por trás)
   .hole-slider-page precisa de position:relative para o spinner (absoluto)
   e o botão .close-map (também absoluto, dentro do painel) se posicionarem
   relativamente à página em vez de subirem até ao body. */
.hole-slider-page {
    position: relative;
    background: #24461F;
}

/* Generaliza a animação de troca de buraco (entra a deslizar/fade) também
   para o overlay do mapa — antes só existia com o seletor .hole-slider-panel,
   por isso no mapa principal a troca de ponto acontecia sem transição. */
.map-info.map-info-nav-next .map-info-column-1,
.map-info.map-info-nav-next .map-info-column-2,
.hole-slider-panel.map-info-nav-next .map-info-column-1,
.hole-slider-panel.map-info-nav-next .map-info-column-2 {
    opacity: 0;
    transform: translateX(28px);
}

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

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

.map-info .map-info-column-1,
.map-info .map-info-column-2 {
    opacity: 1;
    transform: translateX(0) translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


/*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: "Roboto", Sans-serif;
    font-size: 19px;
    fill: #00512A;
    font-weight: 400;
}

.map-container-hover .map-text text .title-hover-content {
    font-family: "Roboto", Sans-serif;
    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){
	
.close-map {
        font-size: 16px;
        margin-bottom: 30px;
    }

	.map-container .svg-map svg {
        display: flex;
		width: 170%;
        height: auto;
        object-position: center;
    }
    
    .svg-map {
    width: 550px;
}
	
	.map-info-column-1 {
    	width: 55%;
	}

	.map-info-column-2 {
    	width: 45%;
		padding: 50px 30px;
	}	
	
	.map-info{
		margin: 30px;
		top: 50%
	}
	
	.map-info-column-2 {
		padding: 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
	}
	
	.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
	}

.map-container-hover .svg-map {
		display: flex;
		width: 124%;
	}
	
	.map-container-hover .svg-map svg {
        position: relative;
        left: 50%;
        height: 100%;
    }
}

@media screen and (max-width: 767px){
	
	.close-map {
		font-size: 14px;
		margin-bottom: 20px;
	}

	.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: 300%;
        height: auto;
        object-position: center;
    }
	
	.navigation-wrapper {
        position: absolute;
		top:-80px;
        left: 50%;
        transform: translate(-50%, 0);
        font-size: 14px;
        font-weight: 400;
        line-height: 150%;
		color: #00512A;
		text-transform:uppercase;
    	text-align: center;
    	font-family: "Roboto", Sans-serif;
    }
	
	.navigation-container {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 15px;
	}
	

	.scroll-button {
		width: 9px;
		height: 9px;
		display: block;
		background: transparent;
		transform: rotate(45deg);
		border: none;
	}
	
	button.button-left.scroll-button {
		border-bottom: 1px solid;
		border-left: 1px solid;
	}
	
	button.button-rigth.scroll-button {
		border-top: 1px solid;
		border-right: 1px solid;
		order: 3;
	}
	
	.navigation-container p.drag-text-container {
		margin: 0;
	}
	

	
	.map-info-column-1 {
        width: 100%;
        padding: 0px 20px;
        padding-top: 80px;
        height: 550px;
    }
	
	.map-info {
		top: unset;
        flex-direction: column;
        background: #24461F;
        max-width: 100%;
        margin: 0;
        transform: translate(0px, 50px);
        bottom: 0;
    }
	
	.map-container-column-2 {
		max-width: 100%;
	}
	.image-real-hole{
		width: 100%
	}
	
	.map-info-column-2 {
        padding: 30px 20px;
		width: 100%
    }
	
	.map-info-column-1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
	
	.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: 10px;
	}
}

@media screen and (max-width: 1024px) {
    .map-image-tab {
        padding: 6px 14px;
        font-size: 12px;
    }
}


@media screen and (max-width: 767px) {
    .map-image-tab {
        padding: 5px 12px;
        font-size: 11px;
    }
}


@media screen and (max-width: 1024px) {
    .map-image-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 767px) {
    .map-image-tabs {
        gap: 6px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 1024px) {
    .slides-number {
        margin-top: 30px;
    }
}

@media screen and (max-width: 767px) {
    .slides-number {
        margin-bottom: 30px;
    }
}

