@font-face {
  font-family: "Radio Canada";
  src: url("/fonts/Radio-Canada-400.woff2") format("woff2");
  font-weight: normal;
}

@font-face {
  font-family: "Radio Canada";
  src: url("/fonts/Radio-Canada-500.woff2") format("woff2");
  font-weight: 500;
}

@font-face {
  font-family: "Radio Canada";
  src: url("/fonts/Radio-Canada-600.woff2") format("woff2");
  font-weight: 600;
}

@font-face {
  font-family: "Radio Canada";
  src: url("/fonts/Radio-Canada-700.woff2") format("woff2");
  font-weight: 700;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Radio Canada";
}

.top {
  background: #e7e7e7;
}

.top-container {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
  background: linear-gradient(
    92deg,
    #275ca7 -2.92%,
    #193d6e 3.94%,
    #132d50 8.33%,
    #0f2441 11.95%,
    #0f2442 64.49%,
    #1e4780 91.09%,
    #275ca7 105.66%
  );
  padding: 42px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  img {
    display: block;
    width: 100%;
    max-width: 300px;
  }

  .top-wrapper {
    display: flex;
    align-items: center;
  }
}

.top-text-sub {
  display: block;
  text-align: center;
  color: #264978;

  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.top-text-wrapper {
  max-width: 600px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(21px);
  padding: 16px;

  h2 {
    max-width: 80%;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  h3 {
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
  }
}

.invest {
  color: #fff;
  position: relative;
  font-size: 22px;
  display: block;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
  text-transform: uppercase;
  padding: 10px;
  border-radius: 6px;
  background: #00498f;
  width: 100%;
  text-align: center;
  border: 3px solid #00498f;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.invest:hover {
  background: #004a8f00;
  color: #00498f;
}

.invest::after {
  content: ">";
  position: absolute;
  right: 20px;
  width: 22px;
  height: 22px;
}

.accent {
  color: #00db25;
}

.header {
  background-color: #fff;

  .header-container {
    max-width: 1312px;
    padding: 12px 16px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;

    div {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      font-weight: 700;
    }

    .header-links {
      gap: 44px;
    }
  }
}

.header-2 {
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  background: #00498f;
  padding: 12px 16px;
}

.header-container-2 {
  max-width: 1312px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-2-links {
  display: flex;
  align-items: center;
  gap: 48px;

  a {
    color: #fff;
    font-size: 16px;
    line-height: 18px;
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
    color: #fff;
  }
}

.sections {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #fff;
  color: #fff;
}

.sections:hover {
  text-decoration: underline;
  color: #fff;
}

.mob-visible {
  display: none;
}

.article {
  max-width: 1060px;
  margin: 0 auto;
  padding-top: 32px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;

  .article-body {
    max-width: 730px;
    width: 100%;
  }
}

.article-sidebar {
  position: sticky;
  max-width: 300px;
  margin-top: 200px;
  top: 0;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #cacaca;
}

.sidebar-top {
  display: block;
  padding: 16px 0 6px 0;
  background: #e7e7e7;
  color: #ababab;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  margin-bottom: 10px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.sidebar-center {
  margin: 0 auto;
  padding: 0 10px;

  img {
    margin-bottom: 16px;
  }

  h3 {
    padding: 0 10px;

    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
  }

  h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
  }
}

.sidebar-center-text {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #cacaca;
  background: #e4e5e7;
  margin-bottom: 10px;

  a {
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
  }

  ul li {
    font-size: 12px;
  }
}

.article {
  ul > li {
    margin-left: 20px;
  }

  ul,
  ol {
    margin-bottom: 28px;
  }

  ol > li {
    margin-left: 30px;
  }
}

.sidebar-bottom {
  background-color: #e7e7e7;
  height: 28px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.article-sup {
  color: #757575;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  margin: 20px 0 16px 0;
}

.article-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  margin-bottom: 16px;
}

.article-sub {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 24px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;

  img {
    border-radius: 50%;
  }

  span {
    color: #545454;
    font-size: 14px;
    line-height: 20px;
  }
}

.article-author-name {
  color: #0550c8;
  font-size: 14px;
  line-height: 20px;
}

.article-body {
  padding: 0 16px;
}

.article-img {
  margin-bottom: 16px;
  width: 100%;
}

.article-quote {
  color: #545454;
  font-size: 14px;
  line-height: 20px;
}

.article-quote-author {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding-bottom: 16px;
  display: block;
  border-bottom: 1px solid #d8d8d8;
}

.article-btns {
  padding: 36px 0 20px 0;
}

.article-icons {
  max-width: 208px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.article-video-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;

  h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
  }

  h5 {
    color: #222;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    margin-bottom: 22px;
  }
}

.article-text {
  margin-bottom: 28px;
}

.article-link {
  display: block;
  position: relative;
  margin-left: 40px;
  text-align: left;
  color: #0550c8;
  text-decoration: underline;
  margin-bottom: 34px;
}

.article-link::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #0550c8;
}

.article-subtitle {
  font-size: 26px;
  margin-bottom: 30px;
}

.platform-title {
  font-style: italic;
  font-size: 16px;
  margin-bottom: 16px;
}

