@import url(./assets_main/css/fonts.css);

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --color-accent: rgba(192, 24, 24, 1);
  --color-bg: rgba(244, 245, 246, 1);
  --color-text: rgba(49, 48, 48, 1);

  /* Typography */
  --font-base: "Nunito Sans", sans-serif;
  --font-size-base: 16px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --line-height-base: 1.3;

  /* Borders & Radius */
  --border-color: rgba(219, 218, 218, 1);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

ul,
ol {
  list-style: none;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.container {
  width: 100%;
  max-width: 1572px;
  margin: 0 auto;
}

.link {
  color: var(--color-accent);
}

.link:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* Animations */
.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ======= HEADER ======= */
.header {
}

.top-bar {
  background-color: rgba(49, 48, 48, 1);
}

.top-bar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0px 5px 0px;
  color: rgba(179, 179, 179, 1);
  font-size: 12px;
}

.top-bar__nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.top-bar__icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar__icons img {
  height: 16px;
  display: block;
}

.top-bar__link,
.top-bar__icon-link {
  color: white;
  display: inline-flex;
  align-items: center;
}

.top-bar__link:hover,
.top-bar__icon-link:hover {
  opacity: 0.7;
}

.top-bar__icon-link img {
  width: 13px;
  display: block;
}

.header__body {
  background-color: rgba(255, 255, 255, 1);
  padding: 20px 0px 16px 0px;
}

.header__body-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 16px;
  padding-left: 15px;
  flex-shrink: 0;
}

.logo img {
  height: 33px;
  display: block;
}

.logo img:hover {
  opacity: 0.7;
}

.logo__slogan {
  font-size: 15px;
  color: var(--color-accent);
  white-space: nowrap;
  margin-bottom: 4px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 9px 0px 5px 0px;
  gap: 30px;
}

.main-nav__link {
  font-weight: 600;
  color: rgba(119, 118, 118, 1);
  font-size: 15px;
  white-space: nowrap;
}

.main-nav__link:hover {
  color: var(--color-accent);
}

.header__icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
}

.logo-partner img {
  height: 40px;
  display: block;
}

.logo-partner img:hover {
  opacity: 0.7;
}

.search-icon img,
.menu-toggle img {
  display: block;
}

/* ======= MAIN LAYOUT ======= */
.main {
  margin: 40px 0px;
}

.main__content-wrapper {
  display: flex;
  gap: 15px;
  position: relative;
  height: 100%;
}

.main__content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article {
  padding: 44px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background-color: rgba(255, 255, 255, 1);
}

.article__category {
  position: absolute;
  top: -10px;
  left: -6px;
  background-color: var(--color-accent);
  padding: 0px 16px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.article__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article__title {
  font-size: 27px;
  font-weight: 800;
}

.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(119, 118, 118, 1);
  font-size: 14px;
}

.article__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
}

.article__list {
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article__text {
  padding: 24px 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article__body h3 {
  font-size: 18px;
  font-weight: 700;
}

.article-share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
  border-top: 1px dotted var(--border-color);
  border-bottom: 1px dotted var(--border-color);
}

.article-share__print {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(109, 108, 108, 1);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}

.article-share__print img {
  width: 16px;
  height: 16px;
}

.article-share__socials {
  display: flex;
  gap: 4px;
}

.article-share__social img {
  width: 25px;
  height: 25px;
  display: block;
  transition: scale 0.2s ease-in-out;
}

.article-share__social img:hover {
  scale: 1.1;
}

/* ======= COMMENTS ======= */
.comments {
  background-color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.comments__title {
  font-size: 27px;
  font-weight: 800;
}

.comment {
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.comment__avatar {
  width: 32px;
  height: 32px;
  background-color: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment__author {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.9;
}

.comment__date {
  font-size: 14px;
  color: rgba(119, 118, 118, 1);
}

.sidebar {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 31px;
  width: 740px;
  height: 100%;
}

.sidebar__column {
  display: flex;
  flex-direction: column;
  gap: 53px;
  height: 100%;
}

.sidebar__column:last-child {
  position: sticky;
  top: 10px;
}

.sidebar__video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: scale 0.2s ease-in-out;
  padding: 38px 1px 33px 1px;
}

.sidebar__help-img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 20px;
  height: 20px;
  display: block;
}

.sidebar__ad img {
  width: 100%;
}

.sidebar__ad-video {
  position: relative;
}

.sidebar__video {
  width: 100%;
  border-bottom: 4px solid rgba(0, 0, 0, 0.4);
}

.sidebar__mute-icon {
  position: absolute;
  bottom: 12px;
  left: 8px;
}

.list-widget__title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  gap: 16px;
}

.list-widget__title::before,
.list-widget__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(219, 218, 218, 1);
}

