/* OqtaneLibrary.BEOLinks – applikasjonslenker */
.beolinks {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 0 2.5rem;
    color: #0f172a;
}

.beolinks-header {
    margin-bottom: 2rem;
    text-align: center;
}

.beolinks-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.beolinks-lead {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.beolinks-card {
    display: flex;
    gap: 1.25rem;
    height: 100%;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.06);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.beolinks-card:hover {
    transform: translateY(-2px);
    border-color: hsl(var(--beolinks-hue, 220), 70%, 55%);
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.1);
}

.beolinks-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: hsla(var(--beolinks-hue, 220), 70%, 50%, 0.12);
    color: hsl(var(--beolinks-hue, 220), 65%, 42%);
}

.beolinks-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.beolinks-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.beolinks-card-link {
    color: inherit;
    text-decoration: none;
}

.beolinks-card-link:hover {
    color: hsl(var(--beolinks-hue, 220), 65%, 42%);
    text-decoration: none;
}

.beolinks-card-description {
    flex: 1;
    margin: 0 0 1rem;
    color: #64748b;
    line-height: 1.55;
}

.beolinks-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--beolinks-hue, 220), 65%, 42%);
    background: transparent;
    color: hsl(var(--beolinks-hue, 220), 65%, 42%) !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.beolinks-btn:hover {
    background: hsl(var(--beolinks-hue, 220), 65%, 42%);
    color: #fff !important;
    text-decoration: none;
}

.beolinks-btn-icon {
    font-size: 0.85rem;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .beolinks-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