.platform-text {
  color: #222;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.platform-img {
  width: 100%;
  margin-bottom: 16px;
}

.platform-quote {
  font-size: 16px;
  color: #545454;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #222;
  font-weight: 400;
}

.platform-lists {
  ul {
    margin-bottom: 0;
  }
}

.platform-link {
  margin-top: 8px;
  margin-bottom: 32px;
  font-style: italic;
}

.article-body .invest {
  margin-bottom: 32px;
}

.article-body .invest::after {
  content: "";
}

.platform-sub {
  margin-top: 16px;
  margin-bottom: 8px;
}

.article-subtitle-2 {
  color: #222;
  font-size: 26px;
  font-weight: 700;
  line-height: 34px;
}

.article-sub-text {
  margin-bottom: 50px;
}

.article-sub-text-2 {
  margin-bottom: 30px;
}

.about-title {
  font-size: 20px;
  line-height: 32px;
  text-align: left;
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
}

.about-img {
  margin: 18px 0;
  display: flex;
  gap: 16px;
  align-items: center;

  img {
    max-width: 100px;
    width: 100%;
    border-radius: 50%;
  }

  h4 {
    color: #00e;
  }
}

.about-desc {
  color: #222;
  line-height: 24px;
}

.comments-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  display: flex;
  padding: 0 16px;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

.comments-sidebar {
  position: sticky;
  max-width: 300px;
  top: 0;
  bottom: 100px;
  margin-top: 200px;

  ul li {
    padding-top: 12px;
    list-style-type: none;
    border-bottom: 1px solid #e0e0e0;

    p {
      font-size: 14px;
      font-weight: 700;
      line-height: 20px;
      margin-bottom: 8px;
    }
  }

  h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 12px;
  }

  span {
    font-size: 22px;
    line-height: 26px;
  }

  .item-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;

    h5 {
      color: #00498f;
      text-transform: uppercase;
      font-size: 20px;
    }
  }
}

.comments-sidebar-item {
  display: flex;
  gap: 10px;

  a {
    display: flex;
    gap: 10px;
    color: #000;
  }

  a:hover {
    text-decoration: none !important;
    color: #000 !important;
  }
}

.videos {
  max-width: 1060px;
  margin: 40px auto;
  padding: 0 16px;
}

.videos-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.video-item {
  max-width: 200px;
  width: 100%;
  border-bottom: 1px solid #54545445;
  padding-bottom: 44px;

  .video-item-img {
    position: relative;
    margin-bottom: 12px;

    img {
      max-width: 200px;
      width: 100%;
      height: 112px;
    }
  }

  .video-item-img::before {
    content: "";
    background: url("/img/icon-play.svg") no-repeat center / cover;
    background-size: 32px 32px;
    position: absolute;
    width: 32px;
    height: 32px;
    bottom: 16px;
    left: 16px;
  }

  .video-sup {
    text-transform: uppercase;
    font-size: 12px;
    color: #545454;
    margin-bottom: 8px;
  }

  .video-desc {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #000;
  }
}

.videos-wrapper {
  display: flex;
  align-items: stretch;
  gap: 18px;
  border-top: 1px solid #000;
  padding: 10px 0;

  a:hover {
    text-decoration: none;
  }
}

.news-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
}

.news-card {
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  padding-bottom: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  color: #545454;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.news-card-desc {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #000;
  margin-bottom: 30px;
}

.news-card-bottom {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #CBCBCB;
  font-size: 14px;
  line-height: 16px;
  text-transform: capitalize;
  margin-top: auto;
}

.news-card-bottom-column {
  display: flex;
  flex-direction: column;
}

.news-card-bottom-author {
  display: flex;
  justify-self: flex-start;
  color: #CBCBCB;
  width: 100%;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.news-card-bottom-text {
  color: #CBCBCB;
}

@media (max-width: 750px) {
  .top-container {
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;

    img {
      max-width: 136px;
    }
  }

  .top-text-sub {
    display: none;
  }

  .top-text-wrapper {
    h2 {
      font-size: 18px;
    }

    h3 {
      font-size: 14px;
    }
  }

  .invest {
    font-size: 16px;
  }

  .mob-hidden {
    display: none;
  }

  .article {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .article-sidebar {
    margin: 30px auto;
  }

  .mob-visible {
    display: block;
  }

  .header-container-2 {
    justify-content: space-between;
  }

  .article-text {
    margin-bottom: 8px;
  }

  ul,
  ol {
    margin-bottom: 8px;
  }

  .article-subtitle {
    font-size: 22px;
  }

  .platform-img {
    margin-bottom: 8px;
  }

  .platform-quote {
    margin-bottom: 32px;
  }

  .article-sub-text {
    margin-bottom: 8px;
  }

  .article-sub-text-2 {
    margin-bottom: 8px;
  }

  .comments-sidebar {
    display: none;
  }

  .videos-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 1rem;
  }

  .video-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .video-item-img {
    max-width: 100%;
    height: 100%;
    width: 100%;
  }

  .video-item-img img {
    max-width: 100% !important;
    height: 250px !important;
    width: 100% !important;
  }

  .video-desc {
    text-align: center;
  }

  .news-wrapper {
    display: flex;
    flex-direction: column;
  }

  .news-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
