/*
Theme Name: Bridge Child – Altena Trainings
Description: Child theme of Bridge for altena-trainings.com.
Author: GEISSEL Informationsdesign
Author URI: https://geissel-informationsdesign.de
Template: bridge
Version: 1.0.0
Text Domain: bridge-child
*/

:root {
  --altena-blue: #006699;
  --altena-portrait-bg: #e9eef2;
  /* Bridge heading colour, for body text that needs more weight. */
  --altena-text-strong: #303030;
}

/* Front page team row: a tinted circle unifies portraits shot on different backgrounds. */
#team .vc_box_circle {
  background: var(--altena-portrait-bg);
}

/* Files are 320 px for retina screens, shown at 160 px; narrow columns shrink them, so height follows the width. */
#team .vc_box_circle img {
  width: 160px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  mix-blend-mode: multiply;
}

/* Bridge zeroes margins on .wpb_content_element with !important, so the gap sits on the inner wrapper. */
#team .wpb_single_image .wpb_wrapper {
  margin-bottom: 16px;
}

#team .wpb_text_column p {
  line-height: 1.5;
}

#team a:focus-visible .vc_box_circle {
  outline: 2px solid var(--altena-blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  #team .vc_box_circle img {
    transition: transform 0.3s ease;
  }

  #team a:hover .vc_box_circle img,
  #team a:focus-visible .vc_box_circle img {
    transform: scale(1.05);
  }
}

/* Front page contact CTA below the testimonials. */
.home .vc_custom_1526382209021 p {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--altena-text-strong);
  text-align: center;
}

/* Bridge ignores the button's "center" alignment, so it is applied here. */
.home .vc_custom_1526382209021 ~ .qbutton.center {
  display: table;
  margin-inline: auto;
}

@media (max-width: 767px) {
  #team .wpb_column {
    margin-bottom: 24px;
  }
}
