/*------------------------------------*\
    
    WebFX WYSIWYG Customizations - Global styling for all ACF WYSIWYG's

    Add custom WYSIWYG styling to this file if it should be applied to all ACF WYSIWYG's on the site
    Otherwise, put your block-specific styles in individual block stylesheets

\*------------------------------------*/

.wysiwyg {
  position: relative;
  color: #000000;
}

.bg-white {
  background: #ffffff;
}

.bg-gray {
  background: linear-gradient(91deg, #fafafa 0.36%, #ddd 99.14%);
}

.bg-blue {
  background: linear-gradient(90deg, #1d2388 0%, #234ba0 100%);
  color: #ffffff;
}

.bg-blue :is(h1, h2, h3, h4, h5, h6, .sub-heading) {
  color: #fff;
}

.bg-blue p a {
  color: #fff;
  background: linear-gradient(
    to bottom,
    rgba(255, 195, 29, 1) 0%,
    rgba(255, 195, 29, 1) 100%
  );
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 3px 3px;
  transition: background-size 0s;
}

.cl-white.sub-heading {
  color: #fff;
  background: #cce9f5;
}

.cl-white.sub-heading {
  color: #d70c0c;
  background: linear-gradient(91deg, #fafafa 0.36%, #ddd 99.14%);
}

.cl-blue.sub-heading {
  background: #cce9f5;
}

.cl-yellow.sub-heading {
  color: #000000;
  background: linear-gradient(91deg, #ffc31d 0.36%, #ffc31d 99.14%);
}

.bg-blue .btn-secondary {
  color: #d70c0c;
}

.bg-blue .btn-secondary::before {
  background: linear-gradient(91deg, #fafafa 0.36%, #ddd 99.14%);
}

.bg-blue .btn-tertiary {
  color: #fff;
}

.bg-blue .btn-tertiary::before {
  border: 2px solid #fff;
  color: #fff;
}

.bg-blue .btn-link {
  color: #fff;
}

.bg-blue .btn-link::before {
  background: linear-gradient(91deg, #fff 0.36%, #fff 99.14%);
}

.bg-blue ul li:before {
  background: #ffffff;
}

.example-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.example-btns .btn + .btn {
  margin: 0;
}

.wysiwyg__wrapper .wysiwyg__wrapper-small {
  margin: 0;
}

.example-btns:last-child {
  margin-bottom: 0;
}

.bg-gray blockquote a:not(.btn) {
  color: #fff;
}

.bg-blue blockquote a:not(.btn) {
  color: #000;
}

.bg-white blockquote a:not(.btn) {
  color: #fff;
}

.bg-white blockquote p a:not(.btn) {
  word-break: break-word;
  background: linear-gradient(
    to bottom,
    rgba(255, 195, 29, 1) 0%,
    rgba(255, 195, 29, 1) 100%
  );
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 2px 3px;
  transition: background-size 0.1s;
  text-decoration: none;
}

.bg-white blockquote p a:not(.btn):hover {
  background: linear-gradient(
    to bottom,
    rgba(255, 195, 29, 1) 0%,
    rgba(255, 195, 29, 1) 100%
  );
  background-repeat: repeat-x;
  background-size: 2px 3px;
  background-position: 0 100%;
  color: #ffc31d;
  transition: background-size 0.3s;
}

.bg-gray blockquote p a:not(.btn) {
  word-break: break-word;
  background: linear-gradient(
    to bottom,
    rgba(255, 195, 29, 1) 0%,
    rgba(255, 195, 29, 1) 100%
  );
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 2px 3px;
  transition: background-size 0.1s;
  text-decoration: none;
}

.bg-gray blockquote p a:not(.btn):hover {
  background: linear-gradient(
    to bottom,
    rgba(255, 195, 29, 1) 0%,
    rgba(255, 195, 29, 1) 100%
  );
  background-repeat: repeat-x;
  background-size: 2px 3px;
  background-position: 0 100%;
  color: #ffc31d;
  transition: background-size 0.3s;
}

.bg-blue blockquote p a:not(.btn) {
  word-break: break-word;
  background: linear-gradient(to bottom, #d70c0c 0%, #d70c0c 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 2px 3px;
  transition: background-size 0.1s;
  text-decoration: none;
}

.bg-blue blockquote p a:not(.btn):hover {
  color: #d70c0c;
  background: linear-gradient(to bottom, #d70c0c 0%, #d70c0c 100%);
  background-size: 2px 3px;
  background-position: 0 100%;
  background-repeat: repeat-x;
  transition: background-size 0.1s;
}

.bg-blue p a:not(.btn),
.bg-blue ul li a:not(.btn) {
  color: #ffffff;
  background: linear-gradient(
    to bottom,
    rgba(255, 195, 29, 1) 0%,
    rgba(255, 195, 29, 1) 100%
  );
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 3px 3px;
  transition: background-size 0s;
}

@media (min-width: 768px) {
  .example-btns {
    align-items: center;
    flex-direction: row;
    gap: 15px 25px;
  }
}

@media (min-width: 1200px) {
  .wysiwyg__wrapper {
    max-width: 1485px;
    margin: 0 auto;
  }

  .wysiwyg__wrapper-small {
    max-width: 1338px;
    margin: 0;
  }

  .bg-blue p a:not(.btn):hover,
  .bg-blue ul li a:not(.btn):hover {
    background: linear-gradient(
      to bottom,
      rgba(255, 195, 29, 1) 0%,
      rgba(255, 195, 29, 1) 100%
    );
    background-repeat: repeat-x;
    background-size: 2px 3px;
    background-position: 0 100%;
    color: #ffc31d;
    transition: background-size 0.3s;
  }

  .bg-blue .btn-secondary:hover::before {
    background: linear-gradient(91deg, #fafafa 0.36%, #cce9f5 99.14%);
  }

  .example-btns {
    margin-bottom: 50px;
  }
}

/* table */

.table-wrap {
  margin: 30px -22px 0 0;
  position: relative;
}

.table-scroll {
  padding-bottom: 50px;
  background: transparent;
  position: relative;
  height: auto;
  width: 100%;
  overflow: auto;
  @supports not (selector(: : -webkit-scrollbar-thumb)) {
    scrollbar-color: #234ba0 #1c1b1f;
    scrollbar-width: thin;
  }
}

.table-structure {
  width: 730px;
  overflow: hidden;
  padding: 0;
}

.table-scroll::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.table-scroll::-webkit-scrollbar-track {
  margin-right: 62px;
  margin-left: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, #1c1b1f 0.05%, #5e5e5e 99.98%);
}

.table-scroll::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background: linear-gradient(90deg, #cce9f5 0%, #234ba0 100%);
}

.table-structure table {
  border-collapse: collapse;
  font-family: "Outfit", serif;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #1d2388 0%, #234ba0 100%);
}

.table-structure table thead {
  color: #ffffff;
  background: linear-gradient(90deg, #1c1b1f 0.05%, #5e5e5e 99.98%);
}

.table-structure table thead tr th {
  padding: 14px 19px;
  text-align: left;
  font-size: 16px;
  line-height: 1.5em;
  font-weight: 500;
  border: none;
  color: #ffffff;
  vertical-align: middle;
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

.table-structure table tbody tr:nth-child(even) {
  background: #223cbd;
}

.table-structure table tbody tr td,
.table-structure table tbody tr th {
  padding: 16px 19px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3em;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.table-structure table tbody tr:nth-child(even) td {
  border-right: none;
}

.table-structure table tbody tr td:last-child,
.table-structure table thead tr th:last-child {
  border-right: none;
}

.table-wrap:last-child {
  margin-bottom: 0;
}

.table-scroll-info {
  padding: 0;
  font-size: 14px;
  line-height: 1.4em;
  color: #3a3a3a;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: left;
  font-family: "Outfit", serif;
  margin-top: -40px;
}

.table-arrow {
  position: absolute;
  right: 24px;
  bottom: -24px;
  font-size: 22px;
  color: #1c1b1f;
  line-height: 1em;
  font-weight: normal;
}

.table-scroll-info + p {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .table-structure {
    width: 950px;
  }

  .table-wrap {
    margin: 0 -52px 0 0px;
  }

  .table-structure table thead tr th {
    padding: 17px 25px;
  }

  .table-structure table thead tr th:first-child {
    font-size: 18px;
    font-weight: 500;
  }

  .table-structure table tbody tr td,
  .table-structure table tbody tr th {
    padding: 20px 25px;
    font-size: 16px;
    line-height: 1.5em;
  }

  .table-structure table tbody tr th {
    font-weight: 600;
  }

  .table-scroll {
    padding-bottom: 30px;
  }

  .table-scroll::-webkit-scrollbar {
    width: 14px;
    height: 14px;
  }

  .table-scroll::-webkit-scrollbar-track {
    margin-right: 112px;
    margin-left: 310px;
  }

  .table-scroll-info {
    font-size: 16px;
    margin-top: -18px;
  }

  .table-arrow {
    right: 50px;
    bottom: 0;
  }
}

@media (min-width: 1200px) {
  .table-wrap {
    margin: 35px 0 0;
  }

  .table-scroll {
    overflow: visible;
    padding-bottom: 0;
  }

  .table-structure {
    width: 100%;
    overflow: hidden;
    margin-left: 0px;
  }
}
