.tools-header {
  width: 100%;
  height: 396px;
  margin: 20px 0;
  background: #2e4e35;
  border-radius: 30px;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}
.btc-fav-image img[alt="unchained"] {
  object-fit: contain;
}

h1.tools-title {
  font-family: "Raleway", sans-serif !important;
  font-weight: 700 !important;
  font-size: 74px !important;
  line-height: 87px;
  color: #ffffff;
}

.tools-header p {
  font-family: "Raleway", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;

  color: #ffffff;
}

.tools-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tools-text {
  font-family: "Raleway", sans-serif !important;

  width: 670px;
  height: 325px;
  padding: 58px 40px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e9ebe4;
  border-radius: 30px;
  justify-content: center;
}

.tools-text p {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;

  color: #2e4e35;
}

.tools-text p:first-child {
  margin-bottom: 20px !important;
}

.tools-image {
  width: 325px;
  height: 325px;
  border: none;
  object-fit: contain;
}

.toolkit-block {
  font-family: "Raleway", sans-serif !important;

  padding-top: 80px;
  padding-bottom: 80px;
}
.toolkit-header-block {
  padding: 80px 0 40px;
}
.bitcoin-toolkit__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.bitcoin-toolkit__subtitle {
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  text-transform: uppercase;
  color: rgba(46, 78, 53, 0.4);
}

.toolkit-header-block .toolkit-title {
  font-family: "Raleway", sans-serif !important;
  font-weight: 700 !important;
  font-size: 40px !important;
  line-height: 47px;
  color: #2e4e35;
  text-align: center;
}

.btc-tabs-nav {
  display: flex;
  gap: 11px;
  cursor: pointer;
  margin-bottom: 20px;
  justify-content: space-evenly;
}

.btc-tabs-mobile {
  font-family: "Raleway", sans-serif !important;

  display: none;
  background: #2e4e35;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 14px;
  width: 100%;
  margin-bottom: 30px;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 30px;
  position: relative;
}

.btc-tabs-mobile option {
  background: #fff;
  color: #000;
  width: 100%;
  padding: 10px;
}

.mobile-tabs-icon {
  display: none;
  position: absolute;
  margin: 8px 0;
  right: 30px;
}

.btc-tabs-nav li {
  padding: 12px;
  border-radius: 30px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  color: #2e4e35;
}

.btc-tabs-nav li.active {
  background-color: #2e4e35;
  color: #fff;
}

.btc-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.btc-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btc-tab-content {
  display: flex;
  gap: 20px;
  flex-direction: row-reverse;
}

.btc-category-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  gap: 40px;
  margin: 40px 0;
  border-radius: 30px;
  color: #2e4e35;
}

.btc-category-description h2 {
  font-weight: 700 !important;
  font-size: 40px !important;
  line-height: 47px !important;
}

.btc-category-description p {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
}

.btc-main-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 20px;
  gap: 24px;

  background: #ffffff;
  border: 1px solid #e9ebe4;
  border-radius: 30px;
}

.btc-description-icon {
  display: none;
  position: absolute;
  right: 40px;
  padding: 5px;
  width: 30px;
  height: 30px;
}

.btc-favs-images {
  display: block;
  column-gap: 10px;
  min-width: 100%;
  flex-grow: 1;
  width: 100%;
}

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

.favs-top h3 {
  margin: 15px;
  font-style: italic;
  font-family: "Raleway", sans-serif;
  font-size: 32px;
}

.btc-main-description h3 {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  margin-bottom: 0;
}

.btc-fav-description h3 {
  font-size: 20px;
  margin: 16px 0;
  font-weight: 700;
}

.btc-fav-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}

.btc-tab-content {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row dense;
  color: #2e4e35;
}

.mobile-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2e4e35;
  margin-bottom: 50px;
  display: none;
}

.mobile-pagination .current-page {
  color: #f1b314;
}

.mobile-pagination button,
.mobile-pagination button:focus,
.mobile-pagination button:active,
.mobile-pagination button:hover {
  background: transparent;
  padding: 10px 15px;
  margin-top: 7px;
}

