/*
 Theme Name:   Twenty Nineteen Child
 Theme URI:    http://example.com/twenty-nineteen-child/
 Description:  Twenty Nineteen Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     twentynineteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-nineteen-child
*/

@font-face {
  font-family: groteskmedium;
  src: url("https://leesmetleeuwendaal.nl/wp-content/themes/twentynineteen-child/fonts/HKGrotesk-Medium.woff") format('woff');
}

@font-face {
  font-family: grotesksemibold;
  src: url("https://leesmetleeuwendaal.nl/wp-content/themes/twentynineteen-child/fonts/HKGrotesk-SemiBold.woff") format('woff');
}
@font-face {
  font-family: groteskbold;
  src: url("https://leesmetleeuwendaal.nl/wp-content/themes/twentynineteen-child/fonts/HKGrotesk-Bold.woff") format('woff');
}
  
@font-face {
  font-family: robotomedium;
  src: url("https://leesmetleeuwendaal.nl/wp-content/themes/twentynineteen-child/fonts/RobotoSlab-Medium.ttf") format('truetype');
}

@font-face {
  font-family: robotoregular;
  src: url("https://leesmetleeuwendaal.nl/wp-content/themes/twentynineteen-child/fonts/RobotoSlab-Regular.ttf") format('truetype');
  
}
/* White overall background */
body {
  background-color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #272727;
  line-height: 1.4;
}

.site-header {
  padding: 1em;
}

/* Container for widths */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* --- Simple Banner Section --- */
.home-header {
  position: relative;
  margin-bottom: 1em;
  /* no special clip-path or shapes */
}

/* Center the banner images */
.hero-banners {
  text-align: center;
}

/* Desktop banner is visible by default, mobile is hidden */
.banner-desktop {
  width: 100%;
  height: auto;
  display: block;
}
.banner-mobile {
  width: 100%;
  height: auto;
  display: none;
}

/* Show the mobile banner at smaller breakpoints, hide the desktop one */
@media (max-width: 768px) {
  .banner-desktop {
    display: none;
  }
  .banner-mobile {
    display: block;
  }
}

/* --- Genre Grid Overview (unchanged from your existing approach) --- */
.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.genre-card {
  position: relative;
  margin: 1em;
  text-align: center;
  background: #fff;
  overflow: visible; 
  border-radius: 0; 
}

.card-top {
  position: relative;
  background: #fff;
  height: 250px; 
}

.genre-image {
  position: absolute;
  left: 50%;
  bottom: -3em; 
  transform: translateX(-50%);
  z-index: 1;
}

.genre-image img {
  max-width: 200px; 
  height: auto;
}

.card-bottom {
  background: #f0f0f0;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 4em;
  padding-bottom: 2em;
  border-radius: 0;

  /* Ensures enough space for up to two lines */
  min-height: 3em; /* adjust as needed */
}

a, a:visited, a:hover, a:active {
  text-decoration: none;
}

.genre-name {
  margin: 0;
  font-family: groteskbold, sans-serif;
  font-size: 1.2em;
  color: #272727;
  text-decoration: none;
}

/* Pink button at the bottom */
.all-books-btn {
  text-align: center; 
  margin-top: 30px;
}
.btn-bestel {
  display: inline-block;
  background-color: #ff6d76;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
}

/* Responsive: fewer columns on smaller screens */
@media (max-width: 992px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background-color: #fff;
  padding: 20px 0;
  
  text-align: center;
  font-size: 14px;
  color: #525252;
}
/* Button styles for opening a book page */
.btn-open-book {
  display: inline-block;
  background-color: #ff6d76;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  margin-top: 1em;
  border-radius: 4px;
  font-size: 16px;
}

/* Existing styles for .all-books-btn and .btn-bestel remain */
.all-books-btn {
  text-align: center; 
  padding:2em;
  margin-top: 30px;
}

.btn-bestel {
  display: inline-block;
  background-color: #ff6d76;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
}


/* Wrap everything in a light grey background */
.genre-page-wrapper {
  background: #f5f5f5;
  padding: 2em 0;
}

.full-width-bg {
  width: 100%;
  margin: 0;
  padding: 2em 0;
  
}

/* Container for the title & back link */
.genre-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
}

.genre-title {
  font-size: 2rem;
  margin: 0;
}

.back-link {
  font-size: 1rem;
  text-decoration: none;
  color: #333;
  background: #e0e0e0;
  padding: 0.5em 1em;
  border-radius: 4px;
}

/* The grid of books */
.genre-books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns for bigger screens */
  gap: 3em;
}

