/*
Theme Name: Creatieve Esther Astra Child
Theme URI: https://creatievetijdvoorjezelf.nl/
Description: Child theme voor Astra met zachte blauw/goud huisstijl, blogblokken en Gutenberg block patterns voor Creatieve Tijd voor Jezelf.
Author: Esther van der Ham
Template: astra
Version: 1.0.5
Requires at least: 6.0
Text Domain: creatieve-esther-astra-child
*/

/* =========================
   Creatieve Tijd voor Jezelf - basisvariabelen
   ========================= */
:root{
  --ctvj-blauw:#4f8fb8;
  --ctvj-blauw-diep:#2f6f95;
  --ctvj-blauw-donker:#173746;
  --ctvj-blauw-zacht:#eef8fb;
  --ctvj-goud:#d8aa54;
  --ctvj-goud-zacht:#fff7e6;
  --ctvj-tekst:#37424a;
  --ctvj-rand:#dcecf2;
  --ctvj-wit:#ffffff;
}

/* =========================
   Rustige artikelbasis
   ========================= */
.ctvj-blog-wrap{
  max-width:920px;
  margin:0 auto;
  padding:20px 22px 60px;
  color:var(--ctvj-tekst);
  font-size:18px;
  line-height:1.75;
}

.ctvj-blog-wrap p{
  margin-bottom:1.05em;
}

.ctvj-blog-wrap h2{
  color:var(--ctvj-blauw-diep);
  font-size:32px;
  line-height:1.22;
  margin-top:2em;
  margin-bottom:.65em;
}

.ctvj-blog-wrap h3{
  color:var(--ctvj-blauw-diep);
  font-size:24px;
  line-height:1.25;
  margin-top:1.6em;
  margin-bottom:.65em;
}

.ctvj-blog-wrap a{
  color:var(--ctvj-blauw-diep);
  text-underline-offset:3px;
}

.ctvj-blog-wrap a:hover{
  color:var(--ctvj-goud);
}

html{
  scroll-behavior:smooth;
}

/* Titel temmen op losse berichten */
.single-post .entry-header,
.single-post .ast-single-post-order{
  margin-bottom:28px;
}

.single-post .entry-title{
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
  color:var(--ctvj-blauw-diep);
  line-height:1.12;
}

/* =========================
   Bouwstenen
   ========================= */
.ctvj-introblok{
  background:linear-gradient(135deg,var(--ctvj-blauw-zacht),var(--ctvj-goud-zacht));
  border:1px solid var(--ctvj-rand);
  border-radius:24px;
  padding:26px 28px;
  margin:10px 0 28px;
}

.ctvj-label{
  display:inline-block;
  background:var(--ctvj-wit);
  color:var(--ctvj-blauw-diep);
  border:1px solid var(--ctvj-rand);
  border-radius:999px;
  padding:6px 14px;
  font-size:14px;
  font-weight:700;
  margin-bottom:14px;
}

.ctvj-kort-antwoord{
  background:var(--ctvj-wit);
  border:1px solid var(--ctvj-rand);
  border-left:6px solid var(--ctvj-goud);
  border-radius:20px;
  padding:24px 26px;
  margin:26px 0 30px;
  box-shadow:0 8px 22px rgba(47,111,149,.07);
}

.ctvj-kort-antwoord strong{
  color:var(--ctvj-blauw-diep);
}

.ctvj-inhoudsknoppen{
  background:linear-gradient(135deg,var(--ctvj-blauw-zacht),var(--ctvj-goud-zacht));
  border:1px solid var(--ctvj-rand);
  border-radius:22px;
  padding:24px 26px;
  margin:28px 0 38px;
}

.ctvj-inhoudsknoppen-titel{
  color:var(--ctvj-blauw-diep);
  font-weight:700;
  margin:0 0 14px;
}

.ctvj-knoppen-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.ctvj-ankerknop{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--ctvj-wit);
  color:var(--ctvj-blauw-diep);
  border:1px solid var(--ctvj-rand);
  border-radius:999px;
  padding:10px 16px;
  text-decoration:none;
  font-weight:600;
  line-height:1.3;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
  transition:all .2s ease;
}

