:root {
  --logo-w: 240px;
  --br: 4px;
}

section ul a,
section ol a {
  padding: 0 !important;
}

.files ul.files {
  display: flex;
  align-items: center;
}

.files ul.files li {
  flex: 0 1 200px;
  min-width: 200px;
  padding: 1rem;
}

.files ul.files li a {
  min-height: auto;
}

// comp
body .header a span {
  display: none !important;
}

.social a svg,
.lang svg,
.lang {
  stroke: var(--c5) !important;
  color: var(--c5) !important;
}

.s-hero .content .header h1,
.s-hero .content .header p {
  font-family: var(--secondary);
  font-weight: lighter !important;
}
.cards[class*="card-list"] .card .cd_content {
  padding: 2rem !important;
}
.cards[class*="card-list"].card-list-animated .card .cd_content,
.cards[class*="card-list"].card-list-animated .card {
  height: auto !important;
  max-height: auto !important;
}

.cards[class*="card-list"].card-list-animated .card {
  max-height: unset !important;
}
.cards[class*="card-list"] .card .cd_content h3 {
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.cards[class*="card-list"].card-list-animated .card .cd_content h3 {
  font-size: 2.25rem;
}

@media screen and (max-width: 500px) {
  .cards[class*="card-list"].card-list-animated .card {
    background: var(--c1);
  }
  .cards[class*="card-list"] .card .cd_content {
    padding: 0.25rem;
  }
  .cards[class*="card-list"].card-list-animated .card ul {
    padding-left: 0.25rem;
  }
  .cards[class*="card-list"].card-list-animated .card .cd_image {
    opacity: 0.25 !important;
  }
  .cards[class*="card-list"].card-list-animated .card .cd_content h3,
  .cards[class*="card-list"].card-list-animated .card .cd_content ul,
  .cards[class*="card-list"].card-list-animated .card .cd_content .button {
    bottom: 0;
    opacity: 1;
  }
  .cards[class*="card-list"].card-list-animated .card .cd_content h3 {
    font-size: var(--3xl) !important;
  }
}

.pill {
  background: var(--c5) !important;
}

.image::after {
  display: none;
}

.cards[class*="card-team"] .card:nth-child(n + 2) .cd_image {
  height: 240px;
}

body > *.c1 .cards .card .button.link {
  /* color: hsl(40, 52%, 52%) !important; */
}
body > *.c1 .cards .card .button.link svg {
  /* stroke: hsl(40, 52%, 52%) !important; */
}

.card.feature-grid .cd_content svg {
  stroke: var(--c5) !important;
}

.card.contact .cd_content svg {
  stroke: var(--c5) !important;
}

.card-list-animated .card .cd_content h3 {
  border-bottom: 2px solid hsl(40, 52%, 62%);
}

.cards[class*="card-list"].card-list-animated .card .cd_image {
  opacity: 0.66;
}

.image::after {
  background: var(--c4);
}

nav ul li.logo > a svg,
footer ul li.logo > a svg {
  stroke: none;
}

nav ul li.logo > a svg path,
footer ul li.logo > a svg path {
  fill: #fff;
}

nav .social {
  box-sizing: border-box;
}

.s-hero .header {
  max-width: 900px;
}

.s-hero .layer {
  background: hsla(210, 75%, 40%, 0.75) !important;
  display: block;
}

.s-hero .header > a {
  display: none;
}

section.events a.card {
  box-shadow: 0 1px 4px hsla(210, 80%, 15%, 0.75) !important;
}

section.events a.card .cd_content {
  background: hsl(188, 32%, 32%);
}

section.s-contact .card {
  padding: 2rem;
  background: hsl(210, 80%, 97%) !important;
}

section:not(.inv) .header > * {
  background: -webkit-linear-gradient(0deg, var(--c1), var(--c3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

section .header strong {
  font-weight: inherit;
}

.hero .header > p {
  font-size: 2rem !important;
  /* font-size: var(--4xl) !important;
  line-height: var(--4xl-lh) !important; */
}

@media screen and (max-width: 500px) {
  .s-hero .header > h1 {
    font-size: var(--4xl) !important;
    line-height: var(--4xl-lh) !important;
  }
  .s-hero .header > p {
    font-size: var(--xl) !important;
    line-height: var(--xl-lh) !important;
  }
}

.s-hero .card-section dl {
  /* background: linear-gradient(0deg, hsl(var(--c1-hs), var(--c1-l), .125), hsl(var(--c4-hs), var(--c4-l), .25)); */
  padding: 0;
  border-radius: 6px;
}

.s-hero .card-section > h3 {
  color: var(--c2);
}

.s-about .header > a {
  /* margin-bottom: 0.25rem !important; */
}

.metrics .cd_content {
  justify-content: center !important;
}

.cards.card-metrics .card:nth-child(1),
.cards.card-sectors .card:nth-child(1),
.cards.card-sectors .card:nth-child(8) {
  background: var(--c1) !important;
}

.cards.card-metrics .card:nth-child(2),
.cards.card-sectors .card:nth-child(2),
.cards.card-sectors .card:nth-child(7) {
  background: var(--c2) !important;
}

.cards.card-metrics .card:nth-child(3),
.cards.card-sectors .card:nth-child(3),
.cards.card-sectors .card:nth-child(6) {
  background: var(--c3) !important;
}

.cards.card-metrics .card:nth-child(4),
.cards.card-sectors .card:nth-child(4),
.cards.card-sectors .card:nth-child(5) {
  background: var(--c4) !important;
}

.cards.card-metrics .card:nth-child(5) {
  background: #5f6a82 !important;
}

.cards[class*="card-list"].card-list-animated .card .cd_content ul {
  margin: 0.5rem 0;
}

.cards[class*="card-list"].card-list-animated .card .cd_content * {
  bottom: unset !important;
  opacity: 1 !important;
}

.card-section > h3 {
  font-size: var(--4xl);
}

.cards[class*="card-team"] {
  grid-template-columns: repeat(4, 1fr) !important;
  grid-auto-rows: 440px !important;
}

.cards[class*="card-team"] .cd_content p {
  text-align: left !important;
}

@media screen and (max-width: 500px) {
  .cards[class*="card-team"] {
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
  }
}

.cards[class*="card-team"] .card:nth-child(1) {
  grid-area: unset !important;
}

.cards[class*="card-team"] .card .cd_image {
  height: 320px !important;
}

.cards[class*="card-team"] .card .cd_image img {
  width: 100%;
  min-height: 320px;
  height: auto !important;
  transition: transform 0.5s ease;
  object-fit: cover;
}

.cards[class*="card-team"] .card .cd_content p {
  font-size: 1rem;
  text-align: center !important;
}

@media screen and (min-width: 900px) {
  .cards[class*="card-team"] .card .cd_content p {
    text-align: center !important;
    justify-content: center;
  }

  .cards[class*="card-team"] .card:nth-child(99) .cd_content {
    position: absolute;
    overflow: visible;
    justify-content: flex-start;
    height: unset !important;
    bottom: unset !important;
    padding: 0.75rem;
  }

  .cards[class*="card-team"] .card:nth-child(99):hover .cd_content {
    transition: unset !important;
    height: unset !important;
    justify-content: unset !important;
    padding: unset !important;
  }
}

body
  > *.c1[class*=" inv"]
  .cards[class*="card-team"]
  .card:first-child:hover
  .cd_content {
  /* background: none !important; */
}

@media screen and (max-width: 500px) {
  nav {
    bottom: 0 !important;
  }

  nav ul {
    overflow: auto !important;
    gap: 0.5rem !important;
    margin: 0 0.25rem !important;
  }
}

.text ul, .text ol {
  padding-left: 2rem;
}

ul li, ol li {
  place-items: unset;
}
