/* Fixes for differences that removing WordPress introduced. Loaded last, after the theme and Customizer CSS. */

/* [video] embeds: WordPress's media player capped each player at its column (.wp-video { max-width: 100% })
   and scaled the video to fill it. Without the player, a video keeps its fixed width and height attributes
   and overflows. These are WordPress's own rules, plus the scaling the player script did. */
.wp-video {
  max-width: 100%;
  height: auto;
}

.wp-video video.wp-video-shortcode {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Cookie Notice: the cookie tables, one per banner category. */
.cookie-category {
  margin: 28px 0 32px;
}
.cookie-category-title {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}
.cookie-count {
  background: #f0ecff;
  border-radius: 999px;
  color: #5a3fd6;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 10px;
}
.cookie-table-wrap {
  border: 1px solid #e6e3f0;
  border-radius: 10px;
  overflow-x: auto;
}
.cookie-table {
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
  min-width: 760px;
  table-layout: auto;
  width: 100%;
}
.cookie-table th {
  background: #f7f5ff;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.cookie-table-wrap .cookie-table thead,
.cookie-table-wrap .cookie-table tbody {
  border: 0;
}
.cookie-table-wrap .cookie-table th,
.cookie-table-wrap .cookie-table td {
  border: 0;
  border-bottom: 1px solid #ece9f5;
  padding: 10px 14px;
  vertical-align: top;
}
.cookie-table-wrap .cookie-table tbody tr:last-child td {
  border-bottom: 0;
}
.cookie-table th:nth-child(1) {
  width: 24%;
}
.cookie-table th:nth-child(2) {
  width: 14%;
}
.cookie-table th:nth-child(3) {
  width: 18%;
}
.cookie-table th:nth-child(4) {
  width: 11%;
}
.cookie-table td:nth-child(4) {
  white-space: nowrap;
}
.cookie-table code {
  background: none;
  color: inherit;
  font-size: 0.85rem;
  padding: 0;
  overflow-wrap: anywhere;
}

/* About page: each team member's bio is page text in a <details> that "Full bio" opens in place. The theme's
   popup, which WordPress printed after the footer, is not part of the migrated pages. */
.team-member .team-bio summary {
  color: #7252fb;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  list-style: none;
  padding: 4px 22px 4px 0;
  position: relative;
}
.team-member .team-bio summary::-webkit-details-marker {
  display: none;
}
.team-member .team-bio summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 8px;
  position: absolute;
  right: 4px;
  top: 40%;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s;
  width: 8px;
}
.team-member .team-bio[open] summary::after {
  top: 55%;
  transform: translateY(-50%) rotate(-135deg);
}
.team-member .team-bio-text {
  font-size: 0.95rem;
  margin-top: 10px;
}
.team-member .team-bio-text p {
  margin-bottom: 10px;
}
.team-member .team-linkedin {
  display: inline-block;
  line-height: 0;
  margin: 2px 0 8px;
}
.team-member .team-linkedin svg {
  height: 22px;
  width: 22px;
}

/* With the script on, "Full bio" opens the bio in a full-width panel under the row instead of inside the card. */
.team-bios-js .team-member .team-bio-text {
  display: none;
}
.team-bio-panel {
  background: #f7f5ff;
  border-radius: 10px;
  margin: 0 0 30px;
  padding: 24px 28px 14px;
}
.team-bio-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.team-bio-panel p {
  margin-bottom: 12px;
}
