.gm-style-iw{
    padding: 25px !important;
    width:350px;
}
.gm-style-iw .pin-button{
    margin-top: 10px;
}
.gm-style-iw-chr{
    position:absolute;
    width: calc(100% - 50px);
    top:8px;
    right:8px;
}
.gm-style-iw-chr button{
    width: 36px !important;
    height: 36px !important;
    border-radius: 100%;
    background-color: #f7f7f7 !important;
}
.gm-style-iw-chr button span{
    margin: 6px !important;
}
.gm-style-iw-d{
    padding:0px !important;
    width: 100%;
    overflow: hidden !important;
}
.gm-style-iw-d p{
    margin-bottom:0px;
    font-size: 14px;
    line-height: 1.7;
}
.pin-title{
    font-size: 18px;
    line-height: 1.4;
}
.gm-style-iw-d a{
    color: #585858;
}
.gm-style-iw-d a:hover{
    color:#E30613 !important;
}
a.directions{
    color:#01426A !important;
    text-decoration: underline;
    margin-bottom:30px;
    display:block;
}
a.directions:hover{
    color:#E30613 !important;
    text-decoration: underline;
}
.pin-button{
    background-color:#E30613 !important;
    width: 100%;
    color: #fff !important;
    text-align: center;
    font-size: 14px;
    display: block;
    font-weight: 600;
    padding-top:10px;
    padding-bottom:10px;
    border-radius: 30px;
}
.gm-style-iw-d a.pin-button:hover{
    color: #fff !important;
    background-color: #01426A !important;
}
.pin-verksamheter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 15px;
    margin-bottom: 20px;
}
.pin-verksamhet {
    background: rgba(88,88,88,0.05); /* Ljusgrå bakgrund */
    color: #585858;
    font-family:"neo-sans-medium", sans-serif;
    padding: 8px 14px 11px;
    border-radius: 50px;
    font-size: 14px;
}
.map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 700px;
}
.map-filters input,
.map-filters select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    flex: 1;
    min-width: 200px;
}
.gt-post-content ul{
    margin-top: 10px;
}
.gt-post-content ul li{
    font-size: 18px;
    line-height: 1.4;
}
/* Template styling */
.single-plats main{
    margin-top:8.625rem;
}
.single-plats h1{
    font-size: 36px;
}
.single-plats h2{
    font-size: 27px;
}
.single-plats h1, 
.single-plats h2{
    line-height:1.4;
}
.single-plats h1{
    margin-bottom:40px;
}
.plats-container{
    margin-top:240px !important;
    margin-bottom: 160px;
}
.plats-inner-container{
    display: flex;
    gap: 80px;
}
.info-container{
    width:100%;
    max-width: 420px;
}
.plats-inner-container .info-container p b{
    margin-bottom:10px;
    display: inline-block;
}
.plats-inner-container .info-container h3{
    display: inline-block;
    margin-top:20px;
}
.map-container{
    width:calc(100%  - 460px);
}
.content-container{
    margin-top:80px;
}
#map-wrapper{
    width:100%;
    position: relative;
}

#map-wrapper li::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: middle;
  }

#map-wrapper .logistik::before {
    background-image: url('../../../uploads/map-icons/logistik.svg');
  }
  #map-wrapper .jarnvagstransport::before {
    background-image: url('../../../uploads/map-icons/jarnvagstransporter.svg');
  }
  #map-wrapper .grus-asfalt::before {
    background-image: url('../../../uploads/map-icons/grus-asfalt.svg');
  }
  #map-wrapper .atervinning::before {
    background-image: url('../../../uploads/map-icons/atervinning.svg');
  }
  #map-wrapper .ovrigt::before {
    background-image: url('../../../uploads/map-icons/ovrigt.svg');
  }
#map-desc{
    top:70px;
    left: 20px;
    border-radius:10px;
    background-color:#fff;
    position: absolute;
    box-shadow: 0px 3px 6px #00000029;
}
#map-desc ul{
    padding:17px 27px 20px 17px !important;
    margin-bottom:0px !important; 
    list-style: none;
}
#map-desc ul li{
    font-size: 18px;
    line-height: 36px;
}
#map-desc ul li::marker{
    width:18px !important;
    height:18px !important;
}
.map-search-wrapper{
    margin-bottom:20px;
}

.service-group label{
    margin-bottom:0px;
}
.service-group--parent,
#service-child-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.service-group--child {
    display: none; /* dold tills JS visar den */
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.service-group--child.is-visible {
    display: flex;
}
.service-group__title {
    margin: 0 0 0.25rem;
    font-weight: 600;
    font-size: 1.2rem;
}
.service-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
}

/* göm den riktiga radion visuellt men behåll tillgängligheten */
.service-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* "cirkeln" */
.service-radio span::before {
    content: "";
    display: inline-block;
    width: 30px;   /* yttre diameter */
    height: 30px;
    border-radius: 50%;
    box-sizing: border-box;
    
    border: 8px solid var(--ring-color, #111111); /* ← tjocklek + färg */
    background-color: transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    margin-right: 16px;
    vertical-align: middle;
}

/* fyll cirkeln när vald */
.service-radio input[type="radio"]:checked + span::before {
    background-color: var(--ring-color, #111111);
}

/* valfritt: ändra textfärg när aktiv */
.service-radio input[type="radio"]:checked + span {
    font-weight: 600;
}

.plats-img{
    margin-top:50px;
}

.custom-map-title{
    font-size: 36px !important;
}
@media only screen and (max-width: 991px){
    .plats-inner-container{
        flex-direction: column;       
    }   
    .info-container{
        width:100%;
    }
    .map-container{
        width:100%;
        max-width: 100% !important;
    }
}