@import url("https://fonts.googleapis.com/css2?family=Radio+Canada:ital,wght@0,300..700;1,300..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  position: relative;
}
.container {
  max-width: 1072px;
  margin: 0px auto;
}
.menu-top {
  padding-block: 12px;
  width: 100vw;
  background: white;
}
.mt-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-right {
  display: flex;
  align-items: center;
  gap: 44px;
}
.menu-top a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: black;
  font-family: "Radio Canada";
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
  text-decoration: none;
}
nav {
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  background: #e60505;
}
.nav-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-block ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-block ul li {
  padding-inline: 24px;
  a {
    color: white;
    font-family: "Radio Canada";
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    text-decoration: none;
  }
}
.nav-news {
  color: #fff;
  font-family: Roboto;
  font-size: 30px;
  font-weight: 300;
  line-height: 52px;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-news {
  padding-inline: 0px !important;
}
.left-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-top {
  margin-inline: 24px;
  color: #e60505;
  display: block;
  text-decoration: none;
  font-family: "Radio Canada";
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  background: white;
  padding: 4px;
}
.nb-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-more {
  border-radius: 4px;
  border: 1px solid #fff;
  text-decoration: none;
}
.nm-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  gap: 10px;
  transition: background 0.5s ease;
  &:hover {
    background: white;
    p {
      color: #e60505;
    }
    svg path {
      fill: #e60505;
    }
  }
  p {
    color: #fff;
    font-family: "Radio Canada";
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    transition: color 0.5s ease;
  }
  svg path {
    transition: fill 0.5s ease;
  }
}

