


  :root {
  --main-font-family: 'Inter';
  --main-font-feature-settings: 'liga' off, 'clig' off;

  --zindex-sticky: 1020;

  --header-height: 72px;
  --footer-min-height: 172px;
  --footer-padding: 96px;
  --global-alert-height: 32px;

  --content-max-width: 1200px;

  --page-section-margin: 96px;
  --page-section-margin-sm: 64px;

  --button-side-padding: 16px;
  --button-border-radius: 8px;
  --button-height: 48px;

  --image-border-radius: 16px;

  --icon-font-family: 'Noto Sans Symbols 2';
}

  :root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-blue: hsla(202, 73%, 38%, 1);
  --color-blue-80: hsla(202, 73%, 38%, 0.8);
  --color-red: hsla(0, 56%, 50%, 1);
  --color-green: hsla(162, 91%, 25%, 1);

  --color-primary: hsla(341, 100%, 31%, 1);
  --color-primary-20: hsla(341, 100%, 32%, 0.2);
  --color-primary-05: hsla(341, 100%, 32%, 0.05);
  --color-on-primary: hsla(0, 0%, 100%, 1);

  --color-surface: hsla(0, 0%, 0%, 0.04);
  --color-on-surface: hsla(0, 0%, 0%, 0.6);

  --color-surface-inverse: hsla(206, 17%, 24%, 1);
  --color-on-surface-inverse: hsla(0, 0%, 100%, 1);
  --color-on-surface-inverse-06: hsla(0, 0%, 100%, 0.06);
  --color-on-surface-inverse-12: hsla(0, 0%, 100%, 0.12);
  --color-on-surface-inverse-78: hsla(0, 0%, 100%, 0.78);

  --color-surface-container: hsla(0, 0%, 100%, 1);
  --color-on-surface-container: hsla(0, 0%, 0%, 0.9);

  --color-primary-container: hsla(0, 0%, 0%, 0.04);
  --color-on-primary-container: hsla(0, 0%, 0%, 0.6);

  --color-text-strong: hsla(0, 0%, 0%, 0.9);
  --color-text-weak: hsla(0, 0%, 0%, 0.6);

  --color-outline: hsla(0, 0%, 0%, 0.1);
}

  html,
body {
  margin: 0;
  font-family: var(--main-font-family), sans-serif;
  font-feature-settings: var(--main-font-feature-settings);
  font-style: normal;
}

:target {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

h1 {
  text-align: center;
}

/* give outline a better look */
a {
  border-radius: 5px;
  &[rel='external']::after {
    content: '🡭';
    font-family: var(--icon-font-family), sans-serif;
    padding-left: 0.5em;
  }
  &[href$='.pdf']::after {
    content: '🗎';
    font-family: var(--icon-font-family), sans-serif;
    padding: 0 0.5em;
  }
}
:focus {
  outline-color: rgb(26, 116, 168);
  outline-style: solid;
  outline-width: 3px;
  outline-offset: 0;
}

p {
  margin: 0;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.modal-open {
  overflow: hidden;
  padding-right: 15px;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: var(--zindex-sticky);
}

.avatar {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  border: 4px solid var(--color-outline);
}

.logos-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  margin-top: 5px;

  .uoe-logo {
    height: 49px;
  }
  .edina-logo {
    margin-bottom: 10px;
    min-height: 39px;
  }
}

.wrapper {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.main-content {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--footer-min-height) - var(--header-height));
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  margin-left: auto;
  margin-right: auto;
}

.skip-link {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 700;
  position: absolute;
  top: -100px;
  left: 50%;
  padding: 4px;
}
.skip-link:focus {
  z-index: 1030;
  top: 10px;
  border: 1px solid var(--color-outline);
}

@media (min-width: 1440px) {
  .wrapper {
    max-width: var(--content-max-width);
  }
}

@media (max-width: 1440px) {
  .wrapper {
    max-width: 85%;
  }
}

