/*

Theme Name: Panta Rhei Scholen
Template: kadence
Author: Cloudwise
Version: 1.0.1
Text Domain: panta-rhei-scholen
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

:root {
}

.background-holder{
    background-position: center -70px !important;
}

#wrapper #masthead{
    z-index:200;
}

.entry-content .wp-block-kadence-rowlayout:not(.alignfull):not(.alignwide) > .kt-row-column-wrap.kb-theme-content-width {
  padding-left: 0;
  padding-right: 0;
}



body:not(.home) .entry-content .wp-block-kadence-image:not(.image-is-svg):not(:has(.kb-is-ratio-image)){
  position: relative;
  width: fit-content;
  max-width: min(700px, 100%);
  margin-top: 40px !important;
  margin-bottom: 40px !important;

  img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 560px;
  }

  &::after {
    content: "";
    position: absolute;
    inset: -20px;
    background-image: url("images/essesteijn/Afbeeldingkader1.svg#svgView(preserveAspectRatio(none))");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
  }
}

.headerblock__inner {
  max-width: calc(1280px / 2  - 20px); 
  padding-left: 20px;/* halve container − padding − halve gap */

  h1{
    margin-top:5px !important;
  }
}

@media(max-width:768px){
  .headerblock--no-text .headerblock__content{
    padding-bottom:30px !important;
  }
}

.pr-badge-wrap{
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    height: 0;
    z-index: 5;
}
.pr-badge{
    position: absolute;
    right: 20px;
    top: -70px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    transform: rotate(-8deg);
    transition: transform .2s;
}
.pr-badge:hover{ transform: rotate(0) scale(1.05); }
.pr-badge img{ display:block; width:100%; height:100%; border-radius:50%; }

@media (max-width: 768px){
    .pr-badge-wrap{ height: auto; display: flex; justify-content: center; padding: 10px 0; }
    .pr-badge{ position: static; width: 100px; height: 100px; }
}

/* Losse link in een alinea = knop, in de kleuren van de school */
.entry-content p > a.btn-link{
    display: inline-block;
    line-height: 44px;
    font-size: 16px;
    padding: 0 20px;
    margin: 0 16px 16px 0;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none !important;
    background-color: var(--buttonachtergrond);
    transition: all .3s ease;
}
.entry-content p > a.btn-link:hover{
    background-color: var(--buttontekst);
    color: var(--buttonachtergrond);
}