.drk-solution-section {
  box-sizing: border-box;
  width: 100%;
  background: #f0efff;
  padding: 0 20px 20px;
  color: #07183b;
  font-family: "Nunito Sans", Arial, sans-serif;
}

.drk-solution-section *,
.drk-solution-section *::before,
.drk-solution-section *::after {
  box-sizing: border-box;
}

.drk-solution-list {
  display: grid;
  gap: 20px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.drk-solution-list.is-loading {
  pointer-events: none;
}

.drk-solution-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 333px;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "main meta"
    "main vote";
  column-gap: 48px;
  row-gap: 24px;
  min-height: 376px;
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
}

.drk-solution-skeleton {
  min-height: 260px;
}

.drk-skeleton-main {
  min-width: 0;
}

.drk-skeleton-line {
  position: relative;
  display: block;
  width: 100%;
  height: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #edeaff;
}

.drk-skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  animation: drk-skeleton-shine 1.25s ease-in-out infinite;
}

.drk-skeleton-title {
  width: 56%;
  height: 30px;
  margin-bottom: 26px;
}

.drk-skeleton-short {
  width: 62%;
}

@keyframes drk-skeleton-shine {
  to {
    transform: translateX(100%);
  }
}

.drk-solution-main {
  grid-area: main;
  min-width: 0;
}

.drk-solution-title {
  margin: 0 0 24px;
  color: #6355f9;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.drk-solution-copy {
  max-width: 674px;
  color: #404266;
  font-size: 16px;
  line-height: 1.5;
}

.drk-solution-copy p {
  margin: 0 0 10px;
}

.drk-solution-copy p:last-child {
  margin-bottom: 0;
}

.drk-ready-solutions {
  margin-top: 32px;
  max-width: 674px;
}

.drk-ready-title {
  margin: 0 0 16px;
  color: #07183b;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.drk-ready-links {
  display: grid;
  gap: 10px;
  max-width: 674px;
}

.drk-ready-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
  color: #6355f9 !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

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

.drk-ready-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.drk-ready-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drk-solution-meta {
  grid-area: meta;
  align-self: start;
  width: 100%;
  min-height: 224px;
  padding: 25px;
  background: #f0efff;
  border-radius: 15px;
}

.drk-solution-meta dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.drk-solution-meta div {
  display: block;
  min-width: 0;
  color: #07183b;
  font-size: 16px;
  line-height: 1.35;
}

.drk-solution-meta dt {
  display: inline;
  font-weight: 800;
}

.drk-solution-meta dt::after {
  content: " ";
}

.drk-solution-meta dd {
  display: inline;
  margin: 0;
  overflow-wrap: anywhere;
}

.drk-solution-vote {
  grid-area: vote;
  justify-self: end;
  align-self: end;
  display: grid;
  grid-template-columns: auto 42px auto;
  align-items: center;
  gap: 10px;
  color: #07183b;
}

.drk-vote-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.drk-vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #6355f9;
  background: #ffffff;
  border: 1px solid #d0ccff;
  border-radius: 50%;
  cursor: pointer;
}

.drk-vote-button.is-liked {
  color: #6355f9;
  background: #ffffff;
  border-color: #d0ccff;
}

.drk-vote-button svg {
  display: block;
  width: 22px;
  height: 22px;
  transform: translateY(1px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.drk-vote-button.is-liked svg {
  fill: currentColor;
  stroke: none;
}

.drk-vote-count {
  color: #8e90c3;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.drk-faq-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  width: fit-content;
  min-width: min(320px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  padding: 16px 18px;
  color: #07183b;
  background: #ffffff;
  border: 1px solid #d0ccff;
  border-radius: 10px;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.drk-faq-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .drk-solution-card {
    column-gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 959px) and (min-width: 641px) {
  .drk-solution-list {
    width: 620px;
    max-width: calc(100vw - 20px);
  }

  .drk-solution-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "main"
      "meta"
      "vote";
    min-height: 0;
    padding: 20px;
  }

  .drk-solution-meta {
    width: 100%;
    max-width: none;
  }

  .drk-solution-vote {
    justify-self: end;
  }
}

@media (max-width: 640px) and (min-width: 480px) {
  .drk-solution-section {
    padding-left: 0;
    padding-right: 0;
  }

  .drk-solution-list {
    width: 460px;
    max-width: calc(100vw - 20px);
  }

  .drk-solution-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .drk-solution-title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .drk-solution-section {
    padding: 0 10px 14px;
  }

  .drk-solution-list {
    gap: 14px;
  }

  .drk-solution-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }

  .drk-solution-title {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .drk-solution-copy {
    max-width: none;
    font-size: 14px;
    line-height: 1.55;
  }

  .drk-solution-copy p {
    margin-bottom: 12px;
  }

  .drk-ready-solutions {
    margin-top: 22px;
  }

  .drk-ready-title {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .drk-ready-links {
    gap: 10px;
  }

  .drk-ready-link {
    max-width: none;
    font-size: 14px;
  }

  .drk-solution-meta {
    min-height: 0;
    padding: 20px;
    border-radius: 15px;
  }

  .drk-solution-meta div {
    font-size: 14px;
    line-height: 1.45;
  }

  .drk-solution-vote {
    align-self: flex-end;
    grid-template-columns: auto 42px auto;
    width: auto;
    max-width: none;
    margin-top: 2px;
    justify-self: auto;
  }

  .drk-vote-label {
    text-align: right;
  }
}

@media (max-width: 479px) {
  .drk-solution-list {
    width: 100%;
    max-width: none;
  }

  .drk-faq-toast {
    right: 10px;
    bottom: 10px;
    min-width: min(320px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
    padding: 14px 15px;
  }
}

@media (max-width: 640px) {
  .drk-solution-meta {
    width: 100%;
    max-width: none;
    padding: 15px;
  }
}