@media (max-width: 425px) {
  .wrapper {
    max-width: 100%;
  }
}

/* for screen which don't have enough space to display full burge navigation drop--down */
@media screen and (max-height: 300px) {
  /* 75px (header) + 204px (menu) */
  .sticky-top {
    position: relative;
  }
}

@media screen and (max-width: 400px) {
  .logos-container {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Animate scrolling only if users don’t prefer reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

  .alert {
  height: var(--global-alert-height);
  margin-left: auto;
  margin-right: auto;
  padding: 12px 0;

  background-color: var(--color-surface-inverse);
  color: var(--color-on-surface-inverse);

  .wrapper {
    display: grid;
    grid-template-columns: [icon] 24px [msg] auto [btn] 24px;
    grid-template-areas: 'msg-icon msg close-btn';
    grid-gap: 16px;
    align-items: center;
    .icon-info,
    .icon-error,
    .icon-success {
      grid-column-start: icon;
    }
    .alert-message {
      grid-column-start: msg;
    }
    .btn-close {
      display: flex;
      background-color: transparent;
      padding: 0;
      border: 1px solid transparent;
      justify-content: center;
      &:hover {
        cursor: pointer;
        border-color: var(--color-on-surface-inverse);
        border-radius: 5px;
      }
    }
  }
  &.sticky-top {
    top: calc(var(--header-height) + 3px); /* 5px from padding to see focus box */
    z-index: calc(var(--zindex-sticky) - 10);
  }
  &.alert-success {
    background-color: var(--color-green);
    .icon {
      background-image: url('/assets/img/icon/success.svg');
    }
  }
  &.alert-error {
    background-color: var(--color-red);
    .icon {
      background-image: url('/assets/img/icon/error.svg');
    }
  }
  &.alert-info {
    background-color: var(--color-surface-inverse);
    .icon {
      background-image: url('/assets/img/icon/info.svg');
    }
  }
  &.hidden {
    display: none;
  }
}

  .site-header {
  display: flex;

  align-items: center;
  height: var(--header-height);
  margin-left: auto;
  margin-right: auto;
  background-color: var(--color-surface-container);
  color: var(--color-on-surface-container);
  padding-top: 3px;

  .nav-bar {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-container {
    height: 100%;
    align-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle-btn {
    display: none;
  }

  .nav {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-self: flex-end;
    align-items: center;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    margin: 0;
    height: 100%;

    li {
      display: flex;
      flex-direction: row;
      align-items: center;
      list-style: none;
      height: 100%;
    }

    a {
      align-content: center;
      text-decoration: initial;
    }

    .nav-tab {
      height: 100%;
      padding: 0 16px;
      color: var(--color-on-surface-container);
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      border-bottom: 2px solid transparent;

      &:hover {
        background-color: var(--color-primary);
        color: var(--color-on-primary);
      }

      &.active {
        border-bottom-color: var(--color-primary);
      }
    }

    .btn {
      margin-left: 24px;
    }
  }

  /* This is the small-screen adaptations */
  @media screen and (max-width: 1090px) {
    .nav-toggle-btn {
      display: flex;
      border: none;
      padding: 5px;
      background-color: transparent;

      &:hover {
        border: 1px solid var(--color-primary);
        border-radius: 5px;
      }
    }

    .nav-toggle {
      display: flex;
      position: absolute;
      flex-direction: column;
      height: auto;
      width: 100%;
      top: var(--header-height);
      left: 0;

      background-color: var(--color-surface-container);
      color: var(--color-on-surface-container);

      &.nav-toggle-closed {
        display: none;
      }
    }

    .nav-links {
      width: 100%;
      padding: 0;
      flex-direction: column;
      align-items: center;

      li {
        width: 100%;
        justify-content: center;

        a {
          &:not(.btn) {
            text-align: center;
            width: 100%;
            padding: 16px 0;
            border: none;

            &:hover {
              background-color: var(--color-primary);
              color: var(--color-on-primary);
            }
          }

          &.btn {
            width: 90%;
            margin: 0;
          }
        }
      }
    }
  }

  /* This is the very-small-screen adaptations */
  @media screen and (max-width: 650px) {
    .uoe-logo {
      display: none;
    }
  }

  @media (max-width: 355px) {
    .nav-bar {
      margin-right: 32px;
      margin-left: 32px;
    }
  }
}

  .site-footer {
  display: flex;
  align-items: center;
  height: var(--footer-min-height);
  padding: var(--footer-padding) 0;

  .wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }

  .media-section {
    display: flex;
    gap: 24px;

    .icon {
      opacity: 0.45;
      &:hover {
        opacity: 1;
      }
    }
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 24px;

    li {
      display: flex;
      flex-direction: row;
      align-items: center;
      list-style: none;
      height: 100%;
    }

    a {
      align-content: center;
      text-decoration: initial;

      color: var(--color-text-strong);
      text-align: center;
      font-feature-settings:
        'liga' off,
        'clig' off;
      /* Small/Regular */
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px;
    }
  }

  .copyright-statement {
    color: rgba(0, 0, 0, 0.6);
    font-feature-settings:
      'liga' off,
      'clig' off;
    /* Tiny/Regular */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    gap: 24px;

    a {
      color: var(--color-text-weak);
      text-align: center;
      font-feature-settings:
        'liga' off,
        'clig' off;
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 20px;
    }
  }

  /* This is the small-screen adaptations */
  @media screen and (max-width: 694px) {
    min-height: var(--footer-min-height);
    height: auto;

    .wrapper {
      flex-wrap: wrap;
      gap: 32px;
    }

    #footer-bottom-row {
      justify-content: center;
    }
    .copyright-statement {
      text-align: center;
    }
  }

  @media screen and (max-width: 550px) {
    .footer-row,
    .footer-links {
      flex-wrap: wrap;
      justify-content: center;
    }
    .logos-container {
      width: 100%;
      justify-content: space-between;
    }
    #footer-nav {
      flex-direction: column;
    }
    .nav-links {
      flex-wrap: wrap;
      justify-content: center;
    }
  }

  @media screen and (max-width: 450px) {
    .logos-container {
      flex-direction: column;
    }
  }
}

  .page-section {
  display: flex;
  flex-direction: column;
  grid-area: main-content;
  align-content: center;
  gap: 24px;

  margin-top: var(--page-section-margin);
  margin-bottom: var(--page-section-margin);

  &.page-section-row {
    flex-direction: row;
  }

  h2 {
    display: flex;
    height: 32px;
    width: max-content;
    padding: 0 12px;
    justify-content: center;
    align-items: center;
    gap: 0;
    border-radius: 16px;
    border: 1px solid var(--color-primary-20);
    background: var(--color-primary-05);

    /* text */
    color: var(--color-primary);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; /* 150% */
  }

  .page-section-title {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .page-link {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
  }

  @media screen and (max-width: 768px) {
    padding-top: var(--page-section-margin-sm);
    padding-bottom: var(--page-section-margin-sm);
  }
}

.big-text {
  color: var(--color-text-strong);
  font-size: 40px;
  font-weight: 600;
  line-height: 48px; /* 120% */
  letter-spacing: -0.5px;
}

.hero {
  max-width: 880px;
  gap: 32px;

  .big-text {
    font-size: 56px;
    line-height: 64px; /* 114.286% */
    letter-spacing: -1px;

    i {
      color: var(--color-primary);
      font-style: italic;
      letter-spacing: -0.56px;
    }
  }
}

.page-section-inverse {
  padding: 64px;
  border-radius: 24px;

  background: var(--color-surface-inverse);
  color: var(--color-on-surface-inverse-78);

  .big-text {
    color: var(--color-on-surface-inverse);
  }

  h2 {
    background: var(--color-on-surface-inverse-06);
    color: var(--color-on-surface-inverse-78);
    border-color: var(--color-on-surface-inverse-12);
  }
}

.page-section-text {
  display: flex;
  flex-direction: column;
  gap: 16px;

  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

@media screen and (max-width: 768px) {
  .hero {
    margin-top: 0;
  }
}

@media screen and (max-width: 680px) {
  .hero .big-text {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.5px;
  }

  .hero {
    margin-top: 0;
    padding-top: 32px;
  }

  .page-section.page-section-inverse {
    padding: 64px 24px;
  }
}

@media (max-width: 425px) {
  .page-section {
    margin-right: 24px;
    margin-left: 24px;
    &.hero {
      margin-right: 32px;
      margin-left: 32px;
    }
    &.page-section-inverse {
      margin-right: 0;
      margin-left: 0;
      border-radius: 0;
    }
    .form {
      padding: 12px;
    }
  }
}

  .services-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
  margin: 0;
  margin-top: 64px;
  padding: 0;

  .service-box {
    display: flex;
    flex-direction: row;
    list-style: none;
    align-items: center;
    padding: 64px;
    gap: 96px;
    background-color: var(--color-surface-container);
    border-radius: 24px;

    &.service-box-reverse {
      flex-direction: row-reverse;
    }
  }

  .icon {
    color: var(--color-primary);
    background-color: var(--color-primary-05);
  }

  .service-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-outline);
    border-radius: var(--image-border-radius);

    /* minimum, preferred, and maximum */
    width: clamp(50px, 562px, 562px);
    /*aspect-ratio: 7 / 5; /* same as 560/400 */
    height: 402px;
    box-sizing: border-box;
    flex: 0 0 auto;

    img {
      max-height: 400px;
      border-radius: var(--image-border-radius);
      max-width: 560px;
    }
  }

  .service-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .service-title {
    color: var(--color-text-strong);
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: -0.5px;
    margin-top: 16px;
    margin-bottom: 24px;
  }

  p {
    color: var(--color-text-weak);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 32px;
  }

  @media screen and (max-width: 1200px) {
    .service-image {
      margin-top: 32px;
    }
    .service-box {
      justify-content: center;
      padding: 0;
      flex-wrap: wrap-reverse;
      gap: 32px;
    }
    .service-details {
      padding: 32px;
    }
  }

  @media screen and (max-width: 680px) {
    .service-image {
      width: 100%;
      margin-top: 0;
      height: auto;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      border: none;
      img {
        width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
      }
    }
    .service-box {
      padding: 0;
      flex-wrap: wrap-reverse;
    }
  }
}

  .leaders-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 64px;
  margin: 0;
  padding: 0;

  .leader-box {
    display: flex;
    flex-direction: row;
    list-style: none;
    align-items: center;
    gap: 64px;
    /* minimum, preferred, and maximum */
    width: clamp(200px, calc(50% - 32px), 100%);
  }

  .leader-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .leader-name {
    margin-top: 12px;
    color: var(--color-text-strong);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
  }

  .leader_role {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }

  .leader-description {
    margin-top: 16px;
    color: var(--color-text-weak);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; /* 150% */

    p {
      /* Required for the clamping to work */
      display: -webkit-box;
      -webkit-box-orient: vertical;
      /* Limit the text to 13 lines (around 500 chars) */
      -webkit-line-clamp: 15;
      line-clamp: 15;
      /* Hide any overflowing content */
      overflow: hidden;
      /* Add the ellipsis at the end of the truncated text */
      text-overflow: ellipsis;

      &:not(:first-child) {
        display: none;
      }
    }
  }

  @media screen and (max-width: 660px) {
    .leader-box {
      width: 100%;
    }
  }
}