main {
  padding-inline: 126px;
  padding-block: 32px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-content h1 {
  color: black;
  font-family: "Radio Canada";
  font-size: 48px;
  font-weight: 700;
}
.hero-content p:nth-child(1) {
  color: #757575;
  font-family: "Radio Canada";
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
}
.hero-content p:nth-child(3) {
  color: black;
  font-family: "Radio Canada";
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}
.author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.author p {
  color: #545454;
  font-family: "Radio Canada";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  a {
    color: #0550c8;

    font-family: "Radio Canada";
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }
}
.hero-content .quote {
  color: #545454;
  font-family: "Radio Canada";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d8d8d8;
  span {
    color: #000;
    font-family: "Radio Canada";
    font-size: 14px;
    font-style: italic;
    font-weight: 600;
    line-height: 20px;
  }
}
.hero {
  display: flex;
  align-items: start;
  gap: 30px;
  position: relative;
}
.advertisment {
  position: sticky;
  top: 46px;
  flex: 1;
  cursor: pointer;
}
.hero-img {
  width: 100%;
}
.advertisment {
  border-radius: 12px;
  border: 1px solid #cacaca;
  background: #e7e7e7;
  padding: 16px 10px 38px;
  min-width: 300px;
}
.advertisment h3 {
  color: #6e6e6e;
  font-family: "Radio Canada";
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  margin-bottom: 18px;
}
.advertisment img {
  width: 100%;
  margin-bottom: 12px;
}
.advertisment h2 {
  color: #000;
  font-family: "Radio Canada";
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.advertisment p {
  color: #000;
  font-family: "Radio Canada";
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.aside-advertisment-dop {
  border-radius: 6px;
  border: 1px solid #cacaca;
  background: #f9f9f9;
  padding: 12px;
}
.aside-advertisment-dop p {
  color: #000;
  font-family: "Radio Canada";
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}
.aside-advertisment-dop ul li {
  color: #000;
  font-family: "Radio Canada";
  font-size: 12px;
  font-weight: 400;
}
.aside-advertisment-dop ul {
  list-style-type: disc;
  padding-left: 24px;
}
.social-media {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
  margin-bottom: 52px;
}

.content-img {
  width: 100%;
  margin-bottom: 16px;
}
.main-content h2 {
  color: #222;
  font-family: "Radio Canada";
  font-size: 26px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 2px;
}
.main-content .text {
  color: #222;
  font-family: "Radio Canada";
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 16px;
  a {
    color: #e60505;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 6%;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }
}
.main-content .quote {
  color: #545454;
  font-family: "Radio Canada";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #d8d8d8;
  span {
    color: #000;
    font-style: italic;
    font-weight: 600;
  }
}
.reg-button {
  border: 3px solid #e60505;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: background 0.5s ease;
  &:hover {
    background: #e60505;
    p {
      color: white;
    }
    svg path {
      fill: white;
    }
  }
  p {
    color: #e60505;
    font-family: "Radio Canada";
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    margin-bottom: 0px;
    transition: color 0.5s ease;
  }
  svg path {
    fill: #e60505;
    transition: fill 0.5s ease;
  }
}
.btnn-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.m-content-block {
  display: flex;
  align-items: start;
  gap: 30px;
}
.popular {
  min-width: 300px;
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 46px;
  margin-top: 40px;
}
.popular h2 {
  color: #000;
  font-family: "Radio Canada";
  font-size: 26px;
  font-weight: 700;
  line-height: 130%;
}
.number {
  color: #e60505;
  font-family: "Radio Canada";
  font-size: 22px;
  font-weight: 600;
  line-height: 120%;
}
.popular-item {
  display: flex;
  align-items: start;
  gap: 12px;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
}
.popular-item-text span {
  color: #e60505;
  font-family: "Radio Canada";
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;
}
.popular-item-text p {
  color: black;
  font-family: "Radio Canada";
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 8px;
}
.footer-top {
  border-top: 1px solid #eaeaea;
  padding-block: 16px;
}
.ft-block {
  display: flex;
  align-items: start;
  justify-content: space-between;
}
.footer-col-item {
  max-width: 182px;
  display: flex;
  gap: 16px;
  flex-direction: column;
  h3 {
    color: #000;
    font-family: "Radio Canada";
    font-size: 16px;
    font-weight: 700;
    line-height: 170%;
  }
  p {
    color: black;
    font-family: "Radio Canada";
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
  }
  a {
    color: #0550c8;
    text-decoration: none;
    font-family: "Radio Canada";
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
  }
}
.ft-col-item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom {
  background: black;
  padding: 16px;
}
.fb-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  p,
  a {
    color: white;
    text-align: center;
    font-family: "Radio Canada";
    font-size: 12px;
    font-weight: 700;
    line-height: 120%;
    text-decoration: none;
  }
}
.grey-quote {
  border-radius: 8px;
  border-left: 4px solid #ca2e20;
  background: #e4e4e4;
  padding: 10px;
  margin-bottom: 16px;
  p {
    margin-bottom: 10px;
    color: #000;

    font-family: Roboto;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
  }
  span {
    color: #000;
    font-family: "Radio Canada";
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    line-height: 24px;
  }
}
.guide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 626px;
  width: 100%;
  margin-inline: auto;
  margin-top: 16px;
  margin-bottom: 32px;
}
.gi-number {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 60px;
  border: 2px solid #e60505;
  padding: 6px 14px;
  p {
    color: #000;

    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
  }
}
.guide-item {
  display: flex;
  align-items: center;
  gap: 12px;
  p {
    color: #000;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
  }
  a {
    color: #e60505;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    text-decoration: none;
  }
}

.about-author {
  margin-top: 28px;
  h2 {
    border-bottom: 1px solid black;
  }
  p {
    color: #000;
    font-family: Roboto;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
  }
}
.author-block {
  padding-block: 16px;
  display: flex;
  gap: 32px;
  align-items: center;
  img {
    border-radius: 50%;
    border: 1px solid #cbcbcb;
  }
}
.author-block .info p {
  color: #000;
  font-family: "Radio Canada";
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
  font-style: normal;
}
.author-block .info span {
  color: #222;
  font-family: "Radio Canada";
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}
.videos {
  margin-top: 56px;
}
.videos h2,
.discover h2 {
  border-bottom: 1px solid black;
  color: black;
  font-family: "Radio Canada";
  font-size: 20px;
  font-weight: 700;
  line-height: 170%;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.main-bottom-block {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.main-bottom-block a,
.swiper-slide a {
  min-height: 270px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-direction: column;
  padding-bottom: 8px;
  gap: 30px;
  text-decoration: none;
  span {
    color: #545454;
    font-family: "Radio Canada";
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize;
  }
}
.main-bottom-block a div,
.swiper-slide a div {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  img {
    width: 100%;
  }
  span {
    color: #545454;
    font-family: "Radio Canada";
    font-size: 12px;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
  }
  p {
    color: black;
    font-family: "Radio Canada";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
  }
}
.disc-bottom span {
  color: #545454;
  font-family: "Radio Canada";
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 120%;
  text-transform: none !important;
}
body {
  position: relative !important;
}

.modal-form {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-form.active {
  display: block;
  opacity: 1;
}

.modal-form:before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
}

.modal-form-wrapper {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 100%;
  max-width: 400px;

  z-index: 13;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-form.active .modal-form-wrapper {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.close-modal {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}

.disc-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.disc-bottom .company {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  p {
    color: #545454;
    font-family: "Radio Canada";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
  }
  img {
    max-width: 40px;
  }
}
.nm-block .sections {
  display: none;
}
.nm-block .more {
  display: block;
}
.swiper {
  display: none !important;
}
@media (max-width: 1024px) {
  .advertisment,
  .popular {
    display: none;
  }
  .container {
    padding-inline: 12px;
  }
  main {
    padding-inline: 0px;
  }
}
@media (max-width: 900px) {
  .menu-left p,
  .menu-right p {
    display: none;
  }
  .menu-right {
    gap: 12px;
  }
  .nav-top,
  .nav-block ul {
    display: none;
  }
  .nm-block .sections {
    display: block;
  }
  .nm-block .more {
    display: none;
  }
  .fb-block {
    flex-direction: column;
    gap: 28px;
  }
  .footer-col-item {
    max-width: 124px;
  }
  .ft-block {
    gap: 32px;
    flex-wrap: wrap;
  }
  .discover .main-bottom-block {
    grid-template-columns: repeat(2, 1fr);
  }
  .videos .main-bottom-block {
    display: none;
  }
  .swiper {
    display: block !important;
  }
}
@media (max-width: 750px) {
  .hero-content h1 {
    font-size: 28px;
  }
  .main-content h2 {
    font-size: 22px;
  }
  .social-media {
    justify-content: space-between;
  }
  .main-content .text {
    font-size: 16px;
  }
  .reg-button {
    padding: 10px;
    p {
      font-size: 16px;
    }
  }
  .about-author {
    display: none;
  }
  .modal-form {
    padding-inline: 34px;
  }
}
@media (max-width: 500px) {
  .discover .main-bottom-block {
    grid-template-columns: 1fr;
    a {
      align-items: normal;
    }
  }
}