.ctvj-ankerknop:hover{
  background:var(--ctvj-blauw-zacht);
  color:var(--ctvj-blauw-diep);
  border-color:var(--ctvj-goud);
  transform:translateY(-1px);
}

.ctvj-tipblok,
.ctvj-wetenschap{
  background:#fbfdfe;
  border:1px solid var(--ctvj-rand);
  border-radius:20px;
  padding:24px 26px;
  margin:28px 0;
}

.ctvj-tipblok p:first-child,
.ctvj-wetenschap p:first-child{
  color:var(--ctvj-blauw-diep);
}

.ctvj-wetenschap{
  margin-top:30px;
  font-size:16.5px;
}

.ctvj-oefenblok{
  background:linear-gradient(135deg,var(--ctvj-blauw-zacht),var(--ctvj-goud-zacht));
  border:1px solid var(--ctvj-rand);
  border-radius:22px;
  padding:24px 26px;
  margin:30px 0;
}

.ctvj-tipblok h3,
.ctvj-oefenblok h3{
  color:var(--ctvj-blauw-diep);
  font-size:24px;
  line-height:1.25;
  margin-top:0;
  margin-bottom:14px;
}

.ctvj-tipblok ul,
.ctvj-tipblok ol,
.ctvj-oefenblok ul,
.ctvj-oefenblok ol{
  margin-bottom:0;
  padding-left:1.35em;
}

.ctvj-tipblok li,
.ctvj-oefenblok li{
  margin-bottom:.55em;
}

.ctvj-cta{
  background:linear-gradient(135deg,var(--ctvj-blauw-zacht),var(--ctvj-goud-zacht));
  border:1px solid var(--ctvj-rand);
  border-radius:24px;
  padding:26px 28px;
  margin:36px 0 10px;
}

.ctvj-cta strong,
.ctvj-cta a{
  color:var(--ctvj-blauw-diep);
  font-weight:700;
}

.ctvj-cta a{
  text-decoration-thickness:2px;
}

.ctvj-cta a:hover{
  color:var(--ctvj-goud);
}

.ctvj-blogbeeld{
  margin:32px 0;
}

.ctvj-blogbeeld img{
  border-radius:22px;
  border:1px solid var(--ctvj-rand);
  box-shadow:0 10px 28px rgba(47,111,149,.08);
}

/* =========================
   Algemene knoppen in CTvj-stijl
   Let op: bewust niet te agressief, zodat plugins niet breken.
   ========================= */
.ctvj-blog-wrap .wp-block-button__link,
.ctvj-cta .wp-block-button__link{
  background:var(--ctvj-blauw-diep);
  color:var(--ctvj-wit);
  border-radius:999px;
  padding:12px 22px;
  font-weight:700;
  box-shadow:0 8px 20px rgba(47,111,149,.14);
}

.ctvj-blog-wrap .wp-block-button__link:hover,
.ctvj-cta .wp-block-button__link:hover{
  background:var(--ctvj-goud);
  color:var(--ctvj-blauw-donker);
}

@media(max-width:768px){
  .ctvj-blog-wrap{
    max-width:100%;
    padding:16px 18px 44px;
    font-size:16.5px;
  }

  .ctvj-blog-wrap h2{
    font-size:26px;
  }

  .ctvj-blog-wrap h3,
  .ctvj-tipblok h3,
  .ctvj-oefenblok h3{
    font-size:22px;
  }

  .ctvj-introblok,
  .ctvj-kort-antwoord,
  .ctvj-inhoudsknoppen,
  .ctvj-tipblok,
  .ctvj-oefenblok,
  .ctvj-wetenschap,
  .ctvj-cta{
    padding:20px;
    border-radius:18px;
  }
}


/* =========================
   CTvj v1.0.4 - globale sitecorrecties + homepage/landingpage
   Deze sectie is gebaseerd op de geteste CSS van 2 mei 2026.
   ========================= */

