.wpdc-wrapper { 

    padding: 0px; 
    border-radius: 5px; 


}


.wpdc-form { 
    display: flex; 
    gap: 8px; 
    align-items: end; 
    margin-bottom: 12px; 
    flex-wrap: wrap; 
}


.wpdc-form label { 
    flex: 1 1 320px; 
    display: grid; 
    gap: 6px; 
}

.wpdc-form span{
	font-size:28px;
	margin-bottom:20px;
		  font-family: 'ClashDisplay-Light' !important;
	  font-weight: 400 !important;
  font-display: swap;
  font-style: normal;
}


.wpdc-form input[type="text"]{
    padding: 12px 15px; 
    border: 0; 
    border-radius: 3px; 
    width: auto; 
   flex-basis: auto;
	 color:#fff;
	background-color:#9f9a7e;
	font-size:18px;
}

.wpdc-form input::placeholder{
	color:#d2d2c8;
}


.wpdc-submit { 
  flex-basis: auto;
    padding: 10px 14px; 
    border: 0; 
    background: #402E2A; 
    color: #fff; 
    border-radius: 3px; 
    cursor: pointer; 
		font-size:16px;
}


.wpdc-results {
    font-size: 16px;
}


.wpdc-summary { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2px; 
    margin:40px 0px 10px 0px;
		
}


.wpdc-summary strong{
		font-family: 'Satoshi-Regular' !important;
	  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

.wpdc-table { 
    width: 100%; 
    border-collapse: collapse; 
}


.wpdc-table th, .wpdc-table td { 
    border-bottom: 0.5px solid black; 
    padding: 8px 0px; 
	text-align: left; 
}


.wpdc-table th { 
	font-size:24px;
		  font-family: 'ClashDisplay-Light' !important;
	  font-weight: 400 !important;
  font-display: swap;
  font-style: normal;
	text-transform:capitalize;
	
}


@media (max-width: 640px) {
  .wpdc-form {
    gap: 10px;
    align-items: stretch;
  }

  .wpdc-form label { flex: 1 1 100%; }
  .wpdc-form input[type="text"] { width: 100%; }
  .wpdc-submit { width: 100%; font-size: 17px; padding: 14px 16px; }

  .wpdc-table, 
  .wpdc-table thead, 
  .wpdc-table tbody, 
  .wpdc-table th, 
  .wpdc-table td, 
  .wpdc-table tr {
    display: block;
  }

  .wpdc-table thead { 
    /* hide header row but keep for accessibility */
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
  }

  .wpdc-table tr { 
        border-bottom: 1px solid #000;
    padding: 10px 0;
    margin-bottom: 10px;
  }

  .wpdc-table td {
    border: 0;
    padding: 6px 0;
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr; /* label / value */
    gap: 8px;
  }

  /* Add labels via nth-child — adjust if you change column order */
  .wpdc-table td:nth-child(1)::before { content: "Reisemåte"; font-weight: 600; }
  .wpdc-table td:nth-child(2)::before { content: "Avstand"; font-weight: 600; }
  .wpdc-table td:nth-child(3)::before { content: "Tid";      font-weight: 600; }
  .wpdc-table td:nth-child(4)::before { content: "Reiseplan";    font-weight: 600; }

  /* Make the link row look tidy on mobile */
  .wpdc-table td:nth-child(4) a,
  .wpdc-table td:nth-child(4) a.wpdc-gmap {
    margin-top: 2px;

  }
	
	.wpdc-table td a{
		font-size:16px;
	}
	
	.wpdc-table td a:after{
		display:none;
	}
	
	.wpdc-form span{
	    font-size:22px;
	}
}

/* Optional: slightly larger tap targets for links on touch */
@media (pointer: coarse) {
  .wpdc-table a,
  .wpdc-table a.wpdc-gmap {
    padding: 6px 2px;
  }
}
