/*
Theme Name:     WeCodeArt Child
Theme URI:      https://wecodeart.com/
Description:    Child theme for WeCodeArt
Author:         Your Name
Author URI:     https://yourdomain.com/
Template:       wecodeart
Version:        2.1.17
Text Domain:    wecodeart-child
*/

/* Optional custom CSS here */
/* === Mobile-first styles === */
.contact-header {
  display: none; /* hidden by default on mobile */
}

.mobile-contact-button {
  display: block;
  background-color: #1c3c2e;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-contact-button:hover {
  background-color: #284d3c;
  color: #ffffff;
}

/* === Tablet & up (≥768px) === */
@media (min-width: 768px) {
  .mobile-contact-button {
    display: none;
  }

  .contact-header {
    display: block;
    color: #ffffff;
  }

  .info-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1 1 0;
  }

  .info-box i {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 0.2rem;
    flex-shrink: 0;
  }

  .info-box strong {
    color: #ffffff;
    display: inline-block;
    margin-bottom: 0.25rem;
  }

  .info-box span,
  .info-box a {
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
  }
}

/* ============= Logo Wrapper & Image ============= */

.wp-block-group.logo-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
  flex: 0 1 auto; /* Allow shrinking in marquee flex */
  width: auto;
}

.wp-block-group.logo-wrapper .wp-block-image {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.wp-block-group.logo-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============= Badge Style ============= */
.partner-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px; /* mobile-first */
  text-align: center;
  background: #AFCBB3;
  color: white;
  opacity: 0.98;

  font-size: 10px; /* mobile-first */
  font-weight: bold;
  padding: 3px 0; /* mobile-first */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transform: rotate(45deg) translate(25%, -45%);
  transform-origin: top right;
  pointer-events: none;
  z-index: 1;
}

.partner-badge-small {
  padding: 2px 0;
  transform: rotate(45deg) translate(35%, -135%);
}

.wp-block-group.logo-wrapper img {
  max-width: 200px;
  margin: 0 auto;
}

/* === Tablet and up === */
@media (min-width: 768px) {
  .partner-badge {
    width: 120px;
    font-size: 12px;
    padding: 4px 0;
  }

  .wp-block-group.logo-wrapper img {
    max-width: 300px;
  }
}

.hero-overlay {
  position: relative;
  z-index: 0;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(52, 66, 58, 0.4),
    rgba(52, 66, 58, 0.4)
  ); /* donkergroen-tint met transparantie */
  z-index: 1;
  pointer-events: none;
}

.hero-overlay > * {
  position: relative;
  z-index: 2;
}

.wp-block-cover.basic-hero-overlay .wp-block-cover__background {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(37, 53, 44, 0.4)) !important;
  opacity: 1 !important;
}


.wp-block-cover.basic-hero-overlay .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}