.list-widget__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.list-widget__list li {
  border-bottom: 1px dotted rgba(219, 218, 218, 1);
  padding: 17px 0;
}

.list-widget__list a {
  font-size: 15px;
  font-weight: 700;
}

.list-widget__list a:hover {
  text-decoration: underline;
}

.email-subscribe {
  padding: 17px 100px 17px 0px;
}

.email-subscribe__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.email-subscribe__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.email-subscribe__label {
  font-size: 15px;
  font-weight: 600;
}

.email-subscribe__input {
  height: 34px;
  border: 1px solid rgba(219, 218, 218, 1);
  background-color: rgba(255, 255, 255, 1);
  font-size: 14px;
  width: 100%;
  outline: none;
}

.email-subscribe__button {
  background-color: var(--color-accent);
  color: white;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
  border: none;
  padding: 7px 15px;
  border-radius: 1px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: fit-content;
}

.email-subscribe__button:hover {
  background-color: #a71919;
}

/* ======= FUND REPORT ======= */
.fund-report {
  flex: 1;
  background-color: #fff;
  font-family: "Source Sans 3", sans-serif;
}

.fund-report__header {
  position: relative;
  background: url(./assets_main/images/background_img.png)
    top right no-repeat;
  background-size: cover;
  padding: 15px 18px 36px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.fund-report__title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.fund-report__logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fund-report__logo img {
  height: 40px;
}

.fund-report__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}

.fund-report__subtitle {
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
}

.fund-report__powered-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fund-report__powered {
  font-weight: 500;
  font-style: italic;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}

.fund-report__powered-container img {
  height: 30px;
}

.fund-report__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.fund-report__divider {
  border: none;
  border-top: 2px solid rgba(33, 53, 71, 1);
}

.fund-report__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px -4px 3px 0px rgba(50, 50, 50, 0.2);
  padding-right: 14px;
  gap: 4px;
  height: 22px;
}

.fund-report__tab {
  flex: 1;
  border: none;
  padding: 1px 0px;
  border-radius: 10px;
  background-color: #d3d3d3;
  color: rgba(33, 53, 71, 1);
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fund-report__tab--active {
  background-color: rgba(88, 190, 187, 1);
}

.fund-report__methodology {
  font-weight: 500;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-left: 19px;
}

/* Footer */
.footer {
  background-color: rgba(255, 255, 255, 1);
  padding-bottom: 24px;
  font-size: 14px;
}

.footer a {
  text-decoration: underline;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.footer__top-row {
  padding: 10px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(219, 218, 218, 1);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer__links a {
  color: var(--color-accent);
  font-weight: 700;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__desc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__content {
  display: flex;
  flex-direction: column;
}

.footer__row {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
}

.footer__row {
  order: initial;
}

.footer__row:not(:first-child) {
  margin-bottom: 24px;
}

.footer__row:last-child {
  margin-bottom: 0px;
}

.footer__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list {
  padding-left: 18px;
  margin-bottom: 8px;
}

.footer__list li {
  margin-bottom: 4px;
}

.footer__bottom {
  text-align: center;
  font-size: 13px;
}

.mobile {
  display: none;
}

/* ======= TABLET ======= */
@media (max-width: 1024px) {
  .container {
    max-width: 954px;
  }

  .header__body-container {
    gap: 37px;
  }

  .header__logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .main-nav {
    gap: 18px;
  }

  .header__icons {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }

  .sidebar {
    flex-direction: column;
    width: 308px;
  }

  .lander-form-field .lander-submit {
    font-size: 18px !important;
  }
  .lander-form-field .lander-submit:hover {
    font-size: 19px !important;
  }
}

/* ======= MOBILE ======= */
@media (max-width: 768px) {
  .mobile {
    display: block;
  }

  .tablet {
    display: none !important;
  }

  .main__content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .container {
    max-width: 100%;
    padding: 0px 29px;
  }

  .main {
    margin: 30px 0px;
  }

  .main-nav,
  .top-bar__info {
    display: none;
  }

  .top-bar__nav {
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .header__body-container {
    position: relative;
  }

  .header__logo {
    padding-left: 0;
  }

  .header__icons {
    position: absolute;
    right: 29px;
    top: 30%;
    transform: translateY(-50%);
    flex-direction: row;
  }

  .menu-toggle {
    display: block;
    margin-left: 8px;
  }

  .sidebar__column {
    gap: 48px;
  }

  .footer__top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__row {
    display: flex;
    flex-direction: column;
  }

  .footer__row.mobile {
    margin-bottom: 0;
  }
}
