@import url("/assets/shareables/silka-a3a6d8ec.css");

:root {
  /* Colors */
  --white: rgb(255, 255, 255);
  --white-1: rgb(250, 250, 250);
  --grey-0: rgb(244, 246, 251);
  --grey-1: rgb(217, 223, 233);
  --grey-2: rgb(97, 112, 134);
  --red: rgb(254, 151, 169);
  --blue-2: rgb(44, 54, 71);
  --primary-20: #fd9cb9;
  --primary-100: #FF4473;
  --primary-140: #be0f47;

  --overlay: rgba(0, 0, 0, 0.55);

  /* Shadows */
  --box-shadow: rgba(49, 73, 164, 0.08) 0px 6px 10px, rgba(49, 73, 164, 0.1) 0px 0px 3px, rgba(49, 73, 164, 0.14) 0px 0px 2px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Silka;
  font-style: normal;
  margin: 0;
  overflow-x: hidden;
  padding: 0;
  background: var(--white-1);
}

body {
  color: var(--blue-2);
  margin: 0;
  overflow-x: hidden;
  padding: 0;
  position: relative;

  &.link-copied .copy-to-clipboard--copied {
    opacity: 1;
    transition: opacity 0.3s ease-out, visibility 0.3s;
    visibility: visible;
  }
}

h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 5rem;
  letter-spacing: 0em;
  margin: 0;
}

h3 {
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1.5rem;
  margin: 0;
}

p {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0em;
  line-height: 1.5rem;
}

strong {
  font-weight: 600;
}

button {
  align-items: center;
  background: var(--primary-100);
  border: 1px solid var(--primary-100);
  border-radius: 0.25rem;
  box-sizing: border-box;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  flex-direction: row;
  font-family: Silka;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25rem;
  padding: 0.75rem 1rem;
  text-align: center;
}

button:focus {
  border-color: var(--primary-20);
  box-shadow: var(--primary-20) 0 0 0 3px;
  outline: none;
  text-decoration: none;
  z-index: 1;
}

button:hover {
  background-color: var(--primary-140);
  text-decoration: none;
  transition: all 0.15s ease 0s;
}

.toolbar {
  align-items: center;
  background: var(--white);
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  width: 100%;
}

.toolbar__logo {
  max-height: 4.375rem;
  width: auto;
}

.document-icon {
  background-image: url("data:image/svg+xml,%3Csvg width='44' height='50' viewBox='0 0 44 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M35 2H32V37C32 37.5523 31.5523 38 31 38H2V41C2 41.5523 2.44772 42 3 42H35C35.5523 42 36 41.5523 36 41V3C36 2.44772 35.5523 2 35 2Z' fill='%23FFE0E9'/%3E%3Cpath d='M40 8V45C40 45.5523 39.5523 46 39 46H8V48H42V8H40Z' fill='%23FFE0E9'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M41 6H38V3C38 1.34315 36.6569 0 35 0H3C1.34315 0 0 1.34315 0 3V41C0 42.6569 1.34315 44 3 44H6V47C6 48.6569 7.34315 50 9 50H41C42.6569 50 44 48.6569 44 47V9C44 7.34315 42.6569 6 41 6ZM2 41V3C2 2.44772 2.44772 2 3 2H35C35.5523 2 36 2.44772 36 3V41C36 41.5523 35.5523 42 35 42H3C2.44772 42 2 41.5523 2 41ZM41 48C41.5523 48 42 47.5523 42 47V9C42 8.44771 41.5523 8 41 8H38V41C38 42.6569 36.6569 44 35 44H8V47C8 47.5523 8.44771 48 9 48H41Z' fill='%23FC628F'/%3E%3Cpath d='M31 24H7C6.44772 24 6 24.4477 6 25C6 25.5523 6.44772 26 7 26H31C31.5523 26 32 25.5523 32 25C32 24.4477 31.5523 24 31 24Z' fill='%23FC628F'/%3E%3Cpath d='M23 30H7C6.44772 30 6 30.4477 6 31C6 31.5523 6.44772 32 7 32H23C23.5523 32 24 31.5523 24 31C24 30.4477 23.5523 30 23 30Z' fill='%23FC628F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 6H30C31.1046 6 32 6.89543 32 8V18C32 19.1046 31.1046 20 30 20H8C6.89543 20 6 19.1046 6 18V8C6 6.89543 6.89543 6 8 6ZM8 18H30V8H8V18Z' fill='%23FC628F'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  height: 3.125rem;
  margin-bottom: 0.5rem;
  width: 3.125rem;
}

.header {
  padding: 9.5rem 0;
  position: relative;
  text-align: center;
}

.header--hasBackgroundImage {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  .header__description, .header__heading {
    color: var(--white);
  }

  &::before {
    background: var(--overlay);
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }
}

.header__content {
  margin: 0 auto;
  max-width: 64rem;
  padding: 0 1rem;
  position: relative;
}

.header__description {
  font-size: 1.25rem;
}

.summary {
  margin-top: 3.5rem;
}

.summary__title {
  color: var(--red);
  font-family: Silka;
  font-size: 1rem;
  line-height: 1.75rem;
  text-transform: uppercase;
}

.numbers-cards {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.numbers-card:not(:last-child) {
  margin-right: 1.5rem;
}

.numbers-card {
  align-items: center;
  background: var(--white);
  border-radius: 0.25rem;
  -webkit-box-align: center;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  font-size: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  width: 19rem;
}

.number-card__number {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.75rem;
}

.articles {
  align-items: start;
  column-gap: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: min-content;
  margin: 3rem auto;
  max-width: 60rem;
  padding: 0 1rem;
  row-gap: 1.5rem;

  @media screen and (max-width: 768px) {
    grid-template-columns: auto;
  }
}

.article {
  background: var(--white);
  border-radius: 0.25rem;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  position: relative;
}

.article__header {
  align-items: center;
  border-bottom: 1px solid var(--grey-1);
  display: flex;
  padding: 1rem 1.5rem;

  .reach {
    color: var(--grey-2);
  }
}

.article__content {
  padding: 1.5rem;

  p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 6;
    -webkit-line-clamp: 6;
    margin: 0.25rem 0 0;
  }

  h3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }

  time {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--grey-2);
  }
}

a.card__link {
  color: inherit;
  text-decoration: none;

  &:hover,
  &:active,
  &:focus,
  &:visited {
    color: inherit;
    text-decoration: none;
  }
}

.article__thumb {
  background: var(--grey-0);
  background-size: cover;
  border: 1px;
  border-radius: 0.25rem;
  display: inline-block;
  flex-shrink: 0;
  height: 2.5rem;
  margin-right: 1rem;
  overflow: hidden;
  width: 2.5rem;
}

.copy-to-clipboard--copied {
  margin-right: 1rem;
  opacity: 0;
  transition: opacity 0.1s ease-out, visibility 0.1s;
  visibility: hidden;
}
