/*
Theme Name: Contentleaders Child
Theme URI: https://www.contentleaders.nl/
Description: Child theme ontwikkeld door Contentleaders.
Author: Cornelis Scheltinga
Author URI: https://www.contentleaders.nl/;
Template: hello-elementor
Version: 1.0
*/

.gform_wrapper .gfield_consent_label {
  cursor: pointer;
}

/* Archive page container */
.cl-archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Mobile responsive padding */
@media (max-width: 768px) {
  .cl-archive-container {
    padding: 0px 20px 60px 20px;
  }
}

/* Archive page header styling - match blog header */
.archive .page-header {
  background-color: #063948;
  padding: 250px 90px 100px 90px;
  margin-bottom: -40px;
  position: relative;
  z-index: 1;
}

.page-header-content {
  max-width: 1200px;
  margin: 0 auto;
}

.page-header .cl-archive-title {
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  font-size: 60px;
  font-weight: 700;
  position: relative;
}

.page-header .cl-archive-title::before {
  content: url(/wp-content/plugins/cl-xgl-functions/assets/icons/yellow-action.svg);
  position: absolute;
  left: -55px;
  top: -40px;
}

.page-header-divider {
  border-bottom: 4px solid var(--primary-yellow);
  width: 150px;
  margin-top: 20px;
}
.archive .page-content {
  margin-top: -40px;
  z-index: 2;
  position: relative;
  padding-top: 0;
}

.archive .cl-post-content {
  a {
    text-decoration: none;
  }
}
.elementor-widget-text-editor p a.archive-link {
  background-color: #dd5412;
  color: #ffffff;
  border-radius: 100px;
  padding: 12px 24px;
  font-weight: bold;
}
.office-testimonial {
  margin-bottom: 3rem;
}
.office-testimonial__text {
  font-size: 1.3em;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}
.office-testimonial__content {
  margin-bottom: 1rem;
}
.office-testimonial__cite {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  align-items: center;
}
.office-testimonial__name {
  font-weight: bold;
}

/* Container utilities */
.cl-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1024px) {
  .page-header {
    padding: 80px 20px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 80px 20px;
  }

  .page-header .cl-archive-title {
    font-size: 2rem;
  }
}

/* Single Member Page Styles */
.member-profile-header {
  display: flex;
  gap: 20px 60px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding: 205px 0px 75px 0px;
}
.member-profile-header .yellow-action-text {
  margin-bottom: 20px;
  position: relative;
}
.member-profile-header .yellow-action-text:before {
  content: url(/wp-content/plugins/cl-xgl-functions/assets/icons/yellow-action.svg);
  position: absolute;
  left: -55px;
  top: -40px;
}
.member-info-left {
  flex: 1;
}
.member-profile-header h1:after {
  width: 150px;
  height: 4px;
  background-color: var(--primary-yellow);
  display: block;
  margin-top: 20px;
  content: "";
}

.member-image-right {
  flex: 0 0 auto;
  max-width: 350px;
}

.member-image-right img {
  width: 100%;
  height: auto;
  display: block;
}

.member-name a {
  text-decoration: none;
  color: inherit;
}

.member-name a:hover {
  text-decoration: underline;
}

.member-subtitle {
  margin: 0 0 5px 0;
  font-size: 14px;
  color: #666;
}

.member-job-title {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.member-service,
.member-location {
  margin: 0 0 8px 0;
  font-size: 14px;
}

.member-social-links {
  margin-top: 20px;
}
.member-social-links a {
  background-color: var(--secondary-orange);
  border-radius: 100px;
  padding: 13px 24px;
  color: white;
  line-height: 1.1;
  font-weight: bold;
  text-decoration: none !important;
}
.member-social-links a:hover {
  background-color: var(--support-hoverorange);
  color: white;
}

.social-link {
  display: inline-block;
  margin-right: 15px;
  padding: 8px 12px;
  background: #f0f0f0;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s;
}

.social-link:hover {
  background: #e0e0e0;
}

/* Tablet responsive - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .member-profile-header {
    gap: 20px 40px;
    padding: 150px 0px 50px 0px;
  }

  .member-info-left {
    flex: 1;
  }

  .member-image-right {
    max-width: 280px;
    flex-shrink: 0;
  }

  .member-profile-header .yellow-action-text:before {
    left: -45px;
    top: -30px;
  }

  .member-profile-header h1 {
    font-size: 36px;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .member-profile-header {
    flex-direction: column;
    gap: 20px;
    padding: 100px 0px 30px 0px;
  }

  .member-image-right {
    max-width: 100%;
    order: -1; /* Show image first on mobile */
  }

  .member-profile-header .yellow-action-text:before {
    left: -40px;
    top: -25px;
  }

  .member-profile-header h1 {
    font-size: 28px;
  }

  .member-name {
    font-size: 24px;
  }

  .member-subtitle,
  .member-service,
  .member-location {
    font-size: 13px;
  }

  .member-job-title {
    font-size: 14px;
  }

  .entry-content {
    font-size: 14px;
  }
}
