.dwr-executives-managed-page {
  --dwr-executives-primary: #0152a2;
  --dwr-executives-bright: #0791da;
  --dwr-executives-border: #27a7e8;
  --dwr-executives-heading: #006ac8;
  --dwr-executives-text: #303b50;
  --dwr-executives-muted: #9aa7bb;
  --dwr-executives-tint: #ecf4fd;
}

.dwr-executives-managed-page .entry-content {
  width: 100%;
  max-width: none;
  margin-block-start: 0;
}

.dwr-executives-managed-page .wp-block-breadcrumbs {
  display: none;
}

.dwr-executives-page {
  --dwr-executives-primary: #0152a2;
  --dwr-executives-bright: #0791da;
  --dwr-executives-border: #27a7e8;
  --dwr-executives-heading: #006ac8;
  --dwr-executives-text: #303b50;
  --dwr-executives-muted: #9aa7bb;
  --dwr-executives-tint: #ecf4fd;
  --dwr-executive-card-padding: 30px;
  --dwr-executive-heading-size: 24px;
  --dwr-executive-position-size: 18px;
  --dwr-executive-portrait-width: 200px;
  --dwr-executive-portrait-height: 250px;
  --dwr-executive-name-size: 20px;
  --dwr-executive-contact-box-size: 30px;
  --dwr-executive-contact-icon-size: 22px;
  --dwr-executive-contact-text-size: 14px;

  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--dwr-executives-text);
  background: transparent;
  font-family: inherit;
}

.dwr-executives-page,
.dwr-executives-page *,
.dwr-executives-page *::before,
.dwr-executives-page *::after {
  box-sizing: border-box;
}

.dwr-executives-body {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 20px 76px;
}

.dwr-executives-featured {
  display: flex;
  justify-content: center;
  margin-bottom: 68px;
}

.dwr-executives-section + .dwr-executives-section {
  margin-top: 76px;
  padding-top: 54px;
  border-top: 1px solid rgba(1, 82, 162, 0.14);
}

.dwr-executives-section__title {
  margin: 0 0 36px;
  color: var(--dwr-executives-text);
  font-family: inherit;
  font-size: var(--dwr-executive-heading-size);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.dwr-executives-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.dwr-executives-grid + .dwr-executives-grid {
  margin-top: 48px;
}

.dwr-executives-grid[data-count="1"] {
  grid-template-columns: minmax(0, 330px);
  justify-content: center;
}

.dwr-executives-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 330px));
  justify-content: center;
}

.dwr-executive-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--dwr-executives-text);
  background: #ffffff;
  border: 1px solid var(--dwr-executives-border);
  border-radius: 22px;
  box-shadow: 0 4px 10px rgba(1, 82, 162, 0.08);
}

.dwr-executive-card--featured {
  width: min(100%, 330px);
}

.dwr-executives-single {
  display: flex;
  justify-content: center;
}

.dwr-executives-single__card {
  width: min(100%, 400px);
}

.dwr-executive-card--single {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(1, 82, 162, 0.12);
}

.dwr-executive-card__visual {
  position: relative;
  display: flex;
  flex: 0 0 calc(var(--dwr-executive-portrait-height) + var(--dwr-executive-card-padding));
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: var(--dwr-executive-card-padding) var(--dwr-executive-card-padding) 0;
  background-color: #ffffff;
  background-image: url("../images/card-wave.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.dwr-executive-card__portrait {
  position: relative;
  z-index: 2;
  display: block;
  width: var(--dwr-executive-portrait-width);
  height: var(--dwr-executive-portrait-height);
  margin: 0 auto;
  object-fit: cover;
  object-position: center top;
  background: #e8f4fd;
  border: 3px solid #ffffff;
  border-radius: 24px;
}

.dwr-executive-card__portrait--empty {
  background:
    linear-gradient(135deg, transparent 45%, rgba(1, 82, 162, 0.12) 45% 55%, transparent 55%),
    #e8f4fd;
}

.dwr-executive-card--single .dwr-executive-card__visual {
  flex-basis: auto;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--dwr-executive-card-padding) var(--dwr-executive-card-padding) 0;
  background-color: #ffffff;
  background-image: url("../images/single-card-wave.svg");
  background-position: center top;
  background-size: 100% auto;
}

.dwr-executive-card__single-header {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-bottom: 18px;
  color: #ffffff;
  text-align: center;
}

.dwr-executive-card__single-heading,
.dwr-executive-card__single-role {
  margin: 0;
  color: inherit;
  font-family: inherit;
}

.dwr-executive-card__single-heading {
  font-size: var(--dwr-executive-heading-size);
  font-weight: 600;
  line-height: 1.2;
}

.dwr-executive-card__single-role {
  margin-top: 5px;
  font-size: var(--dwr-executive-position-size);
  font-weight: 400;
  line-height: 1.35;
}

.dwr-executive-card--single .dwr-executive-card__portrait {
  width: min(100%, var(--dwr-executive-portrait-width));
  height: var(--dwr-executive-portrait-height);
  margin: 0 auto;
  border-width: 4px;
  border-radius: 30px;
}

.dwr-executive-card__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: var(--dwr-executive-card-padding);
}

