/*
Theme Name: Enfold Child
Theme URI: https://www.sf-ict.nl/
Version: 1.0
Description: Child theme based on Enfold, developed by SF ICT
Author: SF ICT
Author URI: https://www.sf-ict.nl/
Template: enfold
*/
/* Variables */
/* Colors */
/* --- Koppen: groter, vetter, italic, strakke letter-spacing --- */
#top h1,
#top h2,
#top h3,
#top h4,
#top h5,
#top h6,
#top .av-special-heading-tag,
#top .title_container .main-title,
#top .portfolio-preview-title,
#top .grid-entry .grid-content h3,
#top .sidebar h3.widgettitle,
#top .widget-title,
#top .entry-content-wrapper h1,
#top .entry-content-wrapper h2,
#top .entry-content-wrapper h3,
#top .entry-content-wrapper h4,
#top .entry-content-wrapper h5,
#top .entry-content-wrapper h6 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
}
#top h1,
#top .av-special-heading-tag[class*="heading_h1"],
#top .title_container .main-title {
  font-style: italic;
}
#top h2,
#top .av-special-heading-tag[class*="heading_h2"] {
  font-style: italic;
}
#top .av-special-heading .av-special-heading-tag {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
}
#top .title_container .breadcrumb {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
/* --- Buttons: scherpe hoeken, vetter, groter --- */
#top .avia-button,
#top .avia-menu-fx .avia-button,
.avia-button {
  border-radius: 0 !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* --- Scheidingslijnen dikker --- */
#top .av-special-heading .special-heading-border {
  border-width: 4px !important;
  width: 60px !important;
}
/* --- Afbeeldingen: afgeronde hoeken --- */
#top .avia-image-container img,
#top .flex_column .avia-image-container img {
  border-radius: 12px !important;
  overflow: hidden;
}
/* --- CTA-balk (color section met quote): stoerder --- */
#top .av_textblock_section .av_textblock p,
#top .avia-builder-el-last .av_textblock_section p {
  font-weight: 700;
}
/* --- Iconbox / USP-titels vetter --- */
#top .iconbox_content_container .iconbox_content h3,
#top .avia-icon-list .avia-icon-list-content-wrap h4 {
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
/* --- Menu: ruimer, stoerder --- */
#top #header_main .container {
  min-height: 100px;
}
#top .main_menu ul:first-child > li > a {
  height: 100px !important;
  line-height: 100px !important;
}
#top #avia-menu .av-main-nav > li > a,
#top .main_menu .av-main-nav > li > a {
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 18px !important;
  padding: 0 20px !important;
}
/* --- Zijmenu (sidebar) expertise-pagina's: groter en stoerder --- */
#top .sidebar .widget_nav_menu ul li a,
#top .content .widget_nav_menu ul li a {
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 12px 5px !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}
#top .sidebar .widget_nav_menu ul li.current-menu-item > a,
#top .sidebar .widget_nav_menu ul li.current_page_item > a,
#top .content .widget_nav_menu ul li.current-menu-item > a,
#top .content .widget_nav_menu ul li.current_page_item > a {
  font-weight: 800 !important;
  color: #0889CB !important;
  border-left: 4px solid #E64E3E;
  padding-left: 12px !important;
}
/* --- Footer headings --- */
#top .socket_color h3,
#top #footer h3 {
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
/* Extra vertical breathing room for SVG logo in the header */
.logo svg {
  height: calc(100% - 16px);
  margin: 8px 0;
}
/* Responsive header variant overrides Enfold's margin reset */
.responsive .logo svg {
  height: calc(100% - 16px);
  margin: 8px 0;
}
/* Verwijder gap tussen header en portfolio hero-sectie */
.single-portfolio #main > p:first-child {
  display: none;
}
/* Keurmerken (footer widget) */
.keurmerken-widget {
  --keurmerken-max-width: 160px;
  /* past logos op kolombreedte */
  --keurmerken-max-height: 78px;
  /* voorkomt dat kolom 4 te hoog wordt */
  --keurmerken-gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--keurmerken-gap);
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.keurmerken-widget img {
  display: block;
  max-width: var(--keurmerken-max-width);
  width: auto;
  /* niet opschalen naar kolombreedte */
  height: auto;
  max-height: var(--keurmerken-max-height);
  object-fit: contain;
}
/* Fix alignment en verhoudingen projecten overview (grid-col-1) */
#top .grid-sort-container.grid-col-1 .inner-entry {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
}
#top .grid-sort-container.grid-col-1 .inner-entry > .av_table_col.grid-content {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 35% !important;
  width: 35% !important;
  max-width: 35% !important;
  box-sizing: border-box;
}
#top .grid-sort-container.grid-col-1 .inner-entry > .av_table_col.portfolio-grid-image {
  display: block !important;
  flex: 0 0 65% !important;
  width: 65% !important;
  max-width: 65% !important;
  box-sizing: border-box;
}
#top .grid-sort-container.grid-col-1 .inner-entry > .av_table_col.portfolio-grid-image a.grid-image,
#top .grid-sort-container.grid-col-1 .inner-entry > .av_table_col.portfolio-grid-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
#top .grid-sort-container.grid-col-1 .inner-entry > .av_table_col.portfolio-grid-image img {
  object-fit: cover !important;
  aspect-ratio: 16 / 9 !important;
}
/* Responsive (mobiel) fallback voor de projectenlijst */
@media only screen and (max-width: 767px) {
  #top .grid-sort-container.grid-col-1 .inner-entry {
    flex-wrap: wrap !important;
  }
  #top .grid-sort-container.grid-col-1 .inner-entry > .av_table_col.grid-content,
  #top .grid-sort-container.grid-col-1 .inner-entry > .av_table_col.portfolio-grid-image {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #top .grid-sort-container.grid-col-1 .inner-entry > .av_table_col.grid-content {
    /* Geef de titel iets meer ruimte t.o.v. de image op mobiel als ze apart staan */
    padding-bottom: 20px !important;
  }
}
/* ------------------------------------------------------------------------- *
 * Vacatures Weergave (Modern Layout)
 * ------------------------------------------------------------------------- */