#our-team {
  display: flex;
  gap: 64px;
  .page-section-text {
    flex-grow: 2;
    flex-shrink: 1;
    flex-basis: 35%;
  }
  .leaders-list {
    flex-grow: 2;
    flex-shrink: 1;
    flex-basis: 65%;
  }
  @media screen and (max-width: 930px) {
    flex-wrap: wrap;
  }
}

  .contact-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 64px;
  .contact-details-list {
    flex-grow: 1;
    flex-basis: 50%;
  }
  .form {
    flex-grow: 1;
    flex-basis: 50%;
  }
  .contact-link {
    color: var(--color-on-surface-inverse);
    width: fit-content;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }
}
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin: 0;
  padding: 0;

  .contact-item {
    display: grid;
    list-style: none;
    grid-template-columns: [col-icon] 48px [col-details];
    grid-template-rows: [row-title] 48px [row-details] auto [row-link];
    align-items: center;
    gap: 16px;

    .icon {
      grid-column-start: col-icon;
      grid-row-start: row-title;
      display: inline;
      color: var(--color-on-surface-inverse);
      stroke: var(--color-on-surface-inverse);
      background-color: var(--color-on-surface-inverse-06);
      &.icon-rounded {
        border-radius: 40%;
      }
    }
    .contact-detail-title {
      grid-column-start: col-details;
      grid-row-start: row-title;
      color: var(--color-on-surface-inverse);
      font-size: 20px;
      font-weight: 600;
      line-height: 28px;
      margin: 0;
    }
    .contact-detail-info {
      grid-column-start: col-details;
      grid-row-start: row-details;
    }
    .contact-link {
      grid-column-start: col-details;
      grid-row-start: row-link;
    }
  }
}
.form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  accent-color: var(--color-blue-80);

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .form-group:has(.form-checkbox) {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    .form-checkbox {
      width: 32px;
      height: 32px;
      border-radius: 4px;
      border: 1px solid var(--color-on-surface-inverse-06);
      background: var(--color-on-surface-inverse);
    }
  }
  .input-text,
  textarea {
    display: flex;
    height: 48px;
    padding: 0 16px;
    border-radius: 8px;
    border: none;
  }
  textarea {
    height: 10em;
    padding: 16px;
  }
}
.honeypot {
  display: none !important;
}

