/*
Theme Name: Postma Web
Theme URI: https://welcometopaprika.com/
Author: Postma Web
Description: Postma Web — Elementor-thema voor Paprika: creatieve workshops voor particulieren en zakelijke teams. Homepage, workshopagenda en inschrijfformulier.
Version: 3.2.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: paprika
License: GPL-2.0-or-later
*/

/* v2.5 — Dezelfde hero-foto niet tweemaal tonen.
   De bestaande v2.2 Elementor-homepage bevat links tekst en rechts de
   shortcode [paprika_image kind="hero"]. De full-bleed hero gebruikt
   die foto al als achtergrond. Ook .e-con-inner-varianten ondersteunen. */
.paprika-elementor-home > .elementor > .e-con:first-child{
  --width:100%;--content-width:100%;max-width:none!important;width:100%!important;
  min-height:var(--paprika-hero-height)!important;
  position:relative;overflow:hidden;
}
/* Oud Elementor-template: de tweede (beeld)kolom opruimen. */
.paprika-elementor-home > .elementor > .e-con:first-child > .e-con:nth-child(2),
.paprika-elementor-home > .elementor > .e-con:first-child > .e-con-inner > .e-con:nth-child(2),
.paprika-elementor-home > .elementor > .e-con:first-child > .e-con-inner > .elementor-element:nth-child(2):has(.paprika-workshop-image--hero){
 display:none!important;
}
/* Fallback wanneer Elementor containers in een andere structuur plaatst. */
.paprika-elementor-home > .elementor > .e-con:first-child .paprika-workshop-image--hero,
.paprika-elementor-home > .elementor > .e-con:first-child .elementor-widget-shortcode:has(.paprika-workshop-image--hero){display:none!important}
.paprika-elementor-home > .elementor > .e-con:first-child > .e-con-inner{
  width:100%!important;max-width:var(--paprika-site-width)!important;
  margin-inline:auto!important;align-items:center;justify-content:center;
}
.paprika-elementor-home > .elementor > .e-con:first-child > .e-con-inner > .e-con:first-child,
.paprika-elementor-home > .elementor > .e-con:first-child > .e-con:first-child{
  flex:0 1 900px!important;width:min(100%,900px)!important;max-width:900px!important;
  min-width:0!important;background:transparent!important;
}
.paprika-elementor-home > .elementor > .e-con:first-child .elementor-widget-heading,
.paprika-elementor-home > .elementor > .e-con:first-child .elementor-widget-text-editor{max-width:100%!important}
@media(max-width:767px){
  .paprika-elementor-home > .elementor > .e-con:first-child{min-height:var(--paprika-hero-mobile-height)!important}
  .paprika-elementor-home > .elementor > .e-con:first-child > .e-con-inner{width:100%!important}
}

/* v2.9: dynamic workshop labels */
.paprika-type-chip{display:inline-block;font-size:.76rem;padding:3px 9px;border:1px solid currentColor;border-radius:15px;opacity:.8;margin:4px 0 7px}

/* v3.0: separate contact page */
.paprika-contact-form{max-width:820px;margin:20px 0 40px;background:#fff;padding:clamp(20px,3vw,40px);border-radius:18px;box-shadow:0 8px 30px #183b5010}
.paprika-contact-form .paprika-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.paprika-contact-form .field{display:flex;flex-direction:column;gap:7px}
.paprika-contact-form .field--full{grid-column:1/-1}
.paprika-contact-form :is(input:not([type=checkbox]),select,textarea){width:100%;padding:12px 14px;border:1px solid #bccbc8;border-radius:7px;min-height:46px;background:#fff;color:#183b50}
.paprika-contact-form textarea{min-height:150px;resize:vertical}
.paprika-contact-form label{font-weight:600;color:#183b50}
.paprika-contact-form .paprika-consent{display:flex;align-items:start;gap:10px;font-weight:400}
.paprika-contact-form .paprika-consent input{margin-top:5px}
.paprika-contact-form .btn{margin-top:24px}
.paprika-contact-hp{position:absolute!important;left:-9999px;opacity:0;height:0;overflow:hidden}
.paprika-contact-status{padding:15px 18px;border-radius:8px;background:#e8efe8;color:#173d30;margin:20px 0;max-width:820px}
.paprika-contact-status--error{background:#fbe7e8;color:#7e2030}
@media(max-width:650px){.paprika-contact-form .paprika-contact-grid{grid-template-columns:1fr}}