.vacature-modern-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 50px;
}
.vacature-main-content {
  flex: 1 1 60%;
  min-width: 300px;
}
.vacature-sidebar-card-wrapper {
  flex: 0 0 32%;
  min-width: 300px;
}
.vacature-hero-image {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.vacature-main-title {
  font-size: 38px;
  margin-top: 0;
  margin-bottom: 25px;
  color: #0889CB;
  font-weight: bold;
}
.vacature-intro {
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.4;
  color: #2C353D !important;
}
.vacature-intro p {
  margin-bottom: 12px;
  color: #2C353D !important;
}
.vacature-section {
  margin-top: 30px;
  padding: 25px 30px;
  background-color: #e4f4fb !important;
  border-radius: 12px;
  border-left: 5px solid #0889CB !important;
}
.vacature-section-title {
  margin-top: 0;
  margin-bottom: 20px;
  color: #0889CB !important;
  font-size: 24px;
  font-weight: bold;
}
.vacature-list-styled ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.vacature-list-styled ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.4;
}
.vacature-list-styled p {
  margin-bottom: 8px;
  line-height: 1.4;
}
.vacature-list-styled ul li::before {
  content: '\e812';
  /* Enfold fontello checkmark or right arrow */
  font-family: 'entypo-fontello';
  position: absolute;
  left: 0;
  top: 1px;
  color: #0889CB;
  font-size: 18px;
}
.vacature-sidebar-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  margin-bottom: 30px;
}
.vacature-card-content {
  padding: 35px 30px;
  text-align: center;
}
.vacature-card-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 26px;
  color: #0889CB;
  font-weight: bold;
}
.vacature-card-subtitle {
  color: #666666;
  margin-bottom: 25px;
  font-size: 16px;
}
.vacature-apply-button-wrap {
  text-align: center;
}
.vacature-solliciteren-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 15px 30px !important;
  background-color: #E64E3E !important;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 0 !important;
  font-size: 18px !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: none !important;
  width: 100%;
}
.vacature-solliciteren-btn:hover {
  background-color: #d52d1c !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.vacature-sidebar-questions {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: -webkit-sticky;
  position: sticky;
  top: 360px;
}
.vacature-sidebar-questions h3 {
  margin-top: 0;
  color: #0889CB;
  font-size: 22px;
  margin-bottom: 10px;
}
.vacature-phone {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: #E64E3E;
  margin: 20px 0;
  text-decoration: none;
}
.vacature-phone:hover {
  color: #d52d1c;
}
.vacature-contact-link {
  display: inline-block;
  color: #0889CB;
  font-weight: bold;
  text-decoration: underline;
}
/* Connect popup to Gravity form */
.white-popup {
  position: relative;
  background: #ffffff;
  padding: 40px;
  width: auto;
  max-width: 650px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.sollicitatie-formulier-inner h3.popup-form-title {
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 15px;
  font-size: 24px;
  color: #333333;
}
/* Responsive */
@media only screen and (max-width: 767px) {
  .vacature-modern-layout {
    flex-direction: column;
  }
  .vacature-sidebar-card-wrapper {
    order: -1;
    /* Zet card bovenaan op mobiel */
  }
  .vacature-sidebar-card {
    position: static;
  }
  .vacature-sidebar-questions {
    position: static;
  }
}
/* Magnific popup animation */
.mfp-zoom-in .mfp-with-anim {
  opacity: 0;
  transition: all 0.2s ease-in-out;
  transform: scale(0.95);
}
.mfp-zoom-in.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
  opacity: 1;
  transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
  transform: scale(0.95);
  opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}
