/*
 Theme Name:   twentytwentyfive-child
 Template:     twentytwentyfive
 Version:      1.0
 Description:  A child theme for Twenty Twenty-Five
*/
.no-padding{
    padding-right: 0 !important;
    padding-left: 0 !important;
}
nav.surfglobe-breadcrumbs a {
    font-size: 1rem !important;
}
nav.surfglobe-breadcrumbs{
    font-size: 1rem !important;
}
#surfglobe-map{
    border-radius: 10px;
}
main h1{
    display: inline-block;
    position: relative;
    padding: 0px;
    /* box-shadow: inset 0 -0.3em 0 0 #5e85be;
    box-shadow: inset 0 -0.3em 0 0 #ed5612;
    box-shadow: inset 0 -0.3em 0 0 #054fb0;
    box-shadow: inset 0 -0.3em 0 0 #babcc8; 
    box-shadow: inset 10px -0.3em 0 0 #ef4b007d; */

}

main h1::before{
    content: ""; 
    position: absolute;
    left: 15px; /* Zorgt ervoor dat de 'underline' pas 10px vanaf links begint */
    bottom: 0;
    width: calc(100% - 0px); /* Zorgt ervoor dat de achtergrond niet de volledige breedte pakt */
    height: 0.4em; /* Dikte van de 'underline' */
    background-color: #ef4b007d; /* Dezelfde kleur als je box-shadow */
    z-index: -1; /* Plaatst het achter de tekst */
}

header{
    border-bottom: 1px solid #8080802e;
}


.underline_blue {
    display: inline-block;
    position: relative;
    padding: 0px;
    text-align: center;
}
.underline_blue::before{
    content: ""; 
    position: absolute;
    left: 15px; /* Zorgt ervoor dat de 'underline' pas 10px vanaf links begint */
    bottom: 0;
    width: calc(100% - 0px); /* Zorgt ervoor dat de achtergrond niet de volledige breedte pakt */
    height: 0.4em; /* Dikte van de 'underline' */
    background-color: #5e85be6e; /* Dezelfde kleur als je box-shadow */
    z-index: -1; /* Plaatst het achter de tekst */
}
li.no_bullet{
    list-style-type: none;
}

.surf-school-image img{
    border-radius:10px;
}
.surf-schools-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.surf-school h2 {
    font-size: 1.5em;
}

.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination li {
    display: inline;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Zorgt ervoor dat tekst op één regel blijft */
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.pagination a:hover {
    background-color: #e0e0e0;
}

.pagination .current {
    font-weight: bold;
    background-color: #333;
    color: white;
    border-color: #333;
}



.surf-schools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.surf-school-card {
    display: block;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
   
}

.surf-school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.surf-school-image img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;

    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.surf-school-card h2 {
    font-size: 1.6rem;
    margin: 10px 0 5px;
    font-weight: 300;
}

.surf-school-card h2.underline_blue {
    display: inline-block;
    position: relative;
    padding: 0px;
    text-align: center;
    position: relative;
  
}
.surf-school-card h2.underline_blue::before{
    content: "";
    position: absolute;
    left: 15px;
    bottom: -4px;
    width: calc(100% - 0px);
    height: 0.2em;
    background-color: #5e85be6e;
    z-index: -1;
}


.surf-school-card p {
    font-size: 0.95rem;
    color: #555;
}


.surf-school-image {
    width: 100%;
    height: 150px; /* vaste hoogte */
    overflow: hidden;
    border-radius: 8px;
}

.surf-school-city {
    font-size: 0.9rem;
    color: #666;
    margin: 4px 0 10px;
}


.view-toggle {
    display: flex;
    justify-content: flex-end; /* rechts uitlijnen */
    align-items: center;
    gap: 0; /* geen ruimte tussen knoppen zelf */
    margin: 0 20px 20px;
    background: white;
}

.view-link {
    background-color: white;
    border: none;
    padding: 8px 14px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-link.active {
    font-weight: bold;
    color: #054fb0;
}

.view-separator {
    width: 1px;
    height: 24px;
    background-color: #ccc;
    margin: 0 8px;
}

.child-region-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px auto;
    max-width: 100%;
}

.child-region-buttons .wp-block-button {
    margin: 0;
}

.child-region-buttons .wp-block-button__link {
    display: inline-block;
    padding: 8px 18px;
    background-color: #000;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}



  #surfglobe-search {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
  }
  
  #surfglobe-search-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    border: 2px solid #ccc;
    border-radius: 30px;
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: border-color 0.3s ease;
  }
  
  #surfglobe-search-input:focus {
    border-color: #5e85be;
  }
  
  #surfglobe-search-results {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    border: 1px solid #ddd;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: none;
  }
  
  .search-result a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
  }
  
  .search-result a:hover {
    background-color: #f5faff;
  }
  
  .icon-left {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
  }
  #surfglobe-search-results:empty {
    display: none;
  }

  .wp-block-cover{
    overflow-block:visible;
    text-align:center;
  }

  .social-links {
    margin-top: 12px;
    display: flex;
    gap: 14px;
    justify-content: center;
  }
  
  .social-links a {
    color: #333;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: #5e85be;
  }
  
  .social-links .icon {
    width: 24px;
    height: 24px;
  }
  