:root{
  --ctvj-blauw:#4f8fb8;
  --ctvj-blauw-diep:#2f6f95;
  --ctvj-blauw-zacht:#eef8fb;
  --ctvj-goud:#d8aa54;
  --ctvj-goud-zacht:#fff7e6;
  --ctvj-tekst:#37424a;
  --ctvj-rand:#dcecf2;
}

/* Globale sitecorrecties */
.home .site-content,
.page .site-content{
  padding-top:0!important;
}

.home .entry-content,
.page .entry-content{
  margin-top:0!important;
}

.home .entry-content > *,
.page .entry-content > *{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}

/* Menu blauw/goud */
.main-header-menu a,
.ast-builder-menu-1 .menu-item > .menu-link{
  color:var(--ctvj-blauw-diep)!important;
}

.main-header-menu a:hover,
.ast-builder-menu-1 .menu-item:hover > .menu-link,
.ast-builder-menu-1 .current-menu-item > .menu-link{
  color:var(--ctvj-goud)!important;
}

/* Header */
.ast-primary-header-bar,
.main-header-bar,
.site-header{
  background:#ffffff!important;
}

.ast-below-header-bar,
.ast-above-header-bar{
  background:#fbf6f7!important;
}

/* Koppen */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-title{
  color:var(--ctvj-blauw-diep)!important;
}

.entry-content h1 *,
.entry-content h2 *,
.entry-content h3 *{
  color:var(--ctvj-blauw-diep)!important;
}

/* Links */
.entry-content a{
  color:var(--ctvj-blauw-diep)!important;
  text-underline-offset:3px;
}

.entry-content a:hover{
  color:var(--ctvj-goud)!important;
}

