@import url("./2g-vs-3g-vs-4g-vs-5g.css");

.article-hero {
    background:
        radial-gradient(circle at 88% 15%, rgba(41, 199, 189, .14), transparent 30%),
        linear-gradient(135deg, rgba(8, 35, 55, .04), transparent 44%),
        var(--color-soft);
}

.article-overview ol,
.migration-steps {
    display: grid;
    gap: 10px;
    padding-left: 22px;
}

.article-overview li::marker,
.migration-steps li::marker {
    color: var(--color-primary);
    font-weight: 900;
}

.article-figure img[src$=".svg"],
.related-card img[src$=".svg"] { background: #071c2d; }

.term-grid { grid-template-columns: repeat(4, 1fr); }

.related-card--draft {
    cursor: default;
    display: block;
}

.related-card--draft:hover { transform: none; }
.related-card--draft span { color: var(--color-primary); font-weight: 800; }
.article-form button { justify-self: start; }

.equipment-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 26px 0;
}

.equipment-pair figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #dbe4e9;
    border-radius: 18px;
    background: #f5f8f9;
}

.equipment-pair img {
    display: block;
    width: 100%;
    height: 280px;
    padding: 18px;
    object-fit: contain;
}

.article-summary > figure,
.article-inquiry > div > figure,
.article-footer > figure {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
}

.article-summary > figure img,
.article-inquiry > div > figure img,
.article-footer > figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.article-inquiry > div > figure { margin: 24px 0; }
.article-footer > figure { width: min(340px, 100%); }
.article-footer { align-items: center; }
.inquiry-dialog__panel { max-height: min(88vh, 820px); overflow-y: auto; }
.standard-inquiry-form .direct-contact-actions { justify-content: flex-start; }

@media (max-width: 850px) {
    .term-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .term-grid { grid-template-columns: 1fr; }
    .equipment-pair { grid-template-columns: 1fr; }
    .equipment-pair img { height: 240px; }
}
