/* =========== INFORMATION CARD =========== */
.info-card {
  position: relative;
  overflow: visible;
  padding: 24px;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  border-top-right-radius: 20px;
  background: linear-gradient(135deg, #ff7378, #ed0010);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #1598d6, #00417f);
  box-shadow: 0 5px 12px rgba(0, 40, 95, .18);
}
.info-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}
.info-title {
  margin: 0 0 10px;
  color: #10172c;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.info-properties {
  border-top: 1px solid #d7e0ef;
}
.info-property {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid #d7e0ef;
}
.info-property > svg {
  width: 23px;
  height: 23px;
  color: #273b62;
  justify-self: center;
}
.info-property > span {
  color: #10172c;
  font-size: 14px;
}
.info-property > div {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  padding: 5px 12px;
  border: 1px solid #cadcf5;
  border-radius: 20px;
  background: #e8f1ff;
  color: #295785;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.info-property > div .view-module-compatibility-list .view-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.info-property > div  .view-module-compatibility-list .views-row {
  white-space: nowrap;
  margin: 0;
}
.info-property-status[data-status="active"] > div {
  background: #dcf7e7;
  border-color: #9ddfb6;
  color: #176b3c;
}
.info-property-status[data-status="experimental"] > div {
  background: #ede3ff;
  border-color: #cbb2fa;
  color: #6833a8;
}
.info-property-status[data-status="archived"] > div {
  background: #e7e9ed;
  border-color: #cbd0d8;
  color: #525c6d;
}
.info-actions > .byhelp-related-content-actions {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}
.byhelp-related-content-actions__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.byhelp-related-content-actions__links li {
  display: flex;
  min-width: 0;
}
.byhelp-related-content-actions__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.35;
  white-space: normal;
  text-wrap: balance;
}
.info-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--byhelp-primary);
  border-radius: 9px;
  background: transparent;
  color: var(--byhelp-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.info-actions a:hover {
  background: rgba(255, 38, 52, .05);
  color: var(--byhelp-primary);
}
.info-actions a::before {
  content: "";
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background-color: var(--byhelp-primary);
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}
.info-actions li:first-child a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.info-actions li:nth-child(2) a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zM14 2v6h6'/%3E%3Cpath d='M12 12v6M9 15h6'/%3E%3C/svg%3E");
}
.info-download {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #d7e0ef;
}
.info-download .download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 12px 20px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(180deg, #ff2029, #e0000b);
  box-shadow: 0 5px 12px rgba(225, 0, 15, .20), 0 2px 3px rgba(130, 0, 10, .08);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease;
}
.info-download .download-button svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.info-download .download-button:hover {
  background: linear-gradient(180deg, #f01520, #c9000a);
  box-shadow: 0 7px 16px rgba(225, 0, 15, .25);
  color: #fff;
}
.info-download .download-button:focus-visible {
  outline: 2px solid var(--byhelp-primary);
  outline-offset: 3px;
}
.info-download .download-button:disabled {
  opacity: .55;
  box-shadow: none;
  cursor: not-allowed;
}
/* =========== RESPONSIVE =========== */
@media (max-width: 1199.98px) {
  .info-download .download-button {
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
  }
  .info-download .download-button svg {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 1199.98px) and (max-width: 1399.98px) {
  .info-actions a {
    padding: 10px 12px;
    font-size: 13px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .info-card {
    padding: 18px;
  }
  .info-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
  .info-title {
    font-size: 20px;
  }
  .info-property {
    grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .info-property > svg {
    width: 21px;
    height: 21px;
  }
  .byhelp-related-content-actions__links {
    gap: 8px;
  }
  .info-actions a {
    gap: 5px;
    padding: 10px 15px;
    font-size: 13px;
  }
  .info-actions a::before {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 575.98px) {
  .info-card {
    padding: 18px;
  }
  .info-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
  .info-icon svg {
    max-width: 40px;
    max-height: 40px;
  }
  .info-title {
    font-size: 20px;
  }
  .info-property {
    grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .info-property > svg {
    width: 20px;
    height: 20px;
  }
  .info-property > span {
    font-size: 13px;
    line-height: 1.35;
  }
  .info-property > div {
    padding: 4px 9px;
    font-size: 13px;
  }
  .info-property > div .view-module-compatibility-list .view-content {
    gap: 4px 8px;
  }
  .byhelp-related-content-actions__links {
    gap: 8px;
  }
  .info-actions a {
    gap: 8px;
    padding: 10px 8px;
    font-size: 13px;
  }
  .info-actions a::before {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }
  .info-download .download-button {
    min-height: 52px;
    padding: 12px;
  }
}
@media (max-width: 428.98px) {
  .info-actions a {
    font-size: 11px;
  }
}
@media (max-width: 399.98px) {
  .info-property {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px 10px;
  }
  .info-property > div {
    grid-column: 2;
  }
  .byhelp-related-content-actions__links {
    grid-template-columns: 1fr;
  }
  .info-actions a {
    font-size: 13px;
  }
}
