/*
Theme Name: Showapp Child
Theme URI: https://templatemonster.com
Template: Showapp Wordpress Theme
Author: themevella
Author URI: https://www.templatemonster.com/authors/themevella/
Description: A premium WordPress theme for App and software showcase service and many more
Tags: App and software showcase,wordpress theme
Version: 1.0.0.1687572056
Updated: 2023-06-24 02:00:56
*/

/* ---------- Base styles ---------- */
.junior-monkeys-overview {
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.monkeys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.monkey-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96));
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow, 0 6px 22px rgba(17,17,17,0.08));
  padding: 1rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  overflow: hidden;
}

.monkey-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(91,46,138,0.12);
}

.monkey-card img,
.monkey-card .post-thumbnail img {
  width: 100%;
  max-width: 280px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(91,46,138,0.08);
}

.monkey-card h2 {
  margin: 0.25rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-purple, #5B2E8A);
}

.monkey-card p {
  margin: 0;
  color: #ffffff; /* wit */
  opacity: 0.85;
  font-size: 0.95rem;
}

.monkey-card a {
  margin-top: auto;
  display: inline-block;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--mid-purple, #8F56C9), var(--deep-purple, #5B2E8A));
  color: var(--white, #fff);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.monkey-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(91,46,138,0.18);
}

/* ---------- Theme Variables ---------- */
:root {
  --deep-purple: #5B2E8A;     
  --mid-purple:  #8F56C9;     
  --lavender:    #DCC8F5;     
  --accent:      #FF6B3C;     
  --text-dark:   #ffffff;     
  --white:       #ffffff;
  --container-max: 1200px;
  --radius: 12px;
  --shadow: 0 6px 22px rgba(17,17,17,0.08);
}

/* ---------- Layout / Scope ---------- */
body.post-type-junior_monkey,
body.post-type-archive-junior_monkey {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #ffffff; /* tekst standaard wit */
  background: var(--white);
}

/* ---------- Archive / overzicht ---------- */
body.post-type-archive-junior_monkey .junior-monkeys-overview {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

body.post-type-archive-junior_monkey .junior-monkeys-overview > h1 {
  margin: 0 0 2rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
  background: linear-gradient(90deg, var(--deep-purple), var(--mid-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Grid */
body.post-type-archive-junior_monkey .monkeys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.6rem;
  align-items: stretch;
}

/* ---------- Single profile ---------- */
body.single-junior_monkey .junior-monkey-profile {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
  color: #ffffff; /* tekst wit */
}

/* Profile header moet wel centreren met max-width */
body.single-junior_monkey .junior-monkey-profile > *:not(.profile-portfolio):not(.profile-content) {
  max-width: 1200px;
  padding: 0 2rem;
}

/* Overschrijf de grid en centreer alles */
body.single-junior_monkey .junior-monkey-profile .profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

body.single-junior_monkey .junior-monkey-profile .profile-header img,
body.single-junior_monkey .junior-monkey-profile .profile-header .post-thumbnail img {
  max-width: 400px;
  width: 100%;
  margin: 0 auto 1rem;
  display: block;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

body.single-junior_monkey .junior-monkey-profile .profile-header h1,
body.single-junior_monkey .junior-monkey-profile .profile-header .meta,
body.single-junior_monkey .junior-monkey-profile p,
body.single-junior_monkey .junior-monkey-profile blockquote,
body.single-junior_monkey .junior-monkey-profile li,
body.single-junior_monkey .junior-monkey-profile small {
  color: #ffffff;
}

/* Links wit met hover accent */
body.single-junior_monkey a {
  color: #ffffff;
  text-decoration-color: rgba(255,255,255,0.65);
}
body.single-junior_monkey a:hover {
  color: #DCC8F5;
}

/* Blockquote wit */
body.single-junior_monkey .profile-content blockquote {
  color: #ffffff;
  border-left-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .profile-header {
    grid-template-columns: 1fr;
  }
  .profile-header img {
    max-height: 420px;
  }
  .monkey-card {
    min-height: auto;
  }
  body.post-type-archive-junior_monkey .junior-monkeys-overview > h1 {
    font-size: 1.6rem;
  }
}

/* ---------- Accessibility / contrast tweaks ---------- */
.monkey-card h2,
.profile-header h1 {
  text-rendering: optimizeLegibility;
}

/* Achtergrond toevoegen aan single monkey profielpagina's */
body.single-junior_monkey {
  /* Consistente font-family */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 
  /* Volledige hoogte */
  min-height: 100vh;
  /* Verticale gradient van boven naar beneden */
  background: linear-gradient(to bottom, #59258D 0%, #430372 100%);
  /* Optioneel: zorgt dat de achtergrond mooi de hele pagina vult */
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;

  /*background: url('/wp-content/themes/ShowappWordpressTheme-child/achtergrond_profiel.jpg')
              no-repeat center center fixed;*/
  background-size: cover;
}


/* === Portfolio layout: tekst links, afbeelding rechts === */
.portfolio-body {
  padding: 2rem 1rem;
  background: linear-gradient(to bottom, #59258D 0%, #430372 100%);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #ffffff;
}

.portfolio-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  overflow: unset;
  padding: 2rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Tekst links */
.portfolio-text {
  flex: 1 1 55%;
}

.portfolio-section {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-content {
  color: #ffffff;
  line-height: 1.7;
}

/* Afbeelding rechts */
.portfolio-image {
  flex: 1 1 40%;
  text-align: right;
}

.portfolio-image img.inline-shot {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* === Responsive (onder elkaar op mobiel) === */
@media (max-width: 768px) {
  .portfolio-wrapper {
    flex-direction: column-reverse; /* afbeelding onder tekst */
    padding: 1.5rem;
  }

  .portfolio-image {
    text-align: center;
  }

  .section-title {
    font-size: 1.25rem;
  }
}

.junior-monkey-extra-content.content-centered {
  max-width: 1500px;       /* Zorgt voor een nette breedte */
  margin: 0 auto 120px;   /* Centreert horizontaal + ruimte tot footer */
  padding: 2rem;          /* Ruimte rondom de content */
  text-align: left;       /* Houd tekst netjes links uitgelijnd */
  line-height: 1.6;       /* Leesbare regelafstand */
  font-size: 1.1rem;      /* Iets professioneler letterformaat */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #ffffff;
  background-color: #59258D; /* Optioneel: rustige achtergrond */
  box-shadow: 0 2px 8px rgb(255, 255, 255); /* Subtiele schaduw voor professionaliteit */
  border-radius: 8px;     /* Zachte hoeken */
}
.junior-monkey-extra-content.content-centered * {
  color: #ffffff;
}
.junior-monkey-extra-content.content-centered h2,
.junior-monkey-extra-content.content-centered h3 {
  text-align: center;     /* Kopjes gecentreerd voor balans */
  margin-bottom: 1rem;
  color: #ffffff;
}
.junior-monkey-extra-content.content-centered p {
  margin-bottom: 1.2rem;  /* Ruimte tussen alinea's */
  color: #ffffff;
}

/* Zorg dat de labels Opleiding en Startperiode wit zijn */
body.single-junior_monkey .junior-monkey-profile .profile-header p strong {
  color: #ffffff;   /* wit */
}

/* Profile content - beperkt voor leesbaarheid van tekst */
body.single-junior_monkey .profile-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 3rem;
}



/* Profile content blockquote en beschrijving */
body.single-junior_monkey .profile-content > blockquote,
body.single-junior_monkey .profile-content > p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Portfolio sectie - NIET NODIG, inline in PHP */

/* Visual Portfolio containers - forceer breedte */
body.single-junior_monkey .vp-portfolio,
body.single-junior_monkey .vp-portfolio__items-wrap,
body.single-junior_monkey .vp-portfolio__items {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 10px !important;           /* ruimte tussen portfolio items */
  row-gap: 10px !important;
  column-gap: 10px !important;
}

/* Forceer grid layout zodat gaps werken i.p.v. absolute positioning van plugin */
body.single-junior_monkey .vp-portfolio__items {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-auto-rows: 1fr;
}

/* Zet item wrappers statisch zodat grid-gap effect heeft */
body.single-junior_monkey .vp-portfolio__item-wrap {
  position: static !important;
  width: 100%;
  height: 100%;
}

/* Forceer grotere kolommen */
body.single-junior_monkey .vp-portfolio__items .vp-portfolio__item {
  min-width: calc(50% - 5px);
  flex: 0 0 calc(50% - 5px);
}

/* Individuele portfolio item kaarten - past zich aan aan afbeelding */
body.single-junior_monkey .vp-portfolio__item {
  border-radius: 12px;   /* lichte afronding zoals de monkey-foto */
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(91, 46, 138, 0.35); /* zelfde tint als achtergrond, geen witte randen */
  transition: all 0.3s ease;
  background: #59258D;  /* match page background so hoeken blijven consistent */
  min-height: 200px;
  height: auto;
  width: 100%;
  padding: 0;
  margin: 0;
  margin-bottom: 10px; /* verticale ruimte tussen items */
  display: flex;
  flex-direction: column;
}

body.single-junior_monkey .vp-portfolio__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(91, 46, 138, 0.35);
}

/* Verberg overlay/zwarte vlak ALTIJD */
body.single-junior_monkey .vp-portfolio__item-overlay,
body.single-junior_monkey .vp-portfolio__item .vp-portfolio__item-overlay,
body.single-junior_monkey .vp-portfolio__item-meta-overlay {
  display: none;
  opacity: 0;
  visibility: hidden;
}

/* Afbeeldingen groot en mooi */
body.single-junior_monkey .vp-portfolio__item img,
body.single-junior_monkey .vp-portfolio__item-img img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;          /* voorkomt paarse hoekjes */
  background-color: #59258D;  /* zelfde kleur als achtergrond om lekken te voorkomen */
  border-radius: 12px;       /* zelfde afronding als de container */
  transition: transform 0.4s ease;
  display: block;
}

/* Zorg dat de figuur zelf geen witte rand toont */
body.single-junior_monkey .vp-portfolio__item figure,
body.single-junior_monkey .vp-portfolio__item .vp-portfolio__item-img-wrap,
body.single-junior_monkey .vp-portfolio__item .vp-portfolio__item-img {
  background: #59258D;
  border-radius: 12px;
}

body.single-junior_monkey .vp-portfolio__item:hover img {
  transform: scale(1.06);
}

/* Portfolio tekst onder afbeelding */
body.single-junior_monkey .vp-portfolio__item h3,
body.single-junior_monkey .vp-portfolio__item-meta-title,
body.single-junior_monkey .vp-portfolio__item-meta-title a {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

/* Responsive - 1 kolom op kleine schermen */
@media (max-width: 1100px) {
  body.single-junior_monkey .profile-portfolio {
    padding: 0 2rem;
  }
}

/* End of MonkeyMind-styled CSS */

/* Hero title styling */
.hero-title {
  color: #ffffff;
}

/* Responsive - 1 kolom op kleine schermen */
@media (max-width: 1100px) {
  body.single-junior_monkey .profile-portfolio {
    padding: 0 2rem;
  }
}

/* End of MonkeyMind-styled CSS */

/* Hero title styling */
.hero-title {
  color: #ffffff;
}

/* --- Single Portfolio: titel niet tegen header/zijkant --- */
body.single-portfolio .portfolio-hero {
  padding: 3.5rem 0 2rem;
}

body.single-portfolio .hero-overlay {
  width: 100%;
}

body.single-portfolio .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

body.single-portfolio .hero-title {
  margin: 0;
  line-height: 1.1;
}

body.single-portfolio .hero-subtitle,
body.single-portfolio .hero-tagline {
  margin: 0.75rem 0 0;
}

body.single-junior_monkey .profile-portfolio {
  margin-bottom: 160px; /* ruimte buiten het blok */
}