/* Algemene knoppen */
.wp-block-button__link,
button,
input[type="submit"],
.kt-button,
.kb-button,
.woocommerce a.button{
  background:var(--ctvj-blauw)!important;
  border-color:var(--ctvj-blauw)!important;
  color:#ffffff!important;
  border-radius:999px!important;
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
.kt-button:hover,
.kb-button:hover,
.woocommerce a.button:hover{
  background:var(--ctvj-blauw-diep)!important;
  border-color:var(--ctvj-blauw-diep)!important;
  color:#ffffff!important;
}

/* Outline knoppen */
.wp-block-button.is-style-outline .wp-block-button__link{
  background:#ffffff!important;
  color:var(--ctvj-blauw-diep)!important;
  border:2px solid var(--ctvj-blauw)!important;
}

/* Homepage / landingpage */
.ctvj-landing{
  max-width:1120px;
  margin:0 auto;
  padding:0 22px 70px!important;
  color:var(--ctvj-tekst);
  font-size:18px;
  line-height:1.75;
}

.ctvj-landing h1,
.ctvj-landing h2,
.ctvj-landing h3{
  color:var(--ctvj-blauw-diep)!important;
  line-height:1.18;
}

.ctvj-landing h1{
  font-size:clamp(34px,4.2vw,56px)!important;
  line-height:1.12!important;
  margin:0 0 22px;
}

.ctvj-landing h1 em{
  color:var(--ctvj-goud)!important;
  font-style:normal;
}

.ctvj-landing h2{
  font-size:clamp(30px,3.5vw,44px);
  margin:0 0 18px;
}

.ctvj-landing h3{
  font-size:24px;
  margin:0 0 12px;
}

.ctvj-landing p{
  margin-bottom:1.05em;
}

/* Hero */
.ctvj-hero{
  background:
    radial-gradient(circle at 85% 18%, rgba(255,247,230,.95), transparent 34%),
    linear-gradient(135deg,#eef8fb 0%,#ffffff 56%,#fff7e6 100%);
  border:1px solid var(--ctvj-rand);
  border-radius:32px;
  padding:38px 48px!important;
  margin:0 0 30px!important;
  box-shadow:0 16px 42px rgba(47,111,149,.08);
}

.ctvj-hero-inner{
  max-width:820px;
}

/* Labels */
.ctvj-label,
.ctvj-sec-label{
  display:inline-block;
  background:#ffffff;
  color:var(--ctvj-blauw-diep)!important;
  border:1px solid var(--ctvj-rand);
  border-radius:999px;
  padding:7px 15px;
  font-size:14px;
  font-weight:700;
  margin-bottom:16px;
}

/* Knoppen */
.ctvj-btns{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}

.ctvj-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:13px 22px;
  font-weight:700;
  text-decoration:none!important;
  line-height:1.25;
  transition:all .2s ease;
  color:inherit!important;
}

.ctvj-btn.ctvj-btn-primary,
.ctvj-btn.ctvj-btn-dark,
a.ctvj-btn.ctvj-btn-primary,
a.ctvj-btn.ctvj-btn-dark{
  background:var(--ctvj-blauw)!important;
  border:2px solid var(--ctvj-blauw)!important;
  color:#ffffff!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
}

.ctvj-btn.ctvj-btn-primary:hover,
.ctvj-btn.ctvj-btn-dark:hover,
a.ctvj-btn.ctvj-btn-primary:hover,
a.ctvj-btn.ctvj-btn-dark:hover{
  background:var(--ctvj-blauw-diep)!important;
  border-color:var(--ctvj-blauw-diep)!important;
  color:#ffffff!important;
  transform:translateY(-1px);
}

.ctvj-btn.ctvj-btn-light,
.ctvj-btn.ctvj-btn-outline,
a.ctvj-btn.ctvj-btn-light,
a.ctvj-btn.ctvj-btn-outline{
  background:#ffffff!important;
  border:2px solid var(--ctvj-blauw)!important;
  color:var(--ctvj-blauw-diep)!important;
}

.ctvj-btn.ctvj-btn-light:hover,
.ctvj-btn.ctvj-btn-outline:hover,
a.ctvj-btn.ctvj-btn-light:hover,
a.ctvj-btn.ctvj-btn-outline:hover{
  background:var(--ctvj-blauw-zacht)!important;
  border-color:var(--ctvj-goud)!important;
  color:var(--ctvj-blauw-diep)!important;
  transform:translateY(-1px);
}

/* Kaarten */
.ctvj-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin:34px 0;
}

.ctvj-card{
  background:#ffffff;
  border:1px solid var(--ctvj-rand);
  border-radius:24px;
  padding:26px 28px;
  box-shadow:0 10px 28px rgba(47,111,149,.06);
}

.ctvj-card h2,
.ctvj-card h3{
  font-size:30px!important;
  line-height:1.15!important;
}

.ctvj-card p{
  margin-bottom:0;
}

/* Quote */
.ctvj-quote{
  background:linear-gradient(135deg,var(--ctvj-blauw-zacht),var(--ctvj-goud-zacht));
  border:1px solid var(--ctvj-rand);
  border-radius:28px;
  padding:34px 38px;
  margin:38px 0;
  text-align:center;
}

.ctvj-quote blockquote{
  margin:0 auto 14px;
  max-width:820px;
  color:var(--ctvj-blauw-diep);
  font-size:clamp(24px,3vw,34px);
  line-height:1.35;
}

.ctvj-quote cite{
  color:var(--ctvj-tekst);
  font-style:normal;
  font-weight:700;
}

/* Secties */
.ctvj-section{
  background:#ffffff;
  border:1px solid var(--ctvj-rand);
  border-radius:28px;
  padding:42px 46px;
  margin:38px 0;
  box-shadow:0 10px 30px rgba(47,111,149,.05);
}

.ctvj-freebie{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:34px;
  align-items:start;
  background:linear-gradient(135deg,#ffffff,var(--ctvj-blauw-zacht));
}

/* Checklist */
.ctvj-checklist{
  list-style:none;
  padding-left:0;
  margin:20px 0 0;
}

.ctvj-checklist li{
  position:relative;
  padding-left:30px;
  margin-bottom:10px;
}

.ctvj-checklist li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--ctvj-goud);
  font-weight:900;
}