@media screen and (max-width: 1150px) {
  .contact-group {
    flex-wrap: wrap;
    gap: 64px;
  }
  .contact-details-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .form {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--color-outline); /*hsla(0, 0%, 100%, 0.12)*/
  }
}

  .news-banner {
  display: none;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
  padding: 4px;
  padding-right: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  width: fit-content;
  gap: 14px;
  align-items: center;
  &.active {
    display: flex;
  }

  .news-feed-list {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 24px;
    li {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
    }
  }
  .feed-type {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 4px 8px;
    &:before {
      content: '●';
      padding-right: 4px;
      /*font-size: 32px;*/
      color: #067a57;
    }
  }

  a {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 50%;
    padding: 0;
    height: 24px;
    width: 24px;
    text-decoration: none;

    &:before {
      display: none; /* hide the custom underline on default link */
    }
    &:hover {
      border-color: var(--color-primary);
      background-color: var(--color-primary-20);
    }
    .icon {
      width: 20px;
      height: 20px;
    }
  }
}

  a {
  position: relative;
  text-decoration: none;
  color: var(--color-primary);

  &:hover {
    color: var(--color-primary);
  }

  &:before {
    content: '';
    border-bottom: solid 1px var(--color-primary);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    opacity: 0;
  }

  &:hover:before {
    opacity: 1;
  }

  &:before {
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
}

.link-underlined {
  position: relative;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-radius: 0;
  text-decoration: none;

  &:before {
    content: '';
    border-bottom: solid 1px currentColor;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  &:hover:before {
    -webkit-transform: scaleY(3);
    -moz-transform: scaleY(3);
    -ms-transform: scaleY(3);
    -o-transform: scaleY(3);
    transform: scaleY(3);
    border-bottom: solid thin var(--color-primary);
  }

  &:before {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.cool-link {
  position: relative;

  &:before,
  &:after {
    content: '';
    border-bottom: solid 1px var(--color-primary);
    position: absolute;
    bottom: 0;
    width: 0;
  }

  &:before {
    left: 0;
  }

  &:after {
    right: 0;
  }

  &:hover:before,
  &:hover:after {
    width: 50%;
  }

  &:before,
  &:after {
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
}

  .btn {
  display: flex;
  height: var(--button-height);
  width: fit-content;
  padding: 0 var(--button-side-padding, 16px);
  justify-content: center;
  align-content: center;
  align-items: center;
  border-radius: var(--button-border-radius, 8px);
  text-decoration: none;

  text-align: center;
  font-feature-settings:
    'liga' off,
    'clig' off;
  /* Small/Bold */
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;

  cursor: pointer;

  &.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
  }

  &.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);

    &:hover {
      filter: brightness(100%);
      background-color: var(--color-primary-05);
      transition: background-color 0.5s ease;
    }

    &:before {
      background: var(--color-primary-05);
    }
  }

  &.btn-inverse {
    color: var(--color-text-strong);
    background-color: var(--color-on-surface-inverse);
    border: none;
    &:before {
      background: hsla(0, 0%, 0%, 0.4);
    }
  }

  &.btn-footer {
    background-color: var(--color-black);
    color: var(--color-white);
  }

  &:hover {
    filter: brightness(90%);
    transition: filter 0.5s linear;
  }

  .btn-icon {
    margin-left: 8px;
  }

  /*cool hover animation */
  overflow: hidden;
  position: relative;

  &:before {
    background: #fff;
    content: '';
    height: 155px;
    left: -75px;
    position: absolute;
    opacity: 0.2;
    top: -50px;
    transform: rotate(35deg);
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
    z-index: -10;
  }

  &:hover:before {
    left: 120%;
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.2;
  }

  @media (max-width: 920px) {
    width: auto;
  }
}

.btn-group-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;

  @media (max-width: 920px) {
    flex-direction: column;
  }
}

  button.icon {
  padding: 0;
  border: none;
  margin: 0;
}
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: cover;
}
.icon-rounded {
  border-radius: 50%;
  padding: 12px;
}
.icon-link:hover,
.icon-link:focus {
  filter: invert(15%) sepia(56%) saturate(5710%) hue-rotate(327deg) brightness(72%) contrast(117%);
}
.icon-youtube {
  background-image: url('/assets/img/icon/YouTube.svg');
}
.icon-linkedin {
  background-image: url('/assets/img/icon/LinkedIn.svg');
}
.icon-location {
  background-image: url('/assets/img/icon/location.svg');
}
.icon-mail {
  background-image: url('/assets/img/icon/mail.svg');
}
.icon-phone {
  background-image: url('/assets/img/icon/phone.svg');
}
.icon-info {
  background-image: url('/assets/img/icon/info.svg');
}
.icon-error {
  background-image: url('/assets/img/icon/error.svg');
}
.icon-success {
  background-image: url('/assets/img/icon/error.svg');
}
.icon-arrow-right {
  background-image: url('/assets/img/icon/arrow-right.svg');
}

  table {
  border: 1px solid var(--color-outline);
  padding: 12px;
  border-radius: 24px;
  background-color: var(--color-surface-container);
  color: var(--color-on-surface-container);
}

thead {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

tbody {
  vertical-align: top;
}

  .modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden auto;
  background-color: rgba(0, 0, 0, 0.4);

  &.show {
    display: block;
  }
}

/* Modal Content/Box */
.modal-dialog[open] {
  display: flex;
  position: sticky;
  top: 100vh;
  background-color: var(--color-surface-container);
  color: var(--color-on-surface-container);
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
  p {
    margin-top: 0;
    margin-bottom: 0.8rem;
  }
  .btn-group-row {
    margin: 1em 0;
    .btn-primary {
      border: none;
    }
  }
}

@media screen and (max-width: 920px) {
  .modal-dialog[open] {
    .btn {
      width: 100%;
    }
  }
}

@media screen and (max-width: 920px) {
  .modal {
    .wrapper {
      padding: 0 32px;
    }
  }
}