/* Each book card */
.book-card {
  position: relative;
  background: #fff;
  border-radius: 8px; /* slight rounding */
  overflow: visible;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Slanted tip banner at the top */
.tip-banner {
  background: #35c6d4; /* your aqua or any color */
  color: #fff;
  font-weight: bold;
  padding: 0.5em 1em;
  transform: skew(-10deg);
  transform-origin: left;
  width: 80px;
  /* If you want the text unskewed, you can nest another element with reverse skew. */
}

/* Book card body (padding for content) */
.book-card-body {
  padding: 1em;
  text-align: center;
}

/* Optional: unskew the text in the banner 
.tip-banner span {
  display: inline-block;
  transform: skew(10deg);
}
*/

/* Colleague function styling */
.tip-function {
  font-style: italic;
  margin: 0.5em 0;
}

/* Cover image */
.book-cover {
  max-width: 160px;
  margin: 1em auto;
  display: block;
}

/* Title, writer, desc */

.book-writer {
  /* font-weight: bold; */
  margin-bottom: 0.5em;
  color: #555;
}

.book-desc {
  font-size: 0.9rem;
  color: black;
  padding:1em;
  text-align: left;
  line-height: 1.7em;
}



.book-card-buttons {
  /* Stack buttons vertically and center them horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* space between the two buttons */
  margin-top: 1em;
}

/* Common button styling */
.book-card-buttons a {
  /* Both buttons get the same fixed width */
  width: 150px;  
  text-align: center;
  padding: 0.6em 0; /* vertical padding only */
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  box-sizing: border-box; /* ensures padding doesn’t add to total width */
}

/* “Lees meer” button: outline style */
.btn-leesmeer {
  background-color: #fff;
  color: #444;
  border: 1px solid #444;
}

/* “Bestel” button: solid pink */
.btn-bestel {
  background-color: #ff6d76;
  color: #fff;
  border: none;
}
/* Responsive: fewer columns on smaller screens */
@media (max-width: 992px) {
  .genre-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .genre-books-grid {
    grid-template-columns: 1fr;
  }
}
/* Button styles for opening a book page */
.btn-open-book {
  display: inline-block;
  background-color: #ff6d76;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  margin-top: 1em;
  border-radius: 4px;
  font-size: 16px;
}

/* Existing styles for .all-books-btn and .btn-bestel remain */
.all-books-btn {
  text-align: center; 
  margin-top: 30px;
}

.btn-bestel {
  display: inline-block;
  background-color: #ff6d76;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
}


/* Book Card Structure */
.book-card {
  position: relative; /* needed for absolutely positioned child elements */
  display: flex;
  flex-direction: column;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: visible;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tip-banner {
  position: absolute;
  top: -10px;               /* moves it 10px above the card */
  left: 50%;                /* center horizontally */
  transform: translateX(-50%) skew(-10deg); 
  background: #35c6d4;
  color: #fff;
  font-weight: bold;
  padding: 0.4em 0.8em;     /* narrower padding so it's less wide overall */
  
  box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* optional shadow */
  text-align: center;
  z-index: 2;               /* ensure it’s above the card body */
  transform-origin: center;  /* so the skew is centered */
}

/* Make the body a flex container so content and buttons can be separated */
.book-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1em;
}

/* Main content container that grows, pushing buttons to bottom */
.book-card-content {
  flex: 1;
}

/* Buttons container, pushed to bottom using margin-top: auto */
.book-card-buttons {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Common button styling */
.book-card-buttons a {
  display: block;
  width: 150px;  
  text-align: center;
  padding: 0.6em 0;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  box-sizing: border-box;
}

/* Inverted Lees meer button */
.btn-leesmeer {
  background-color: #fff;
  color: #444;
  border: 1px solid #444;
}

/* Bestel button */
.btn-bestel {
  background-color: #ff6d76;
  color: #fff;
  border: none;
}


.adviseur-lijn {
  margin-left: 2em;
  margin-right: 2em;
  color: #35c6d4;
  border-color: #35c6d4;
  /* border: none; */
  border-width: 0.5px;
  
  height: 0px;


}


/* Full-width grey background */
.genre-page-wrapper {
  width: 100%;
  background: #f5f5f5;
  padding: 2em 0;
}

/* Header row at top: "Alle Boeken" + "Terug" link */
.genre-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2em;
}
.genre-title {
  font-size: 2rem;
  margin: 0;
}
.back-link {
  font-size: 1rem;
  text-decoration: none;
  color: #333;
  background: #e0e0e0;
  padding: 0.5em 1em;
  border-radius: 4px;
}

/* White card with two columns */
.single-book-card {
  background: #fff;
  border-radius: 8px;
  padding: 2em;
  display: flex;
  gap: 2em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Left column: cover */
.book-cover-column img {
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* Right column: info */
.book-info-column {
  flex: 1; /* fill remaining space */
  display: flex;
  flex-direction: column;
}

/* Slanted “Tip van” banner */
.tip-banner-single {
  display: inline-block;
  background: #35c6d4;
  color: #fff;
  font-weight: bold;
  padding: 0.4em 0.8em;
  transform: skew(-10deg);
  transform-origin: left center;
  margin-bottom: 0.5em;
  text-align: center;
  width: 80px;
}
.tip-banner-single span {
  display: inline-block;
  transform: skew(10deg); /* unskew the text if desired */
  text-align: center;
}


.tip-banner span {
  display: inline-block;
  transform: skew(10deg); /* unskew the text if desired */
}
/* Advisor name + horizontal line */
.advisor-name {
  font-weight: bold;
  /* margin-bottom: 0.5em; */
}
.advisor-separator {
  border: none;
  border-top: 2px solid #35c6d4;
  margin: 0em 5em;
}

/* Title, author, description */
.book-title {
  font-size: 1.2rem;
  margin: 0 0 0.2em;
}
.book-author {
  font-weight: bold;
  margin: 0 0 0em;
}
.book-description {
  flex: 1;
  margin-bottom: 1em;
  line-height: 1.7em;
}

.boeksectie{
  padding:1em 5em;
}
.adviseursectie{
  padding:1em 5em;
  text-align:right;
}

.bestelsectie{
  padding:1em 5em;
  text-align:right;
}
/* “Bestel” button */
.book-buttons {
  margin-top: 1em;
}
.btn-bestel {
  display: inline-block;
  background-color: #ff6d76;
  color: #fff;
  text-decoration: none;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
}

/* Responsive: stack columns on smaller screens */


.advisor-name ,.functie-name{
  margin: 0 0;
}


/* A wrapper to center and style the form container */
.boeken-form-wrapper {
  max-width: 700px;     /* adjust as needed */
  margin: 0 auto;       /* center horizontally */
  background: #f9f9f9;  /* light gray background */
  padding: 2em;
  border-radius: 8px;
}

/* Optional heading style */
.boeken-form-wrapper h2 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 1em;
  text-align: center; /* or left, if you prefer */
}

/* Label styling (if your CF7 form uses <label> tags) */
.boeken-form-wrapper .wpcf7-form label {
  display: block;
  margin: 1em 0 0.4em;
  font-weight: 600;
}

/* Text fields, select, textarea */
.boeken-form-wrapper input[type="text"],
.boeken-form-wrapper input[type="email"],
.boeken-form-wrapper input[type="url"],
.boeken-form-wrapper input[type="tel"],
.boeken-form-wrapper input[type="number"],
.boeken-form-wrapper select,
.boeken-form-wrapper textarea {
  width: 100%;
  padding: 0.6em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Submit button */
.boeken-form-wrapper .wpcf7-submit {
  display: inline-block;
  background-color: #ff6d76; /* match your pink brand color */
  color: #fff;
  text-decoration: none;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.boeken-form-wrapper .wpcf7-submit:hover {
  background-color: #ff4d60; /* slightly darker pink on hover */
}


.minibanner {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-50%);
  width: 300px; /* adjust this width as needed */
  max-width: 100%;
}

.minibanner-wrapper {
  position: relative;
  /* padding: 0 0 0 0; */
  padding-top: -4em;
}

.genre-page-wrapper{
  padding-top:0;
}



@media (max-width: 768px) {
  .single-book-card {
    flex-direction: column;
    align-items: center;
  }
  .book-cover-column img {
    max-width: 100%;
    margin-bottom: 1em;
  }

  .minibanner {
    position: relative;
    padding-top:1em;
    max-width: 100%;
  }

  .boeksectie{
    padding: 1em;
  }

  .adviseursectie{
    padding: 1em;
    text-align:right;
  }

  .advisor-separator {
    
    margin: 0em 2em;
  }
  
}
.footer-image{
  width:100%;
}

.aanbod{
  font-size: 1.2em;
  padding: 0.9em 1.5em;
}


/* reset any container padding on the footer itself */
.site-footer {
  padding: 0;
  margin: 0;
}

.foot-nopad {
  padding-top: 0;
}

/* this is the full-bleed background band */
.footer-full-width {
  width: 100%;
  background-color: #0BB7CF;  /* <-- your desired solid color */
  padding: 0 0;             /* vertical space above/below the image */
}


/* make the image fluid inside the container */
.footer-image {
  width: 100%;
  height: auto;
  display: block;
}

body {
  margin: 0;
}


.hero-banners{
  padding-top:0;
  padding-bottom:0;
}

.site-header{
  padding-bottom:0;
}

.onderbanner{
  /* padding-top:0; */
  position: relative;       /* establish positioning context */
  /* ... your existing width/max-width/margins/padding ... */
}

.onderbanner::before {
  content: "";
  position: absolute;
  top: 0;                   /* flush with the very top of the container */
  left: 50%;                /* start at the container’s horizontal center */
  width: 100vw;             /* full viewport width */
  height: 0.5px;              /* or however thick you want the line */
  background-color: #AAA;
  transform: translateX(-50%);
  /* no pointer-events so it doesn’t interfere with clicks */
  pointer-events: none;
}