/* Formulierkaart */
.ctvj-form-card{
  background:#ffffff;
  border:1px solid var(--ctvj-rand);
  border-radius:24px;
  padding:28px;
  box-shadow:0 10px 28px rgba(47,111,149,.07);
}

/* Cursuskaarten */
.ctvj-course-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin:30px 0 24px;
}

.ctvj-course-card{
  background:#ffffff;
  border:1px solid var(--ctvj-rand);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(47,111,149,.06);
}

.ctvj-course-card img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  display:block;
}

.ctvj-course-body{
  padding:24px;
}

.ctvj-course-body p{
  margin-bottom:16px;
}

/* Links in CTvj blokken */
.ctvj-link{
  color:var(--ctvj-blauw-diep)!important;
  font-weight:700;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}

.ctvj-link:hover{
  color:var(--ctvj-goud)!important;
}

.ctvj-center-link{
  text-align:center;
  margin-bottom:0;
}

/* Stappen */
.ctvj-steps{
  background:linear-gradient(135deg,var(--ctvj-blauw-zacht),#ffffff);
}

.ctvj-steps-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:28px;
}

.ctvj-step{
  background:#ffffff;
  border:1px solid var(--ctvj-rand);
  border-radius:22px;
  padding:24px;
}

.ctvj-step-num{
  color:var(--ctvj-goud);
  font-size:14px;
  font-weight:900;
  letter-spacing:.08em;
  margin-bottom:10px;
}

.ctvj-step p{
  margin-bottom:0;
}

/* Over Esther */
.ctvj-about{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(260px,.75fr);
  gap:34px;
  align-items:center;
}

.ctvj-about-image img{
  width:100%;
  border-radius:26px;
  border:1px solid var(--ctvj-rand);
  box-shadow:0 12px 30px rgba(47,111,149,.08);
}

/* FAQ */
.ctvj-faq details{
  background:#fbfdfe;
  border:1px solid var(--ctvj-rand);
  border-radius:18px;
  padding:18px 20px;
  margin:14px 0;
}

.ctvj-faq summary{
  color:var(--ctvj-blauw-diep);
  font-weight:700;
  cursor:pointer;
}

.ctvj-faq details p{
  margin:12px 0 0;
}

/* CTA */
.ctvj-cta{
  background:
    radial-gradient(circle at 90% 20%, rgba(255,247,230,.5), transparent 34%),
    linear-gradient(135deg,var(--ctvj-blauw),var(--ctvj-blauw-diep));
  color:#ffffff;
  text-align:center;
}

.ctvj-cta h2,
.ctvj-cta p{
  color:#ffffff!important;
}

.ctvj-btns-center{
  justify-content:center;
}

/* Astra homepage witruimte fix */
.home.ast-separate-container .ast-article-single,
.home.ast-separate-container .ast-article-post,
.home.ast-separate-container .site-content .ast-container,
.home .site-main,
.home .entry-content{
  padding-top:0!important;
  margin-top:0!important;
}

.home.ast-separate-container .ast-article-single{
  padding-top:28px!important;
}

.home .entry-content > .ctvj-landing{
  margin-top:0!important;
  padding-top:0!important;
}

.home .ctvj-hero{
  margin-top:0!important;
}

/* Mobiel */
@media(max-width:900px){
  .ctvj-cards,
  .ctvj-course-grid,
  .ctvj-steps-grid,
  .ctvj-freebie,
  .ctvj-about{
    grid-template-columns:1fr;
  }

  .ctvj-hero,
  .ctvj-section,
  .ctvj-quote{
    padding:30px 24px!important;
    border-radius:24px;
  }

  .ctvj-landing{
    padding:0 16px 50px!important;
    font-size:16.5px;
  }
}

@media(max-width:600px){
  .ctvj-btns{
    flex-direction:column;
    align-items:flex-start;
  }

  .ctvj-btn{
    width:100%;
  }
}