.dwr-executive-card__name {
  margin: 0;
  color: var(--dwr-executives-heading) !important;
  font-family: inherit;
  font-size: var(--dwr-executive-name-size) !important;
  font-weight: 600;
  line-height: 1.25 !important;
  text-align: center;
}

.dwr-executive-card__name-label {
  margin: 0 0 5px;
  color: var(--dwr-executives-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.dwr-executive-card--single .dwr-executive-card__body {
  padding: var(--dwr-executive-card-padding);
}

.dwr-executive-card--single .dwr-executive-card__name {
  font-size: var(--dwr-executive-name-size) !important;
}

.dwr-executive-card--single .dwr-executive-card__contacts {
  gap: 22px;
  margin-top: 30px;
}

.dwr-executive-card--single .dwr-executive-card__contact {
  grid-template-columns: var(--dwr-executive-contact-box-size) minmax(0, 1fr);
  gap: 14px;
}

.dwr-executive-card--single .dwr-executive-card__contact-icon {
  width: var(--dwr-executive-contact-box-size);
  height: var(--dwr-executive-contact-box-size);
}

.dwr-executive-card--single .dwr-executive-card__contact dd {
  font-size: var(--dwr-executive-contact-text-size);
}

.dwr-executive-card__position {
  min-height: 52px;
  margin: 15px 0 0;
  color: var(--dwr-executives-text);
  font-size: var(--dwr-executive-position-size);
  font-weight: 500;
  line-height: 1.42;
  text-align: center;
}

.dwr-executive-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 0;
}

.dwr-executive-card__contact {
  display: grid;
  grid-template-columns: var(--dwr-executive-contact-box-size) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.dwr-executive-card__contact-icon {
  display: inline-flex;
  width: var(--dwr-executive-contact-box-size);
  height: var(--dwr-executive-contact-box-size);
  align-items: center;
  justify-content: center;
  color: #0074d9;
  background: #ffffff;
  border: 1.5px solid #0074d9;
  border-radius: 50%;
}

.dwr-executive-card__contact-icon svg {
  width: var(--dwr-executive-contact-icon-size);
  height: var(--dwr-executive-contact-icon-size);
  fill: currentColor;
}

.dwr-executive-card__contact-copy {
  min-width: 0;
}

.dwr-executive-card__contact dt {
  margin: 0 0 2px;
  color: var(--dwr-executives-muted);
  font-size: var(--dwr-executive-contact-text-size);
  font-weight: 400;
  line-height: 1.25;
}

.dwr-executive-card__contact dd {
  min-width: 0;
  margin: 0;
  color: var(--dwr-executives-text);
  font-size: var(--dwr-executive-contact-text-size);
  font-weight: 500;
  line-height: 1.35;
}

.dwr-executive-card__contact a {
  color: inherit !important;
  overflow-wrap: anywhere;
  text-decoration: none !important;
}

.dwr-executive-card__contact a:hover,
.dwr-executive-card__contact a:focus-visible {
  color: var(--dwr-executives-heading) !important;
  text-decoration: underline !important;
}

.dwr-executive-card__contact a:focus-visible {
  outline: 3px solid rgba(7, 145, 218, 0.3);
  outline-offset: 3px;
  border-radius: 2px;
}

.dwr-executive-card__units {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(1, 82, 162, 0.13);
}

.dwr-executive-card__units-title {
  margin: 0 0 8px;
  color: var(--dwr-executives-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.dwr-executive-card__units-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: var(--dwr-executives-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  list-style: none;
}

.dwr-executives-empty {
  max-width: 780px;
  margin: 32px auto;
  padding: 20px;
  color: #303b50;
  background: #ecf4fd;
  border-left: 4px solid #0791da;
}

@media (max-width: 900px) {
  .dwr-executives-grid {
    grid-template-columns: repeat(2, minmax(0, 330px));
    justify-content: center;
  }

  .dwr-executives-grid[data-count="1"] {
    grid-template-columns: minmax(0, 330px);
  }
}

@media (max-width: 640px) {
  .dwr-executives-body {
    padding: 40px 18px 56px;
  }

  .dwr-executives-featured {
    margin-bottom: 46px;
  }

  .dwr-executives-section + .dwr-executives-section {
    margin-top: 56px;
    padding-top: 42px;
  }

  .dwr-executives-grid,
  .dwr-executives-grid[data-count="1"],
  .dwr-executives-grid[data-count="2"] {
    grid-template-columns: minmax(0, 430px);
  }

  .dwr-executives-grid + .dwr-executives-grid {
    margin-top: 34px;
  }

  .dwr-executive-card__body {
    padding-right: var(--dwr-executive-card-padding);
    padding-left: var(--dwr-executive-card-padding);
  }

  .dwr-executive-card--single .dwr-executive-card__visual {
    padding: var(--dwr-executive-card-padding) var(--dwr-executive-card-padding) 0;
  }

  .dwr-executive-card--single .dwr-executive-card__portrait {
    width: min(100%, var(--dwr-executive-portrait-width));
    height: var(--dwr-executive-portrait-height);
  }

  .dwr-executive-card--single .dwr-executive-card__body {
    padding: var(--dwr-executive-card-padding);
  }
}