.featured-card {
  background: #e9ebe4;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: #2e4e35;
  border-radius: 30px;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.featured-text {
  text-transform: uppercase;
  color: #2e4e3566;
  margin-bottom: -20px;
}

.featured-description {
  max-width: 975px;
}

.featured-images {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.featured-images img {
  max-height: 350px;
  width: auto;
  border-radius: 30px;
}

.bitcoin-toolkit__features li {
  position: relative;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #2e4e35;
  margin-bottom: 10px;
  display: flex;
  gap: 16px;
}

.bitcoin-toolkit__features li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f2c94c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

.bitcoin-toolkit__left .featured-button.button {
  max-width: max-content;
}

.bitcoin-toolkit {
  /* display: flex; */
  /* align-items: center; */
  padding: 40px;
  gap: 80px;
  border: 1px solid #f1b314;
  border-radius: 30px;
  width: 100%;
  flex-grow: 1;
}

.bitcoin-toolkit__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  width: 100%;
}

.bitcoin-toolkit__left {
  padding: 32.5px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.bitcoin-toolkit__right {
  border-radius: 30px;
  min-height: 100%;

  background-image: linear-gradient(180deg, #fbfaf8 0%, #f2f1ee 100%);
  background-size: contain, contain;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.bitcoin-toolkit__logo img {
  height: 60px;
}

.bitcoin-toolkit__tabs {
  display: flex;
  gap: 8px;
}

.bitcoin-toolkit__tabs span {
  cursor: pointer;

  font-weight: 700;
  font-size: 14px;
  line-height: 16px;

  color: #2e4e35;

  display: block;
  padding: 12px 16px;
}

.bitcoin-toolkit__tabs span.active {
  border-bottom: 2px solid #000;
}

.bitcoin-toolkit__tab-content p {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 40px !important;
  color: #2e4e35;
}

.bitcoin-toolkit__tab-content-wrap {
  display: flex;
}

.bitcoin-toolkit__tab-content .featured-button button {
  max-width: max-content;
}

.bitcoin-toolkit__tab-content {
  display: none;
}

.bitcoin-toolkit__tab-content.active {
  display: block;
}
.toolkit-header-block-mobile {
  display: none;
}

/* ------ Layout partners ÑÐµÐºÑ†Ð¸Ð¸ ------ */
.partners-grid.container {
  margin-top: 40px !important;
  margin-bottom: 80px !important;
}
.partners-grid-header {
  padding: 40px;
}
.partners-grid-header h2 {
  font-weight: 700 !important;
  font-size: 40px !important;
  line-height: 47px;
  margin-bottom: 40px !important;
  color: #2e4e35;
}
.partners-grid-header p {
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 22px;
  color: #2e4e35;
}

.partners-grid__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

/* ------ ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ° ------ */
.partner-card__link {
  text-decoration: none;
  color: inherit; /* ÑÐ¾Ñ…Ñ€Ð°Ð½ÑÐµÐ¼ Ð¿Ð°Ð»Ð¸Ñ‚Ñ€Ñƒ Ñ‚ÐµÐ¼Ñ‹ */
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.partner-card__figure {
  margin: 0 0 16px;
  border-radius: 16px;
  overflow: hidden;
}

.partner-card__figure img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 250px;
  min-height: 250px;
  object-fit: cover;
}

.partner-card__chip {
  display: inline-block;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 14px;
  gap: 10px;

  color: #2e4e35;
  background: #e9ebe4;
  border-radius: 30px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  max-width: max-content;
}

.partner-card__title {
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 23px;
  margin-bottom: 16px;

  color: #2e4e35;
}

.partner-card__desc {
  font-weight: 600;
  font-size: 16px !important;
  line-height: 22px;

  color: #2e4e35;
}
/* ------ ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð²Ð½Ñ‹Ðµ ÑÑ‚Ð¸Ð»Ð¸ ------ */
@media (max-width: 768px) {
  .toolkit-header-block {
    display: none;
  }
  .toolkit-header-block-mobile {
    display: block;
    padding: 60px 0;
  }
  .bitcoin-toolkit-wrapper {
    margin: 60px 0;
  }
  .bitcoin-toolkit.toolkit-block .bitcoin-toolkit__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bitcoin-toolkit.toolkit-block .bitcoin-toolkit__right {
    min-height: 303px;
  }
  .bitcoin-toolkit {
    padding: 40px 20px;
  }
  .bitcoin-toolkit__left {
    padding: 0;
    gap: 32px;
  }

  .bitcoin-toolkit__logo img {
    height: 40px;
  }
  .bitcoin-toolkit__features li {
    font-size: 14px;
    line-height: 20px;
  }

  .bitcoin-toolkit__left .featured-button.button {
    max-width: 100%;
  }

  .partners-grid.container {
    margin-top: 0 !important;
  }
  .partners-grid-header {
    padding: 40px 20px;
  }
  .partners-grid__inner {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    margin-top: 20px;
  }
  .partners-grid-header h2 {
    font-size: 24px !important;
    margin-bottom: 24px !important;
  }
  .partners-grid-header p {
    font-size: 16px !important;
  }

  .feedback-block h2,
  .feedback-block p {
    text-align: center;
  }
  .feedback-block h2 {
    font-size: 24px !important;
  }

  /* Tools page styles for mobile */

  .btc-fav-image img {
    height: auto;
  }
  .btc-category-description {
    gap: 24px;
    margin-bottom: 0;
    border-radius: 20px;
    margin-top: 0;
  }
  .btc-category-description h2 {
    font-size: 24px !important;
    line-height: 28px !important;
  }
  .favs-top h3 {
    font-size: 20px;
  }
  .tools-header p {
    font-size: 16px;
    margin: 16px 0;
  }
  .tools-text p,
  .btc-category-description p {
    font-size: 16px;
  }
  .toolkit-block {
    padding-top: 40px;
    padding-bottom: 16px;
  }
  .btc-tab-content {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }
  .mobile-pagination {
    display: flex;
  }
  .featured-card {
    align-items: stretch;
    text-align: left;
    padding: 40px 20px;
    border-radius: 20px;
    margin-top: 60px;
  }
  .featured-button {
    /* width: 100%; */
    display: block !important;
    flex: 1;
  }
  .featured-images {
    margin-top: 0;
  }
  .featured-card h2 {
    font-size: 48px !important;
  }
  .tools-header {
    padding: 40px 20px;
    gap: 24px;
    height: unset;
    border-radius: 20px;
    margin-bottom: 60px;
  }

  .tools-header .tools-title {
    font-size: 36px !important;
    line-height: 42px;
  }

  .tools-header .tools-title h1 {
    margin: 0 !important;
  }

  .tools-content {
    flex-direction: column-reverse;
  }

  .tools-text {
    width: 100%;
    height: auto;
    padding: 40px 20px;
  }

  .tools-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
  }

  .tools-image:last-child {
    display: none;
  }

  .tools-image img {
    /*width: 100%;*/
    height: 100%;
    /*max-width: 480px;*/
    margin: 0 auto;
    object-fit: contain;
  }

  .btc-tab-content {
    flex-direction: column-reverse;
  }
  .toolkit-block .toolkit-title {
    font-size: 28px !important;
  }
  .our-favs.btc-main-description-full {
    height: 100%;
  }
  .our-favs {
    height: 0;
    overflow: hidden;
  }
  .btc-favs-images {
    padding: 20px 0;
    flex-direction: column;
  }

  .btc-tabs-nav {
    /*flex-direction: column;*/
    display: none;
  }

  .btc-tabs-mobile,
  .mobile-tabs-icon,
  .btc-description-icon {
    display: unset;
  }

  .btc-main-description {
    gap: 0;
  }

  .btc-main-description h3 {
    padding-right: 30px;
  }

  .btc-main-description-full {
    gap: 20px;
  }

  .btc-main-description-full .btc-description-icon {
    rotate: 180deg;
  }

  .btc-main-description p,
  .btc-main-description h4 {
    display: none;
  }

  .btc-main-description-full p,
  .btc-main-description-full h4 {
    display: unset;
  }
}

@media screen and (min-width: 768px) {
  .our-favs {
    /* padding: 20px 20px 40px; */
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .btc-main-description {
    min-height: 350px;
  }
}