/* ------------------------------------------------------------------------- *
 * Partner/Logo Grid – uniforme uitlijning
 * ------------------------------------------------------------------------- */
#top .avia-logo-element-container.avia-logo-grid {
  border: 1px solid #e0e0e0;
  overflow: hidden;
}
#top .avia-logo-element-container.avia-logo-grid .slide-entry-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 !important;
}
#top .avia-logo-element-container.avia-logo-grid .slide-entry {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 20px !important;
  box-sizing: border-box;
  float: none !important;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  margin: 0 !important;
}
#top .avia-logo-element-container.avia-logo-grid .slide-entry .slide-image,
#top .avia-logo-element-container.avia-logo-grid .slide-entry > img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
#top .avia-logo-element-container.avia-logo-grid .slide-entry img {
  max-width: 100%;
  max-height: 100%;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  box-shadow: none !important;
  border-radius: 0 !important;
}
/* ------------------------------------------------------------------------- *
 * Vacatures Overzicht Grid (ALB element)
 * #top prefix matches Enfold's specificity so our colors win
 * ------------------------------------------------------------------------- */
#top .mh-vacatures-grid-wrap {
  width: 100%;
  clear: both;
  display: block;
}
#top .mh-vacatures-grid {
  display: grid;
  gap: 30px;
}
#top .mh-vacatures-grid.columns-1 {
  grid-template-columns: 1fr;
}
#top .mh-vacatures-grid.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
#top .mh-vacatures-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
#top .mh-vacatures-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}
#top .mh-vacature-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: #333333;
}
#top .mh-vacature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
#top .mh-vacature-card-image {
  display: block;
  overflow: hidden;
  line-height: 0;
}
#top .mh-vacature-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}
#top .mh-vacature-card:hover .mh-vacature-card-image img {
  transform: scale(1.04);
}
#top .mh-vacature-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#top .mh-vacature-card-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  color: #0889CB;
}
#top .mh-vacature-card-title a,
#top .mh-vacature-card-title a:link,
#top .mh-vacature-card-title a:visited {
  color: #0889CB;
  text-decoration: none;
}
#top .mh-vacature-card-title a:hover,
#top .mh-vacature-card-title a:focus {
  color: #066190;
  text-decoration: none;
}
#top .mh-vacature-card-excerpt {
  color: #555555;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}
#top .mh-vacature-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 22px;
  background-color: #E64E3E;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 0;
  font-size: 15px;
  font-weight: 800;
  transition: background-color 0.25s ease, transform 0.2s ease;
  margin-top: auto;
}
#top .mh-vacature-card-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}
#top .mh-vacature-card-btn:hover {
  background-color: #d52d1c;
  color: #ffffff !important;
  transform: translateX(2px);
}
#top .mh-vacatures-none {
  text-align: center;
  color: #888888;
  font-size: 17px;
  padding: 40px 20px;
}
@media only screen and (max-width: 989px) {
  #top .mh-vacatures-grid.columns-3,
  #top .mh-vacatures-grid.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 767px) {
  #top .mh-vacatures-grid.columns-2,
  #top .mh-vacatures-grid.columns-3,
  #top .mh-vacatures-grid.columns-4 {
    grid-template-columns: 1fr;
  }
  #top .mh-vacature-card-body {
    padding: 20px;
  }
}
